LinuxSir.cn,穿越时空的Linuxsir!

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

pacman gcc后出现的问题

[复制链接]
发表于 2006-7-22 14:51:11 | 显示全部楼层 |阅读模式
0.7光盘安装后,gcc无明显问题,后为了编译e17,pacman -Sf glibc gcc
gcc为4.1.1
glibc为2.4
问题就出现了:
# ./configure
checking build system type... i686-pc-linux-gnu
checking host system type... i686-pc-linux-gnu
checking for gcc... gcc
checking for C compiler default output file name... configure: error: C compiler cannot create executables

或者:
# gcc hello.c
/usr/bin/ld:/usr/lib/gcc/i686-pc-linux-gnu/4.1.1/../../../libc.so: file format not recognized; treating as linker script
/usr/bin/ld:/usr/lib/gcc/i686-pc-linux-gnu/4.1.1/../../../libc.so:5: parse error
collect2: ld returned 1 exit status

请问如何对新升级的gcc和glibc配置参数,能回到升级前的配置吗?

盼赐教:-)
发表于 2006-7-22 15:32:00 | 显示全部楼层
pacman -Syu全部升级一下看看
回复 支持 反对

使用道具 举报

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

本版积分规则

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