[prev in list] [next in list] [prev in thread] [next in thread] 

List:       kde-bugs-dist
Subject:    [Bug 145501] cmake error on Solaris in kdepimlibs with ldap/lber
From:       Steve Evans <stevee () zuken ! co ! uk>
Date:       2007-05-31 8:49:40
Message-ID: 20070531084940.4758.qmail () ktown ! kde ! org
[Download RAW message or body]

------- 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.


[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic