bug

编译错误集

问题:


gcc编译出现/usr/include/stdio.h:27:10: fatal error: bits/libc-header-start.h: 没有那个文件或目录编译中断


 解决办法:
sudo apt-get install gcc-multilib
# 其实主要是gcc安装环境没有安装完善

问题:


tar (child): bzip2:无法 exec: 没有那个文件或目录
tar (child): Error is not recoverable: exiting now
tar: Child returned status 2
tar: Error is not recoverable: exiting now


 
解决:
yum install -y bzip2

问题:


installing man1/cms.1

cms.pod around line 457: Expected text after =item, not a number

cms.pod around line 461: Expected text after =item, not a number

cms.pod around line 465: Expected text after =item, not a number

cms.pod around line 470: Expected text after =item, not a number

cms.pod around line 474: Expected text after =item, not a number

POD document had syntax errors at /usr/bin/pod2man line 71.

make[2]: *** [Makefile:640:install_docs] 错误 255

make[2]: 离开目录“/data/soft/tengine/openssl-1.0.1c”

make[1]: *** [objs/Makefile:1526:../openssl-1.0.1c/.openssl/include/openssl/ssl.h] 错误 2

make[1]: 离开目录“/data/soft/tengine/tengine-2.0.0”

make: *** [Makefile:8:build] 错误 2


 
解决:
打开/usr/bin/pod2man注释掉第71行在编译 --> 用#注释

 
 
 
 
已邀请:

要回复问题请先登录注册