Unable to make all nagios in Solaris 10
Posted: Wed Apr 04, 2012 7:20 pm
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
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