|
|

楼主 |
发表于 2005-5-5 14:53:13
|
显示全部楼层
我太疲倦了.在电脑面前座了4天了.为了装LFS
lfs-packages-cvs-20021023-1707
OS RH9.0
http://linuxfromscratch.org/pipe ... ecember/021107.html
我用了大半天在网上找了很多关于这个问题的答案,上面这篇文章也许是最有参考价值的,我在第6章安装glibc,gcc,都是一次就通过了.原本以为会很顺利了,没想到到了M4这里走不下去了.
上面这篇文章大概是说M4出错的原因是glibc的问题,建议重装glibc,我重装后,问题依旧,而且提到的那个checklfs工具也找不到了,我怀疑是M4的问题,于是去GNU又下了一个,还是同样的错误
我英文确实很烂,希望大家帮我大概翻译一下,找出问题根源.
./configure --prefix=/usr 成功,
make时候出的问题:
make[1]: Entering directory `/static/src/m4-1.4/src'
gcc -c -DHAVE_CONFIG_H -I.. -I. -I./../lib -g -O m4.c
gcc -c -DHAVE_CONFIG_H -I.. -I. -I./../lib -g -O builtin.c
gcc -c -DHAVE_CONFIG_H -I.. -I. -I./../lib -g -O debug.c
gcc -c -DHAVE_CONFIG_H -I.. -I. -I./../lib -g -O eval.c
gcc -c -DHAVE_CONFIG_H -I.. -I. -I./../lib -g -O format.c
gcc -c -DHAVE_CONFIG_H -I.. -I. -I./../lib -g -O freeze.c
gcc -c -DHAVE_CONFIG_H -I.. -I. -I./../lib -g -O input.c
gcc -c -DHAVE_CONFIG_H -I.. -I. -I./../lib -g -O macro.c
gcc -c -DHAVE_CONFIG_H -I.. -I. -I./../lib -g -O output.c
gcc -c -DHAVE_CONFIG_H -I.. -I. -I./../lib -g -O path.c
gcc -c -DHAVE_CONFIG_H -I.. -I. -I./../lib -g -O stackovf.c
In file included from stackovf.c:87:
/usr/include/siginfo.h:8: redefinition of `union sigval'
/usr/include/siginfo.h:16: redefinition of `struct siginfo'
/usr/include/siginfo.h:48: parse error before "clock_t"
/usr/include/siginfo.h:62: parse error before '}' token
/usr/include/siginfo.h:63: parse error before '}' token
/usr/include/siginfo.h:199: redefinition of `struct sigevent'
stackovf.c: In function `sigsegv_handler':
stackovf.c:211: structure has no member named `_addr'
make[1]: *** [stackovf.o] Error 1
make[1]: Leaving directory `/static/src/m4-1.4/src'
make: *** [all] Error 1 |
|