Fwd: [Nagios-users] ‘checkresult_file’ undeclared

Ingo Lantschner ingo.lists at vum.at
Fri May 18 10:01:36 CEST 2007


Hello,
may be I have more luck here ... I have a problem compiling 3.0a4 on  
a machine, where 3.0a3 just compiled fine before.
Pls. see below for details - thanks in advance. Ingo


>
> Hi,
> when compiling nagios 3.0a4 on Ubuntu Server 6.06.1 LTS I get this:
>
> $ ./configure --enable-embedded-perl --with-perlcache --with-command-
> group=nagcmd
> ...
> *** Configuration summary for nagios 3.0a4 05-08-2007 ***:
>
> General Options:
> -------------------------
>          Nagios executable:  nagios
>          Nagios user/group:  nagios,nagios
>         Command user/group:  nagios,nagcmd
>              Embedded Perl:  yes, with caching
>               Event Broker:  yes
>          Install ${prefix}:  /usr/local/nagios
>                  Lock file:  ${prefix}/var/nagios.lock
>     Check result directory:  ${prefix}/var/spool/checkresults
>             Init directory:  /etc/init.d
>    Apache conf.d directory:  /etc/apache2/conf.d
>               Mail program:  /usr/bin/mail
>                    Host OS:  linux-gnu
>
> Web Interface Options:
> ------------------------
>                   HTML URL:  http://localhost/nagios/
>                    CGI URL:  http://localhost/nagios/cgi-bin/
> Traceroute (used by WAP):
>
>
>
> $ 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.
>
> Any idea?
>
> TIA, Ingo.
>

-- 
Ingo Lantschner
Vienna/Austria
Mob (+43-664) 143 84 18



-------------------------------------------------------------------------
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/




More information about the Developers mailing list