2011年08月15日 星期一 16:43
LFS编译临时系统binutils出现错误
错误如下:
In file included from /usr/include/asm/sigcontext.h:5,
from /opt/mylinux/tools/bin/../lib/gcc/../../include/bits/sigcontext.h:28,
from /opt/mylinux/tools/bin/../lib/gcc/../../include/signal.h:339,
from ../../binutils-2.21.1/bfd/trad-core.c:43:
/opt/mylinux/tools/bin/../lib/gcc/../../include/linux/types.h:13:2: error: #warning "Attempt to use kernel headers from user space, see http://kernelnewbies.org/KernelHeaders"
make[4]: *** [trad-core.lo] 错误 1
make[4]:正在离开目录 `/opt/mylinux/build/binutils/bfd'
make[3]: *** [all-recursive] 错误 1
make[3]:正在离开目录 `/opt/mylinux/build/binutils/bfd'
make[2]: *** [all] 错误 2
make[2]:正在离开目录 `/opt/mylinux/build/binutils/bfd'
make[1]: *** [all-bfd] 错误 2
make[1]:正在离开目录 `/opt/mylinux/build/binutils'
make: *** [all] 错误 2
kernel头文件是3.0.1
gcc 是4.3.5
ld 是2.20
Zeuux © 2024
京ICP备05028076号