|
|
宿主系统debian3.1 testing,按照lfs-svn-20060522的方法制做LFS,不过我自己改动了一个地方:glibc使用2.4版的,在第6.9节前都很顺利,可是在6.9节我打算安装glibc2.4时,configure通过了但在make过程中出现了错误(除了原作中的那个补丁我没打之外,其余都是严格按照原作中的方法做的):
../sysdeps/posix/getaddrinfo.c:64:26: error: libidn/idna.h: No such file or dire ctory
../sysdeps/posix/getaddrinfo.c: In function 'gaih_inet':
../sysdeps/posix/getaddrinfo.c:502: error: 'IDNA_ALLOW_UNASSIGNED' undeclared (f irst use in this function)
../sysdeps/posix/getaddrinfo.c:502: error: (Each undeclared identifier is report ed only once
../sysdeps/posix/getaddrinfo.c:502: error: for each function it appears in.)
../sysdeps/posix/getaddrinfo.c:504: error: 'IDNA_USE_STD3_ASCII_RULES' undeclare d (first use in this function)
../sysdeps/posix/getaddrinfo.c:508: error: 'IDNA_SUCCESS' undeclared (first use in this function)
../sysdeps/posix/getaddrinfo.c:510: error: 'IDNA_MALLOC_ERROR' undeclared (first use in this function)
../sysdeps/posix/getaddrinfo.c:512: error: 'IDNA_DLOPEN_ERROR' undeclared (first use in this function)
make[2]: *** [/sources/glibc-build/posix/getaddrinfo.o] Error 1
make[2]: Leaving directory `/sources/glibc-2.4/posix'
make[1]: *** [posix/subdir_lib] Error 2
make[1]: Leaving directory `/sources/glibc-2.4'
make: *** [all] Error 2
不知这是什么原因,请大家帮我看看该怎样解决?
谢谢回复!! |
|