I was trying to build GNU tar 1.20 but got stuck on gnulib mbchar.
I created a testdir from the latest gnulib mbchar and this is the
result:
make[3]: Entering directory `/usr/people/tgc/mbchar.test/mbchar/gllib'
source='localcharset.c' object='localcharset.o' libtool=no \
DEPDIR=.deps depmode=sgi /bin/ksh ../build-aux/depcomp \
cc -woff 728 -DHAVE_CONFIG_H -I. -I.. -g -c -o localcharset.o
localcharset.c
source='mbchar.c' object='mbchar.o' libtool=no \
DEPDIR=.deps depmode=sgi /bin/ksh ../build-aux/depcomp \
cc -woff 728 -DHAVE_CONFIG_H -I. -I.. -g -c -o mbchar.o mbchar.c
cfe: Error: ./mbchar.h, line 239: Syntax Error
mb_width_aux (wint_t wc)
---------------------^
cfe: Error: ./mbchar.h, line 244: Syntax Error
return (w >= 0 ? w : iswcntrl (wc) ? 0 : 1 );
--^
cfe: Error: ./mbchar.h, line 244: Syntax Error
return (w >= 0 ? w : iswcntrl (wc) ? 0 : 1 );
-------------------------------------^
cfe: Warning 625: ./mbchar.h, line 244: Empty declaration
return (w >= 0 ? w : iswcntrl (wc) ? 0 : 1 );
----------------------------------------------^
make[3]: *** [mbchar.o] Error 1
make[3]: Leaving directory `/usr/people/tgc/mbchar.test/mbchar/gllib'
make[2]: *** [check] Error 2
make[2]: Leaving directory `/usr/people/tgc/mbchar.test/mbchar/gllib'
make[1]: *** [check-recursive] Error 1
make[1]: Leaving directory `/usr/people/tgc/mbchar.test/mbchar'
make: *** [check-recursive] Error 1
Full logs + config.log available at http://jupiterrise.com/tmp
-tgc