Chinaunix首页 | 论坛 | 博客
  • 博客访问: 538565
  • 博文数量: 150
  • 博客积分: 5010
  • 博客等级: 大校
  • 技术积分: 1861
  • 用 户 组: 普通用户
  • 注册时间: 2008-03-17 00:19
文章分类

全部博文(150)

文章存档

2011年(1)

2009年(14)

2008年(135)

我的朋友

分类: LINUX

2008-04-11 11:51:43

编译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

阅读(1411) | 评论(0) | 转发(0) |
给主人留下些什么吧!~~