Unable to make all nagios in Solaris 10

Support forum for Nagios Core, Nagios Plugins, NCPA, NRPE, NSCA, NDOUtils and more. Engage with the community of users including those using the open source solutions.
Locked
fmartinezo
Posts: 1
Joined: Wed Apr 04, 2012 7:16 pm

Unable to make all nagios in Solaris 10

Post by fmartinezo »

Hi group,

I am trying to "make all" nagios package, but it is failing with next error message:

$ make all
cd ./base && make
gcc -Wall -g -O2 -I/usr/local/include/ -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_TS_ERRNO -I/usr/perl5/5.8.4/lib/sun4-solaris-64int/CORE -DHAVE_CONFIG_H -DNSCORE -c checks.c
checks.c: In function `run_async_service_check':
checks.c:552: warning: dereferencing type-punned pointer will break strict-aliasing rules
checks.c:697: warning: dereferencing type-punned pointer will break strict-aliasing rules
checks.c:711: error: `n_a' undeclared (first use in this function)
checks.c:711: error: (Each undeclared identifier is reported only once
checks.c:711: error: for each function it appears in.)
checks.c:711: warning: left-hand operand of comma expression has no effect
checks.c:352: warning: unused variable `Perl___notused'
*** Error code 1
make: Fatal error: Command failed for target `checks.o'
Current working directory /na01/nag01/nagios/base
*** Error code 1
make: Fatal error: Command failed for target `all'

Has anybody gotten this same error?

Any advice or help will be really appreaciated.

Thanks in advance.

Kind regards,

Francisco
agriffin
Posts: 876
Joined: Mon May 09, 2011 9:36 am

Re: Unable to make all nagios in Solaris 10

Post by agriffin »

Try running gmake instead of make, see if that helps.
Locked