Determining if the function strunvis exists failed with the following output:
Change Dir: /root/mysql-5.6.12/CMakeFiles/CMakeTmp
Run Build Command:/usr/bin/gmake "cmTryCompileExec2935277196/fast"
/usr/bin/gmake -f CMakeFiles/cmTryCompileExec2935277196.dir/build.make CMakeFiles/cmTryCompileExec2935277196.dir/build
gmake[1]: Entering directory `/root/mysql-5.6.12/CMakeFiles/CMakeTmp'
/usr/bin/cmake -E cmake_progress_report /root/mysql-5.6.12/CMakeFiles/CMakeTmp/CMakeFiles 1
Building C object CMakeFiles/cmTryCompileExec2935277196.dir/CheckFunctionExists.c.o
/usr/bin/cc -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -D_LARGE_FILES -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -Wall -DCHECK_FUNCTION_EXISTS=strunvis -o CMakeFiles/cmTryCompileExec2935277196.dir/CheckFunctionExists.c.o -c /usr/share/cmake/Modules/CheckFunctionExists.c
Linking C executable cmTryCompileExec2935277196
/usr/bin/cmake -E cmake_link_script CMakeFiles/cmTryCompileExec2935277196.dir/link.txt --verbose=1
/usr/bin/cc -Wall -DCHECK_FUNCTION_EXISTS=strunvis CMakeFiles/cmTryCompileExec2935277196.dir/CheckFunctionExists.c.o -o cmTryCompileExec2935277196 -rdynamic
CMakeFiles/cmTryCompileExec2935277196.dir/CheckFunctionExists.c.o: In function `main':
CheckFunctionExists.c:(.text+0x15): undefined reference to `strunvis'
collect2: error: ld returned 1 exit status
gmake[1]: Leaving directory `/root/mysql-5.6.12/CMakeFiles/CMakeTmp'
gmake[1]: *** [cmTryCompileExec2935277196] Error 1
gmake: *** [cmTryCompileExec2935277196/fast] Error 2
可以使用yum在线安装,方便快捷。
您好,我是有问必答小助手,您的问题已经有小伙伴解答了,您看下是否解决,可以追评进行沟通哦~
如果有您比较满意的答案 / 帮您提供解决思路的答案,可以点击【采纳】按钮,给回答的小伙伴一些鼓励哦~~
ps:问答VIP仅需29元,即可享受5次/月 有问必答服务,了解详情>>>https://vip.csdn.net/askvip?utm_source=1146287632