cURL / Mailing Lists / curl-library / Single Mail

curl-library

RE: curl & MSVC 8

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

Umm, nevermind, fixed by adding the missing lib to the Makefile.
However, there's another issue.
 
VC8 by default generates manifest files for the executables. Default
behavior in MSVC is to embed the manifest into the resulting executable.
This is not done in curl Makefiles for VC8, resulting in a useless .exe
in case you don't distribute the manifest alongside.
 
Could that be fixed? (I fixed that internally, but still)
 
Thanks.
 
Vladimir

________________________________

From: curl-library-bounces_at_cool.haxx.se
[mailto:curl-library-bounces_at_cool.haxx.se] On Behalf Of Vladimir
Lazarenko
Sent: Wednesday, October 24, 2007 09:42
To: curl-library_at_cool.haxx.se
Subject: curl & MSVC 8

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