LinuxSir.cn,穿越时空的Linuxsir!

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

安装m4-1.4错误

[复制链接]
发表于 2003-12-30 14:45:26 | 显示全部楼层 |阅读模式
我安装m4-1.4的时候出现了下面的错误,请各位帮忙看一下

making all in doc
make[1]: Entering directory `/static/src/m4-1.4/doc'
make[1]: Nothing to be done for `all'.
make[1]: Leaving directory `/static/src/m4-1.4/doc'
making all in lib
make[1]: Entering directory `/static/src/m4-1.4/lib'
make[1]: Nothing to be done for `all'.
make[1]: Leaving directory `/static/src/m4-1.4/lib'
making all in src
make[1]: Entering directory `/static/src/m4-1.4/src'
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: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[1]: Leaving directory `/static/src/m4-1.4/src'
make: *** [all] Error 1
发表于 2003-12-30 14:55:26 | 显示全部楼层
呵呵,你ncurses不是还没装好么?那个包可能是因为gcc没安装好。
这个包是因为头文件没装好,你把内核头文件再安装一下,具体参考:
http://archives.linuxfromscratch ... 2-April/005716.html
 楼主| 发表于 2003-12-30 15:01:47 | 显示全部楼层
版主回复真快啊,先谢谢了,我看一下
 楼主| 发表于 2003-12-30 15:26:48 | 显示全部楼层
我重新装了一下内核头文件,还是那样的错误,不知道siginfo.h是在什么过程中装的,可以自给直接拷贝吗,或者重新进行哪个过程?希望哪位能指点一下,非常感谢
 楼主| 发表于 2003-12-30 16:23:39 | 显示全部楼层
我决定全部山调重新来过,唉
发表于 2003-12-30 23:37:47 | 显示全部楼层
那你就把siginfo.h删了嘛。
 楼主| 发表于 2003-12-31 09:35:14 | 显示全部楼层
后来这个编译过去了,后面又出现了问题,有可能开始装的时候我都是自己敲的命令,会有很多错误,所以我重新来一遍,用复制粘贴,但愿好使,谢谢版主的关心,再麻烦你吧^_^
您需要登录后才可以回帖 登录 | 注册

本版积分规则

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