[Date Prev][Date Next]
[Chronological]
[Thread]
[Top]
Re: Header files for Windows client
At 11:34 PM 2/21/2005, Dr. Volker Zell wrote:
>>>>> Howard Chu writes:
>> I downloaded the client library for Windows using Cygwin. I got a
>> bunch of dll files
>>
>> cygcrypto-0.9.7.dll
>> cyglber-2-2-7.dll
>> cygldap-2-2-7.dll
>> cygldap_r-2-2-7.dll
>> cygminires.dll
>> cygsasl2-2.dll
>> cygssl-0.9.7.dll
>>
>> Basically I am upgrading my client from using the old umich LDAP to
>> the current version of OpenLDAP. I generated the lib files from the
>> dlls to use in my client. However I have been unlucky in locating
>> the header files to include.
> Whoever created the cygwin library package should have also provided a
> set of header files.
openldap-devel-2.2.17-2
Thanks much. I got the header files but have run into another problem. I
upgraded the old umich files to the new cygwin dlls and header files but I
get a linker error for all of the LDAP functions that have been called.
unresolved external symbol _ldap_value_free
unresolved external symbol _ldap_next_attribute
unresolved external symbol _ldap_get_values
unresolved external symbol _ldap_first_attribute
unresolved external symbol _ldap_search
unresolved external symbol _ldap_abandon
unresolved external symbol _ldap_bind
unresolved external symbol _ldap_open
unresolved external symbol _ldap_unbind_s
unresolved external symbol _ldap_result
BTW I am using Visual Studio 6.
Basically I generated lib files for each of the dlls and linked to the lib
files using
Project Settings -> Link -> Object/Library modules.
Moreover when I use depends, I can see the unresolved functions in the
dlls. Is the problem related to name mangling? Please help.
TIA