[hobbit] Solution: Need HELP! Compile errors! Solaris 10
David Gore
David.Gore at mci.com
Tue May 17 05:05:34 CEST 2005
David Gore (v965-3670)
Enhanced Technology Support (ETS)
Network Management Systems (NMS)
IMPACT Transport Team Lead - SCSA, SCNA
Page: 1-800-PAG-eMCI pin 1406090
Vnet: 965-3676
David Gore wrote:
> 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
>
> To unsubscribe from the hobbit list, send an e-mail to
> hobbit-unsubscribe at hswn.dk
>
>
Solution:
root at hobbit:/usr/local/lib/gcc-lib/sparc-sun-solaris2.10/3.3.2/install-tools>
./mkheaders
fixproto: populating
`/usr/local/lib/gcc-lib/sparc-sun-solaris2.10/3.3.2/include'
(No *.h files in
/usr/local/lib/gcc-lib/sparc-sun-solaris2.10/3.3.2/include/root)
(No *.h files in
/usr/local/lib/gcc-lib/sparc-sun-solaris2.10/3.3.2/include/root/usr)
(No *.h files in
/usr/local/lib/gcc-lib/sparc-sun-solaris2.10/3.3.2/include/root/usr/openwin)
(No *.h files in
/usr/local/lib/gcc-lib/sparc-sun-solaris2.10/3.3.2/include/root/usr/openwin/include)
(No *.h files in
/usr/local/lib/gcc-lib/sparc-sun-solaris2.10/3.3.2/include/root/usr/openwin/include/X11)
(No *.h files in
/usr/local/lib/gcc-lib/sparc-sun-solaris2.10/3.3.2/include/X11)
Compiles fine now.
More information about the Xymon
mailing list