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