LinuxSir.cn,穿越时空的Linuxsir!

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

lfslivecd-x86_64-6.3-r2145第二次编译gcc死活不过,求救!

[复制链接]
发表于 2008-1-28 15:59:55 | 显示全部楼层 |阅读模式
首先,调整工具链通过了,然后,根据手册命令装不了tcl8。4。15,发现这个是bug,于是tcl,expect,DejaGNU全部跳过,然后,根据手册命令做gcc第2遍,出错:
 楼主| 发表于 2008-1-28 16:09:11 | 显示全部楼层
checking whether the c compile works ... configure : error : cannot run c compiled programms

make[1]: *** [configure-fixincludes] Error 1
查看config.log发现:
configure: 2284:17:error: gmp.h : No such file or directory
configure: In function 'main' :
configure: 2288:error: 'choke' undecleraed(fisrt use in this function)
configure : 2288:errorEach undeclared identifier is reported only once for each function it appears in.)
configure: 2288:error: expected ';' before 'me'
回复 支持 反对

使用道具 举报

发表于 2008-1-28 16:55:18 | 显示全部楼层
"根据手册命令装不了tcl8。4。15,发现这个是bug"
没有这个问题,我照着手册,全部通过了。
"configure: 2284:17:error: gmp.h : No such file or directory"
很明显,gmp.h头文件找不到。
回复 支持 反对

使用道具 举报

 楼主| 发表于 2008-1-29 11:00:46 | 显示全部楼层
不知道,做了3回了,用的是liveCD里的手册,每次都是同样的问题,难道是人品问题?
回复 支持 反对

使用道具 举报

发表于 2008-1-29 19:03:03 | 显示全部楼层
gcc 不该打的补丁,别打。我不知道是否是这个问题。
回复 支持 反对

使用道具 举报

发表于 2008-2-1 22:26:23 | 显示全部楼层
我只打了手册里的补丁啊
回复 支持 反对

使用道具 举报

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

本版积分规则

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