[Bug 145501] cmake error on Solaris in kdepimlibs with ldap/lber

Steve Evans stevee at zuken.co.uk
Thu May 31 09:49:40 BST 2007


------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.
         
http://bugs.kde.org/show_bug.cgi?id=145501         




------- Additional Comments From stevee zuken co uk  2007-05-31 10:49 -------
The problem seems to be that the function exists in the library:

nm /usr/lib/libldap.so | grep ldap_extended_operation
[717]   |    102264|     380|FUNC |GLOB |0    |9      |ldap_extended_operation
[937]   |    102644|     148|FUNC |GLOB |0    |9      |ldap_extended_operation_s

but there is no prototype for it.

When cmake checks the existence of ldap_extended_operation it compiles with a dummy prototype, so that works and the link then works so it treats the function as being present.

The C++ compile of the code then fails because there is no prototype.



More information about the Kdepim-bugs mailing list