[Nagiosplug-help] compiling check_ldap: LDAP_PORTS undeclared error

Marcel Mitsuto Fucatu Sugano msugano at uolinc.com
Wed Nov 29 22:52:09 CET 2006


Hi,

I am getting the error below, did someone knows any workaround this?


-------------------------------------cut----------------------------------
bash-2.05# pwd; uname -a; gcc --version
/home/msugano/nagios-plugins-1.4.5/plugins
SunOS gandalf1 5.8 Generic_108528-11 sun4u sparc SUNW,Ultra-2
gcc (GCC) 3.4.2
Copyright (C) 2004 Free Software Foundation, Inc.
This is free software; see the source for copying conditions.  There is
NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR
PURPOSE.

bash-2.05# gcc -DLOCALEDIR=\"/export/nagios/share/locale\"
-DHAVE_CONFIG_H -I. -I. -I.. -I.. -I../lib -I../intl -I/usr/include/ldap
-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
check_ldap.c: In function `main':
check_ldap.c:141: error: `LDAPS_PORT' undeclared (first use in this
function)
check_ldap.c:141: error: (Each undeclared identifier is reported only
once
check_ldap.c:141: error: for each function it appears in.)
bash-2.05# 

TIA,
Marcel.


AVISO: A informação contida neste e-mail, bem como em qualquer de seus anexos, é CONFIDENCIAL e destinada ao uso exclusivo do(s) destinatário(s) acima referido(s), podendo conter informações sigilosas e/ou legalmente protegidas. Caso você não seja o destinatário desta mensagem, informamos que qualquer divulgação, distribuição ou cópia deste e-mail e/ou de qualquer de seus anexos é absolutamente proibida. Solicitamos que o remetente seja comunicado imediatamente, respondendo esta mensagem, e que o original desta mensagem e de seus anexos, bem como toda e qualquer cópia e/ou impressão realizada a partir destes, sejam permanentemente apagados e/ou destruídos. Informações adicionais sobre nossa empresa podem ser obtidas no site http://sobre.uol.com.br/.

NOTICE: The information contained in this e-mail and any attachments thereto is CONFIDENTIAL and is intended only for use by the recipient named herein and may contain legally privileged and/or secret information. If you are not the e-mail´s intended recipient, you are hereby notified that any dissemination, distribution or copy of this e-mail, and/or any attachments thereto, is strictly prohibited. Please immediately notify the sender replying to the above mentioned e-mail address, and permanently delete and/or destroy the original and any copy of this e-mail and/or its attachments, as well as any printout thereof. Additional information about our company may be obtained through the site http://www.uol.com.br/ir/.




More information about the Help mailing list