Nagios-users digest, Vol 1 #2863 - 26 msgs
Arif Snort
arif.snort at gmail.com
Sun Oct 23 04:03:26 CEST 2005
hello,..everybody..please can you help me..!!!!
i have a problem when installed nagios with mysql..
that process are : configure,make all , so i found error like this :
(I hope solution from you are)
//////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
gcc -g -O2 -DHAVE_CONFIG_H -DNSCORE -c -o checks.o checks.c
gcc -g -O2 -DHAVE_CONFIG_H -DNSCORE -c -o config.o config.c
gcc -g -O2 -DHAVE_CONFIG_H -DNSCORE -c -o commands.o commands.c
gcc -g -O2 -DHAVE_CONFIG_H -DNSCORE -c -o flapping.o flapping.c
gcc -g -O2 -DHAVE_CONFIG_H -DNSCORE -c -o logging.o logging.c
gcc -g -O2 -DHAVE_CONFIG_H -DNSCORE -c -o notifications.o notifications.c
gcc -g -O2 -DHAVE_CONFIG_H -DNSCORE -c -o sehandlers.o sehandlers.c
gcc -g -O2 -DHAVE_CONFIG_H -DNSCORE -c -o utils.o utils.c
gcc -g -O2 -DHAVE_CONFIG_H -DNSCORE -c -o sretention.o sretention.c
gcc -g -O2 -DHAVE_CONFIG_H -DNSCORE -c -o perfdata.o perfdata.c
gcc -g -O2 -DHAVE_CONFIG_H -DNSCORE 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/ccyNKzvy.o(.text+0xf3): In function `xrddb_query':
../xdata/xrddb.c:329: undefined reference to `mysql_query'
/tmp/ccyNKzvy.o(.text+0x158): In function `xrddb_read_service_information':
../xdata/xrddb.c:1129: undefined reference to `mysql_store_result'
/tmp/ccyNKzvy.o(.text+0x3b2):../xdata/xrddb.c:1191: undefined reference to
`mysql_fetch_row'
/tmp/ccyNKzvy.o(.text+0x3f8):../xdata/xrddb.c:1195: undefined reference to
`mysql_free_result'
/tmp/ccyNKzvy.o(.text+0x488): In function `xrddb_read_host_information':
../xdata/xrddb.c:951: undefined reference to `mysql_store_result'
/tmp/ccyNKzvy.o(.text+0x67a):../xdata/xrddb.c:999: undefined reference to
`mysql_fetch_row'
/tmp/ccyNKzvy.o(.text+0x696):../xdata/xrddb.c:1004: undefined reference to
`mysql_free_result'
/tmp/ccyNKzvy.o(.text+0x728): In function `xrddb_read_program_information':
../xdata/xrddb.c:850: undefined reference to `mysql_store_result'
/tmp/ccyNKzvy.o(.text+0x753):../xdata/xrddb.c:854: undefined reference to
`mysql_fetch_row'
/tmp/ccyNKzvy.o(.text+0x822):../xdata/xrddb.c:867: undefined reference to
`mysql_free_result'
/tmp/ccyNKzvy.o(.text+0x10ac): In function `xrddb_disconnect':
../xdata/xrddb.c:299: undefined reference to `mysql_close'
/tmp/ccyNKzvy.o(.text+0x10ef): In function `xrddb_connect':
../xdata/xrddb.c:252: undefined reference to `mysql_real_connect'
/tmp/ccyNKzvy.o(.text+0x1112):../xdata/xrddb.c:254: undefined reference to
`mysql_close'
/tmp/ccyNKzvy.o(.text+0x11a0): In function `xrddb_initialize':
../xdata/xrddb.c:215: undefined reference to `mysql_init'
/tmp/ccwK5qVS.o(.text+0x103): In function `xcddb_query':
../xdata/xcddb.c:329: undefined reference to `mysql_query'
/tmp/ccwK5qVS.o(.text+0x12c): In function `xcddb_disconnect':
../xdata/xcddb.c:303: undefined reference to `mysql_close'
/tmp/ccwK5qVS.o(.text+0x16f): In function `xcddb_connect':
../xdata/xcddb.c:259: undefined reference to `mysql_real_connect'
/tmp/ccwK5qVS.o(.text+0x192):../xdata/xcddb.c:261: undefined reference to
`mysql_close'
/tmp/ccwK5qVS.o(.text+0x418): In function `xcddb_validate_service_comments':
../xdata/xcddb.c:566: undefined reference to `mysql_store_result'
/tmp/ccwK5qVS.o(.text+0x44c):../xdata/xcddb.c:576: undefined reference to
`mysql_fetch_row'
/tmp/ccwK5qVS.o(.text+0x588): In function `xcddb_validate_host_comments':
../xdata/xcddb.c:477: undefined reference to `mysql_store_result'
/tmp/ccwK5qVS.o(.text+0x5b9):../xdata/xcddb.c:487: undefined reference to
`mysql_fetch_row'
/tmp/ccwK5qVS.o(.text+0x797): In function `xcddb_save_service_comment':
../xdata/xcddb.c:847: undefined reference to `mysql_insert_id'
/tmp/ccwK5qVS.o(.text+0x90d): In function `xcddb_save_host_comment':
../xdata/xcddb.c:748: undefined reference to `mysql_insert_id'
/tmp/ccwK5qVS.o(.text+0x990): In function `xcddb_initialize':
../xdata/xcddb.c:234: undefined reference to `mysql_init'
/tmp/ccRpqzDd.o(.text+0x123): In function `xsddb_query':
../xdata/xsddb.c:463: undefined reference to `mysql_query'
/tmp/ccRpqzDd.o(.text+0x1e0): In function `xsddb_check_connection':
../xdata/xsddb.c:363: undefined reference to `mysql_errno'
/tmp/ccRpqzDd.o(.text+0x215):../xdata/xsddb.c:369: undefined reference to
`mysql_close'
/tmp/ccRpqzDd.o(.text+0x27c): In function `xsddb_disconnect':
../xdata/xsddb.c:335: undefined reference to `mysql_close'
/tmp/ccRpqzDd.o(.text+0x36e): In function `xsddb_connect':
../xdata/xsddb.c:286: undefined reference to `mysql_real_connect'
/tmp/ccRpqzDd.o(.text+0x38b):../xdata/xsddb.c:288: undefined reference to
`mysql_close'
/tmp/ccRpqzDd.o(.text+0x1150): In function `xsddb_initialize':
../xdata/xsddb.c:253: undefined reference to `mysql_init'
/tmp/ccViuojp.o(.text+0x103): In function `xdddb_query':
../xdata/xdddb.c:329: undefined reference to `mysql_query'
/tmp/ccViuojp.o(.text+0x16d): In function `xdddb_read_service_downtime':
../xdata/xdddb.c:1238: undefined reference to `mysql_store_result'
/tmp/ccViuojp.o(.text+0x192):../xdata/xdddb.c:1238: undefined reference to
`mysql_fetch_row'
/tmp/ccViuojp.o(.text+0x282):../xdata/xdddb.c:1275: undefined reference to
`mysql_fetch_row'
/tmp/ccViuojp.o(.text+0x2a0):../xdata/xdddb.c:1280: undefined reference to
`mysql_free_result'
/tmp/ccViuojp.o(.text+0x2bb):../xdata/xdddb.c:1247: undefined reference to
`mysql_free_result'
/tmp/ccViuojp.o(.text+0x31d): In function `xdddb_read_host_downtime':
../xdata/xdddb.c:1107: undefined reference to `mysql_store_result'
/tmp/ccViuojp.o(.text+0x342):../xdata/xdddb.c:1107: undefined reference to
`mysql_fetch_row'
/tmp/ccViuojp.o(.text+0x42d):../xdata/xdddb.c:1144: undefined reference to
`mysql_fetch_row'
/tmp/ccViuojp.o(.text+0x44b):../xdata/xdddb.c:1149: undefined reference to
`mysql_free_result'
/tmp/ccViuojp.o(.text+0x466):../xdata/xdddb.c:1116: undefined reference to
`mysql_free_result'
/tmp/ccViuojp.o(.text+0x4ac): In function `xdddb_disconnect':
../xdata/xdddb.c:303: undefined reference to `mysql_close'
/tmp/ccViuojp.o(.text+0x4ee): In function `xdddb_connect':
../xdata/xdddb.c:259: undefined reference to `mysql_real_connect'
/tmp/ccViuojp.o(.text+0x511):../xdata/xdddb.c:261: undefined reference to
`mysql_close'
/tmp/ccViuojp.o(.text+0x65d): In function `xdddb_validate_service_downtime':
../xdata/xdddb.c:587: undefined reference to `mysql_store_result'
/tmp/ccViuojp.o(.text+0x678):../xdata/xdddb.c:587: undefined reference to
`mysql_fetch_row'
/tmp/ccViuojp.o(.text+0x6e0): In function `xdddb_validate_service_downtime':
/usr/include/stdlib.h:398: undefined reference to `mysql_fetch_row'
/tmp/ccViuojp.o(.text+0x7fd): In function `xdddb_validate_host_downtime':
../xdata/xdddb.c:473: undefined reference to `mysql_store_result'
/tmp/ccViuojp.o(.text+0x815):../xdata/xdddb.c:473: undefined reference to
`mysql_fetch_row'
/tmp/ccViuojp.o(.text+0x87a): In function `xdddb_validate_host_downtime':
/usr/include/stdlib.h:398: undefined reference to `mysql_fetch_row'
/tmp/ccViuojp.o(.text+0xa02): In function `xdddb_save_service_downtime':
../xdata/xdddb.c:887: undefined reference to `mysql_insert_id'
/tmp/ccViuojp.o(.text+0xb87): In function `xdddb_save_host_downtime':
../xdata/xdddb.c:788: undefined reference to `mysql_insert_id'
/tmp/ccViuojp.o(.text+0xc10): In function `xdddb_initialize':
../xdata/xdddb.c:234: undefined reference to `mysql_init'
collect2: ld returned 1 exit status
make[1]: *** [nagios] Error 1
make[1]: Leaving directory `/home/ans/Feri/nagios-1.2/base'
make: *** [all] Error 2
//////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://www.monitoring-lists.org/archive/users/attachments/20051023/714c41b6/attachment.html>
More information about the Users
mailing list