[Nagiosplug-devel] Error compiling check_nt
Brian Ipsen
Brian.Ipsen at andebakken.dk
Sun Dec 1 07:36:03 CET 2002
Hi,
I'm trying to compile the 1.3.0-beta2 version of the plugins, and have
copied the check_nt.c file from NSClient 1.06.2 into the plugins directory -
then run configure - and then during "make all" the following shows up:
gcc -O3 -march=i686 -mcpu=i686 -funroll-loops -I/opt/mysql/include/mysql -l
z -L. -L/usr/share/ssl/lib -o check_dig check_dig.o utils.o popen.o -lutil
gcc -O3 -march=i686 -mcpu=i686 -funroll-loops -I/opt/mysql/include/mysql -l
z -L. -L/usr/share/ssl/lib check_nt.c -o check_nt
/tmp/ccBGsVBk.o: In function `main':
/tmp/ccBGsVBk.o(.text+0x37): undefined reference to `strscpy'
/tmp/ccBGsVBk.o(.text+0x74): undefined reference to
`socket_timeout_alarm_handler'
/tmp/ccBGsVBk.o(.text+0xba): undefined reference to `strscpy'
/tmp/ccBGsVBk.o(.text+0xdb): undefined reference to `process_tcp_request'
/tmp/ccBGsVBk.o(.text+0xf3): undefined reference to `strscpy'
[and a lot more errors]
/tmp/ccBGsVBk.o(.text+0x1355): undefined reference to `is_numeric'
collect2: ld returned 1 exit status
make[1]: *** [check_nt] Error 1
make[1]: Leaving directory `/var/tmp/nagios-plugins-1.3.0-beta2/plugins'
make: *** [all-recursive] Error 1
Any idea why ?? I didn't have the problem with the 1.3-beta1 version of the
plugins.
Regards,
/Brian
More information about the Devel
mailing list