Compilation Woes on Red Hat 9

Rhugga nagios-user at sandiego420.com
Thu Jul 15 18:04:13 CEST 2004


I hope I am not asking a question that has been asked before of I hope 
this isn't something stupid I missed but I get this error when trying to 
build on RH 9. My brain in stuck in Solaris mode right now.... I 
searched google groups and did not find anything usefull.

<snip>
gcc -g -O2 -I/usr/local/mysql/include/mysql -I/usr/include 
-DHAVE_CONFIG_H -DNSCGI   -c -o popen.o popen.c
gcc -g -O2 -I/usr/local/mysql/include/mysql -I/usr/include 
-DHAVE_CONFIG_H -DNSCGI -L/usr/local/mysql/lib/mysql -L/usr/lib 
-lmysqlclient  avail.c getcgi.o cgiutils.o auth.o popen.o  
../common/objects.c ../xdata/xodtemplate.c ../common/statusdata.c 
../xdata/xsddb.c -o avail.cgi
../xdata/xodtemplate.c: In function `xodtemplate_add_object_property':
../xdata/xodtemplate.c:1344: `temp_buffer' undeclared (first use in this 
function)
../xdata/xodtemplate.c:1344: (Each undeclared identifier is reported 
only once
../xdata/xodtemplate.c:1344: for each function it appears in.)
../xdata/xodtemplate.c:1346: `NSLOG_CONFIG_ERROR' undeclared (first use 
in this function)
make[1]: *** [avail.cgi] Error 1
make[1]: Leaving directory `/usr/local/src/nagios-1.2/cgi'
make: *** [all] Error 2

My config is as follows:
./configure --prefix=/usr/local/nagios-1.2 --with-nagios-user=nagios 
--with-nagios-grp=nagios --with-init-dir=/etc/init.d 
--with-lockfile=/var/run/nagios.lock --with-mysql-xdata 
--with-mysql-lib=/usr/local/mysql/lib/mysql 
--with-mysql-inc=/usr/local/mysql/include/mysql --with-gd-lib=/usr/lib 
--with-gd-inc=/usr/include --with-cgiurl=/cgi-bin --with-htmurl=/nagios 
--enable-DEBUG0 --enable-DEBUG1 --enable-DEBUG2 --enable-DEBUG3 
--enable-DEBUG4 --enable-DEBUG5

Thx,
Rhugga


-------------------------------------------------------
This SF.Net email is sponsored by BEA Weblogic Workshop
FREE Java Enterprise J2EE developer tools!
Get your free copy of BEA WebLogic Workshop 8.1 today.
http://ads.osdn.com/?ad_id=4721&alloc_id=10040&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