|
我的配置如下:
tar xvzf glibc-2.6.1.tar.gz
cd glibc-2.6.1
tar xvjf ../glibc-ports-2.6.1.tar.bz2
mv -v glibc-ports-2.6.1 ports
patch -Np1 -i ../glibc-2.6.1-libgcc_eh-1.patch
patch -Np1 -i ../glibc-2.6.1-localedef_segfault-1.patch
patch -Np1 -i ../glibc-2.6.1-cross_hacks-1.patch
patch -Np1 -i ../glibc-2.6.1-RTLD_SINGLE_THREAD_P-1.patch
echo "libc_cv_forced_unwind=yes" > config.cache
echo "libc_cv_c_cleanup=yes" >> config.cache
echo "libc_cv_arm_tls=yes" >> config.cache
CC=arm-linux-gcc AS=arm-linux-as LD=arm-linux-ld
../glibc-2.6.1/configure --host=arm-linux --enable-add-ons --enable-shared --with-headers=$PREFIX/$TARGET/include --prefix=$PREFIX/arm-linux --cache-file=config.cache
错误信息如下:
collect2: ld returned 1 exit status
make[2]: *** [/cross/src/build-glibc/iconvdata/GBBIG5.so] 错误 1
make[2]: Leaving directory `/cross/src/glibc-2.6.1/iconvdata'
make[1]: *** [iconvdata/others] 错误 2
make[1]: Leaving directory `/cross/src/glibc-2.6.1'
make: *** [all] 错误 2 |
|