curl-library
Compile errors : vc9 release-dll* : LNK2001: unresolved external symbol _curlx_nonblock
Date: Wed, 16 Sep 2009 13:37:48 -0700
I'm trying to compile libcurl, and when using the vc-all target I get
error: connect.obj : error LNK2019: unresolved external symbol
_curlx_nonblock referenced in function _singleipconnect
I'm using VC9 on Windows XP.
Platform SDK version is 7.0
I noticed that the curlx_nonblock function was recently added, so I
spent some time trying to figure out how the definition for this
symbol *should* be included in the makefiles, but so far it's not
clear to me.
It seems that there *should* be an object reference to nonblockr.obj,
but I don't even see that as having been compiled yet?
What am I missing?
Thanks!
Full error below:
nmake -f Makefile.vc9 cfg=release-dll
Microsoft (R) Program Maintenance Utility Version 9.00.30729.01
Copyright (C) Microsoft Corporation. All rights reserved.
link.exe /DLL ws2_32.lib wldap32.lib
/out:release-dll\libcurl.dll /IMPLIB:release-dll\libcurl_imp.lib
/nologo /machine:X86 release-dll\base64.obj release-dll\connect.obj
release-dll\content_encoding.obj release-dll\cookie.obj
release-dll\curl_addrinfo.obj release-dll\curl_sspi.obj
release-dll\dict.obj release-dll\easy.obj release-dll\escape.obj
release-dll\file.obj release-dll\formdata.obj release-dll\ftp.obj
release-dll\getenv.obj release-dll\getinfo.obj release-dll\gtls.obj
release-dll\hash.obj release-dll\hostares.obj
release-dll\hostasyn.obj release-dll\hostip.obj
release-dll\hostip4.obj release-dll\hostip6.obj
release-dll\hostsyn.obj release-dll\hostthre.obj
release-dll\http.obj release-dll\http_chunks.obj
release-dll\http_digest.obj release-dll\http_negotiate.obj
release-dll\http_ntlm.obj release-dll\if2ip.obj
release-dll\inet_ntop.obj release-dll\inet_pton.obj
release-dll\ldap.obj release-dll\llist.obj release-dll\md5.obj
release-dll\memdebug.obj release-dll\mprintf.obj
release-dll\multi.obj release-dll\netrc.obj
release-dll\parsedate.obj release-dll\progress.obj
release-dll\rawstr.obj release-dll\select.obj release-dll\sendf.obj
release-dll\share.obj release-dll\slist.obj release-dll\socks.obj
release-dll\socks_gssapi.obj release-dll\socks_sspi.obj
release-dll\speedcheck.obj release-dll\splay.obj release-dll\ssh.obj
release-dll\sslgen.obj release-dll\ssluse.obj
release-dll\strequal.obj release-dll\strerror.obj
release-dll\strtok.obj release-dll\strtoofft.obj
release-dll\telnet.obj release-dll\tftp.obj release-dll\timeval.obj
release-dll\transfer.obj release-dll\url.obj release-dll\version.obj
release-dll\libcurl.res
Creating library release-dll\libcurl_imp.lib and object
release-dll\libcurl_imp.exp
connect.obj : error LNK2019: unresolved external symbol
_curlx_nonblock referenced in function _singleipconnect
ftp.obj : error LNK2001: unresolved external symbol _curlx_nonblock
socks.obj : error LNK2001: unresolved external symbol _curlx_nonblock
release-dll\libcurl.dll : fatal error LNK1120: 1 unresolved externals
NMAKE : fatal error U1077: '"C:\Program Files\Microsoft Visual Studio
9.0\VC\BIN\link.exe"' : return code '0x460'
Stop.
NMAKE : fatal error U1077: '"C:\Program Files\Microsoft Visual Studio
9.0\VC\BIN\nmake.EXE"' : return code '0x2'
Stop.
$
-- John WeldonReceived on 2009-09-16