LinuxSir.cn,穿越时空的Linuxsir!

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

编译到tcl8.4.7-src.tar.bz2时有错!

[复制链接]
发表于 2005-2-7 11:46:50 | 显示全部楼层 |阅读模式
我想安装lfs5.1.1
前面安装了binutils,gcc,glibc。我是按文档来进行的,前面都很顺利!
可是当我安装tcl8.4.7-src.tar.bz2时,就在make install这一步时出现如下错误提示:
大家帮帮我啊,我不想前功尽弃啊!我给你们磕头了啊!!

本帖子中包含更多资源

您需要 登录 才可以下载或查看,没有帐号?注册

x
发表于 2005-2-7 12:28:02 | 显示全部楼层
lfs-5.1.1中的tcl版本是 tcl-8.4.6的。
你的怎么是.7的呢 :ask
tcl上一章的Adjusting the toolchain
是否正确做的呢?

  1. Caution


  2. It is imperative at this point to stop and ensure that the basic functions (compiling and linking) of the new toolchain are working as expected. For this we are going to perform a simple sanity check:

  3. echo 'main(){}' > dummy.c
  4. cc dummy.c
  5. readelf -l a.out | grep ': /tools'


  6. If everything is working correctly, there should be no errors, and the output of the last command will be (allowing for platform specific differences in dynamic linker name):

  7. [Requesting program interpreter: /tools/lib/ld-linux.so.2]


  8. Note especially that /tools/lib appears as the prefix of our dynamic linker.


  9. If you did not receive the output as shown above, or received no output at all, then something is seriously wrong. You will need to investigate and retrace your steps to find out where the problem is and correct it. There is no point in continuing until this is done. First, redo the sanity check using gcc instead of cc. If this works it means the /tools/bin/cc symlink is missing. Revisit the section called “GCC-3.3.3 - Pass 1” and fix the symlink. Second, ensure your PATH is correct. You can check this by running echo $PATH and verifying that /tools/bin is at the head of the list. If the PATH is wrong it could mean you're not logged in as user lfs or something went wrong back in the section called “Setting up the environment”. Third, something may have gone wrong with the specs file amendment above. In this case redo the specs file amendment ensuring to cut-and-paste the commands as was recommended.


  10. Once you are satisfied that all is well, clean up the test files:

  11. rm dummy.c a.out
复制代码

做这个测试,结果是什么?
回复 支持 反对

使用道具 举报

 楼主| 发表于 2005-2-7 13:58:42 | 显示全部楼层
真不好意思,我看错了,确实是tcl8.4.6-src.tar.bz2版本!
测试结果是[Requesting program interpreter: /tools/lib/ld-linux.so.2]
和文档说的结果是一样的!
兄弟,看提示说的感觉好象是libc.so.6这个文件有点问题!
麻烦兄弟和各位大虾指教!多谢!!
回复 支持 反对

使用道具 举报

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

本版积分规则

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