From kde-bugs-dist Thu May 31 08:49:40 2007 From: Steve Evans Date: Thu, 31 May 2007 08:49:40 +0000 To: kde-bugs-dist Subject: [Bug 145501] cmake error on Solaris in kdepimlibs with ldap/lber Message-Id: <20070531084940.4758.qmail () ktown ! kde ! org> X-MARC-Message: https://marc.info/?l=kde-bugs-dist&m=118060138429032 ------- 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.