#780 7.19.1 fails to compile with msvc 6

closed-fixed
nobody
None
5
2008-11-09
2008-11-06
vmpdemo
No

7.19.1 fails to compile with msvc 6, with errors such as:

libcurl.lib(hostip.obj) : error LNK2001: unresolved external symbol _Curl_freeaddrinfo
libcurl.lib(ftp.obj) : error LNK2001: unresolved external symbol _Curl_freeaddrinfo
libcurl.lib(hostasyn.obj) : error LNK2001: unresolved external symbol _Curl_freeaddrinfo
libcurl.lib(hostip.obj) : error LNK2001: unresolved external symbol _Curl_he2ai
libcurl.lib(hostthre.obj) : error LNK2001: unresolved external symbol _Curl_he2ai

Addressed by this patch:

--- lib/Makefile.vc6 2008-10-23 15:58:00.000000000 -0500
+++ lib/Makefile.vc6 2008-11-06 11:21:16.603790900 -0600
@@ -427,6 +427,7 @@
X_OBJS= \ $(DIROBJ)\base64.obj \ $(DIROBJ)\cookie.obj \ + $(DIROBJ)\curl_addrinfo.obj \ $(DIROBJ)\transfer.obj \ $(DIROBJ)\escape.obj \ $(DIROBJ)\formdata.obj \

Discussion

  • Yang Tse
    Yang Tse
    2008-11-06

    I've just fixed it now in CVS.

    If you give your full name, proper credit will be given in the changelog.

     
    • status: open --> closed-fixed