Compile issue on Solaris 10 Sparc Edition

Andreas Ericsson ae at op5.se
Sun Feb 13 20:58:11 CET 2005


Alin S wrote:
>  This is a fresh installation on Solaris10 (entire distribution).
> I didn’t' compile anything else on the system since I installed
> the OS (last night). The only thing that  I  have done is to load
> some standard packages on the system. Do you think that one of the
> packages loaded on the system corrupted the headers?

No, I think you have either missed to load one or more packages 
containing development files (most likely), or the files included in one 
or more of the packages are corrupt (not likely), or the header files 
are simply poorly written (somewhat likely).

>  Listed below
> are the packages installed on the system:
> 
> application SMCautoc                         autoconf
> application SMCautom                         automake
> application SMCcurl                          curl
> application SMCdb                            db
> application SMCdiffu                         diffutils
> application SMCegd                           egd
> application SMCexpat                         expat
> application SMCfontc                         fontconfig
> application SMCfreet                         freetype
> application SMCgawk                          gawk
> application SMCgcc                           gcc
> application SMCgd                            gd
> application SMCgdbm                          gdbm
> application SMCglib1                         glib
> application SMCgtk                           gtk+
> application SMCiconv                         libiconv
> application SMCimlib                         imlib
> application SMCjpeg                          jpeg
> application SMClibnet                        libnet
> application SMClibtool                       libtool
> application SMClpng                          libpng
> application SMClungif                        libungif
> application SMClxslt                         libxslt
> application SMCm4                            m4
> application SMCmake                          make
> application SMCncurs                         ncurses
> application SMCossh                          openssh
> application SMCpango                         pango
> application SMCpgsql                         postgresql
> application SMCphp                           php
> application SMCprngd                         prngd
> application SMCpythn                         python
> application SMCsmake                         smake
> application SMCsudo                          sudo
> application SMCtop                           top
> application SMCvnc                           vnc
> 
> Thanks,
> Alin
> 
> On Feb 13, 2005 06:54 PM, Andreas Ericsson <ae at op5.se> wrote:
> 
> 
>>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
>>
> 
> 
> 
> 
> 

-- 
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_ide95&alloc_id396&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