Getting started....

Brian Ipsen Brian.Ipsen at andebakken.dk
Fri Aug 30 20:52:27 CEST 2002


Hi!

 Tried to compile without mysql support - then things seems to run. So there
aparently is a problem with the mysql support. The problem, though, is that
I cannot compile nagios if I don't modify the makefiles.... After make
nagios with the original files I have a whole bunch of:

gcc -O3 -march=i686 -mcpu=i686 -funroll-loops -I/opt/mysql/include -I/usr/li
b -DHAVE_CONFIG_H -DNSCORE -L/opt/mysql/lib/mysql -L/usr/lib -lmysqlclient
nagios.c checks.o config.o commands.o flapping.o logging.o notifications.o
sehandlers.o utils.o sretention.o ../xdata/xrddb.c ../common/comments.c
../xdata/xcddb.c ../common/objects.c ../xdata/xodtemplate.c
../common/statusdata.c ../xdata/xsddb.c perfdata.o ../xdata/xpddefault.c
../common/downtime.c ../xdata/xdddb.c   -lm -o nagios
/tmp/ccPcOFJk.o: In function `xrddb_save_program_information':
/tmp/ccPcOFJk.o(.text+0x433): undefined reference to `mysql_query'
/tmp/ccPcOFJk.o(.text+0x467): undefined reference to `mysql_query'
/tmp/ccPcOFJk.o(.text+0x4cb): undefined reference to `mysql_query'
/tmp/ccPcOFJk.o(.text+0x4f4): undefined reference to `mysql_query'
/tmp/ccPcOFJk.o(.text+0x549): undefined reference to `mysql_query'

Any idea why system is Redhat 7.3, Mysql stuff is placed in
/opt/mysql/include/mysql and /opt/mysql/lib/mysql ??

/Brian




-------------------------------------------------------
This sf.net email is sponsored by: OSDN - Tired of that same old
cell phone?  Get a new here for FREE!
https://www.inphonic.com/r.asp?r=sourceforge1&refcode1=vs3390




More information about the Users mailing list