Xymon Mailing List Archive search

LDAP warning during configure on latest snapshot

2 messages in this thread

list Tom Georgoulias · Wed, 23 Jan 2008 09:49:20 -0500 ·
I'm seeing this error during the LDAP section of ./configure on all of the latest snapshots, including todays.  My hobbit server is running RHEL5 and I've got all of the latest errata RPMs applied.

<snip>
Checking for LDAP ...
test-ldap.c: In function ‘main’:
test-ldap.c:16: warning: implicit declaration of function ‘ldap_init’
test-ldap.c:16: warning: assignment makes pointer from integer without a cast
Found LDAP include files in /usr/include
Found LDAP libraries in /usr/lib

Hobbit can use your OpenLDAP LDAP client library to test LDAP servers.
<snip>

I don't have LDAP on my network so I can't verify whether or not this affects the Hobbit tests, but I wanted to share it just in case.

Tom
list Henrik Størner · Wed, 23 Jan 2008 22:18:56 +0100 ·
quoted from Tom Georgoulias
On Wed, Jan 23, 2008 at 09:49:20AM -0500, Tom Georgoulias wrote:
I'm seeing this error during the LDAP section of ./configure on all of the 
latest snapshots, including todays.  My hobbit server is running RHEL5 and 
I've got all of the latest errata RPMs applied.

<snip>
Checking for LDAP ...
test-ldap.c: In function ?main?:
test-ldap.c:16: warning: implicit declaration of function ?ldap_init?
I think the #include's in build/test-ldap.c should be swapped, so
"ldap.h" is before "lber.h". Will do.


Regards,
Henrik