|
|

楼主 |
发表于 2005-12-21 12:39:33
|
显示全部楼层
我从系统(/usr/include)里拷过来的/tools/include/asm和/tools/include/linux出错:
/tools/include/asm/socket.h:8:30: asm-i486/socket.h: No such file or directory
make[2]: *** [/mnt/lfs/sources/glibc-build/tcb-offsets.h] Error 1
make[2]: Leaving directory `/mnt/lfs/sources/glibc-2.3.4/csu'
make[1]: *** [csu/subdir_lib] Error 2
make[1]: Leaving directory `/mnt/lfs/sources/glibc-2.3.4'
make: *** [all] Error 2
之后把从系统(/usr/include)里拷过来的/tools/include/asm和/tools/include/linux文件夹删除后,把6.1中内核包解压出来的asm-i386和linux文件夹拷过来后,再次编译glibc时,configure时出现下面的错误:
checking installed Linux kernel header files... TOO OLD!
configure: error: GNU libc requires kernel header files from
Linux 2.0.10 or later to be installed before configuring.
The kernel header files are found usually in /usr/include/asm and
/usr/include/linux; make sure these directories use files from
Linux 2.0.10 or later. This check uses <linux/version.h>, so
make sure that file was built correctly when installing the kernel header
files. To use kernel headers not from /usr/include/linux, use the
configure option --with-headers. |
|