LinuxSir.cn,穿越时空的Linuxsir!

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

搜索后,任找不到问题,m4出错,麻烦大家帮我看下

[复制链接]
发表于 2005-5-4 22:20:49 | 显示全部楼层 |阅读模式
lfs cvs 20021023-1707
make 2>error

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:200: 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: *** [all] Error 1
 楼主| 发表于 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
回复 支持 反对

使用道具 举报

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

本版积分规则

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