Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations IamaSherpa on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Programing with ldap libraries for C

Status
Not open for further replies.

Guest_imported

New member
Jan 1, 1970
0
I downloaded some sampples about ldap applications from developer.novell.com page and I have been making my own application. I am programing in Visual C++ and I opened a Win32 application console proyect.
I do not have troubles about the sintax but, when the compilation is translating from .obj to .exe, 9 errors show up, and those erros are the following:
" my application is called PRUEBA "

Linking...
prueba.obj : error LNK2001: unresolved external symbol _ldap_modify_s@12
prueba.obj : error LNK2001: unresolved external symbol _ldap_get_dn@8
prueba.obj : error LNK2001: unresolved external symbol _ldap_first_entry@8
prueba.obj : error LNK2001: unresolved external symbol _ldap_count_entries@8
prueba.obj : error LNK2001: unresolved external symbol _ldap_search_s@28
prueba.obj : error LNK2001: unresolved external symbol _ldap_unbind_s@4
prueba.obj : error LNK2001: unresolved external symbol _ldap_simple_bind_s@12
prueba.obj : error LNK2001: unresolved external symbol _ldap_init@8
prueba.obj : error LNK2001: unresolved external symbol _ldap_set_option@12
Debug/prueba.exe : fatal error LNK1120: 9 unresolved externals
Error executing link.exe.

prueba.exe - 10 error(s), 0 warning(s)

I have tried o include the libraries into the proyect, header files wich are (ldap.h,iber.h,ldap_feature.h,ldap_csdl.h), and I have changed some tips about the congurations of the compiler but nothing has happened.

I am a new programer of this kind of thing. I will thanyou very much and I will recomend you, I promese...

Please excuse me for my english, I am a new english speaker.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top