hello guys,
anyone who has successfully integrate nagios with mysql.. i am having
dificulty compiling them... any suggestions and ideas on how i can compile
it w/o errors.

thanks,
allan

gcc -g -O2 -I/adb/apps/pkg/mysql/3.23.53/include  -fno-strict-aliasing -I/us
r/local/include  -I/usr/lib/perl5/5.6.1/i386-linux/CORE  -DHAVE_CONFIG_H -DN
SCORE -L/adb/apps/pkg/mysql/3.23.56/lib -L/usr/lib -L/lib -L/adb/apps/pkg/my
sql/3.23.53/lib  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   -rdynamic  -L/usr/local/lib
/usr/lib/perl5/5.6.1/i386-linux/auto/DynaLoader/DynaLoader.a -L/usr/lib/perl
5/5.6.1/i386-linux/CORE -lperl -lnsl -ldl -lm -lc -lcrypt -lutil -lm -o
nagios
/tmp/ccvx8I8E.o: In function `xrddb_initialize':
/home/allan/Nagios/nagios-1.1/base/../xdata/xrddb.c:215: undefined reference
to `mysql_init'
/tmp/ccvx8I8E.o: In function `xrddb_connect':
/home/allan/Nagios/nagios-1.1/base/../xdata/xrddb.c:252: undefined reference
to `mysql_real_connect'
/home/allan/Nagios/nagios-1.1/base/../xdata/xrddb.c:254: undefined reference
to `mysql_close'
/tmp/ccvx8I8E.o: In function `xrddb_disconnect':
/home/allan/Nagios/nagios-1.1/base/../xdata/xrddb.c:299: undefined reference
to `mysql_close'
/tmp/ccvx8I8E.o: In function `xrddb_query':
/home/allan/Nagios/nagios-1.1/base/../xdata/xrddb.c:329: undefined reference
to `mysql_query'
/tmp/ccvx8I8E.o: In function `xrddb_read_program_information':
/home/allan/Nagios/nagios-1.1/base/../xdata/xrddb.c:850: undefined reference
to `mysql_store_result'
/home/allan/Nagios/nagios-1.1/base/../xdata/xrddb.c:854: undefined reference
to `mysql_fetch_row'
/home/allan/Nagios/nagios-1.1/base/../xdata/xrddb.c:867: undefined reference
to `mysql_free_result'
/tmp/ccvx8I8E.o: In function `xrddb_read_host_information':
/home/allan/Nagios/nagios-1.1/base/../xdata/xrddb.c:951: undefined reference
to `mysql_store_result'
/home/allan/Nagios/nagios-1.1/base/../xdata/xrddb.c:1001: undefined
reference to `mysql_fetch_row'
/home/allan/Nagios/nagios-1.1/base/../xdata/xrddb.c:1004: undefined
reference to `mysql_free_result'
/tmp/ccvx8I8E.o: In function `xrddb_read_service_information':
/home/allan/Nagios/nagios-1.1/base/../xdata/xrddb.c:1129: undefined
reference to `mysql_store_result'
/home/allan/Nagios/nagios-1.1/base/../xdata/xrddb.c:1192: undefined
reference to `mysql_fetch_row'
/home/allan/Nagios/nagios-1.1/base/../xdata/xrddb.c:1195: undefined
reference to `mysql_free_result'
/tmp/cc0bpyMa.o: In function `xcddb_initialize':
/home/allan/Nagios/nagios-1.1/base/../xdata/xcddb.c:234: undefined reference
to `mysql_init'
/tmp/cc0bpyMa.o: In function `xcddb_connect':
/home/allan/Nagios/nagios-1.1/base/../xdata/xcddb.c:259: undefined reference
to `mysql_real_connect'
/home/allan/Nagios/nagios-1.1/base/../xdata/xcddb.c:261: undefined reference
to `mysql_close'
/tmp/cc0bpyMa.o: In function `xcddb_disconnect':
/home/allan/Nagios/nagios-1.1/base/../xdata/xcddb.c:303: undefined reference
to `mysql_close'
/tmp/cc0bpyMa.o: In function `xcddb_query':
/home/allan/Nagios/nagios-1.1/base/../xdata/xcddb.c:329: undefined reference
to `mysql_query'
/tmp/cc0bpyMa.o: In function `xcddb_validate_host_comments':

--
Philippine Linux Users' Group (PLUG) Mailing List
[EMAIL PROTECTED] (#PLUG @ irc.free.net.ph)
Official Website: http://plug.linux.org.ph
Searchable Archives: http://marc.free.net.ph
.
To leave, go to http://lists.q-linux.com/mailman/listinfo/plug
.
Are you a Linux newbie? To join the newbie list, go to
http://lists.q-linux.com/mailman/listinfo/ph-linux-newbie

Reply via email to