mysql编译出错
333
- hcw15882014-02-15金牌会员67172
- 本帖最后由 hcw1588 于 2014-2-16 00:14 编辑 *
- Determining if the function floor exists failed with the following output:
- Change Dir: /root/lnmp/src/mysql-5.6.16/CMakeFiles/CMakeTmp
- - Run Build Command:/usr/bin/gmake "cmTryCompileExec2692364841/fast"
- /usr/bin/gmake -f CMakeFiles/cmTryCompileExec2692364841.dir/build.make CMakeFiles/cmTryCompileExec2692364841.dir/build
- gmake[1]: Entering directory `/root/lnmp/src/mysql-5.6.16/CMakeFiles/CMakeTmp'
- /usr/local/bin/cmake -E cmake_progress_report /root/lnmp/src/mysql-5.6.16/CMakeFiles/CMakeTmp/CMakeFiles 1
- Building C object CMakeFiles/cmTryCompileExec2692364841.dir/CheckFunctionExists.c.o
- /usr/bin/cc -Wall -DCHECK_FUNCTION_EXISTS=floor -o CMakeFiles/cmTryCompileExec2692364841.dir/CheckFunctionExists.c.o -c /usr/local/share/cmake-2.8/Modules/CheckFunctionExists.c
- /usr/local/share/cmake-2.8/Modules/CheckFunctionExists.c:3: 警告:与内建函数‘floor’类型冲突
- Linking C executable cmTryCompileExec2692364841
- /usr/local/bin/cmake -E cmake_link_script CMakeFiles/cmTryCompileExec2692364841.dir/link.txt --verbose=1
- /usr/bin/cc -Wall -DCHECK_FUNCTION_EXISTS=floor CMakeFiles/cmTryCompileExec2692364841.dir/CheckFunctionExists.c.o -o cmTryCompileExec2692364841 -rdynamic
- CMakeFiles/cmTryCompileExec2692364841.dir/CheckFunctionExists.c.o: In function `main':
- CheckFunctionExists.c:(.text+0x15): undefined reference to `floor'
- collect2: ld 返回 1
- gmake[1]: *** 错误 1
- gmake[1]: Leaving directory `/root/lnmp/src/mysql-5.6.16/CMakeFiles/CMakeTmp'
- gmake: *** [cmTryCompileExec2692364841/fast] 错误 2
- - - Determining if the function crypt exists failed with the following output:
- Change Dir: /root/lnmp/src/mysql-5.6.16/CMakeFiles/CMakeTmp
- - Run Build Command:/usr/bin/gmake "cmTryCompileExec1587011097/fast"
- /usr/bin/gmake -f CMakeFiles/cmTryCompileExec1587011097.dir/build.make CMakeFiles/cmTryCompileExec1587011097.dir/build
- gmake[1]: Entering directory `/root/lnmp/src/mysql-5.6.16/CMakeFiles/CMakeTmp'
- /usr/local/bin/cmake -E cmake_progress_report /root/lnmp/src/mysql-5.6.16/CMakeFiles/CMakeTmp/CMakeFiles 1
- Building C object CMakeFiles/cmTryCompileExec1587011097.dir/CheckFunctionExists.c.o
- /usr/bin/cc -Wall -DCHECK_FUNCTION_EXISTS=crypt -o CMakeFiles/cmTryCompileExec1587011097.dir/CheckFunctionExists.c.o -c /usr/local/share/cmake-2.8/Modules/CheckFunctionExists.c
- Linking C executable cmTryCompileExec1587011097
- /usr/local/bin/cmake -E cmake_link_script CMakeFiles/cmTryCompileExec1587011097.dir/link.txt --verbose=1
- /usr/bin/cc -Wall -DCHECK_FUNCTION_EXISTS=crypt CMakeFiles/cmTryCompileExec1587011097.dir/CheckFunctionExists.c.o -o cmTryCompileExec1587011097 -rdynamic
- CMakeFiles/cmTryCompileExec1587011097.dir/CheckFunctionExists.c.o: In function `main':
- CheckFunctionExists.c:(.text+0x15): undefined reference to `crypt'
- collect2: ld 返回 1
- gmake[1]: *** 错误 1
- gmake[1]: Leaving directory `/root/lnmp/src/mysql-5.6.16/CMakeFiles/CMakeTmp'
- gmake: *** [cmTryCompileExec1587011097/fast] 错误 2
- - - Determining if the function dlopen exists failed with the following output:
- Change Dir: /root/lnmp/src/mysql-5.6.16/CMakeFiles/CMakeTmp
- - Run Build Command:/usr/bin/gmake "cmTryCompileExec2473426599/fast"
- /usr/bin/gmake -f CMakeFiles/cmTryCompileExec2473426599.dir/build.make CMakeFiles/cmTryCompileExec2473426599.dir/build
- gmake[1]: Entering directory `/root/lnmp/src/mysql-5.6.16/CMakeFiles/CMakeTmp'
- /usr/local/bin/cmake -E cmake_progress_report /root/lnmp/src/mysql-5.6.16/CMakeFiles/CMakeTmp/CMakeFiles 1
- Building C object CMakeFiles/cmTryCompileExec2473426599.dir/CheckFunctionExists.c.o
- /usr/bin/cc -Wall -DCHECK_FUNCTION_EXISTS=dlopen -o CMakeFiles/cmTryCompileExec2473426599.dir/CheckFunctionExists.c.o -c /usr/local/share/cmake-2.8/Modules/CheckFunctionExists.c
- Linking C executable cmTryCompileExec2473426599
- /usr/local/bin/cmake -E cmake_link_script CMakeFiles/cmTryCompileExec2473426599.dir/link.txt --verbose=1
- /usr/bin/cc -Wall -DCHECK_FUNCTION_EXISTS=dlopen CMakeFiles/cmTryCompileExec2473426599.dir/CheckFunctionExists.c.o -o cmTryCompileExec2473426599 -rdynamic
- CMakeFiles/cmTryCompileExec2473426599.dir/CheckFunctionExists.c.o: In function `main':
- CheckFunctionExists.c:(.text+0x15): undefined reference to `dlopen'
- collect2: ld 返回 1
- gmake[1]: *** 错误 1
- gmake[1]: Leaving directory `/root/lnmp/src/mysql-5.6.16/CMakeFiles/CMakeTmp'
- gmake: *** [cmTryCompileExec2473426599/fast] 错误 2
- - - Determining if the function clock_gettime exists failed with the following output:
- Change Dir: /root/lnmp/src/mysql-5.6.16/CMakeFiles/CMakeTmp
- - Run Build Command:/usr/bin/gmake "cmTryCompileExec3285226529/fast"
- /usr/bin/gmake -f CMakeFiles/cmTryCompileExec3285226529.dir/build.make CMakeFiles/cmTryCompileExec3285226529.dir/build
- gmake[1]: Entering directory `/root/lnmp/src/mysql-5.6.16/CMakeFiles/CMakeTmp'
- /usr/local/bin/cmake -E cmake_progress_report /root/lnmp/src/mysql-5.6.16/CMakeFiles/CMakeTmp/CMakeFiles 1
- Building C object CMakeFiles/cmTryCompileExec3285226529.dir/CheckFunctionExists.c.o
- /usr/bin/cc -Wall -DCHECK_FUNCTION_EXISTS=clock_gettime -o CMakeFiles/cmTryCompileExec3285226529.dir/CheckFunctionExists.c.o -c /usr/local/share/cmake-2.8/Modules/CheckFunctionExists.c
- Linking C executable cmTryCompileExec3285226529
- /usr/local/bin/cmake -E cmake_link_script CMakeFiles/cmTryCompileExec3285226529.dir/link.txt --verbose=1
- /usr/bin/cc -Wall -DCHECK_FUNCTION_EXISTS=clock_gettime CMakeFiles/cmTryCompileExec3285226529.dir/CheckFunctionExists.c.o -o cmTryCompileExec3285226529 -rdynamic
- CMakeFiles/cmTryCompileExec3285226529.dir/CheckFunctionExists.c.o: In function `main':
- CheckFunctionExists.c:(.text+0x15): undefined reference to `clock_gettime'
- collect2: ld 返回 1
- gmake[1]: *** 错误 1
- gmake[1]: Leaving directory `/root/lnmp/src/mysql-5.6.16/CMakeFiles/CMakeTmp'
- gmake: *** [cmTryCompileExec3285226529/fast] 错误 2复制代码