<html><head><style type="text/css"><!-- DIV {margin:0px;} --></style></head><body><div style="font-family:times new roman, new york, times, serif;font-size:10pt">hello all, <br><br>i want to use check_ldap in plugins of nagios-plugins<br><br>i make this <br><br>make check_ldap there are this mistake in compilation<br><br><br> make check_ldap<br><br>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; \<br> then mv -f ".deps/check_ldap.Tpo" ".deps/check_ldap.Po"; else rm -f ".deps/check_ldap.Tpo"; exit 1; fi<br>check_ldap.c:42:18: error: lber.h: Aucun fichier ou répertoire de ce type<br>check_ldap.c:43:18: error: ldap.h: Aucun fichier ou répertoire de ce type<br>check_ldap.c: In
function 'main':<br>check_ldap.c:86: error: 'LDAP' undeclared (first use in this function)<br>check_ldap.c:86: error: (Each undeclared identifier is reported only once<br>check_ldap.c:86: error: for each function it appears in.)<br>check_ldap.c:86: error: 'ld' undeclared (first use in this function)<br>check_ldap.c:87: error: 'LDAPMessage' undeclared (first use in this function)<br>check_ldap.c:87: error: 'result' undeclared (first use in this function)<br>check_ldap.c:150: error: 'LDAPS_PORT' undeclared (first use in this function)<br>check_ldap.c:194: error: 'LDAP_AUTH_SIMPLE' undeclared (first use in this function)<br>check_ldap.c:195: error: 'LDAP_SUCCESS' undeclared (first use in this function)<br>check_ldap.c:203: error: 'LDAP_SCOPE_BASE' undeclared (first use in this function)<br>check_ldap.c: In function 'process_arguments':<br>check_ldap.c:347: error: 'LDAPS_PORT' undeclared (first use in this function)<br>check_ldap.c: In function
'print_help':<br>check_ldap.c:420: error: 'LDAPS_PORT' undeclared (first use in this function)<br>make: *** [check_ldap.o] Erreur 1<br><br><br>my OS debian 4<br><br>plugins nagios 1.4.12<br><br>last version of nagios <br><br><br><br>thanks ffor your help<br><br></div><br>
<hr size="1">
Envoyé avec <a href="http://us.rd.yahoo.com/mailuk/taglines/isp/control/*http://us.rd.yahoo.com/evt=52423/*http://fr.docs.yahoo.com/mail/overview/index.html">Yahoo! Mail</a>.<br>Une boite mail plus intelligente. </a></body></html>