日期:2014-05-16  浏览次数:20911 次

紧急!!编译glibc 2.14.1出错
今天在slackware 13.37里编译glibc 2.14.1,编译时出错。
出错信息……
../sysdeps/i386/fpu/s_frexp.S: Assembler messages:
../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: Missing symbol name in directive
../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: Missing symbol name in directive
../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 directiveout "
../sysdeps/i386/fpu/s_frexp.S:66: Error: ".endif" with ".if"
../sysdeps/i386/fpu/s_frexp.S:66: Error: junk `.get_pc_thunk.dx' after expression
make[2]: *** [/opt/mylinux/build/glibc-build/math/s_frexp.os] Error 1
make[1]: *** [math/subdir_lib] Error 2
make: *** [all] Error2
问题出在哪,求救

------解决方案--------------------
建议使用2.14.1版本的glibc-ports.
glibc-2.14.1/configure BUILD_CC="gcc" CC=arm-linux-gcc --host=arm-linux --target=arm-linux --prefix=/usr --enable-add-ons --disable-profile --cache-file=config.cache --with-binutils=(自定义) --with-headers=(内核头文件目录)