LinuxSir.cn,穿越时空的Linuxsir!

 找回密码
 注册
搜索
热搜: shell linux mysql
查看: 1299|回复: 2

CLFS x86_64 编译gettext出错,谁见过类似错误?

[复制链接]
发表于 2007-12-23 12:24:16 | 显示全部楼层 |阅读模式
/bin/sh ../libtool --tag=CC   --mode=compile x86_64-unknown-linux-gnu-gcc -m64 -std=gnu99 -DHAVE_CONFIG_H -DEXEEXT=\"\" -DEXEEXT=\"\" -DEXEEXT=\"\" -I. -I..  -I../intl -I../intl -I.. -I.. -DDEPENDS_ON_LIBICONV=1 -DDEPENDS_ON_LIBINTL=1 -DLIBXML_STATIC -I../intl   -I./libcroco    -g -O2 -c -o mbchar.lo mbchar.c
x86_64-unknown-linux-gnu-gcc -m64 -std=gnu99 -DHAVE_CONFIG_H -DEXEEXT=\"\" -DEXEEXT=\"\" -DEXEEXT=\"\" -I. -I.. -I../intl -I../intl -I.. -I.. -DDEPENDS_ON_LIBICONV=1 -DDEPENDS_ON_LIBINTL=1 -DLIBXML_STATIC -I../intl -I./libcroco -g -O2 -c mbchar.c -o mbchar.o
In file included from mbchar.h:157,
                 from mbchar.c:21:
/tools/include/wctype.h:112: error: expected ')' before '__wc'
/tools/include/wctype.h:118: error: expected ')' before '__wc'
/tools/include/wctype.h:121: error: expected ')' before '__wc'
/tools/include/wctype.h:125: error: expected ')' before '__wc'
/tools/include/wctype.h:129: error: expected ')' before '__wc'
/tools/include/wctype.h:134: error: expected ')' before '__wc'
/tools/include/wctype.h:137: error: expected ')' before '__wc'
/tools/include/wctype.h:142: error: expected ')' before '__wc'
/tools/include/wctype.h:147: error: expected ')' before '__wc'
/tools/include/wctype.h:152: error: expected ')' before '__wc'
/tools/include/wctype.h:157: error: expected ')' before '__wc'
/tools/include/wctype.h:163: error: expected ')' before '__wc'
/tools/include/wctype.h:176: error: expected ')' before '__wc'
/tools/include/wctype.h:195: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'towlower'
/tools/include/wctype.h:198: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'towupper'
/tools/include/wctype.h:222: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'towctrans'
/tools/include/wctype.h:231: error: expected ')' before '__wc'
/tools/include/wctype.h:237: error: expected ')' before '__wc'
/tools/include/wctype.h:240: error: expected ')' before '__wc'
/tools/include/wctype.h:244: error: expected ')' before '__wc'
/tools/include/wctype.h:248: error: expected ')' before '__wc'
/tools/include/wctype.h:253: error: expected ')' before '__wc'
/tools/include/wctype.h:256: error: expected ')' before '__wc'
/tools/include/wctype.h:261: error: expected ')' before '__wc'
/tools/include/wctype.h:266: error: expected ')' before '__wc'
/tools/include/wctype.h:271: error: expected ')' before '__wc'
/tools/include/wctype.h:276: error: expected ')' before '__wc'
/tools/include/wctype.h:281: error: expected ')' before '__wc'
/tools/include/wctype.h:290: error: expected ')' before '__wc'
/tools/include/wctype.h:299: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'towlower_l'
/tools/include/wctype.h:302: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'towupper_l'
/tools/include/wctype.h:310: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'towctrans_l'
In file included from mbchar.c:21:
mbchar.h:239: error: expected ')' before 'wc'
make[1]: *** [mbchar.lo] Error 1
make[1]: Leaving directory `/mnt/clfs/sources/gettext-0.17/gettext-tools/gnulib-lib'
make: *** [all] Error 2
make: Leaving directory `/mnt/clfs/sources/gettext-0.17/gettext-tools/gnulib-lib'
发表于 2007-12-23 13:40:34 | 显示全部楼层
CLFS 的 x86 ,我试过了。最近的版本这一步是有问题。
要不就试下 gettext-0.16.1.tar.gz
后面的在编译基础系统的时候,也就是 chroot 之后编译这个包的时候按手册上面的。
回复 支持 反对

使用道具 举报

发表于 2007-12-27 15:29:04 | 显示全部楼层
貌似configure没弄对
回复 支持 反对

使用道具 举报

您需要登录后才可以回帖 登录 | 注册

本版积分规则

快速回复 返回顶部 返回列表