免费注册 查看新帖 |

Chinaunix

  平台 论坛 博客 文库
最近访问板块 发新帖
查看: 2694 | 回复: 1
打印 上一主题 下一主题

编译问题,请教 [复制链接]

论坛徽章:
0
跳转到指定楼层
1 [收藏(0)] [报告]
发表于 2012-02-01 10:39 |只看该作者 |倒序浏览
# cmake . -DCMAKE_INSTALL_PREFIX=/opt/mariadb51
-- The C compiler identification is GNU
-- The CXX compiler identification is GNU
-- Check for working C compiler: /usr/bin/gcc
-- Check for working C compiler: /usr/bin/gcc -- works
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
-- Check for working CXX compiler: /usr/bin/c++
-- Check for working CXX compiler: /usr/bin/c++ -- works
-- Detecting CXX compiler ABI info
-- Detecting CXX compiler ABI info - done
-- Detected 64-bit platform.
build MYISAM as static library (libmyisam_s.lib)
build PBXT as static library (libpbxt_s.lib)
build MYISAMMRG as static library (libmyisammrg_s.lib)
build MARIA as static library (libmaria_s.lib)
build FEDERATEDX as static library (libfederatedx.lib)
build CSV as static library (libcsv.lib)
build XTRADB as static library (libxtradb.lib)
build HEAP as static library (libheap_s.lib)
build FEDERATED as DLL (ha_federated.dll)
build ARCHIVE as DLL (ha_archive.dll)
build EXAMPLE as DLL (ha_example.dll)
build BLACKHOLE as DLL (ha_blackhole.dll)
build INNODB_PLUGIN as DLL (ha_innodb_plugin.dll)
-- Configuring done
Warning: Source file "/root/package/mariadb-5.1.60/mysys/my_sync.c" is listed multiple times for target "libmysql".
Warning: Source file "/root/package/mariadb-5.1.60/mysys/my_sync.c" is listed multiple times for target "mysqlclient".
Warning: Source file "/root/package/mariadb-5.1.60/mysys/my_sync.c" is listed multiple times for target "mysqlclient_notls".
-- Generating done
-- Build files have been written to: /root/package/mariadb-5.1.60

# make
Scanning dependencies of target zlib
[  0%] Building C object zlib/CMakeFiles/zlib.dir/adler32.c.o
gcc: /wd4800: No such file or directory
gcc: /wd4805: No such file or directory
make[2]: *** [zlib/CMakeFiles/zlib.dir/adler32.c.o] Error 1
make[1]: *** [zlib/CMakeFiles/zlib.dir/all] Error 2
make: *** [all] Error 2

论坛徽章:
0
2 [报告]
发表于 2012-02-02 11:46 |只看该作者
gcc: /wd4800: No such file or directory
gcc: /wd4805: No such file or directory

错误提示的如此清楚。
您需要登录后才可以回帖 登录 | 注册

本版积分规则 发表回复

  

北京盛拓优讯信息技术有限公司. 版权所有 京ICP备16024965号-6 北京市公安局海淀分局网监中心备案编号:11010802020122 niuxiaotong@pcpop.com 17352615567
未成年举报专区
中国互联网协会会员  联系我们:huangweiwei@itpub.net
感谢所有关心和支持过ChinaUnix的朋友们 转载本站内容请注明原作者名及出处

清除 Cookies - ChinaUnix - Archiver - WAP - TOP