LinuxSir.cn,穿越时空的Linuxsir!

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

安装 Tcl-8.4.4 时出错

[复制链接]
发表于 2004-4-21 15:19:18 | 显示全部楼层 |阅读模式
小弟在安装 Tcl-8.4.4时遇到了问题,我当时执行的是make命令
得到的结果是
root@Zhe:/mnt/lfs/sources/tcl8.4.4/unix# make
gcc -pipe -rdynamic tclAppInit.o -L/mnt/lfs/sources/tcl8.4.4/unix -ltcl8.4 -ldl -lieee -lm \
-Wl,-rpath,/tools/lib -o tclsh
/lib/libc.so.6: undefined reference to `_dl_tls_symaddr@GLIBC_PRIVATE'
/usr/lib/gcc-lib/i486-linux/3.3.2/../../../libdl.so:
undefined reference to
`_dl_rtld_di_serinfo@GLIBC_PRIVATE'
collect2: ld returned 1 exit status
make: *** [tclsh] Error 1
请大哥们帮忙,谢谢了。 ;P
发表于 2004-4-22 16:30:56 | 显示全部楼层
看看工具链测试的结果对不对。
 楼主| 发表于 2004-4-24 02:39:10 | 显示全部楼层
谢谢版主,我在做Glibc的测试时用lfs用户有错误,但我用root又作了一遍就没有错误了。在锁定Glibc的时候出现问题,但我手动用vi编辑specs文件(把 "/lib/ld-linux.so.2" 替换成 "/tools/lib/ld-linux.so.2")后也不存在了问题,但接下来作Tcl-8.4.4的时候就又遇到了问题。 ;)
发表于 2004-4-28 17:11:49 | 显示全部楼层

我在安装tcl8.4.6的时候也出错

没有当到8.4.4,就用了8.4.6,但是在configure完以后,make时,出现错误:
../compat/strstr.c: In function 'strstr':
../compat/strstr.c:67:error: 'NULL' undeclared (first use in this funcion)
../compat/strstr.c:67:error: (Each undeclared identifier is reported only once
../compat/strstr.c:67:error:for each function it appears in.)
make :*** [strstr.0] Error 1
希望哪位高手能帮忙解决。
发表于 2005-1-13 22:41:28 | 显示全部楼层
一样的问题啊~在做Tcl-8.4.6的时候出的错。帮帮我们把,那位高手能加我Q啊?我Q是:53271414 期待您的指教啊。谢谢了。


/lib/libc.so.6: undefined reference to `_dl_tls_symaddr@GLIBC_PRIVATE'
collect2: ld returned 1 exit status
make: *** [tclsh] Error 1
您需要登录后才可以回帖 登录 | 注册

本版积分规则

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