On both

checking build system type... hppa2.0w-hp-hpux11.00
checking host system type... hppa2.0w-hp-hpux11.00

and on

checking build system type... sparc-sun-solaris2.6
checking host system type... sparc-sun-solaris2.6

The build stops with,

../../tar-1.19/lib/strerror.c: In function 'rpl_strerror':
../../tar-1.19/lib/strerror.c:32: error: 'CHAR_BIT' undeclared (first use in 
this function)
../../tar-1.19/lib/strerror.c:32: error: (Each undeclared identifier is 
reported only once
../../tar-1.19/lib/strerror.c:32: error: for each function it appears in.)
make[3]: *** [strerror.o] Error 1
make[3]: Leaving directory `/accts/hydroc.a/gnu/footar/lib'
make[2]: *** [all] Error 2
make[2]: Leaving directory `/accts/hydroc.a/gnu/footar/lib'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/accts/hydroc.a/gnu/footar'
make: *** [all] Error 2

The workaround is to add -DCHAR_BIT=8 to the CPPFLAGS in lib/Makefile.



Reply via email to