LinuxSir.cn,穿越时空的Linuxsir!

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

linux编译glibc,一直报错

[复制链接]
发表于 2010-3-23 19:48:32 | 显示全部楼层 |阅读模式
make版本号    GNU Make 3.81
gcc版本号     gcc version 4.4.2 20091027 (Red Hat 4.4.2-7) (GCC)
glibc版本号   #define RELEASE "stable"
              #define VERSION "2.11.1"
kernal版本号  2.6.31.5-127.fc12.i686.PAE

源码unpack到 /usr/local/src/glibc-2.11.1
创建对象文件 ../glibc-2.11.1/configure --prefix=/usr
出现这个提示:config.status: creating config.make
              config.status: creating Makefile
              config.status: creating config.h
              config.status: config.h is unchanged
              config.status: executing default commands
然后编译的时候出现这个错误:
make[2]: *** [/usr/local/src/glibc-build/math   /s_frexp.os] Error 1
make[2]: Leaving directory `/usr/local/src/glibc-2.11.1/math'
make[1]: *** [math/subdir_lib] Error 2
make[1]: Leaving directory `/usr/local/src/glibc-2.11.1'
make: *** [all] Error 2

../sysdeps/i386/fpu/s_frexp.S:66: Error: invalid identifier for ".ifdef"
../sysdeps/i386/fpu/s_frexp.S:66: Error: junk at end of line, first unrecognized character is `1'
../sysdeps/i386/fpu/s_frexp.S:66: Error: junk at end of line, first unrecognized character is `1'
../sysdeps/i386/fpu/s_frexp.S:66: Error: junk at end of line, first unrecognized character is `1'
../sysdeps/i386/fpu/s_frexp.S:66: Error: junk at end of line, first unrecognized character is `.'
../sysdeps/i386/fpu/s_frexp.S:66: Error: junk at end of line, first unrecognized character is `1'
../sysdeps/i386/fpu/s_frexp.S:66: Error: expected comma after name `' in .size directive
../sysdeps/i386/fpu/s_frexp.S:66: Error: ".endif" without ".if"
../sysdeps/i386/fpu/s_frexp.S:66: Error: junk `.get_pc_thunk.dx' after expression
您需要登录后才可以回帖 登录 | 注册

本版积分规则

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