![]() | |
![]() |
| | Thread Tools | Display Modes |
#1
| |||
| |||
|
#2
| |||
| |||
|
|
I'm building db-3.3.10 on Solaris 10 using GNC CC with local PATH: /usr/sbin:/usr/bin:/usr/dt/bin:/usr/openwin/bin:/usr/ccs/bin:/usr/local/bin:/usr/ucb The ../dist/configure completes without errors. During the make the util.sig.c include /usr/include/sys/signal.h and /usr/include/signal.h which include /usr/include/sys/siginfo.h - The errors are with this Is there are problem compiling db-3.3.10 or db-4.4.20 on solaris 10. While compiling both version, the same error is displayed. Here is the error: /usr/local/bin/gcc -c -I. -I../dist/../include -I../dist/../include_auto -D_REENTRANT -O ../common/util_sig.c -fPIC -DPIC -o util_sig.o In file included from /usr/include/sys/signal.h:34, from /usr/include/signal.h:26, from ../common/util_sig.c:17: /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 /usr/include/signal.h:26, from ../common/util_sig.c:17: /usr/include/sys/signal.h:85: error: parse error before "siginfo_t" In file included from ../common/util_sig.c:17: /usr/include/signal.h:111: error: parse error before "siginfo_t" /usr/include/signal.h:113: error: parse error before "siginfo_t" *** Error code 1 make: Fatal error: Command failed for target `util_sig.lo' |
![]() |
| Thread Tools | |
| Display Modes | |
| |