QQ登录

只需一步,快速开始

 找回密码
 注册

QQ登录

只需一步,快速开始

查看: 799|回复: 3

error of binutils-2.14 pass1

[复制链接]
发表于 2004-5-21 17:18:45 | 显示全部楼层 |阅读模式
I have a problem when I building binutils-2.14 pass 1
host os: fedora core 1 with gcc 3.2.1
I had tried it again on redhat 9 with gcc 3.2-7,it turn out the same error
error message:

../../binutils-2.14/libiberty/fibheap.c: In function `fibheap_delete_node':
../../binutils-2.14/libiberty/fibheap.c:285: `LONG_MIN' undeclared (first use in this function)
../../binutils-2.14/libiberty/fibheap.c:285: (Each undeclared identifier is reported only once
../../binutils-2.14/libiberty/fibheap.c:285: for each function it appears in.)
make[1]: *** [fibheap.o] Error 1
make: *** [all-libiberty] Error 2

any ideas?
发表于 2004-5-21 17:56:21 | 显示全部楼层
问题解决之道一:请看 http://www.linuxfans.org/nuke/modules.php?name=Forums&file=viewtopic&t=65965 的第一条回复。

解决办法:把 Fedora 里所有的 dev 包全装上,如果你要编译什么东西的话。要不然老老实实 www.rpmfind.net 吧。

额外意见:请不要在 Debian/LFS/Gentoo专题版 发表无关发行版的相关帖子。。。
回复

使用道具 举报

 楼主| 发表于 2004-5-22 20:06:18 | 显示全部楼层
我明白你的意思,但是
1.这个ERROR出现在我编译LFS5.0的过程中.
2.上面的错误信息就是第一个ERROR引起的.
我KERNEL DEVELOPMENT没有装,难道是因为这个?
但是应该不需要吧
回复

使用道具 举报

发表于 2004-5-23 09:09:27 | 显示全部楼层
啊....哦....呃....

LFS 我就不清楚了, 只是说 LONG_MIN (应该是 const) 没有定义, 那个包应该不需要.
看名字好像这个常量应该是在 glibc 里的...也有可能是 Kernel include 里的....-_-b
我不知道...我现在在外面没办法查, 自己试试
# grep LONG_MIN `find / -name '*.h'`
或许能找到, 找不到的话自己修改 fibheap.c 加上
# define LONG_MIN 吧...-_-b
不保证修改后能够正常运行, 但应该可以正常编译... *_*
回复

使用道具 举报

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

本版积分规则

GMT+8, 2024-10-5 10:25 , Processed in 0.061233 second(s), 16 queries .

© 2021 Powered by Discuz! X3.5.

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