|
Errors in /usr/include/sys/siginfo.h? Are
your system header files OK? You’ve used this gcc before, right? From: owner- Anyone compile BB1.9i Svr
for Solaris 10 and run into the following compilation errors: $ make Making solaris makefile BBOS="solaris"
CC="gcc" CFLAGS=" -Dsolaris -O -DBZERO -DGETTIMEOFDAY
-DREGEXEC" LIBS="-ll -lnsl -lsocket -lkstat" make -e bball gcc -Dsolaris -O
-DBZERO -DGETTIMEOFDAY -DREGEXEC `./minimake/genbbdefs` -g -o bb.o -c bb.c In file included from
/usr/include/sys/signal.h:34,
from bb.h:28,
from bb.c:22: /usr/include/sys/siginfo.h:259:
error: parse error before "ctid_t" /usr/include/sys/siginfo.h:292:
error: parse error before '}' token /usr/include/sys/siginfo.h:294:
error: parse error before '}' token /usr/include/sys/siginfo.h:390:
error: parse error before "ctid_t" /usr/include/sys/siginfo.h:392:
error: conflicting types for `__proc' /usr/include/sys/siginfo.h:261:
error: previous declaration of `__proc' /usr/include/sys/siginfo.h:398:
error: conflicting types for `__fault' /usr/include/sys/siginfo.h:267:
error: previous declaration of `__fault' /usr/include/sys/siginfo.h:404:
error: conflicting types for `__file' /usr/include/sys/siginfo.h:273:
error: previous declaration of `__file' /usr/include/sys/siginfo.h:420:
error: conflicting types for `__prof' /usr/include/sys/siginfo.h:287:
error: previous declaration of `__prof' /usr/include/sys/siginfo.h:424:
error: conflicting types for `__rctl' /usr/include/sys/siginfo.h:291:
error: previous declaration of `__rctl' /usr/include/sys/siginfo.h:426:
error: parse error before '}' token /usr/include/sys/siginfo.h:428:
error: parse error before '}' token /usr/include/sys/siginfo.h:432:
error: parse error before "k_siginfo_t" /usr/include/sys/siginfo.h:437:
error: parse error before '}' token In file included from
bb.h:28,
from bb.c:22: /usr/include/sys/signal.h:85:
error: parse error before "siginfo_t" In file included from
bb.h:29,
from bb.c:22: /usr/include/sys/wait.h:86:
error: parse error before "siginfo_t" *** Error code 1 make: Fatal error:
Command failed for target `bb.o' Current working directory
/export/home/bb/bb1.9i-btf/src *** Error code 1 make: Fatal error:
Command failed for target `all' Current working directory
/export/home/bb/bb1.9i-btf/src *** Error code 1 The following command
caused the error: make -f
minimake/makefile.`./minimake/bbmachine` make: Fatal error:
Command failed for target `all' Any assistance getting
past this is greatly appreciated. |