编译glibc时,
CC=arm-linux-gcc ../glibc-2.2.3/configure --host=$TARGET --prefix="/usr" --enable-add-ons --with-headers=$TARGET_PREFIX/include
# make
# make install_root=$TARGET_PREFIX prefix="" instal
这一步时报错:
=====================
解决:
glibc-2.2.3/manual/stdio.texi的3268,3269的两个@ref[, , ,]用@ref[Top, , ,]替换
步骤;[1[root@localhost build-glibc]# cp ../glibc-2.2.3/manual/stdio.texi ./stdio.texi.b
2[root@localhost build-glibc]# vi ../glibc-2.2.3/manual/stdio.texi
=============================================
LANGUAGE=C LC_ALL=C makeinfo libc.texinfo
./stdio.texi:3269: First argument to cross-reference may not be empty.
./stdio.texi:3270: First argument to cross-reference may not be empty.
makeinfo: Removing output file `/home/qing/arm_toolchain/build-tools/glibc-2.2.3/manual/libc.i nfo' due to errors; use --force to preserve.
make[2]: *** [libc.info] Error 2
make[2]: Leaving directory `/home/qing/arm_toolchain/build-tools/glibc-2.2.3/manual'
make[1]: *** [manual/subdir_install] Error 2
make[1]: Leaving directory `/home/qing/arm_toolchain/build-tools/glibc-2.2.3'
make: *** [install] Error 2
阅读(1430) | 评论(0) | 转发(0) |