Compile issue on Solaris 10 Sparc Edition

Andreas Ericsson ae at op5.se
Sun Feb 13 19:54:36 CET 2005


Alin S wrote:
>     Hello,
>  I'm trying to compile nagios-2.0b2 on Solaris10 sparc edition and I run into an issue during the "make all" sequence. 
>  Any help is appreciated.
> Thanks,
> Alin
> 
> ***********************************************************************************************************
> root:ultra60/packages/nagios-2.0b2# make all
> cd ./base && make
> make[1]: Entering directory `/packages/nagios-2.0b2/base'
> gcc -g -O2 -DHAVE_CONFIG_H -DNSCORE   -c -o checks.o checks.c
> In file included from /usr/include/sys/signal.h:34,
>                  from /usr/include/signal.h:26,
>                  from ../include/config.h:134,
>                  from checks.c:26:
> /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"

This seems to indicate that your system header files are severely broken 
or that some header file defining the variable type ctid_t isn't being 
included.

> /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'

This is supposed to never ever happen. Have you managed to compile some 
other signal handling software on this system?

> /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 ../include/config.h:134,
>                  from checks.c:26:
> /usr/include/sys/signal.h:85: error: parse error before "siginfo_t"
> In file included from ../include/config.h:134,
>                  from checks.c:26:
> /usr/include/signal.h:111: error: parse error before "siginfo_t"
> /usr/include/signal.h:113: error: parse error before "siginfo_t"
> make[1]: *** [checks.o] Error 1
> make[1]: Leaving directory `/packages/nagios-2.0b2/base'
> make: *** [all] Error 2
> 
> *********************************************************************
> 
> 
> 
> 
> -------------------------------------------------------
> SF email is sponsored by - The IT Product Guide
> Read honest & candid reviews on hundreds of IT Products from real users.
> Discover which products truly live up to the hype. Start reading now.
> http://ads.osdn.com/?ad_id=6595&alloc_id=14396&op=click
> _______________________________________________
> Nagios-users mailing list
> Nagios-users at lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/nagios-users
> ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. 
> ::: Messages without supporting info will risk being sent to /dev/null
> 

-- 
Andreas Ericsson                   andreas.ericsson at op5.se
OP5 AB                             www.op5.se
Lead Developer


-------------------------------------------------------
SF email is sponsored by - The IT Product Guide
Read honest & candid reviews on hundreds of IT Products from real users.
Discover which products truly live up to the hype. Start reading now.
http://ads.osdn.com/?ad_id=6595&alloc_id=14396&op=click
_______________________________________________
Nagios-users mailing list
Nagios-users at lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/nagios-users
::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. 
::: Messages without supporting info will risk being sent to /dev/null





More information about the Users mailing list