LinuxSir.cn,穿越时空的Linuxsir!

 找回密码
 注册
搜索
热搜: shell linux mysql
查看: 824|回复: 1

glibc-2.11.1编译出错

[复制链接]
发表于 2010-9-7 19:13:59 | 显示全部楼层 |阅读模式
在ARCH中编译LFS6.6第一遍出错
In file included from /tools/include/linux/posix_types.h:4,
                 from /tools/include/linux/types.h:14,
                 from /tools/include/asm/sigcontext.h:5,
                 from ../sysdeps/unix/sysv/linux/bits/sigcontext.h:28,
                 from ../signal/signal.h:339,
                 from ../include/signal.h:5,
                 from sigjmp.c:21:
/tools/include/linux/stddef.h:4:28: error: linux/compiler.h: No such file or directory
make[2]: *** [/mnt/lfs/sources/glibc-build/setjmp/sigjmp.o] Error 1
make[2]: Leaving directory `/mnt/lfs/sources/glibc-2.11.1/setjmp'
make[1]: *** [setjmp/subdir_lib] Error 2
make[1]: Leaving directory `/mnt/lfs/sources/glibc-2.11.1'
make: *** [all] Error 2
[lfs@myhost glibc-build]$
发表于 2010-9-9 01:46:00 | 显示全部楼层
缺少C或者C++的库文件,应该是GCC没有装好,或者位置不对。我也是新手,不熟悉。大家交流交流。你的ARCH用什么版本的KERNEL? 宿主系统的软件会与LFS的版本有冲突的。比如FC11上面装LFS6.3,会编译不过去,除非是降系统的版本
回复 支持 反对

使用道具 举报

您需要登录后才可以回帖 登录 | 注册

本版积分规则

快速回复 返回顶部 返回列表