On Thursday 24 July 2008 15:26:49 Ben Taylor wrote:
> Solaris 10U5, current patches (Solaris and Studio 12), Core2Quad (X64)
>
> I'm seeing the following error buildling kdepimlibs
>
> [ 36%] Building CXX object kldap/CMakeFiles/kldap.dir/ldapconnection.o
> "/tank/src/kde/KDE/kdepimlibs/kldap/ldapconnection.cpp", line 264:
> Error: The function "ldap_init" must have a prototype.
> 1 Error(s) detected.

I kept hitting that until I changed the order of -L flags so that it *really* 
picked up /opt/foss/lib first before /usr/lib (where the system ldap lives). 
Are you building with the latest Build/ dir?

You can look in ~/build/kdepimlibs/CMakeFiles/ in the file CMakeOutput.txt (I 
think) to see what's the matter with the ldap check. It's supposed to find 
ldap_initialize and #define that one.

Reply via email to