[Nagiosplug-devel] [ nagiosplug-Bugs-646516 ] Error when trying to include check_nt

noreply at sourceforge.net noreply at sourceforge.net
Sun Dec 1 11:29:24 CET 2002


Bugs item #646516, was opened at 2002-12-01 08:14
You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=397597&aid=646516&group_id=29880

Category: None
Group: None
Status: Open
Resolution: None
Priority: 5
Submitted By: Nobody/Anonymous (nobody)
Assigned to: Nobody/Anonymous (nobody)
Summary: Error when trying to include check_nt

Initial Comment:
When copying check_nt.c from NSClient into the 
plugins directory of 1.3.0-beta2 several errors occur.

First of all, the utils.c does not have the ssprintf routine 
anymore - I wonder where that one went, since it is 
prototype'd in the top of utils.c

Second, when ssprintf has been put into utils.c again, 
make all still fails, due to missing arguments to the c-
compiler/linker. The command-line generated by the 
configure/makefile.am stuff gives (for my configuration):

gcc -O3 -march=i686 -mcpu=i686 -funroll-loops -
I/opt/mysql/include/mysql  -lz -L. -L/usr/share/ssl/lib  
check_nt.c   -o check_nt

where it should have been:

gcc -DHAVE_CONFIG_H -I. -O3 -march=i686 -
mcpu=i686 -funroll-loops -I/opt/mysql/include/mysql  -lz -
L. -L/usr/share/ssl/lib  check_nt.c   -o check_nt 
netutils.o utils.o -lnsl -lresolv -lutil

Notive the missing libraries and the two object-files



----------------------------------------------------------------------

You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=397597&aid=646516&group_id=29880




More information about the Devel mailing list