编译glibc出问题,请教!!!
小弟参考《ARM9嵌入式系统设计基础教程》分布构建交叉编译工具链,所需源码包如下
linux-2.6.10.tar.bz2
binutils-2.15.tar.bz2
glibc-2.3.2.tar.gz
glibc-linuxthreads-2.3.2.tar.gz
gcc-3.3.6.tar.gz
环境变量建立
PRJROOT=/home/redhat/Embeded
TARGET=arm-linux
PREFIX=$PRJROOT/tools
TARGET_PREFIX=$PREFIX/$TARGET
PATH=$PREFIX/bin:$PATH
完成工作:配置、安装binutils,配置linux内核头文件,第一次编译gcc
现在做交叉编译glibc:配置CC=arm-linux-gcc ../glibc-2.3.2/configure --host=$TARGET --prefix="/usr" --enable-add-ons --with-headers=$TARGET_PREFIX/include
编译出问题:
/tmp/ccBsDlek.s: Assembler messages:
/tmp/ccBsDlek.s:71: Error: junk at end of line, first unrecognized character is `,'
/tmp/ccBsDlek.s:73: Error: junk at end of line, first unrecognized character is `,'
make[2]: *** [/home/redhat/Embeded/build-tools/build-glibc/intl/localealias.o] Error 1
make[2]: Leaving directory `/home/redhat/Embeded/build-tools/glibc-2.3.2/intl'
make[1]: *** [intl/subdir_lib] Error 2
make[1]: Leaving directory `/home/redhat/Embeded/build-tools/glibc-2.3.2'
make: *** [install] Error 2
不知作何理解,请各位大神帮忙,感激不尽!