[Nagiosplug-devel] Error compiling check_nt

Subhendu Ghosh sghosh at sghosh.org
Thu Dec 5 18:35:03 CET 2002


check patch #648273 on source forge for check_nt (1.07.0) 

-sg

On Sun, 1 Dec 2002, Brian Ipsen wrote:

> 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
> 
> 
> 
> 
> -------------------------------------------------------
> This sf.net email is sponsored by:ThinkGeek
> Welcome to geek heaven.
> http://thinkgeek.com/sf
> _______________________________________________
> Nagiosplug-devel mailing list
> Nagiosplug-devel at lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/nagiosplug-devel
> 

-- 






More information about the Devel mailing list