Re: [Nagios-devel]

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
Guest

Re: [Nagios-devel]

Post by Guest »

Hi Ingo,

as Jörg wrote in the other post, this is just a behavior when using ePN.

Ingo Lantschner schrieb:
>> $ make all
>> cd ./base && make
>> make[1]: Entering directory `/home/ingo/tmp/nagios-3.0a4/base'
>> gcc -g -O2 -D_REENTRANT -D_GNU_SOURCE -DTHREADS_HAVE_PIDS -DDEBIAN -
>> fno-strict-aliasing -pipe -I/usr/local/include -D_LARGEFILE_SOURCE -
>> D_FILE_OFFSET_BITS=64 -I/usr/lib/perl/5.8/CORE -DHAVE_CONFIG_H -
>> DNSCORE -c -o broker.o broker.c
>> gcc -g -O2 -D_REENTRANT -D_GNU_SOURCE -DTHREADS_HAVE_PIDS -DDEBIAN -
>> fno-strict-aliasing -pipe -I/usr/local/include -D_LARGEFILE_SOURCE -
>> D_FILE_OFFSET_BITS=64 -I/usr/lib/perl/5.8/CORE -DHAVE_CONFIG_H -
>> DNSCORE -c -o nebmods.o nebmods.c
>> gcc -g -O2 -D_REENTRANT -D_GNU_SOURCE -DTHREADS_HAVE_PIDS -DDEBIAN -
>> fno-strict-aliasing -pipe -I/usr/local/include -D_LARGEFILE_SOURCE -
>> D_FILE_OFFSET_BITS=64 -I/usr/lib/perl/5.8/CORE -DHAVE_CONFIG_H -
>> DNSCORE -c -o checks.o checks.c
>> checks.c: In function ‘run_async_service_check’:
>> checks.c:688: error: (first use in this function)
>> checks.c:688: error: (Each undeclared identifier is reported only once
>> checks.c:688: error: for each function it appears in.)
>> make[1]: *** [checks.o] Error 1
>> make[1]: Leaving directory `/home/ingo/tmp/nagios-3.0a4/base'
>> make: *** [all] Error 2
>>
>> ----------------------
>>
>> Compiling 3.0a3 just worked on this machine - so I guess all
>> dependencies are met.
>>
Since the variable on line 688 "checkresult_file" is only used once in
checks.c and there only for a call to free() I think this is a line of
garbage forgotten after dealing with the new IPC methods.

So I would say: Just comment this line out with two slashes at the
beginning and try to compile.

@List: Correct me if I'm wrong.

Regards
Hendrik





This post was automatically imported from historical nagios-devel mailing list archives
Original poster: [email protected]
Locked