LinuxSir.cn,穿越时空的Linuxsir!

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

glibc-2.3.3无法通过

[复制链接]
发表于 2008-5-6 22:48:00 | 显示全部楼层 |阅读模式
建立针对arm的交叉编译环境时,为什么编译glibc时老是通过不了。我用的是 binutils-1.5, gcc-3.4.2 glibc-2.3.3.
前二个都能顺利的通过,就是库老是出错。我也找到很多补丁打上去了,感觉打和不打一样。
出错信息如下。
/home/chen/embedded/build-bools/build-glibc/csu/crti.S: Assembler messages:
/home/chen/embedded/build-tools/build-glibc/csu/crti.S:96:Error : can't resolve ‘_GLOBAL_OFFSET_TABLE_’{*UND* section} -'L7'
/home/chen/embedded/build-tools/build-glibc/csu/crti.S:61:Error: internal_relocation (type:OFFSET_IMM) not fixep up
home/chen/embedded/build-tools/build-glibc/csu/crti.S:62:Error: internal_relocation (type:OFFSET_IMM) not fixep up
home/chen/embedded/build-tools/build-glibc/csu/crti.S:63:Error: internal_relocation (type:OFFSET_IMM) not fixep up
home/chen/embedded/build-tools/build-glibc/csu/crti.S:64:Error: internal_relocation (type:OFFSET_IMM) not fixep up
make[2]:***[/home/chen/embedded/build-tools/build-glibc/csu/crti.o] Error 1
make[2] eaving directory /home/chen/embedded/build-tools/glibc-2.3.3/csu
make[1]:***[csu/subdir_lib] Error 2
make[1]: Leaving directory /home/chen/embedded/bild-tools/glibc-2.3.3
make:***[all] Error 2
chen是我自己建立的目录。我在kegel网站上找到了很多关于glibc-2..3.3的补丁都打上去了,一编译就出现如此错误。
怎么会事?
您需要登录后才可以回帖 登录 | 注册

本版积分规则

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