[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
compilation of findutils-4.4.0 with gcc-4.4.0-20090225 -- error with wct
From: |
Frank Erens |
Subject: |
compilation of findutils-4.4.0 with gcc-4.4.0-20090225 -- error with wctype.h in gnulib code |
Date: |
Fri, 27 Feb 2009 17:08:24 +0100 |
Hello,
I'm trying to compile findutils-4.4.0, but get the following errors from make:
---------------------------------------------------------------------------------
address@hidden:/mnt/lfs/Sources/findutils-4.4.0$ make
make all-recursive
make[1]: Entering directory `/mnt/lfs/Sources/findutils-4.4.0'
Making all in gnulib
make[2]: Entering directory `/mnt/lfs/Sources/findutils-4.4.0/gnulib'
Making all in lib
make[3]: Entering directory `/mnt/lfs/Sources/findutils-4.4.0/gnulib/lib'
make all-am
make[4]: Entering directory `/mnt/lfs/Sources/findutils-4.4.0/gnulib/lib'
depbase=`echo mbchar.o | sed 's|[^/]*$|.deps/&|;s|\.o$||'`;\
gcc4.3 -std=gnu99 -DHAVE_CONFIG_H -I. -I../.. -I../../intl -g -O2
-MT mbchar.o -MD -MP -MF $depbase.Tpo -c -o mbchar.o mbchar.c &&\
mv -f $depbase.Tpo $depbase.Po
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[4]: *** [mbchar.o] Error 1
make[4]: Leaving directory `/mnt/lfs/Sources/findutils-4.4.0/gnulib/lib'
make[3]: *** [all] Error 2
make[3]: Leaving directory `/mnt/lfs/Sources/findutils-4.4.0/gnulib/lib'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/mnt/lfs/Sources/findutils-4.4.0/gnulib'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/mnt/lfs/Sources/findutils-4.4.0'
make: *** [all] Error 2
address@hidden:/mnt/lfs/Sources/findutils-4.4.0$
---------------------------------------------------------------------------------
I've looked at the mentioned lines, and the code looks perfectly ok there.
I've tried compiling a test program with wctype.h, no problems.
I've googled for the error message, and the only useful results I get
have to do with gettext, suggesting to upgrade to the newest
version of gettext. I tried getting the latest gnulib from git with the included
script, but that didn't work out.
The people on the LFS mailing list recommended me to use gcc4.3 (the
default on LFS 6.4, which I'm trying to build), however, I got exactly
the same error message from that.
Apart from the alpha version of GCC I used the first time, there's nothing
notable about my build environment as far as I know.
Is there perhaps something I missed when setting up my build environment?
Thanks for your attention,
- Frank
- compilation of findutils-4.4.0 with gcc-4.4.0-20090225 -- error with wctype.h in gnulib code,
Frank Erens <=