LinuxSir.cn,穿越时空的Linuxsir!

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

readjusting the toolchain in chapter 6?

[复制链接]
发表于 2005-1-16 12:17:46 | 显示全部楼层 |阅读模式
after readjusting the toolchain in chapter 6, i got the following error when performing the simple sanity check:



root:/sources# cc dummy.c
/tools/lib/gcc/i686-pc-linux-gnu/3.4.3/../../../../i686-pc-linux-gnu/bin/ld: crt1.o: No such file: No such file or directory
collect2: ld returned 1 exit status


what is wrong ? can anybody help me to correct it?

thx!
发表于 2005-1-16 20:49:01 | 显示全部楼层
你用cc -v dummy.c试试看。
crt1.o: No such file: No such file or directory
看来你是缺少这个文件,因为连接器需要它。
回复 支持 反对

使用道具 举报

 楼主| 发表于 2005-1-16 21:36:49 | 显示全部楼层
我可以在/usr/lib中找到crt1.o,但就是链不上。不知是那里的问题 specs我也改掉了
回复 支持 反对

使用道具 举报

发表于 2005-1-16 21:54:17 | 显示全部楼层
我也碰到过这个问题,后来删了一堆东西,然后又装了一堆东西,反正之后就行了,有些奇怪....貌似是host system的glibc....
回复 支持 反对

使用道具 举报

发表于 2005-1-16 22:01:05 | 显示全部楼层
顺便问一下,specs是什么?
回复 支持 反对

使用道具 举报

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

本版积分规则

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