+ -
当前位置:首页 → 问答吧 → CLFS x86_64 编译gettext出错,谁见过类似错误?

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

时间:2007-12-23

来源:互联网

/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'

作者: utstar   发布时间: 2007-12-23

CLFS 的 x86 ,我试过了。最近的版本这一步是有问题。
要不就试下 gettext-0.16.1.tar.gz
后面的在编译基础系统的时候,也就是 chroot 之后编译这个包的时候按手册上面的。

作者: tfkdmwmqtr   发布时间: 2007-12-23

貌似configure没弄对

作者: sspipipipi   发布时间: 2007-12-27