4.3.0.beta3 compile problem on AIX
Getting this error trying to compile on AIX, even though ldap libraries not installed and ldap tests bypassed in configure :-
gcc -O -D_REENTRANT -DAIX -I. -I/install/xymon-4.3.0.beta3/include -I/usr/include -c -o ldaptest.o ldaptest.c ldaptest.c: In function 'add_ldap_test': ldaptest.c:99: error: 'badurl' undeclared (first use in this function) ldaptest.c:99: error: (Each undeclared identifier is reported only once ldaptest.c:99: error: for each function it appears in.) ldaptest.c:101: error: 'req' undeclared (first use in this function) ldaptest.c:112: error: 'basecheck' undeclared (first use in this function) gmake[1]: *** [ldaptest.o] Error 1 gmake[1]: Leaving directory `/install/xymon-4.3.0.beta3/xymonnet' gmake: *** [xymonnet-build] Error 2
Any suggestions?
Regards, Chris
The information contained in this email is intended only for the use of the intended recipient at the email address to which it has been addressed. If the reader of this message is not an intended recipient, you are hereby notified that you have received this document in error and that any review, dissemination or copying of the message or associated attachments is strictly prohibited. If you have received this email in error, please contact the sender by return email or call 01793 877777 and ask for the sender and then delete it immediately from your system.Please note that neither the RWE Group of Companies nor the sender accepts any responsibility for viruses and it is your responsibility to scan attachments (if any).
In <0362AE866EBF9B4B964BD6C9652E8D9104E81066 at kfmex22p.ud1.utility> <Chris.Morris at rwe.com> writes:
Getting this error trying to compile on AIX, even though ldap libraries not installed and ldap tests bypassed in configure :-
gcc -O -D_REENTRANT -DAIX -I. -I/install/xymon-4.3.0.beta3/include -I/usr/include -c -o ldaptest.o ldaptest.c ldaptest.c: In function 'add_ldap_test': ldaptest.c:99: error: 'badurl' undeclared (first use in this function) ldaptest.c:99: error: (Each undeclared identifier is reported only once ldaptest.c:99: error: for each function it appears in.) ldaptest.c:101: error: 'req' undeclared (first use in this function) ldaptest.c:112: error: 'basecheck' undeclared (first use in this function) gmake[1]: *** [ldaptest.o] Error 1 gmake[1]: Leaving directory `/install/xymon-4.3.0.beta3/xymonnet' gmake: *** [xymonnet-build] Error 2
There's an "#endif" line that needs to be moved down in xymonnet/ldaptest.c . See this message: http://www.xymon.com/archive/2010/11/msg00131.html
Regards, Henrik
participants (2)
-
Chris.Morris@rwe.com
-
henrik@hswn.dk