check_ldap compilation

Kermito le kermit angeolivier2003 at yahoo.fr
Fri Aug 1 16:24:33 CEST 2008


hello all, 

i want to use check_ldap in plugins of nagios-plugins

i make this 

make check_ldap there are this mistake in compilation


 make check_ldap

if gcc -DLOCALEDIR=\"/usr/local/nagios/share/locale\" -DHAVE_CONFIG_H -I. -I. -I.. -I.. -I../lib -I../gl -I../intl   -I/usr/local/ssl/include  -I/usr/local/ssl/include  -g -O2 -MT check_ldap.o -MD -MP -MF ".deps/check_ldap.Tpo" -c -o check_ldap.o check_ldap.c; \
        then mv -f ".deps/check_ldap.Tpo" ".deps/check_ldap.Po"; else rm -f ".deps/check_ldap.Tpo"; exit 1; fi
check_ldap.c:42:18: error: lber.h: Aucun fichier ou répertoire de ce type
check_ldap.c:43:18: error: ldap.h: Aucun fichier ou répertoire de ce type
check_ldap.c: In function 'main':
check_ldap.c:86: error: 'LDAP' undeclared (first use in this function)
check_ldap.c:86: error: (Each undeclared identifier is reported only once
check_ldap.c:86: error: for each function it appears in.)
check_ldap.c:86: error: 'ld' undeclared (first use in this function)
check_ldap.c:87: error: 'LDAPMessage' undeclared (first use in this function)
check_ldap.c:87: error: 'result' undeclared (first use in this function)
check_ldap.c:150: error: 'LDAPS_PORT' undeclared (first use in this function)
check_ldap.c:194: error: 'LDAP_AUTH_SIMPLE' undeclared (first use in this function)
check_ldap.c:195: error: 'LDAP_SUCCESS' undeclared (first use in this function)
check_ldap.c:203: error: 'LDAP_SCOPE_BASE' undeclared (first use in this function)
check_ldap.c: In function 'process_arguments':
check_ldap.c:347: error: 'LDAPS_PORT' undeclared (first use in this function)
check_ldap.c: In function 'print_help':
check_ldap.c:420: error: 'LDAPS_PORT' undeclared (first use in this function)
make: *** [check_ldap.o] Erreur 1


my OS debian 4

plugins nagios 1.4.12

last version of nagios 



thanks ffor your help


      _____________________________________________________________________________ 
Envoyez avec Yahoo! Mail. Une boite mail plus intelligente http://mail.yahoo.fr
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://www.monitoring-lists.org/archive/users/attachments/20080801/ee3d4d3f/attachment.html>
-------------- next part --------------
-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
-------------- next part --------------
_______________________________________________
Nagios-users mailing list
Nagios-users at lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/nagios-users
::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. 
::: Messages without supporting info will risk being sent to /dev/null


More information about the Users mailing list