第六章glibc出错,小弟求救
时间:2008-04-04
来源:互联网
我的系统是纯64位的,开始时候在第2遍gcc的时候卡了好久,后来看了地球的Multilib LFS For x86-64,那个顺利通过了,谢谢哥们了。
不过我到第六章的时候对glibc,configure的时候又出现了错误,不能通过
configure配置:
BUILD_CC="gcc" CC="gcc -m32" CFLAGS="-march=i686 -mtune=generic -g -O2" ../glibc-2.5-20061008T1257/configure --prefix=/usr --disable-profile --enable-add-ons --enable-kernel=2.6.0 --libexecdir=/usr/lib/glibc --host=i686-pc-linux-gnu --libdir=/lib
log里的出错信息是:
configure: failed program was:
| #ifndef __cplusplus
| choke me
| #endif
configure:3225: checking for gcc
configure:3251: result: gcc
configure:3268: checking how to run the C preprocessor
configure:3303: gcc -m32 -E conftest.c
configure:3309: $? = 0
configure:3341: gcc -m32 -E conftest.c
conftest.c:11:28: error: ac_nonexistent.h: No such file or directory
configure:3347: $? = 1
configure: failed program was:
| /* confdefs.h. */
|
| #define PACKAGE_NAME "GNU C Library"
| #define PACKAGE_TARNAME "c-library"
| #define PACKAGE_VERSION "(see version.h)"
| #define PACKAGE_STRING "GNU C Library (see version.h)"
| #define PACKAGE_BUGREPORT "glibc"
| #define HAVE_LIBIDN 1
| #define USE_REGPARMS 1
| /* end confdefs.h. */
| #include <ac_nonexistent.h>
configure后出现这样的字样
configure: creating ./config.status
config.status: creating config.make
cat: ./confstat14155-5079/in: No such file or directory
config.status: creating Makefile
cat: ./confstat14155-5079/in: No such file or directory
config.status: executing default commands
我是linux新手,希望各位大哥,版主帮下自己,谢谢
不过我到第六章的时候对glibc,configure的时候又出现了错误,不能通过
configure配置:
BUILD_CC="gcc" CC="gcc -m32" CFLAGS="-march=i686 -mtune=generic -g -O2" ../glibc-2.5-20061008T1257/configure --prefix=/usr --disable-profile --enable-add-ons --enable-kernel=2.6.0 --libexecdir=/usr/lib/glibc --host=i686-pc-linux-gnu --libdir=/lib
log里的出错信息是:
configure: failed program was:
| #ifndef __cplusplus
| choke me
| #endif
configure:3225: checking for gcc
configure:3251: result: gcc
configure:3268: checking how to run the C preprocessor
configure:3303: gcc -m32 -E conftest.c
configure:3309: $? = 0
configure:3341: gcc -m32 -E conftest.c
conftest.c:11:28: error: ac_nonexistent.h: No such file or directory
configure:3347: $? = 1
configure: failed program was:
| /* confdefs.h. */
|
| #define PACKAGE_NAME "GNU C Library"
| #define PACKAGE_TARNAME "c-library"
| #define PACKAGE_VERSION "(see version.h)"
| #define PACKAGE_STRING "GNU C Library (see version.h)"
| #define PACKAGE_BUGREPORT "glibc"
| #define HAVE_LIBIDN 1
| #define USE_REGPARMS 1
| /* end confdefs.h. */
| #include <ac_nonexistent.h>
configure后出现这样的字样
configure: creating ./config.status
config.status: creating config.make
cat: ./confstat14155-5079/in: No such file or directory
config.status: creating Makefile
cat: ./confstat14155-5079/in: No such file or directory
config.status: executing default commands
我是linux新手,希望各位大哥,版主帮下自己,谢谢
作者: peng2v 发布时间: 2008-04-04
自己顶一下,希望潜水的大哥们冒冒泡
作者: peng2v 发布时间: 2008-04-04
似乎你贴出来的不是真正的出错信息。那个信息是一项预期会失败的测试:通过一个不存在的头文件,测试C预编译器(负责处理头文件的)是否正常工作。请看看是否存在其它出错信息。
从.configure的输出看,似乎在config的宏里面出了点问题,把Makefile.in变成了Makefile in。可能你对源代码做过补丁,请检查有关的补丁命令。
从.configure的输出看,似乎在config的宏里面出了点问题,把Makefile.in变成了Makefile in。可能你对源代码做过补丁,请检查有关的补丁命令。
作者: 地球发动机 发布时间: 2008-04-05
谢谢你,我用了个已经做好的一个工具链,那一步通过了,可能还是我的工具链调整的有毛病吧,不过还是很感谢你
作者: peng2v 发布时间: 2008-04-05
相关阅读 更多
热门阅读
-
office 2019专业增强版最新2021版激活秘钥/序列号/激活码推荐 附激活工具
阅读:74
-
如何安装mysql8.0
阅读:31
-
Word快速设置标题样式步骤详解
阅读:28
-
20+道必知必会的Vue面试题(附答案解析)
阅读:37
-
HTML如何制作表单
阅读:22
-
百词斩可以改天数吗?当然可以,4个步骤轻松修改天数!
阅读:31
-
ET文件格式和XLS格式文件之间如何转化?
阅读:24
-
react和vue的区别及优缺点是什么
阅读:121
-
支付宝人脸识别如何关闭?
阅读:21
-
腾讯微云怎么修改照片或视频备份路径?
阅读:28