Greetings,
I trying to compile cvs 1.11.19 on a Sun workstation running Solaris 9 with GCC 3.2.2. After performing configure as follows...
./configure --prefix=/products/cvs-1.11.19/local --exec-prefix=/products/cvs-1.11.19/local/sun
... and performing make, the following problem occurs while trying to compile sighandle.c:
if gcc -DHAVE_CONFIG_H -I. -I. -I.. -I../src -g -O2 -MT sighandle.o \ -MD -MP -MF ".deps/signhandle.Tpo" -c -o sighandle.o sighandle.c; \ then mv -f ".deps/signhandle.Tpo" ".deps/signhandle.Po"; \ else rm -f ".deps/signhandle.Tpo" ; exit 1; fi In file included from system.h:15, from sighandle.c:34: /usr/include/sys/stat.h:274: error: parse error before "blksize_t" /usr/include/sys/stat.h:278: error: parse error before '}' token /usr/include/sys/stat.h:334: error: parse error before "blksize_t" /usr/include/sys/stat.h:335: error: conflicting types for 'st_blocks' /usr/include/sys/stat.h:275: error: previous declaration of 'st_blocks' /usr/include/sys/stat.h:338: error: parse error before '}' token make[2]: *** [sighandle.o] Error 1 make[2]: Leaving directory '/products/cvs-1.11.19/lib' make[1]: *** [all-recursive] Error 1 make[1]: Leaving directory '/products/cvs-1.11.19' make: *** [all] Error 2
Any ideas what the problem might be? I had no problem compiling cvs 1.11.11 last year with GCC 2.95.3 (IIRC). I didn't think I'd encounter this problem. Thanks in advance for help or pointers.
Mac A. Cody
_______________________________________________ Bug-cvs mailing list Bug-cvs@gnu.org http://lists.gnu.org/mailman/listinfo/bug-cvs