cURL / Mailing Lists / curl-library / Single Mail

curl-library

curl & MSVC 8

From: Vladimir Lazarenko <Vladimir.Lazarenko_at_humaninference.com>
Date: Wed, 24 Oct 2007 09:41:35 +0200

Hello,
 
Trying to compile curl with MSVC 8, getting some unresolved externals..
Wonder what I'm doing wrong? I saw some people had the same issue on the
mailinglist, but the problem wasn't addressed.
 
        link.exe /incremental:no /libpath:"../lib" /nologo /out:curl.exe
/subsystem:console /machine:X86 libcurl.lib wsock32.lib
bufferoverflowu.lib winmm.lib hugehelpr.obj writeoutr.obj urlglobr.obj
getpassr.obj homedirr.obj curlutilr.obj strtoofftr.obj mainr.obj
curlr.res
libcurl.lib(ldap.obj) : error LNK2019: unresolved external symbol
__imp__ldap_unbind_s referenced in function _Curl_ldap
libcurl.lib(ldap.obj) : error LNK2019: unresolved external symbol
__imp__ldap_msgfree referenced in function _Curl_ldap
libcurl.lib(ldap.obj) : error LNK2019: unresolved external symbol
__imp__ldap_next_entry referenced in function _Curl_ldap
libcurl.lib(ldap.obj) : error LNK2019: unresolved external symbol
_ber_free referenced in function _Curl_ldap
libcurl.lib(ldap.obj) : error LNK2019: unresolved external symbol
__imp__ldap_next_attribute referenced in function _Curl_ldap
libcurl.lib(ldap.obj) : error LNK2019: unresolved external symbol
__imp__ldap_memfree referenced in function _Curl_ldap
libcurl.lib(ldap.obj) : error LNK2019: unresolved external symbol
__imp__ldap_value_free_len referenced in function _Curl_ldap
libcurl.lib(ldap.obj) : error LNK2019: unresolved external symbol
__imp__ldap_get_values_len referenced in function _Curl_ldap
libcurl.lib(ldap.obj) : error LNK2019: unresolved external symbol
__imp__ldap_first_attribute referenced in function _Curl_ldap
libcurl.lib(ldap.obj) : error LNK2019: unresolved external symbol
__imp__ldap_get_dn referenced in function _Curl_ldap
libcurl.lib(ldap.obj) : error LNK2019: unresolved external symbol
__imp__ldap_first_entry referenced in function _Curl_ldap
libcurl.lib(ldap.obj) : error LNK2019: unresolved external symbol
__imp__ldap_search_s referenced in function _Curl_ldap
libcurl.lib(ldap.obj) : error LNK2019: unresolved external symbol
__imp__ldap_simple_bind_s referenced in function _Curl_ldap
libcurl.lib(ldap.obj) : error LNK2019: unresolved external symbol
__imp__ldap_init referenced in function _Curl_ldap
libcurl.lib(ldap.obj) : error LNK2019: unresolved external symbol
__imp__ldap_set_option referenced in function _Curl_ldap
libcurl.lib(ldap.obj) : error LNK2019: unresolved external symbol
__imp__ldap_err2string referenced in function _Curl_ldap
curl.exe : fatal error LNK1120: 16 unresolved externals
NMAKE : fatal error U1077: 'V:\MSVC\vc8\bin\link.exe' : return code
'0x460'
Stop.
NMAKE : fatal error U1077: 'V:\MSVC\vc8\bin\nmake.EXE' : return code
'0x2'
Stop.
gmake[5]: *** [all] Error 2
gmake[5]: Leaving directory
`/dev/fs/C/Home/vladimir-vc8/status/ix86-pc-win32-vc8-debug/build/curl'

Would appreciate any hints.
Thanks in advance.
 
Vladimir Lazarenko
 
Received on 2007-10-24