------- You are receiving this mail because: ------- You are on the CC list for the bug, or are watching someone who is. 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.