[hobbit] Need HELP! Compile errors! Solaris 10

David Gore David.Gore at mci.com
Tue May 17 04:28:06 CEST 2005


Unfortunately after upgrading to solaris 10 we have had some 
difficulties, just running hobbit causes the server to become 
unresponsive including from the console.  So I thought I should do a 
recompile which ends like so...

gcc -g -O2 -Wall -Wno-unused -D_REENTRANT -DHAVE_RPCENT -DSunOS 
-DMAXMSG=32768 -DBBDPORTNUMBER=1984 -I. 
-I/var/tmp/hobbit-4.0.3rc2/include -I. -I../include    -c -o misc.o misc.c
In file included from /usr/include/sys/wait.h:24,
                  from misc.c:20:
/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/sys/procset.h:24,
                  from /usr/include/sys/wait.h:25,
                  from misc.c:20:
/usr/include/sys/signal.h:85: error: parse error before "siginfo_t"
In file included from misc.c:20:
/usr/include/sys/wait.h:86: error: parse error before "siginfo_t"
make[1]: *** [misc.o] Error 1
make[1]: Leaving directory `/var/tmp/hobbit-4.0.3rc2/lib'
make: *** [lib-build] Error 2

Any ideas?

David



More information about the Xymon mailing list