curl-users
Re: Building curl/libcurl for Windows with VC6
Date: 23 Mar 2004 21:11:15 -0500
On Tue, 2004-03-23 at 09:28, Daniel Stenberg wrote:
> On Tue, 23 Mar 2004, hunter wrote:
>
> Please bear with me. I don't develop under Windows. I don't even have a
> compiler on the few windows machines I do have access to. Thus I need to ask
> lots of questions and bounce mails back and forth several times before things
> settle.
>
I know and understand this. I have to work in Windows so that is why I
am bringing these issues forth. I will do what I can to help out.
> Now I've also CC'ed the libcurl mailing list since I believe we reach more
> people who have compiled curl on windows there, and their input in this
> subject is desirable.
>
I use libcurl as well, which is why I build the dll target. I suppose I
should subscribe to that list as well (I have).
> > > This is wrong. curlx_strtoll() is not exported, you should use the code
> > > from the lib: http://curl.haxx.se/mail/lib-2004-02/0215.html
>
> > I am not using this function, curl.exe fails to compile because of an
> > unresolved external reference - _curlx_strtoll
>
> I understood that part, but I argued that the solution to your problem was not
> done the proper way. That's why I provided the link to my posting where I
> desribed the introduction of the curlx_* functions, why they are there and how
> I think they should be used.
>
> Exporting them in the library is the complete opposite of my intentions.
>
Ok...
I still have to work on the proper solution to the unresolved reference
with curl.exe.
> > > > \lib\setup.h - added defines for HAVE_ZLIB_H, etc.
> > >
> > > I'd say they belong in the Makefile or possibly in config-win32.h.
> >
> > Ok, so they should be in the makefile - but they are not.
>
> Since these defines are dependent on the system setup where curl is compiled,
> I am indeed interested in getting a fix that is as nice as possible to all
> people who wants to build curl. With or without libz.
>
> Any suggestions?
>
I will have to think about this some more.
What I have included today assumes that zlib is present.
> In unix-land we have configure to detect the presence of zlib and define the
> proper defines.
>
> > I did not put CURL_VERSION in the version file four times - why don't
> > you look at the original source.
>
> Aaaah... the file provided in the release archive is a generated one, and yes,
> this shows there's a bug in the maketgz script. The defines are all fine in
> the real source file as can be found on CVS. Me fix. Try tomorrow's daily
> snapshot and I believe you'll like it better!
>
I will get it tomorrow, in the mean time what I have included is a fixed
version.h.
> > I thought you would find it easy enough to compare the differences. Like I
> > tried to say in the begiining, I am not familiar with the code and my
> > solutions are probably not optimal - I offer them as a way to infer the
> > problem so that those who are familiar might make the best solutions.
>
> I most certainly appreciate your provided updates and your help. I just want
> to understand the reasons for the changes and I want others to get the chance
> to speak up and tell us their views on how the changes are made. The lack of
> diff output also makes i harder to review the changes.
>
I worked on this today and refined things, quite a bit. I am now down to
three modified files.
\src\version.h - which you will fix in the next daily build anyway
\lib\libcurl.def - which is the wrong solution ... we will have to do
better - tomorrow
\lib\makefile.vc6 - which I have heavily commented
I have included these three files - and I will work on this again
tomorrow to see about a better solutions to the export and detecting
zlib.
I have also included the compile errors - curl_errors.txt - it is long.
> Please rememeber that curl builds and runs on a LARGE amount of operating
> systems by now. I'm having quite a work just to keep things moving and getting
> the right pieces put in the right places.
>
> --
> Daniel Stenberg -- http://curl.haxx.se -- http://daniel.haxx.se
> Dedicated custom curl help for hire: http://haxx.se/curl.html
D:\build>dir
Volume in drive D is DATA
Volume Serial Number is 0CF1-7331
Directory of D:\build
2004-03-23 10.57 <DIR> .
2004-03-23 10.57 <DIR> ..
2003-09-23 13.23 <DIR> apache_1.3.24
2003-09-23 13.23 <DIR> apache_1.3.26
2003-09-23 13.23 <DIR> apache_1.3.27
2004-03-19 16.45 <DIR> backup
2003-04-02 04.27 <DIR> count
2004-03-22 10.43 <DIR> curl
2003-09-23 13.23 <DIR> curl-7.10
2003-09-23 13.23 <DIR> curl-7.10.2
2003-09-23 13.23 <DIR> curl-7.10.3
2003-09-23 13.24 <DIR> curl-7.10.4
2003-11-17 15.02 <DIR> curl-7.10.7
2003-11-20 13.02 <DIR> curl-7.10.8
2004-01-22 10.37 <DIR> curl-7.11.0
2003-11-25 15.27 <DIR> curl-7.11.0-20031125
2003-12-04 17.44 <DIR> curl-7.11.0-20031204
2003-12-12 11.34 <DIR> curl-7.11.0-20031212
2004-01-02 15.33 <DIR> curl-7.11.0-20040102
2004-01-09 16.24 <DIR> curl-7.11.0-20040109
2004-03-23 10.57 <DIR> curl-7.11.1
2003-09-23 13.24 <DIR> grep
2003-09-23 13.24 <DIR> httpd-2.0.36
2003-09-23 13.24 <DIR> httpd-2.0.39
2003-09-23 13.24 <DIR> httpd-2.0.40
2003-09-23 13.25 <DIR> httpd-2.0.42
2003-09-23 13.25 <DIR> httpd-2.0.43
2003-09-23 13.25 <DIR> httpd-2.0.44
2003-09-23 13.26 <DIR> httpd-2.0.45
2003-09-23 13.27 <DIR> httpd-2.0.46
2003-09-23 13.27 <DIR> httpd-2.0.47
2004-03-18 11.41 <DIR> httpd-2.0.48
2004-03-22 16.18 <DIR> httpd-2.0.49
2003-09-23 13.28 <DIR> mod_auth_sspi-1.0.1
2003-09-23 13.28 <DIR> openssl-0.9.6
2003-09-23 13.28 <DIR> openssl-0.9.7
2003-09-23 13.28 <DIR> openssl-0.9.7a
2003-09-23 13.28 <DIR> openssl-0.9.7b
2003-11-03 14.12 <DIR> openssl-0.9.7c
2004-03-18 11.12 <DIR> openssl-0.9.7d
2004-03-22 15.56 <DIR> source
2003-12-04 17.45 <DIR> temp
2003-12-05 10.28 <DIR> zlib-1.1.4
0 File(s) 0 bytes
43 Dir(s) 22,669,868,032 bytes free
D:\build>
D:\build\curl-7.11.1>dir
Volume in drive D is DATA
Volume Serial Number is 0CF1-7331
Directory of D:\build\curl-7.11.1
2004-03-23 10.57 <DIR> .
2004-03-23 10.57 <DIR> ..
2004-03-10 10.51 17,607 acinclude.m4
2004-03-18 12.54 244,418 aclocal.m4
2004-03-18 11.13 86,023 CHANGES
2004-03-15 11.08 43,019 config.guess
2004-03-15 11.08 30,925 config.sub
2004-03-18 12.54 947,446 configure
2004-03-18 11.03 35,128 configure.ac
2004-01-21 09.52 1,044 COPYING
2003-12-08 11.00 2,590 curl-config.in
2004-03-10 08.01 1,697 curl-style.el
2004-01-09 14.45 13,866 depcomp
2004-03-23 10.57 <DIR> docs
2004-03-23 10.57 <DIR> include
1999-12-29 15.20 5,584 install-sh
2004-03-23 10.57 <DIR> lib
2004-03-15 11.08 182,734 ltmain.sh
2004-03-19 09.21 2,151 Makefile
2004-03-15 11.18 3,788 Makefile.am
2004-03-19 09.20 24,493 Makefile.in
2004-01-12 10.13 3,342 maketgz
2001-08-28 11.01 8,857 missing
2000-01-11 00.36 729 mkinstalldirs
2004-03-23 10.57 <DIR> packages
2004-03-10 12.29 2,602 README
2001-05-30 09.59 348 reconf
2004-03-17 10.00 4,448 RELEASE-NOTES
2003-01-29 13.14 2,062 sample.emacs
2004-03-23 10.57 <DIR> src
2004-03-09 12.24 7,290 testcurl.sh
2004-03-23 10.57 <DIR> tests
24 File(s) 1,672,191 bytes
8 Dir(s) 22,669,868,032 bytes free
D:\build\curl-7.11.1>
D:\build\curl-7.11.1>nmake -f makefile vc-ssl-dll
Microsoft (R) Program Maintenance Utility Version 6.00.8168.0
Copyright (C) Microsoft Corp 1988-1998. All rights reserved.
cd lib
nmake /f Makefile.vc6 cfg=release-ssl-dll
Microsoft (R) Program Maintenance Utility Version 6.00.8168.0
Copyright (C) Microsoft Corp 1988-1998. All rights reserved.
cl.exe /MD /O2 /D "NDEBUG" /D "USE_SSLEAY" /I "../../openssl-0.9.7a/inc32" /I "../../openssl-0.9.7a/inc32/openssl" /I "."
/I "../include" /nologo /W3 /GX /D "WIN32" /D "VC6" /D "_MBCS" /D "_LIB" /YX /FD /c /D "MSDOS" /Fo".\release-ssl-dll\base64.obj"
.\base64.c
base64.c
cl.exe /MD /O2 /D "NDEBUG" /D "USE_SSLEAY" /I "../../openssl-0.9.7a/inc32" /I "../../openssl-0.9.7a/inc32/openssl" /I "."
/I "../include" /nologo /W3 /GX /D "WIN32" /D "VC6" /D "_MBCS" /D "_LIB" /YX /FD /c /D "MSDOS" /Fo".\release-ssl-dll\cookie.obj"
.\cookie.c
cookie.c
cl.exe /MD /O2 /D "NDEBUG" /D "USE_SSLEAY" /I "../../openssl-0.9.7a/inc32" /I "../../openssl-0.9.7a/inc32/openssl" /I "."
/I "../include" /nologo /W3 /GX /D "WIN32" /D "VC6" /D "_MBCS" /D "_LIB" /YX /FD /c /D "MSDOS" /Fo".\release-ssl-dll\transfer.obj
" .\transfer.c
transfer.c
cl.exe /MD /O2 /D "NDEBUG" /D "USE_SSLEAY" /I "../../openssl-0.9.7a/inc32" /I "../../openssl-0.9.7a/inc32/openssl" /I "."
/I "../include" /nologo /W3 /GX /D "WIN32" /D "VC6" /D "_MBCS" /D "_LIB" /YX /FD /c /D "MSDOS" /Fo".\release-ssl-dll\escape.obj"
.\escape.c
escape.c
cl.exe /MD /O2 /D "NDEBUG" /D "USE_SSLEAY" /I "../../openssl-0.9.7a/inc32" /I "../../openssl-0.9.7a/inc32/openssl" /I "."
/I "../include" /nologo /W3 /GX /D "WIN32" /D "VC6" /D "_MBCS" /D "_LIB" /YX /FD /c /D "MSDOS" /Fo".\release-ssl-dll\formdata.obj
" .\formdata.c
formdata.c
cl.exe /MD /O2 /D "NDEBUG" /D "USE_SSLEAY" /I "../../openssl-0.9.7a/inc32" /I "../../openssl-0.9.7a/inc32/openssl" /I "."
/I "../include" /nologo /W3 /GX /D "WIN32" /D "VC6" /D "_MBCS" /D "_LIB" /YX /FD /c /D "MSDOS" /Fo".\release-ssl-dll\ftp.obj" .\
ftp.c
ftp.c
cl.exe /MD /O2 /D "NDEBUG" /D "USE_SSLEAY" /I "../../openssl-0.9.7a/inc32" /I "../../openssl-0.9.7a/inc32/openssl" /I "."
/I "../include" /nologo /W3 /GX /D "WIN32" /D "VC6" /D "_MBCS" /D "_LIB" /YX /FD /c /D "MSDOS" /Fo".\release-ssl-dll\http.obj" .
\http.c
http.c
cl.exe /MD /O2 /D "NDEBUG" /D "USE_SSLEAY" /I "../../openssl-0.9.7a/inc32" /I "../../openssl-0.9.7a/inc32/openssl" /I "."
/I "../include" /nologo /W3 /GX /D "WIN32" /D "VC6" /D "_MBCS" /D "_LIB" /YX /FD /c /D "MSDOS" /Fo".\release-ssl-dll\http_chunks.
obj" .\http_chunks.c
http_chunks.c
cl.exe /MD /O2 /D "NDEBUG" /D "USE_SSLEAY" /I "../../openssl-0.9.7a/inc32" /I "../../openssl-0.9.7a/inc32/openssl" /I "."
/I "../include" /nologo /W3 /GX /D "WIN32" /D "VC6" /D "_MBCS" /D "_LIB" /YX /FD /c /D "MSDOS" /Fo".\release-ssl-dll\ldap.obj" .
\ldap.c
ldap.c
cl.exe /MD /O2 /D "NDEBUG" /D "USE_SSLEAY" /I "../../openssl-0.9.7a/inc32" /I "../../openssl-0.9.7a/inc32/openssl" /I "."
/I "../include" /nologo /W3 /GX /D "WIN32" /D "VC6" /D "_MBCS" /D "_LIB" /YX /FD /c /D "MSDOS" /Fo".\release-ssl-dll\dict.obj" .
\dict.c
dict.c
cl.exe /MD /O2 /D "NDEBUG" /D "USE_SSLEAY" /I "../../openssl-0.9.7a/inc32" /I "../../openssl-0.9.7a/inc32/openssl" /I "."
/I "../include" /nologo /W3 /GX /D "WIN32" /D "VC6" /D "_MBCS" /D "_LIB" /YX /FD /c /D "MSDOS" /Fo".\release-ssl-dll\telnet.obj"
.\telnet.c
telnet.c
cl.exe /MD /O2 /D "NDEBUG" /D "USE_SSLEAY" /I "../../openssl-0.9.7a/inc32" /I "../../openssl-0.9.7a/inc32/openssl" /I "."
/I "../include" /nologo /W3 /GX /D "WIN32" /D "VC6" /D "_MBCS" /D "_LIB" /YX /FD /c /D "MSDOS" /Fo".\release-ssl-dll\getdate.obj"
.\getdate.c
getdate.c
getdate.y(695) : warning C4028: formal parameter 1 different from declaration
cl.exe /MD /O2 /D "NDEBUG" /D "USE_SSLEAY" /I "../../openssl-0.9.7a/inc32" /I "../../openssl-0.9.7a/inc32/openssl" /I "."
/I "../include" /nologo /W3 /GX /D "WIN32" /D "VC6" /D "_MBCS" /D "_LIB" /YX /FD /c /D "MSDOS" /Fo".\release-ssl-dll\getenv.obj"
.\getenv.c
getenv.c
cl.exe /MD /O2 /D "NDEBUG" /D "USE_SSLEAY" /I "../../openssl-0.9.7a/inc32" /I "../../openssl-0.9.7a/inc32/openssl" /I "."
/I "../include" /nologo /W3 /GX /D "WIN32" /D "VC6" /D "_MBCS" /D "_LIB" /YX /FD /c /D "MSDOS" /Fo".\release-ssl-dll\inet_pton.ob
j" .\inet_pton.c
inet_pton.c
cl.exe /MD /O2 /D "NDEBUG" /D "USE_SSLEAY" /I "../../openssl-0.9.7a/inc32" /I "../../openssl-0.9.7a/inc32/openssl" /I "."
/I "../include" /nologo /W3 /GX /D "WIN32" /D "VC6" /D "_MBCS" /D "_LIB" /YX /FD /c /D "MSDOS" /Fo".\release-ssl-dll\hostip.obj"
.\hostip.c
hostip.c
cl.exe /MD /O2 /D "NDEBUG" /D "USE_SSLEAY" /I "../../openssl-0.9.7a/inc32" /I "../../openssl-0.9.7a/inc32/openssl" /I "."
/I "../include" /nologo /W3 /GX /D "WIN32" /D "VC6" /D "_MBCS" /D "_LIB" /YX /FD /c /D "MSDOS" /Fo".\release-ssl-dll\if2ip.obj"
.\if2ip.c
if2ip.c
cl.exe /MD /O2 /D "NDEBUG" /D "USE_SSLEAY" /I "../../openssl-0.9.7a/inc32" /I "../../openssl-0.9.7a/inc32/openssl" /I "."
/I "../include" /nologo /W3 /GX /D "WIN32" /D "VC6" /D "_MBCS" /D "_LIB" /YX /FD /c /D "MSDOS" /Fo".\release-ssl-dll\mprintf.obj"
.\mprintf.c
mprintf.c
cl.exe /MD /O2 /D "NDEBUG" /D "USE_SSLEAY" /I "../../openssl-0.9.7a/inc32" /I "../../openssl-0.9.7a/inc32/openssl" /I "."
/I "../include" /nologo /W3 /GX /D "WIN32" /D "VC6" /D "_MBCS" /D "_LIB" /YX /FD /c /D "MSDOS" /Fo".\release-ssl-dll\netrc.obj"
.\netrc.c
netrc.c
cl.exe /MD /O2 /D "NDEBUG" /D "USE_SSLEAY" /I "../../openssl-0.9.7a/inc32" /I "../../openssl-0.9.7a/inc32/openssl" /I "."
/I "../include" /nologo /W3 /GX /D "WIN32" /D "VC6" /D "_MBCS" /D "_LIB" /YX /FD /c /D "MSDOS" /Fo".\release-ssl-dll\progress.obj
" .\progress.c
progress.c
.\progress.c(264) : warning C4244: '=' : conversion from 'double ' to '__int64 ', possible loss of data
.\progress.c(268) : warning C4244: '=' : conversion from 'double ' to '__int64 ', possible loss of data
.\progress.c(314) : warning C4244: '=' : conversion from 'double ' to '__int64 ', possible loss of data
cl.exe /MD /O2 /D "NDEBUG" /D "USE_SSLEAY" /I "../../openssl-0.9.7a/inc32" /I "../../openssl-0.9.7a/inc32/openssl" /I "."
/I "../include" /nologo /W3 /GX /D "WIN32" /D "VC6" /D "_MBCS" /D "_LIB" /YX /FD /c /D "MSDOS" /Fo".\release-ssl-dll\sendf.obj"
.\sendf.c
sendf.c
cl.exe /MD /O2 /D "NDEBUG" /D "USE_SSLEAY" /I "../../openssl-0.9.7a/inc32" /I "../../openssl-0.9.7a/inc32/openssl" /I "."
/I "../include" /nologo /W3 /GX /D "WIN32" /D "VC6" /D "_MBCS" /D "_LIB" /YX /FD /c /D "MSDOS" /Fo".\release-ssl-dll\speedcheck.o
bj" .\speedcheck.c
speedcheck.c
cl.exe /MD /O2 /D "NDEBUG" /D "USE_SSLEAY" /I "../../openssl-0.9.7a/inc32" /I "../../openssl-0.9.7a/inc32/openssl" /I "."
/I "../include" /nologo /W3 /GX /D "WIN32" /D "VC6" /D "_MBCS" /D "_LIB" /YX /FD /c /D "MSDOS" /Fo".\release-ssl-dll\ssluse.obj"
.\ssluse.c
ssluse.c
cl.exe /MD /O2 /D "NDEBUG" /D "USE_SSLEAY" /I "../../openssl-0.9.7a/inc32" /I "../../openssl-0.9.7a/inc32/openssl" /I "."
/I "../include" /nologo /W3 /GX /D "WIN32" /D "VC6" /D "_MBCS" /D "_LIB" /YX /FD /c /D "MSDOS" /Fo".\release-ssl-dll\timeval.obj"
.\timeval.c
timeval.c
cl.exe /MD /O2 /D "NDEBUG" /D "USE_SSLEAY" /I "../../openssl-0.9.7a/inc32" /I "../../openssl-0.9.7a/inc32/openssl" /I "."
/I "../include" /nologo /W3 /GX /D "WIN32" /D "VC6" /D "_MBCS" /D "_LIB" /YX /FD /c /D "MSDOS" /Fo".\release-ssl-dll\url.obj" .\
url.c
url.c
cl.exe /MD /O2 /D "NDEBUG" /D "USE_SSLEAY" /I "../../openssl-0.9.7a/inc32" /I "../../openssl-0.9.7a/inc32/openssl" /I "."
/I "../include" /nologo /W3 /GX /D "WIN32" /D "VC6" /D "_MBCS" /D "_LIB" /YX /FD /c /D "MSDOS" /Fo".\release-ssl-dll\file.obj" .
\file.c
file.c
cl.exe /MD /O2 /D "NDEBUG" /D "USE_SSLEAY" /I "../../openssl-0.9.7a/inc32" /I "../../openssl-0.9.7a/inc32/openssl" /I "."
/I "../include" /nologo /W3 /GX /D "WIN32" /D "VC6" /D "_MBCS" /D "_LIB" /YX /FD /c /D "MSDOS" /Fo".\release-ssl-dll\getinfo.obj"
.\getinfo.c
getinfo.c
cl.exe /MD /O2 /D "NDEBUG" /D "USE_SSLEAY" /I "../../openssl-0.9.7a/inc32" /I "../../openssl-0.9.7a/inc32/openssl" /I "."
/I "../include" /nologo /W3 /GX /D "WIN32" /D "VC6" /D "_MBCS" /D "_LIB" /YX /FD /c /D "MSDOS" /Fo".\release-ssl-dll\version.obj"
.\version.c
version.c
cl.exe /MD /O2 /D "NDEBUG" /D "USE_SSLEAY" /I "../../openssl-0.9.7a/inc32" /I "../../openssl-0.9.7a/inc32/openssl" /I "."
/I "../include" /nologo /W3 /GX /D "WIN32" /D "VC6" /D "_MBCS" /D "_LIB" /YX /FD /c /D "MSDOS" /Fo".\release-ssl-dll\easy.obj" .
\easy.c
easy.c
cl.exe /MD /O2 /D "NDEBUG" /D "USE_SSLEAY" /I "../../openssl-0.9.7a/inc32" /I "../../openssl-0.9.7a/inc32/openssl" /I "."
/I "../include" /nologo /W3 /GX /D "WIN32" /D "VC6" /D "_MBCS" /D "_LIB" /YX /FD /c /D "MSDOS" /Fo".\release-ssl-dll\strequal.obj
" .\strequal.c
strequal.c
cl.exe /MD /O2 /D "NDEBUG" /D "USE_SSLEAY" /I "../../openssl-0.9.7a/inc32" /I "../../openssl-0.9.7a/inc32/openssl" /I "."
/I "../include" /nologo /W3 /GX /D "WIN32" /D "VC6" /D "_MBCS" /D "_LIB" /YX /FD /c /D "MSDOS" /Fo".\release-ssl-dll\strtok.obj"
.\strtok.c
strtok.c
cl.exe /MD /O2 /D "NDEBUG" /D "USE_SSLEAY" /I "../../openssl-0.9.7a/inc32" /I "../../openssl-0.9.7a/inc32/openssl" /I "."
/I "../include" /nologo /W3 /GX /D "WIN32" /D "VC6" /D "_MBCS" /D "_LIB" /YX /FD /c /D "MSDOS" /Fo".\release-ssl-dll\strtoofft.ob
j" .\strtoofft.c
strtoofft.c
cl.exe /MD /O2 /D "NDEBUG" /D "USE_SSLEAY" /I "../../openssl-0.9.7a/inc32" /I "../../openssl-0.9.7a/inc32/openssl" /I "."
/I "../include" /nologo /W3 /GX /D "WIN32" /D "VC6" /D "_MBCS" /D "_LIB" /YX /FD /c /D "MSDOS" /Fo".\release-ssl-dll\connect.obj"
.\connect.c
connect.c
cl.exe /MD /O2 /D "NDEBUG" /D "USE_SSLEAY" /I "../../openssl-0.9.7a/inc32" /I "../../openssl-0.9.7a/inc32/openssl" /I "."
/I "../include" /nologo /W3 /GX /D "WIN32" /D "VC6" /D "_MBCS" /D "_LIB" /YX /FD /c /D "MSDOS" /Fo".\release-ssl-dll\hash.obj" .
\hash.c
hash.c
cl.exe /MD /O2 /D "NDEBUG" /D "USE_SSLEAY" /I "../../openssl-0.9.7a/inc32" /I "../../openssl-0.9.7a/inc32/openssl" /I "."
/I "../include" /nologo /W3 /GX /D "WIN32" /D "VC6" /D "_MBCS" /D "_LIB" /YX /FD /c /D "MSDOS" /Fo".\release-ssl-dll\llist.obj"
.\llist.c
llist.c
cl.exe /MD /O2 /D "NDEBUG" /D "USE_SSLEAY" /I "../../openssl-0.9.7a/inc32" /I "../../openssl-0.9.7a/inc32/openssl" /I "."
/I "../include" /nologo /W3 /GX /D "WIN32" /D "VC6" /D "_MBCS" /D "_LIB" /YX /FD /c /D "MSDOS" /Fo".\release-ssl-dll\share.obj"
.\share.c
share.c
cl.exe /MD /O2 /D "NDEBUG" /D "USE_SSLEAY" /I "../../openssl-0.9.7a/inc32" /I "../../openssl-0.9.7a/inc32/openssl" /I "."
/I "../include" /nologo /W3 /GX /D "WIN32" /D "VC6" /D "_MBCS" /D "_LIB" /YX /FD /c /D "MSDOS" /Fo".\release-ssl-dll\multi.obj"
.\multi.c
multi.c
cl.exe /MD /O2 /D "NDEBUG" /D "USE_SSLEAY" /I "../../openssl-0.9.7a/inc32" /I "../../openssl-0.9.7a/inc32/openssl" /I "."
/I "../include" /nologo /W3 /GX /D "WIN32" /D "VC6" /D "_MBCS" /D "_LIB" /YX /FD /c /D "MSDOS" /Fo".\release-ssl-dll\http_digest.
obj" .\http_digest.c
http_digest.c
cl.exe /MD /O2 /D "NDEBUG" /D "USE_SSLEAY" /I "../../openssl-0.9.7a/inc32" /I "../../openssl-0.9.7a/inc32/openssl" /I "."
/I "../include" /nologo /W3 /GX /D "WIN32" /D "VC6" /D "_MBCS" /D "_LIB" /YX /FD /c /D "MSDOS" /Fo".\release-ssl-dll\http_negotia
te.obj" .\http_negotiate.c
http_negotiate.c
cl.exe /MD /O2 /D "NDEBUG" /D "USE_SSLEAY" /I "../../openssl-0.9.7a/inc32" /I "../../openssl-0.9.7a/inc32/openssl" /I "."
/I "../include" /nologo /W3 /GX /D "WIN32" /D "VC6" /D "_MBCS" /D "_LIB" /YX /FD /c /D "MSDOS" /Fo".\release-ssl-dll\http_ntlm.ob
j" .\http_ntlm.c
http_ntlm.c
cl.exe /MD /O2 /D "NDEBUG" /D "USE_SSLEAY" /I "../../openssl-0.9.7a/inc32" /I "../../openssl-0.9.7a/inc32/openssl" /I "."
/I "../include" /nologo /W3 /GX /D "WIN32" /D "VC6" /D "_MBCS" /D "_LIB" /YX /FD /c /D "MSDOS" /Fo".\release-ssl-dll\md5.obj" .\
md5.c
md5.c
rc /dCURLDEBUG=0 /Fo .\release-ssl-dll\libcurl.res libcurl.rc
link.exe /DLL /def:libcurl.def "/LIBPATH:../../openssl-0.9.7a/out32dll" /out:libcurl.dll /IMPLIB:"libcurl.lib" /nologo .\
release-ssl-dll\base64.obj .\release-ssl-dll\cookie.obj .\release-ssl-dll\transfer.obj .\release-ssl-dll\escape.obj .\release-
ssl-dll\formdata.obj .\release-ssl-dll\ftp.obj .\release-ssl-dll\http.obj .\release-ssl-dll\http_chunks.obj .\release-ssl-dll\
ldap.obj .\release-ssl-dll\dict.obj .\release-ssl-dll\telnet.obj .\release-ssl-dll\getdate.obj .\release-ssl-dll\getenv.obj .
\release-ssl-dll\inet_pton.obj .\release-ssl-dll\hostip.obj .\release-ssl-dll\if2ip.obj .\release-ssl-dll\mprintf.obj .\releas
e-ssl-dll\netrc.obj .\release-ssl-dll\progress.obj .\release-ssl-dll\sendf.obj .\release-ssl-dll\speedcheck.obj .\release-ssl-
dll\ssluse.obj .\release-ssl-dll\timeval.obj .\release-ssl-dll\url.obj .\release-ssl-dll\file.obj .\release-ssl-dll\getinfo.ob
j .\release-ssl-dll\version.obj .\release-ssl-dll\easy.obj .\release-ssl-dll\strequal.obj .\release-ssl-dll\strtok.obj .\rele
ase-ssl-dll\strtoofft.obj .\release-ssl-dll\connect.obj .\release-ssl-dll\hash.obj .\release-ssl-dll\llist.obj .\release-ssl-d
ll\share.obj .\release-ssl-dll\multi.obj .\release-ssl-dll\http_digest.obj .\release-ssl-dll\http_negotiate.obj .\release-ssl-
dll\http_ntlm.obj .\release-ssl-dll\md5.obj .\release-ssl-dll\libcurl.res
Creating library libcurl.lib and object libcurl.exp
transfer.obj : error LNK2001: unresolved external symbol ___WSAFDIsSet_at_8
connect.obj : error LNK2001: unresolved external symbol ___WSAFDIsSet_at_8
url.obj : error LNK2001: unresolved external symbol __imp__select_at_20
connect.obj : error LNK2001: unresolved external symbol __imp__select_at_20
transfer.obj : error LNK2001: unresolved external symbol __imp__select_at_20
ftp.obj : error LNK2001: unresolved external symbol __imp__select_at_20
http.obj : error LNK2001: unresolved external symbol __imp__select_at_20
ssluse.obj : error LNK2001: unresolved external symbol __imp__select_at_20
multi.obj : error LNK2001: unresolved external symbol __imp__closesocket_at_4
transfer.obj : error LNK2001: unresolved external symbol __imp__closesocket_at_4
ftp.obj : error LNK2001: unresolved external symbol __imp__closesocket_at_4
url.obj : error LNK2001: unresolved external symbol __imp__closesocket_at_4
connect.obj : error LNK2001: unresolved external symbol __imp__closesocket_at_4
ftp.obj : error LNK2001: unresolved external symbol __imp__accept_at_12
ftp.obj : error LNK2001: unresolved external symbol __imp__getsockname_at_12
connect.obj : error LNK2001: unresolved external symbol __imp__getsockname_at_12
ftp.obj : error LNK2001: unresolved external symbol __imp__inet_ntoa_at_4
hostip.obj : error LNK2001: unresolved external symbol __imp__inet_ntoa_at_4
url.obj : error LNK2001: unresolved external symbol __imp__inet_ntoa_at_4
ftp.obj : error LNK2001: unresolved external symbol __imp__listen_at_8
ftp.obj : error LNK2001: unresolved external symbol __imp__ntohs_at_4
url.obj : error LNK2001: unresolved external symbol __imp__ntohs_at_4
ftp.obj : error LNK2001: unresolved external symbol __imp__bind_at_12
connect.obj : error LNK2001: unresolved external symbol __imp__bind_at_12
ftp.obj : error LNK2001: unresolved external symbol __imp__socket_at_12
connect.obj : error LNK2001: unresolved external symbol __imp__socket_at_12
ftp.obj : error LNK2001: unresolved external symbol __imp__inet_addr_at_4
hostip.obj : error LNK2001: unresolved external symbol __imp__inet_addr_at_4
connect.obj : error LNK2001: unresolved external symbol __imp__inet_addr_at_4
ftp.obj : error LNK2001: unresolved external symbol __imp__gethostbyaddr_at_12
telnet.obj : error LNK2001: unresolved external symbol __imp__WSAGetLastError_at_0
hostip.obj : error LNK2001: unresolved external symbol __imp__WSAGetLastError_at_0
telnet.obj : error LNK2001: unresolved external symbol __imp__WSACleanup_at_0
easy.obj : error LNK2001: unresolved external symbol __imp__WSACleanup_at_0
telnet.obj : error LNK2001: unresolved external symbol __imp__WSAStartup_at_8
easy.obj : error LNK2001: unresolved external symbol __imp__WSAStartup_at_8
telnet.obj : error LNK2001: unresolved external symbol __imp__send_at_16
sendf.obj : error LNK2001: unresolved external symbol __imp__send_at_16
hostip.obj : error LNK2001: unresolved external symbol __imp__gethostbyname_at_4
hostip.obj : error LNK2001: unresolved external symbol __imp__ntohl_at_4
hostip.obj : error LNK2001: unresolved external symbol __imp__htonl_at_4
hostip.obj : error LNK2001: unresolved external symbol __imp__WSASetLastError_at_4
sendf.obj : error LNK2001: unresolved external symbol _ERR_error_string
ssluse.obj : error LNK2001: unresolved external symbol _ERR_error_string
sendf.obj : error LNK2001: unresolved external symbol _ERR_get_error
ssluse.obj : error LNK2001: unresolved external symbol _ERR_get_error
sendf.obj : error LNK2001: unresolved external symbol _SSL_get_error
ssluse.obj : error LNK2001: unresolved external symbol _SSL_get_error
sendf.obj : error LNK2001: unresolved external symbol _SSL_write
sendf.obj : error LNK2001: unresolved external symbol __imp__recv_at_16
sendf.obj : error LNK2001: unresolved external symbol _SSL_read
ssluse.obj : error LNK2001: unresolved external symbol _SSL_library_init
ssluse.obj : error LNK2001: unresolved external symbol _SSL_load_error_strings
ssluse.obj : error LNK2001: unresolved external symbol _EVP_cleanup
ssluse.obj : error LNK2001: unresolved external symbol _ERR_free_strings
ssluse.obj : error LNK2001: unresolved external symbol _SSL_CTX_free
ssluse.obj : error LNK2001: unresolved external symbol _SSL_free
ssluse.obj : error LNK2001: unresolved external symbol _SSL_set_connect_state
ssluse.obj : error LNK2001: unresolved external symbol _SSL_shutdown
ssluse.obj : error LNK2001: unresolved external symbol _ERR_remove_state
ssluse.obj : error LNK2001: unresolved external symbol _SSL_SESSION_free
ssluse.obj : error LNK2001: unresolved external symbol _SSL_get_verify_result
ssluse.obj : error LNK2001: unresolved external symbol _X509_get_issuer_name
ssluse.obj : error LNK2001: unresolved external symbol _CRYPTO_free
ssluse.obj : error LNK2001: unresolved external symbol _X509_free
ssluse.obj : error LNK2001: unresolved external symbol _X509_NAME_oneline
ssluse.obj : error LNK2001: unresolved external symbol _X509_get_subject_name
ssluse.obj : error LNK2001: unresolved external symbol _SSL_get_peer_certificate
ssluse.obj : error LNK2001: unresolved external symbol _SSL_CIPHER_get_name
ssluse.obj : error LNK2001: unresolved external symbol _SSL_get_current_cipher
ssluse.obj : error LNK2001: unresolved external symbol _SSL_connect
ssluse.obj : error LNK2001: unresolved external symbol _SSL_set_fd
ssluse.obj : error LNK2001: unresolved external symbol _SSL_set_session
ssluse.obj : error LNK2001: unresolved external symbol _SSL_new
ssluse.obj : error LNK2001: unresolved external symbol _SSL_CTX_set_verify
ssluse.obj : error LNK2001: unresolved external symbol _SSL_CTX_load_verify_locations
ssluse.obj : error LNK2001: unresolved external symbol _SSL_CTX_set_cipher_list
ssluse.obj : error LNK2001: unresolved external symbol _SSL_CTX_ctrl
ssluse.obj : error LNK2001: unresolved external symbol _SSL_CTX_new
ssluse.obj : error LNK2001: unresolved external symbol _TLSv1_client_method
ssluse.obj : error LNK2001: unresolved external symbol _SSLv2_client_method
ssluse.obj : error LNK2001: unresolved external symbol _SSLv3_client_method
ssluse.obj : error LNK2001: unresolved external symbol _SSLv23_client_method
ssluse.obj : error LNK2001: unresolved external symbol _RAND_file_name
ssluse.obj : error LNK2001: unresolved external symbol _RAND_screen
ssluse.obj : error LNK2001: unresolved external symbol _RAND_load_file
ssluse.obj : error LNK2001: unresolved external symbol _RAND_status
ssluse.obj : error LNK2001: unresolved external symbol _SSL_CTX_check_private_key
ssluse.obj : error LNK2001: unresolved external symbol _EVP_PKEY_free
ssluse.obj : error LNK2001: unresolved external symbol _EVP_PKEY_copy_parameters
ssluse.obj : error LNK2001: unresolved external symbol _SSL_get_privatekey
ssluse.obj : error LNK2001: unresolved external symbol _X509_get_pubkey
ssluse.obj : error LNK2001: unresolved external symbol _SSL_get_certificate
ssluse.obj : error LNK2001: unresolved external symbol _SSL_CTX_use_PrivateKey_file
ssluse.obj : error LNK2001: unresolved external symbol _SSL_CTX_use_certificate_chain_file
ssluse.obj : error LNK2001: unresolved external symbol _SSL_CTX_use_certificate_file
ssluse.obj : error LNK2001: unresolved external symbol _SSL_CTX_set_default_passwd_cb
ssluse.obj : error LNK2001: unresolved external symbol _SSL_CTX_set_default_passwd_cb_userdata
ssluse.obj : error LNK2001: unresolved external symbol _X509_STORE_CTX_get_current_cert
ssluse.obj : error LNK2001: unresolved external symbol _SSL_get1_session
ssluse.obj : error LNK2001: unresolved external symbol _X509_NAME_get_text_by_NID
ssluse.obj : error LNK2001: unresolved external symbol _GENERAL_NAMES_free
ssluse.obj : error LNK2001: unresolved external symbol _ASN1_STRING_length
ssluse.obj : error LNK2001: unresolved external symbol _ASN1_STRING_data
ssluse.obj : error LNK2001: unresolved external symbol _sk_value
ssluse.obj : error LNK2001: unresolved external symbol _sk_num
ssluse.obj : error LNK2001: unresolved external symbol _X509_get_ext_d2i
timeval.obj : error LNK2001: unresolved external symbol __imp__timeGetTime_at_0
url.obj : error LNK2001: unresolved external symbol __imp__htons_at_4
connect.obj : error LNK2001: unresolved external symbol __imp__htons_at_4
version.obj : error LNK2001: unresolved external symbol _SSLeay
connect.obj : error LNK2001: unresolved external symbol __imp__ioctlsocket_at_12
connect.obj : error LNK2001: unresolved external symbol __imp__connect_at_12
http_ntlm.obj : error LNK2001: unresolved external symbol _DES_ecb_encrypt
http_ntlm.obj : error LNK2001: unresolved external symbol _DES_set_key
http_ntlm.obj : error LNK2001: unresolved external symbol _DES_set_odd_parity
md5.obj : error LNK2001: unresolved external symbol _MD5_Final
md5.obj : error LNK2001: unresolved external symbol _MD5_Update
md5.obj : error LNK2001: unresolved external symbol _MD5_Init
libcurl.dll : fatal error LNK1120: 93 unresolved externals
NMAKE : fatal error U1077: 'link.exe' : return code '0x460'
Stop.
NMAKE : fatal error U1077: 'C:\MVS\VC98\bin\NMAKE.EXE' : return code '0x2'
Stop.
D:\build\curl-7.11.1>
There are missing link libraries...
Compare \lib\makefile.vc6 from 7.11.1 with 7.11.0...
...from 7.11.1
CCNODBG = cl.exe /MD /O2 /D "NDEBUG"
CCDEBUG = cl.exe /MDd /Od /Gm /Zi /D "_DEBUG" /GZ
CFLAGSSSL = /D "USE_SSLEAY" /I "$(OPENSSL_PATH)/inc32" /I "$(OPENSSL_PATH)/inc32/openssl"
CFLAGS = /I "." /I "../include" /nologo /W3 /GX /D "WIN32" /D "VC6" /D "_MBCS" /D "_LIB" /YX /FD /c /D "MSDOS"
LNKDLL = link.exe /DLL /def:libcurl.def
LNKLIB = link.exe /lib
LFLAGS = /nologo
SSLLIBS = libeay32.lib ssleay32.lib
# RSAglue.lib was formerly needed in the SSLLIBS
CFGSET = FALSE
... from 7.11.0
CCNODBG = cl.exe /MD /O2 /D "NDEBUG"
CCDEBUG = cl.exe /MDd /Od /Gm /Zi /D "_DEBUG" /GZ
CFLAGSSSL = /D "USE_SSLEAY" /I "$(OPENSSL_PATH)/inc32" /I "$(OPENSSL_PATH)\inc32\openssl"
CFLAGS = /I "..\include" /I "..\..\zlib-1.1.4" /nologo /W3 /GX /D "WIN32" /D "VC6" /D "_MBCS" /D "_LIB" /YX /FD /c /D "MSDOS"
LNKDLL = link.exe /DLL /def:libcurl.def
LNKLIB = link.exe -lib
LFLAGS = /nologo
LINKLIBS = ws2_32.lib winmm.lib
SSLLIBS = libeay32.lib ssleay32.lib
# RSAglue.lib was formerly needed in the SSLLIBS
CFGSET = FALSE
Missing the line ... LINKLIBS = ws2_32.lib winmm.lib
...from 7.11.1
######################
# release-ssl-dll
!IF "$(CFG)" == "release-ssl-dll"
TARGET =$(LIB_NAME).dll
DIROBJ =.\$(CFG)
LFLAGSSSL = "/LIBPATH:$(OPENSSL_PATH)/out32dll"
LNK = $(LNKDLL) $(LFLAGSSSL) /out:$(TARGET) /IMPLIB:"$(LIB_NAME).lib"
CC = $(CCNODBG) $(CFLAGSSSL)
CFGSET = TRUE
RESOURCE = $(DIROBJ)\libcurl.res
!ENDIF
... from 7.11.0
######################
# release-ssl-dll
!IF "$(CFG)" == "release-ssl-dll"
TARGET =$(LIB_NAME).dll
DIROBJ =.\$(CFG)
LFLAGSSSL = "/LIBPATH:$(OPENSSL_PATH)\out32dll"
LNK = $(LNKDLL) $(LFLAGSSSL) /out:$(TARGET) /IMPLIB:"$(LIB_NAME).lib"
LINKLIBS = $(LINKLIBS) $(SSLLIBS)
CC = $(CCNODBG) $(CFLAGSSSL)
CFGSET = TRUE
RESOURCE = $(DIROBJ)\libcurl.res
!ENDIF
Missing the line ... LINKLIBS = $(LINKLIBS) $(SSLLIBS)
...from 7.11.1
$(TARGET): $(X_OBJS)
$(LNK) $(LFLAGS) $(X_OBJS)
...from 7.11.0
$(TARGET): $(X_OBJS)
$(LNK) $(LFLAGS) $(LINKLIBS) $(X_OBJS)
So I add these lines to the makefile and try again...
D:\build\curl-7.11.1>nmake -f makefile vc-ssl-dll
Microsoft (R) Program Maintenance Utility Version 6.00.8168.0
Copyright (C) Microsoft Corp 1988-1998. All rights reserved.
cd lib
nmake /f Makefile.vc6 cfg=release-ssl-dll
Microsoft (R) Program Maintenance Utility Version 6.00.8168.0
Copyright (C) Microsoft Corp 1988-1998. All rights reserved.
link.exe /DLL /def:libcurl.def "/LIBPATH:../../openssl-0.9.7d/out32dll" /out:libcurl.dll /IMPLIB:"libcurl.lib" /nologo ws
2_32.lib winmm.lib libeay32.lib ssleay32.lib .\release-ssl-dll\base64.obj .\release-ssl-dll\cookie.obj .\release-ssl-dll\transfe
r.obj .\release-ssl-dll\escape.obj .\release-ssl-dll\formdata.obj .\release-ssl-dll\ftp.obj .\release-ssl-dll\http.obj .\rele
ase-ssl-dll\http_chunks.obj .\release-ssl-dll\ldap.obj .\release-ssl-dll\dict.obj .\release-ssl-dll\telnet.obj .\release-ssl-d
ll\getdate.obj .\release-ssl-dll\getenv.obj .\release-ssl-dll\inet_pton.obj .\release-ssl-dll\hostip.obj .\release-ssl-dll\if2
ip.obj .\release-ssl-dll\mprintf.obj .\release-ssl-dll\netrc.obj .\release-ssl-dll\progress.obj .\release-ssl-dll\sendf.obj .
\release-ssl-dll\speedcheck.obj .\release-ssl-dll\ssluse.obj .\release-ssl-dll\timeval.obj .\release-ssl-dll\url.obj .\release
-ssl-dll\file.obj .\release-ssl-dll\getinfo.obj .\release-ssl-dll\version.obj .\release-ssl-dll\easy.obj .\release-ssl-dll\str
equal.obj .\release-ssl-dll\strtok.obj .\release-ssl-dll\strtoofft.obj .\release-ssl-dll\connect.obj .\release-ssl-dll\hash.ob
j .\release-ssl-dll\llist.obj .\release-ssl-dll\share.obj .\release-ssl-dll\multi.obj .\release-ssl-dll\http_digest.obj .\rel
ease-ssl-dll\http_negotiate.obj .\release-ssl-dll\http_ntlm.obj .\release-ssl-dll\md5.obj .\release-ssl-dll\libcurl.res
Creating library libcurl.lib and object libcurl.exp
cd ..\src
nmake /f Makefile.vc6
Microsoft (R) Program Maintenance Utility Version 6.00.8168.0
Copyright (C) Microsoft Corp 1988-1998. All rights reserved.
cl.exe /MD /O2 /D "NDEBUG" /I "../lib" /I "../include" /I "../../zlib-1.1.4" /nologo /W3 /GX /D "WIN32" /D "_CONSOLE" /D "
_MBCS" /YX /FD /c /Zm200 /Fo"hugehelpr.obj" hugehelp.c
hugehelp.c
cl.exe /MD /O2 /D "NDEBUG" /I "../lib" /I "../include" /I "../../zlib-1.1.4" /nologo /W3 /GX /D "WIN32" /D "_CONSOLE" /D "
_MBCS" /YX /FD /c /Fo"writeoutr.obj" writeout.c
writeout.c
cl.exe /MD /O2 /D "NDEBUG" /I "../lib" /I "../include" /I "../../zlib-1.1.4" /nologo /W3 /GX /D "WIN32" /D "_CONSOLE" /D "
_MBCS" /YX /FD /c /Fo"urlglobr.obj" urlglob.c
urlglob.c
cl.exe /MD /O2 /D "NDEBUG" /I "../lib" /I "../include" /I "../../zlib-1.1.4" /nologo /W3 /GX /D "WIN32" /D "_CONSOLE" /D "
_MBCS" /YX /FD /c /Fo"getpassr.obj" getpass.c
getpass.c
cl.exe /MD /O2 /D "NDEBUG" /I "../lib" /I "../include" /I "../../zlib-1.1.4" /nologo /W3 /GX /D "WIN32" /D "_CONSOLE" /D "
_MBCS" /YX /FD /c /Fo"homedirr.obj" homedir.c
homedir.c
cl.exe /MD /O2 /D "NDEBUG" /I "../lib" /I "../include" /I "../../zlib-1.1.4" /nologo /W3 /GX /D "WIN32" /D "_CONSOLE" /D "
_MBCS" /YX /FD /c /Fo"mainr.obj" main.c
main.c
rc.exe /dCURLDEBUG=0 /i "../include" /Fo"curlr.res" curl.rc
curl.rc (31): error RC2104 : undefined keyword or key name: CURL_VERSION_MAJOR
NMAKE : fatal error U1077: 'rc.exe' : return code '0x1'
Stop.
NMAKE : fatal error U1077: 'C:\MVS\VC98\bin\NMAKE.EXE' : return code '0x2'
Stop.
D:\build\curl-7.11.1>
...from 7.11.1 \src\curl.rc (this must be new for 7.11.1 cause it is not in 7.11.0)
#include "version.h"
LANGUAGE 0x09,0x01
#define RC_VERSION CURL_VERSION_MAJOR, CURL_VERSION_MINOR, CURL_VERSION_PATCH, 0
... from 7.11.1 \src\version.h
#include <curl/curl.h>
#define CURL_NAME "curl"
#define CURL_VERSION "7.11.1"
#define CURL_VERSION "7.11.1"
#define CURL_VERSION "7.11.1"
#define CURL_VERSION "7.11.1"
#define CURL_ID CURL_NAME " " CURL_VERSION " (" OS ") "
#endif
Change \src\version.h to...
#include <curl/curl.h>
#define CURL_NAME "curl"
#define CURL_VERSION "7.11.1"
#define CURL_VERSION_MAJOR 7
#define CURL_VERSION_MINOR 11
#define CURL_VERSION_PATCH 1
#define CURL_ID CURL_NAME " " CURL_VERSION " (" OS ") "
#endif
D:\build\curl-7.11.1>nmake -f makefile vc-ssl-dll
Microsoft (R) Program Maintenance Utility Version 6.00.8168.0
Copyright (C) Microsoft Corp 1988-1998. All rights reserved.
cd lib
nmake /f Makefile.vc6 cfg=release-ssl-dll
Microsoft (R) Program Maintenance Utility Version 6.00.8168.0
Copyright (C) Microsoft Corp 1988-1998. All rights reserved.
cd ..\src
nmake /f Makefile.vc6
Microsoft (R) Program Maintenance Utility Version 6.00.8168.0
Copyright (C) Microsoft Corp 1988-1998. All rights reserved.
rc.exe /dCURLDEBUG=0 /i "../include" /Fo"curlr.res" curl.rc
link.exe /incremental:no /libpath:"../lib" /nologo /libpath:"../../zlib-1.1.4" /out:curl.exe /subsystem:console /machine:I
386 wsock32.lib libcurl.lib winmm.lib zlib.lib hugehelpr.obj writeoutr.obj urlglobr.obj getpassr.obj homedirr.obj mainr.obj
curlr.res
mainr.obj : error LNK2001: unresolved external symbol _curlx_strtoll
curl.exe : fatal error LNK1120: 1 unresolved externals
NMAKE : fatal error U1077: 'link.exe' : return code '0x460'
Stop.
NMAKE : fatal error U1077: 'C:\MVS\VC98\bin\NMAKE.EXE' : return code '0x2'
Stop.
D:\build\curl-7.11.1>
curl.exe wants "curlx_strtoll()" - is it exported?
This function is in libcurl not in curl.exe...
;
; Definition file for the DLL version of the LIBCURL library from curl
;
LIBRARY LIBCURL
DESCRIPTION 'curl libcurl - http://curl.haxx.se'
EXPORTS
curl_easy_cleanup @ 1 ;
curl_easy_getinfo @ 2 ;
curl_easy_init @ 3 ;
curl_easy_perform @ 4 ;
curl_easy_setopt @ 5 ;
curl_escape @ 6 ;
curl_unescape @ 7;
curl_formparse @ 8 ;
curl_formfree @ 9 ;
curl_getdate @ 10 ;
curl_getenv @ 11 ;
curl_global_cleanup @ 12 ;
curl_global_init @ 13 ;
curl_slist_append @ 14 ;
curl_slist_free_all @ 15 ;
curl_version @ 16 ;
curl_maprintf @ 17 ;
curl_mfprintf @ 18 ;
curl_mprintf @ 19 ;
curl_msprintf @ 20 ;
curl_msnprintf @ 21 ;
curl_mvfprintf @ 22 ;
curl_strequal @ 23 ;
curl_strnequal @ 24 ;
curl_easy_duphandle @ 25 ;
curl_formadd @ 26 ;
curl_multi_init @ 27;
curl_multi_add_handle @ 28;
curl_multi_remove_handle @ 29;
curl_multi_fdset @ 30;
curl_multi_perform @ 31;
curl_multi_cleanup @ 32;
curl_multi_info_read @ 33;
curl_free @ 34;
curl_version_info @ 35;
curl_share_init @ 36;
curl_share_setopt @ 37;
curl_share_cleanup @ 38;
Lets add an export...
curlx_strtoll @ 39;
Now clean up and rebuild from scratch...
But I really want openssl 0.9.7d so change makefiles to use these...
D:\build\curl-7.11.1>nmake -f makefile vc-ssl-dll
Microsoft (R) Program Maintenance Utility Version 6.00.8168.0
Copyright (C) Microsoft Corp 1988-1998. All rights reserved.
cd lib
nmake /f Makefile.vc6 cfg=release-ssl-dll
Microsoft (R) Program Maintenance Utility Version 6.00.8168.0
Copyright (C) Microsoft Corp 1988-1998. All rights reserved.
cl.exe /MD /O2 /D "NDEBUG" /D "USE_SSLEAY" /I "../../openssl-0.9.7d/inc32" /I "../../openssl-0.9.7d/inc32/openssl" /I "."
/I "../include" /nologo /W3 /GX /D "WIN32" /D "VC6" /D "_MBCS" /D "_LIB" /YX /FD /c /D "MSDOS" /Fo".\release-ssl-dll\base64.obj"
.\base64.c
base64.c
cl.exe /MD /O2 /D "NDEBUG" /D "USE_SSLEAY" /I "../../openssl-0.9.7d/inc32" /I "../../openssl-0.9.7d/inc32/openssl" /I "."
/I "../include" /nologo /W3 /GX /D "WIN32" /D "VC6" /D "_MBCS" /D "_LIB" /YX /FD /c /D "MSDOS" /Fo".\release-ssl-dll\cookie.obj"
.\cookie.c
cookie.c
cl.exe /MD /O2 /D "NDEBUG" /D "USE_SSLEAY" /I "../../openssl-0.9.7d/inc32" /I "../../openssl-0.9.7d/inc32/openssl" /I "."
/I "../include" /nologo /W3 /GX /D "WIN32" /D "VC6" /D "_MBCS" /D "_LIB" /YX /FD /c /D "MSDOS" /Fo".\release-ssl-dll\transfer.obj
" .\transfer.c
transfer.c
cl.exe /MD /O2 /D "NDEBUG" /D "USE_SSLEAY" /I "../../openssl-0.9.7d/inc32" /I "../../openssl-0.9.7d/inc32/openssl" /I "."
/I "../include" /nologo /W3 /GX /D "WIN32" /D "VC6" /D "_MBCS" /D "_LIB" /YX /FD /c /D "MSDOS" /Fo".\release-ssl-dll\escape.obj"
.\escape.c
escape.c
cl.exe /MD /O2 /D "NDEBUG" /D "USE_SSLEAY" /I "../../openssl-0.9.7d/inc32" /I "../../openssl-0.9.7d/inc32/openssl" /I "."
/I "../include" /nologo /W3 /GX /D "WIN32" /D "VC6" /D "_MBCS" /D "_LIB" /YX /FD /c /D "MSDOS" /Fo".\release-ssl-dll\formdata.obj
" .\formdata.c
formdata.c
cl.exe /MD /O2 /D "NDEBUG" /D "USE_SSLEAY" /I "../../openssl-0.9.7d/inc32" /I "../../openssl-0.9.7d/inc32/openssl" /I "."
/I "../include" /nologo /W3 /GX /D "WIN32" /D "VC6" /D "_MBCS" /D "_LIB" /YX /FD /c /D "MSDOS" /Fo".\release-ssl-dll\ftp.obj" .\
ftp.c
ftp.c
cl.exe /MD /O2 /D "NDEBUG" /D "USE_SSLEAY" /I "../../openssl-0.9.7d/inc32" /I "../../openssl-0.9.7d/inc32/openssl" /I "."
/I "../include" /nologo /W3 /GX /D "WIN32" /D "VC6" /D "_MBCS" /D "_LIB" /YX /FD /c /D "MSDOS" /Fo".\release-ssl-dll\http.obj" .
\http.c
http.c
cl.exe /MD /O2 /D "NDEBUG" /D "USE_SSLEAY" /I "../../openssl-0.9.7d/inc32" /I "../../openssl-0.9.7d/inc32/openssl" /I "."
/I "../include" /nologo /W3 /GX /D "WIN32" /D "VC6" /D "_MBCS" /D "_LIB" /YX /FD /c /D "MSDOS" /Fo".\release-ssl-dll\http_chunks.
obj" .\http_chunks.c
http_chunks.c
cl.exe /MD /O2 /D "NDEBUG" /D "USE_SSLEAY" /I "../../openssl-0.9.7d/inc32" /I "../../openssl-0.9.7d/inc32/openssl" /I "."
/I "../include" /nologo /W3 /GX /D "WIN32" /D "VC6" /D "_MBCS" /D "_LIB" /YX /FD /c /D "MSDOS" /Fo".\release-ssl-dll\ldap.obj" .
\ldap.c
ldap.c
cl.exe /MD /O2 /D "NDEBUG" /D "USE_SSLEAY" /I "../../openssl-0.9.7d/inc32" /I "../../openssl-0.9.7d/inc32/openssl" /I "."
/I "../include" /nologo /W3 /GX /D "WIN32" /D "VC6" /D "_MBCS" /D "_LIB" /YX /FD /c /D "MSDOS" /Fo".\release-ssl-dll\dict.obj" .
\dict.c
dict.c
cl.exe /MD /O2 /D "NDEBUG" /D "USE_SSLEAY" /I "../../openssl-0.9.7d/inc32" /I "../../openssl-0.9.7d/inc32/openssl" /I "."
/I "../include" /nologo /W3 /GX /D "WIN32" /D "VC6" /D "_MBCS" /D "_LIB" /YX /FD /c /D "MSDOS" /Fo".\release-ssl-dll\telnet.obj"
.\telnet.c
telnet.c
cl.exe /MD /O2 /D "NDEBUG" /D "USE_SSLEAY" /I "../../openssl-0.9.7d/inc32" /I "../../openssl-0.9.7d/inc32/openssl" /I "."
/I "../include" /nologo /W3 /GX /D "WIN32" /D "VC6" /D "_MBCS" /D "_LIB" /YX /FD /c /D "MSDOS" /Fo".\release-ssl-dll\getdate.obj"
.\getdate.c
getdate.c
getdate.y(695) : warning C4028: formal parameter 1 different from declaration
cl.exe /MD /O2 /D "NDEBUG" /D "USE_SSLEAY" /I "../../openssl-0.9.7d/inc32" /I "../../openssl-0.9.7d/inc32/openssl" /I "."
/I "../include" /nologo /W3 /GX /D "WIN32" /D "VC6" /D "_MBCS" /D "_LIB" /YX /FD /c /D "MSDOS" /Fo".\release-ssl-dll\getenv.obj"
.\getenv.c
getenv.c
cl.exe /MD /O2 /D "NDEBUG" /D "USE_SSLEAY" /I "../../openssl-0.9.7d/inc32" /I "../../openssl-0.9.7d/inc32/openssl" /I "."
/I "../include" /nologo /W3 /GX /D "WIN32" /D "VC6" /D "_MBCS" /D "_LIB" /YX /FD /c /D "MSDOS" /Fo".\release-ssl-dll\inet_pton.ob
j" .\inet_pton.c
inet_pton.c
cl.exe /MD /O2 /D "NDEBUG" /D "USE_SSLEAY" /I "../../openssl-0.9.7d/inc32" /I "../../openssl-0.9.7d/inc32/openssl" /I "."
/I "../include" /nologo /W3 /GX /D "WIN32" /D "VC6" /D "_MBCS" /D "_LIB" /YX /FD /c /D "MSDOS" /Fo".\release-ssl-dll\hostip.obj"
.\hostip.c
hostip.c
cl.exe /MD /O2 /D "NDEBUG" /D "USE_SSLEAY" /I "../../openssl-0.9.7d/inc32" /I "../../openssl-0.9.7d/inc32/openssl" /I "."
/I "../include" /nologo /W3 /GX /D "WIN32" /D "VC6" /D "_MBCS" /D "_LIB" /YX /FD /c /D "MSDOS" /Fo".\release-ssl-dll\if2ip.obj"
.\if2ip.c
if2ip.c
cl.exe /MD /O2 /D "NDEBUG" /D "USE_SSLEAY" /I "../../openssl-0.9.7d/inc32" /I "../../openssl-0.9.7d/inc32/openssl" /I "."
/I "../include" /nologo /W3 /GX /D "WIN32" /D "VC6" /D "_MBCS" /D "_LIB" /YX /FD /c /D "MSDOS" /Fo".\release-ssl-dll\mprintf.obj"
.\mprintf.c
mprintf.c
cl.exe /MD /O2 /D "NDEBUG" /D "USE_SSLEAY" /I "../../openssl-0.9.7d/inc32" /I "../../openssl-0.9.7d/inc32/openssl" /I "."
/I "../include" /nologo /W3 /GX /D "WIN32" /D "VC6" /D "_MBCS" /D "_LIB" /YX /FD /c /D "MSDOS" /Fo".\release-ssl-dll\netrc.obj"
.\netrc.c
netrc.c
cl.exe /MD /O2 /D "NDEBUG" /D "USE_SSLEAY" /I "../../openssl-0.9.7d/inc32" /I "../../openssl-0.9.7d/inc32/openssl" /I "."
/I "../include" /nologo /W3 /GX /D "WIN32" /D "VC6" /D "_MBCS" /D "_LIB" /YX /FD /c /D "MSDOS" /Fo".\release-ssl-dll\progress.obj
" .\progress.c
progress.c
.\progress.c(264) : warning C4244: '=' : conversion from 'double ' to '__int64 ', possible loss of data
.\progress.c(268) : warning C4244: '=' : conversion from 'double ' to '__int64 ', possible loss of data
.\progress.c(314) : warning C4244: '=' : conversion from 'double ' to '__int64 ', possible loss of data
cl.exe /MD /O2 /D "NDEBUG" /D "USE_SSLEAY" /I "../../openssl-0.9.7d/inc32" /I "../../openssl-0.9.7d/inc32/openssl" /I "."
/I "../include" /nologo /W3 /GX /D "WIN32" /D "VC6" /D "_MBCS" /D "_LIB" /YX /FD /c /D "MSDOS" /Fo".\release-ssl-dll\sendf.obj"
.\sendf.c
sendf.c
cl.exe /MD /O2 /D "NDEBUG" /D "USE_SSLEAY" /I "../../openssl-0.9.7d/inc32" /I "../../openssl-0.9.7d/inc32/openssl" /I "."
/I "../include" /nologo /W3 /GX /D "WIN32" /D "VC6" /D "_MBCS" /D "_LIB" /YX /FD /c /D "MSDOS" /Fo".\release-ssl-dll\speedcheck.o
bj" .\speedcheck.c
speedcheck.c
cl.exe /MD /O2 /D "NDEBUG" /D "USE_SSLEAY" /I "../../openssl-0.9.7d/inc32" /I "../../openssl-0.9.7d/inc32/openssl" /I "."
/I "../include" /nologo /W3 /GX /D "WIN32" /D "VC6" /D "_MBCS" /D "_LIB" /YX /FD /c /D "MSDOS" /Fo".\release-ssl-dll\ssluse.obj"
.\ssluse.c
ssluse.c
cl.exe /MD /O2 /D "NDEBUG" /D "USE_SSLEAY" /I "../../openssl-0.9.7d/inc32" /I "../../openssl-0.9.7d/inc32/openssl" /I "."
/I "../include" /nologo /W3 /GX /D "WIN32" /D "VC6" /D "_MBCS" /D "_LIB" /YX /FD /c /D "MSDOS" /Fo".\release-ssl-dll\timeval.obj"
.\timeval.c
timeval.c
cl.exe /MD /O2 /D "NDEBUG" /D "USE_SSLEAY" /I "../../openssl-0.9.7d/inc32" /I "../../openssl-0.9.7d/inc32/openssl" /I "."
/I "../include" /nologo /W3 /GX /D "WIN32" /D "VC6" /D "_MBCS" /D "_LIB" /YX /FD /c /D "MSDOS" /Fo".\release-ssl-dll\url.obj" .\
url.c
url.c
cl.exe /MD /O2 /D "NDEBUG" /D "USE_SSLEAY" /I "../../openssl-0.9.7d/inc32" /I "../../openssl-0.9.7d/inc32/openssl" /I "."
/I "../include" /nologo /W3 /GX /D "WIN32" /D "VC6" /D "_MBCS" /D "_LIB" /YX /FD /c /D "MSDOS" /Fo".\release-ssl-dll\file.obj" .
\file.c
file.c
cl.exe /MD /O2 /D "NDEBUG" /D "USE_SSLEAY" /I "../../openssl-0.9.7d/inc32" /I "../../openssl-0.9.7d/inc32/openssl" /I "."
/I "../include" /nologo /W3 /GX /D "WIN32" /D "VC6" /D "_MBCS" /D "_LIB" /YX /FD /c /D "MSDOS" /Fo".\release-ssl-dll\getinfo.obj"
.\getinfo.c
getinfo.c
cl.exe /MD /O2 /D "NDEBUG" /D "USE_SSLEAY" /I "../../openssl-0.9.7d/inc32" /I "../../openssl-0.9.7d/inc32/openssl" /I "."
/I "../include" /nologo /W3 /GX /D "WIN32" /D "VC6" /D "_MBCS" /D "_LIB" /YX /FD /c /D "MSDOS" /Fo".\release-ssl-dll\version.obj"
.\version.c
version.c
cl.exe /MD /O2 /D "NDEBUG" /D "USE_SSLEAY" /I "../../openssl-0.9.7d/inc32" /I "../../openssl-0.9.7d/inc32/openssl" /I "."
/I "../include" /nologo /W3 /GX /D "WIN32" /D "VC6" /D "_MBCS" /D "_LIB" /YX /FD /c /D "MSDOS" /Fo".\release-ssl-dll\easy.obj" .
\easy.c
easy.c
cl.exe /MD /O2 /D "NDEBUG" /D "USE_SSLEAY" /I "../../openssl-0.9.7d/inc32" /I "../../openssl-0.9.7d/inc32/openssl" /I "."
/I "../include" /nologo /W3 /GX /D "WIN32" /D "VC6" /D "_MBCS" /D "_LIB" /YX /FD /c /D "MSDOS" /Fo".\release-ssl-dll\strequal.obj
" .\strequal.c
strequal.c
cl.exe /MD /O2 /D "NDEBUG" /D "USE_SSLEAY" /I "../../openssl-0.9.7d/inc32" /I "../../openssl-0.9.7d/inc32/openssl" /I "."
/I "../include" /nologo /W3 /GX /D "WIN32" /D "VC6" /D "_MBCS" /D "_LIB" /YX /FD /c /D "MSDOS" /Fo".\release-ssl-dll\strtok.obj"
.\strtok.c
strtok.c
cl.exe /MD /O2 /D "NDEBUG" /D "USE_SSLEAY" /I "../../openssl-0.9.7d/inc32" /I "../../openssl-0.9.7d/inc32/openssl" /I "."
/I "../include" /nologo /W3 /GX /D "WIN32" /D "VC6" /D "_MBCS" /D "_LIB" /YX /FD /c /D "MSDOS" /Fo".\release-ssl-dll\strtoofft.ob
j" .\strtoofft.c
strtoofft.c
cl.exe /MD /O2 /D "NDEBUG" /D "USE_SSLEAY" /I "../../openssl-0.9.7d/inc32" /I "../../openssl-0.9.7d/inc32/openssl" /I "."
/I "../include" /nologo /W3 /GX /D "WIN32" /D "VC6" /D "_MBCS" /D "_LIB" /YX /FD /c /D "MSDOS" /Fo".\release-ssl-dll\connect.obj"
.\connect.c
connect.c
cl.exe /MD /O2 /D "NDEBUG" /D "USE_SSLEAY" /I "../../openssl-0.9.7d/inc32" /I "../../openssl-0.9.7d/inc32/openssl" /I "."
/I "../include" /nologo /W3 /GX /D "WIN32" /D "VC6" /D "_MBCS" /D "_LIB" /YX /FD /c /D "MSDOS" /Fo".\release-ssl-dll\hash.obj" .
\hash.c
hash.c
cl.exe /MD /O2 /D "NDEBUG" /D "USE_SSLEAY" /I "../../openssl-0.9.7d/inc32" /I "../../openssl-0.9.7d/inc32/openssl" /I "."
/I "../include" /nologo /W3 /GX /D "WIN32" /D "VC6" /D "_MBCS" /D "_LIB" /YX /FD /c /D "MSDOS" /Fo".\release-ssl-dll\llist.obj"
.\llist.c
llist.c
cl.exe /MD /O2 /D "NDEBUG" /D "USE_SSLEAY" /I "../../openssl-0.9.7d/inc32" /I "../../openssl-0.9.7d/inc32/openssl" /I "."
/I "../include" /nologo /W3 /GX /D "WIN32" /D "VC6" /D "_MBCS" /D "_LIB" /YX /FD /c /D "MSDOS" /Fo".\release-ssl-dll\share.obj"
.\share.c
share.c
cl.exe /MD /O2 /D "NDEBUG" /D "USE_SSLEAY" /I "../../openssl-0.9.7d/inc32" /I "../../openssl-0.9.7d/inc32/openssl" /I "."
/I "../include" /nologo /W3 /GX /D "WIN32" /D "VC6" /D "_MBCS" /D "_LIB" /YX /FD /c /D "MSDOS" /Fo".\release-ssl-dll\multi.obj"
.\multi.c
multi.c
cl.exe /MD /O2 /D "NDEBUG" /D "USE_SSLEAY" /I "../../openssl-0.9.7d/inc32" /I "../../openssl-0.9.7d/inc32/openssl" /I "."
/I "../include" /nologo /W3 /GX /D "WIN32" /D "VC6" /D "_MBCS" /D "_LIB" /YX /FD /c /D "MSDOS" /Fo".\release-ssl-dll\http_digest.
obj" .\http_digest.c
http_digest.c
cl.exe /MD /O2 /D "NDEBUG" /D "USE_SSLEAY" /I "../../openssl-0.9.7d/inc32" /I "../../openssl-0.9.7d/inc32/openssl" /I "."
/I "../include" /nologo /W3 /GX /D "WIN32" /D "VC6" /D "_MBCS" /D "_LIB" /YX /FD /c /D "MSDOS" /Fo".\release-ssl-dll\http_negotia
te.obj" .\http_negotiate.c
http_negotiate.c
cl.exe /MD /O2 /D "NDEBUG" /D "USE_SSLEAY" /I "../../openssl-0.9.7d/inc32" /I "../../openssl-0.9.7d/inc32/openssl" /I "."
/I "../include" /nologo /W3 /GX /D "WIN32" /D "VC6" /D "_MBCS" /D "_LIB" /YX /FD /c /D "MSDOS" /Fo".\release-ssl-dll\http_ntlm.ob
j" .\http_ntlm.c
http_ntlm.c
cl.exe /MD /O2 /D "NDEBUG" /D "USE_SSLEAY" /I "../../openssl-0.9.7d/inc32" /I "../../openssl-0.9.7d/inc32/openssl" /I "."
/I "../include" /nologo /W3 /GX /D "WIN32" /D "VC6" /D "_MBCS" /D "_LIB" /YX /FD /c /D "MSDOS" /Fo".\release-ssl-dll\md5.obj" .\
md5.c
md5.c
rc /dCURLDEBUG=0 /Fo .\release-ssl-dll\libcurl.res libcurl.rc
link.exe /DLL /def:libcurl.def "/LIBPATH:../../openssl-0.9.7d/out32dll" /out:libcurl.dll /IMPLIB:"libcurl.lib" /nologo ws
2_32.lib winmm.lib libeay32.lib ssleay32.lib .\release-ssl-dll\base64.obj .\release-ssl-dll\cookie.obj .\release-ssl-dll\transfe
r.obj .\release-ssl-dll\escape.obj .\release-ssl-dll\formdata.obj .\release-ssl-dll\ftp.obj .\release-ssl-dll\http.obj .\rele
ase-ssl-dll\http_chunks.obj .\release-ssl-dll\ldap.obj .\release-ssl-dll\dict.obj .\release-ssl-dll\telnet.obj .\release-ssl-d
ll\getdate.obj .\release-ssl-dll\getenv.obj .\release-ssl-dll\inet_pton.obj .\release-ssl-dll\hostip.obj .\release-ssl-dll\if2
ip.obj .\release-ssl-dll\mprintf.obj .\release-ssl-dll\netrc.obj .\release-ssl-dll\progress.obj .\release-ssl-dll\sendf.obj .
\release-ssl-dll\speedcheck.obj .\release-ssl-dll\ssluse.obj .\release-ssl-dll\timeval.obj .\release-ssl-dll\url.obj .\release
-ssl-dll\file.obj .\release-ssl-dll\getinfo.obj .\release-ssl-dll\version.obj .\release-ssl-dll\easy.obj .\release-ssl-dll\str
equal.obj .\release-ssl-dll\strtok.obj .\release-ssl-dll\strtoofft.obj .\release-ssl-dll\connect.obj .\release-ssl-dll\hash.ob
j .\release-ssl-dll\llist.obj .\release-ssl-dll\share.obj .\release-ssl-dll\multi.obj .\release-ssl-dll\http_digest.obj .\rel
ease-ssl-dll\http_negotiate.obj .\release-ssl-dll\http_ntlm.obj .\release-ssl-dll\md5.obj .\release-ssl-dll\libcurl.res
Creating library libcurl.lib and object libcurl.exp
cd ..\src
nmake /f Makefile.vc6
Microsoft (R) Program Maintenance Utility Version 6.00.8168.0
Copyright (C) Microsoft Corp 1988-1998. All rights reserved.
cl.exe /MD /O2 /D "NDEBUG" /I "../lib" /I "../include" /I "../../zlib-1.1.4" /nologo /W3 /GX /D "WIN32" /D "_CONSOLE" /D "
_MBCS" /YX /FD /c /Zm200 /Fo"hugehelpr.obj" hugehelp.c
hugehelp.c
cl.exe /MD /O2 /D "NDEBUG" /I "../lib" /I "../include" /I "../../zlib-1.1.4" /nologo /W3 /GX /D "WIN32" /D "_CONSOLE" /D "
_MBCS" /YX /FD /c /Fo"writeoutr.obj" writeout.c
writeout.c
cl.exe /MD /O2 /D "NDEBUG" /I "../lib" /I "../include" /I "../../zlib-1.1.4" /nologo /W3 /GX /D "WIN32" /D "_CONSOLE" /D "
_MBCS" /YX /FD /c /Fo"urlglobr.obj" urlglob.c
urlglob.c
cl.exe /MD /O2 /D "NDEBUG" /I "../lib" /I "../include" /I "../../zlib-1.1.4" /nologo /W3 /GX /D "WIN32" /D "_CONSOLE" /D "
_MBCS" /YX /FD /c /Fo"getpassr.obj" getpass.c
getpass.c
cl.exe /MD /O2 /D "NDEBUG" /I "../lib" /I "../include" /I "../../zlib-1.1.4" /nologo /W3 /GX /D "WIN32" /D "_CONSOLE" /D "
_MBCS" /YX /FD /c /Fo"homedirr.obj" homedir.c
homedir.c
cl.exe /MD /O2 /D "NDEBUG" /I "../lib" /I "../include" /I "../../zlib-1.1.4" /nologo /W3 /GX /D "WIN32" /D "_CONSOLE" /D "
_MBCS" /YX /FD /c /Fo"mainr.obj" main.c
main.c
rc.exe /dCURLDEBUG=0 /i "../include" /Fo"curlr.res" curl.rc
link.exe /incremental:no /libpath:"../lib" /nologo /libpath:"../../zlib-1.1.4" /out:curl.exe /subsystem:console /machine:I
386 wsock32.lib libcurl.lib winmm.lib zlib.lib hugehelpr.obj writeoutr.obj urlglobr.obj getpassr.obj homedirr.obj mainr.obj
curlr.res
D:\build\curl-7.11.1>
GOOD COMPILE!
>From \docs\INSTALL...
Win32
=====
...
With SSL:
Microsoft command line style
----------------------------
Please read the OpenSSL documentation on how to compile and install
the OpenSSL libraries. The build process of OpenSSL generates the
libeay32.dll and ssleay32.dll files in the out32dll subdirectory in
the OpenSSL home directory. OpenSSL static libraries (libeay32.lib,
ssleay32.lib, RSAglue.lib) are created in the out32 subdirectory.
Run the 'vcvars32.bat' file to get a proper environment. The
vcvars32.bat file is part of the Microsoft development environment and
you may find it in 'C:\Program Files\Microsoft Visual Studio\vc98\bin'
provided that you installed Visual C/C++ 6 in the default directory.
Before running nmake define the OPENSSL_PATH environment variable with
the root/base directory of OpenSSL, for example:
set OPENSSL_PATH=c:\openssl-0.9.7a
lib/Makefile.vc6 depends on zlib (http://www.gzip.org/zlib/) as well.
Please read the zlib documentation on how to compile zlib. Define the
ZLIB_PATH environment variable to the location of zlib.h and zlib.lib,
for example:
set ZLIB_PATH=c:\zlib-1.1.4
Then run 'nmake vc-ssl' or 'nmake vc-ssl-dll' in curl's root
directory. 'nmake vc-ssl' will create a libcurl static and dynamic
libraries in the lib subdirectory, as well as a statically linked
version of curl.exe in the src subdirectory. This statically linked
version is a standalone executable not requiring any DLL at
runtime. This make method requires that you have the static OpenSSL
libraries available in OpenSSL's out32 subdirectory.
'nmake vc-ssl-dll' creates the libcurl dynamic library and
links curl.exe against libcurl and OpenSSL dynamically.
This executable requires libcurl.dll and the OpenSSL DLLs
at runtime.
Strange that \lib\makefile.vc6 makes no mention zlib...
My environment variables...
D:\build\curl-7.11.1>set openssl_path
OPENSSL_PATH=d:\build\openssl-0.9.7d
D:\build\curl-7.11.1>set zllib_path
ZLIB_PATH=d:\build\zlib-1.1.4
D:\build\curl-7.11.1>
Now let's see if it can do compressed... no it cannot.
Ok let's add zlib stuff to \lib\makefile.vc6 ...
It would be better if I figured out how to make it use the environment variable...
...from 7.11.1
CCNODBG = cl.exe /MD /O2 /D "NDEBUG"
CCDEBUG = cl.exe /MDd /Od /Gm /Zi /D "_DEBUG" /GZ
CFLAGSSSL = /D "USE_SSLEAY" /I "$(OPENSSL_PATH)/inc32" /I "$(OPENSSL_PATH)/inc32/openssl"
CFLAGS = /I "." /I "../include" /nologo /W3 /GX /D "WIN32" /D "VC6" /D "_MBCS" /D "_LIB" /YX /FD /c /D "MSDOS"
LNKDLL = link.exe /DLL /def:libcurl.def
LNKLIB = link.exe /lib
LFLAGS = /nologo
# Chris adds next line...
LINKLIBS = ws2_32.lib winmm.lib
SSLLIBS = libeay32.lib ssleay32.lib
# RSAglue.lib was formerly needed in the SSLLIBS
CFGSET = FALSE
Add this
!IFNDEF ZLIB_PATH
ZLIB_PATH = ../../zlib-1.1.4
!ENDIF
Change to this...
CCNODBG = cl.exe /MD /O2 /D "NDEBUG"
CCDEBUG = cl.exe /MDd /Od /Gm /Zi /D "_DEBUG" /GZ
CFLAGSSSL = /D "USE_SSLEAY" /I "$(OPENSSL_PATH)/inc32" /I "$(OPENSSL_PATH)/inc32/openssl"
And eventually I discover I need some defines as well:
#define HAVE_ZLIB_H
#define HAVE_ZLIB
#define HAVE_LIBZ
All three together seem to work...
Originally I put them in \lib\setup.h for no particular reason.
Daniel suggests they should be in the makefile (good idea).
# Chris adds the next macro
CFLAGSZLIB = /D "HAVE_ZLIB_H" /D "HAVE_ZLIB" /D "HAVE_LIBZ"
# Chris adds /I "$(ZLIB_PATH)" to next line
CFLAGS = /I "." /I "../include" /I "$(ZLIB_PATH)" /nologo /W3 /GX /D "WIN32" /D "VC6" /D "_MBCS" /D "_LIB" /YX /FD /c /D "MSDOS"
LNKDLL = link.exe /DLL /def:libcurl.def
LNKLIB = link.exe /lib
LFLAGS = /nologo
# Chris adds zlib.lib to next line as well
# Chris adds next line...
LINKLIBS = ws2_32.lib winmm.lib zlib.lib
SSLLIBS = libeay32.lib ssleay32.lib
# RSAglue.lib was formerly needed in the SSLLIBS
CFGSET = FALSE
The macro for the defines needs to be added here...
######################
# release-ssl-dll
!IF "$(CFG)" == "release-ssl-dll"
TARGET =$(LIB_NAME).dll
DIROBJ =.\$(CFG)
LFLAGSSSL = "/LIBPATH:$(OPENSSL_PATH)/out32dll"
LNK = $(LNKDLL) $(LFLAGSSSL) /out:$(TARGET) /IMPLIB:"$(LIB_NAME).lib"
LINKLIBS = $(LINKLIBS) $(SSLLIBS)
# Chris adds zlib macro $(CFLAGSZLIB)
CC = $(CCNODBG) $(CFLAGSSSL) $(CFLAGSZLIB)
CFGSET = TRUE
RESOURCE = $(DIROBJ)\libcurl.res
!ENDIF
We need an object for zlib...
Add "$(DIROBJ)\content_encoding.obj \" to list of objects...
#######################
#
X_OBJS= \
$(DIROBJ)\base64.obj \
$(DIROBJ)\cookie.obj \
$(DIROBJ)\transfer.obj \
$(DIROBJ)\escape.obj \
$(DIROBJ)\formdata.obj \
$(DIROBJ)\ftp.obj \
$(DIROBJ)\http.obj \
$(DIROBJ)\http_chunks.obj \
$(DIROBJ)\ldap.obj \
$(DIROBJ)\dict.obj \
$(DIROBJ)\telnet.obj \
$(DIROBJ)\getdate.obj \
$(DIROBJ)\getenv.obj \
$(DIROBJ)\inet_pton.obj \
$(DIROBJ)\hostip.obj \
$(DIROBJ)\if2ip.obj \
$(DIROBJ)\mprintf.obj \
$(DIROBJ)\netrc.obj \
$(DIROBJ)\progress.obj \
$(DIROBJ)\sendf.obj \
$(DIROBJ)\speedcheck.obj \
$(DIROBJ)\ssluse.obj \
$(DIROBJ)\timeval.obj \
$(DIROBJ)\url.obj \
$(DIROBJ)\file.obj \
$(DIROBJ)\getinfo.obj \
$(DIROBJ)\version.obj \
$(DIROBJ)\easy.obj \
$(DIROBJ)\strequal.obj \
$(DIROBJ)\strtok.obj \
$(DIROBJ)\strtoofft.obj \
$(DIROBJ)\connect.obj \
$(DIROBJ)\hash.obj \
$(DIROBJ)\llist.obj \
$(DIROBJ)\share.obj \
$(DIROBJ)\multi.obj \
$(DIROBJ)\http_digest.obj \
$(DIROBJ)\http_negotiate.obj \
$(DIROBJ)\http_ntlm.obj \
$(DIROBJ)\md5.obj \
$(DIROBJ)\content_encoding.obj \
$(RESOURCE)
D:\build\curl-7.11.1>nmake -f makefile vc-ssl-dll
Microsoft (R) Program Maintenance Utility Version 6.00.8168.0
Copyright (C) Microsoft Corp 1988-1998. All rights reserved.
cd lib
nmake /f Makefile.vc6 cfg=release-ssl-dll
Microsoft (R) Program Maintenance Utility Version 6.00.8168.0
Copyright (C) Microsoft Corp 1988-1998. All rights reserved.
cl.exe /MD /O2 /D "NDEBUG" /D "USE_SSLEAY" /I "d:\build\openssl-0.9.7d/inc32" /I "d:\build\openssl-0.9.7d/inc32/openssl"
/D "HAVE_ZLIB_H" /D "HAVE_ZLIB" /D "HAVE_LIBZ" /I "." /I "../include" /I "d:\build\zlib-1.1.4" /nologo /W3 /GX /D "WIN32" /D "VC6"
/D "_MBCS" /D "_LIB" /YX /FD /c /D "MSDOS" /Fo".\release-ssl-dll\base64.obj" .\base64.c
base64.c
cl.exe /MD /O2 /D "NDEBUG" /D "USE_SSLEAY" /I "d:\build\openssl-0.9.7d/inc32" /I "d:\build\openssl-0.9.7d/inc32/openssl"
/D "HAVE_ZLIB_H" /D "HAVE_ZLIB" /D "HAVE_LIBZ" /I "." /I "../include" /I "d:\build\zlib-1.1.4" /nologo /W3 /GX /D "WIN32" /D "VC6"
/D "_MBCS" /D "_LIB" /YX /FD /c /D "MSDOS" /Fo".\release-ssl-dll\cookie.obj" .\cookie.c
cookie.c
cl.exe /MD /O2 /D "NDEBUG" /D "USE_SSLEAY" /I "d:\build\openssl-0.9.7d/inc32" /I "d:\build\openssl-0.9.7d/inc32/openssl"
/D "HAVE_ZLIB_H" /D "HAVE_ZLIB" /D "HAVE_LIBZ" /I "." /I "../include" /I "d:\build\zlib-1.1.4" /nologo /W3 /GX /D "WIN32" /D "VC6"
/D "_MBCS" /D "_LIB" /YX /FD /c /D "MSDOS" /Fo".\release-ssl-dll\transfer.obj" .\transfer.c
transfer.c
cl.exe /MD /O2 /D "NDEBUG" /D "USE_SSLEAY" /I "d:\build\openssl-0.9.7d/inc32" /I "d:\build\openssl-0.9.7d/inc32/openssl"
/D "HAVE_ZLIB_H" /D "HAVE_ZLIB" /D "HAVE_LIBZ" /I "." /I "../include" /I "d:\build\zlib-1.1.4" /nologo /W3 /GX /D "WIN32" /D "VC6"
/D "_MBCS" /D "_LIB" /YX /FD /c /D "MSDOS" /Fo".\release-ssl-dll\escape.obj" .\escape.c
escape.c
cl.exe /MD /O2 /D "NDEBUG" /D "USE_SSLEAY" /I "d:\build\openssl-0.9.7d/inc32" /I "d:\build\openssl-0.9.7d/inc32/openssl"
/D "HAVE_ZLIB_H" /D "HAVE_ZLIB" /D "HAVE_LIBZ" /I "." /I "../include" /I "d:\build\zlib-1.1.4" /nologo /W3 /GX /D "WIN32" /D "VC6"
/D "_MBCS" /D "_LIB" /YX /FD /c /D "MSDOS" /Fo".\release-ssl-dll\formdata.obj" .\formdata.c
formdata.c
cl.exe /MD /O2 /D "NDEBUG" /D "USE_SSLEAY" /I "d:\build\openssl-0.9.7d/inc32" /I "d:\build\openssl-0.9.7d/inc32/openssl"
/D "HAVE_ZLIB_H" /D "HAVE_ZLIB" /D "HAVE_LIBZ" /I "." /I "../include" /I "d:\build\zlib-1.1.4" /nologo /W3 /GX /D "WIN32" /D "VC6"
/D "_MBCS" /D "_LIB" /YX /FD /c /D "MSDOS" /Fo".\release-ssl-dll\ftp.obj" .\ftp.c
ftp.c
cl.exe /MD /O2 /D "NDEBUG" /D "USE_SSLEAY" /I "d:\build\openssl-0.9.7d/inc32" /I "d:\build\openssl-0.9.7d/inc32/openssl"
/D "HAVE_ZLIB_H" /D "HAVE_ZLIB" /D "HAVE_LIBZ" /I "." /I "../include" /I "d:\build\zlib-1.1.4" /nologo /W3 /GX /D "WIN32" /D "VC6"
/D "_MBCS" /D "_LIB" /YX /FD /c /D "MSDOS" /Fo".\release-ssl-dll\http.obj" .\http.c
http.c
cl.exe /MD /O2 /D "NDEBUG" /D "USE_SSLEAY" /I "d:\build\openssl-0.9.7d/inc32" /I "d:\build\openssl-0.9.7d/inc32/openssl"
/D "HAVE_ZLIB_H" /D "HAVE_ZLIB" /D "HAVE_LIBZ" /I "." /I "../include" /I "d:\build\zlib-1.1.4" /nologo /W3 /GX /D "WIN32" /D "VC6"
/D "_MBCS" /D "_LIB" /YX /FD /c /D "MSDOS" /Fo".\release-ssl-dll\http_chunks.obj" .\http_chunks.c
http_chunks.c
cl.exe /MD /O2 /D "NDEBUG" /D "USE_SSLEAY" /I "d:\build\openssl-0.9.7d/inc32" /I "d:\build\openssl-0.9.7d/inc32/openssl"
/D "HAVE_ZLIB_H" /D "HAVE_ZLIB" /D "HAVE_LIBZ" /I "." /I "../include" /I "d:\build\zlib-1.1.4" /nologo /W3 /GX /D "WIN32" /D "VC6"
/D "_MBCS" /D "_LIB" /YX /FD /c /D "MSDOS" /Fo".\release-ssl-dll\ldap.obj" .\ldap.c
ldap.c
cl.exe /MD /O2 /D "NDEBUG" /D "USE_SSLEAY" /I "d:\build\openssl-0.9.7d/inc32" /I "d:\build\openssl-0.9.7d/inc32/openssl"
/D "HAVE_ZLIB_H" /D "HAVE_ZLIB" /D "HAVE_LIBZ" /I "." /I "../include" /I "d:\build\zlib-1.1.4" /nologo /W3 /GX /D "WIN32" /D "VC6"
/D "_MBCS" /D "_LIB" /YX /FD /c /D "MSDOS" /Fo".\release-ssl-dll\dict.obj" .\dict.c
dict.c
cl.exe /MD /O2 /D "NDEBUG" /D "USE_SSLEAY" /I "d:\build\openssl-0.9.7d/inc32" /I "d:\build\openssl-0.9.7d/inc32/openssl"
/D "HAVE_ZLIB_H" /D "HAVE_ZLIB" /D "HAVE_LIBZ" /I "." /I "../include" /I "d:\build\zlib-1.1.4" /nologo /W3 /GX /D "WIN32" /D "VC6"
/D "_MBCS" /D "_LIB" /YX /FD /c /D "MSDOS" /Fo".\release-ssl-dll\telnet.obj" .\telnet.c
telnet.c
cl.exe /MD /O2 /D "NDEBUG" /D "USE_SSLEAY" /I "d:\build\openssl-0.9.7d/inc32" /I "d:\build\openssl-0.9.7d/inc32/openssl"
/D "HAVE_ZLIB_H" /D "HAVE_ZLIB" /D "HAVE_LIBZ" /I "." /I "../include" /I "d:\build\zlib-1.1.4" /nologo /W3 /GX /D "WIN32" /D "VC6"
/D "_MBCS" /D "_LIB" /YX /FD /c /D "MSDOS" /Fo".\release-ssl-dll\getdate.obj" .\getdate.c
getdate.c
getdate.y(695) : warning C4028: formal parameter 1 different from declaration
cl.exe /MD /O2 /D "NDEBUG" /D "USE_SSLEAY" /I "d:\build\openssl-0.9.7d/inc32" /I "d:\build\openssl-0.9.7d/inc32/openssl"
/D "HAVE_ZLIB_H" /D "HAVE_ZLIB" /D "HAVE_LIBZ" /I "." /I "../include" /I "d:\build\zlib-1.1.4" /nologo /W3 /GX /D "WIN32" /D "VC6"
/D "_MBCS" /D "_LIB" /YX /FD /c /D "MSDOS" /Fo".\release-ssl-dll\getenv.obj" .\getenv.c
getenv.c
cl.exe /MD /O2 /D "NDEBUG" /D "USE_SSLEAY" /I "d:\build\openssl-0.9.7d/inc32" /I "d:\build\openssl-0.9.7d/inc32/openssl"
/D "HAVE_ZLIB_H" /D "HAVE_ZLIB" /D "HAVE_LIBZ" /I "." /I "../include" /I "d:\build\zlib-1.1.4" /nologo /W3 /GX /D "WIN32" /D "VC6"
/D "_MBCS" /D "_LIB" /YX /FD /c /D "MSDOS" /Fo".\release-ssl-dll\inet_pton.obj" .\inet_pton.c
inet_pton.c
cl.exe /MD /O2 /D "NDEBUG" /D "USE_SSLEAY" /I "d:\build\openssl-0.9.7d/inc32" /I "d:\build\openssl-0.9.7d/inc32/openssl"
/D "HAVE_ZLIB_H" /D "HAVE_ZLIB" /D "HAVE_LIBZ" /I "." /I "../include" /I "d:\build\zlib-1.1.4" /nologo /W3 /GX /D "WIN32" /D "VC6"
/D "_MBCS" /D "_LIB" /YX /FD /c /D "MSDOS" /Fo".\release-ssl-dll\hostip.obj" .\hostip.c
hostip.c
cl.exe /MD /O2 /D "NDEBUG" /D "USE_SSLEAY" /I "d:\build\openssl-0.9.7d/inc32" /I "d:\build\openssl-0.9.7d/inc32/openssl"
/D "HAVE_ZLIB_H" /D "HAVE_ZLIB" /D "HAVE_LIBZ" /I "." /I "../include" /I "d:\build\zlib-1.1.4" /nologo /W3 /GX /D "WIN32" /D "VC6"
/D "_MBCS" /D "_LIB" /YX /FD /c /D "MSDOS" /Fo".\release-ssl-dll\if2ip.obj" .\if2ip.c
if2ip.c
cl.exe /MD /O2 /D "NDEBUG" /D "USE_SSLEAY" /I "d:\build\openssl-0.9.7d/inc32" /I "d:\build\openssl-0.9.7d/inc32/openssl"
/D "HAVE_ZLIB_H" /D "HAVE_ZLIB" /D "HAVE_LIBZ" /I "." /I "../include" /I "d:\build\zlib-1.1.4" /nologo /W3 /GX /D "WIN32" /D "VC6"
/D "_MBCS" /D "_LIB" /YX /FD /c /D "MSDOS" /Fo".\release-ssl-dll\mprintf.obj" .\mprintf.c
mprintf.c
cl.exe /MD /O2 /D "NDEBUG" /D "USE_SSLEAY" /I "d:\build\openssl-0.9.7d/inc32" /I "d:\build\openssl-0.9.7d/inc32/openssl"
/D "HAVE_ZLIB_H" /D "HAVE_ZLIB" /D "HAVE_LIBZ" /I "." /I "../include" /I "d:\build\zlib-1.1.4" /nologo /W3 /GX /D "WIN32" /D "VC6"
/D "_MBCS" /D "_LIB" /YX /FD /c /D "MSDOS" /Fo".\release-ssl-dll\netrc.obj" .\netrc.c
netrc.c
cl.exe /MD /O2 /D "NDEBUG" /D "USE_SSLEAY" /I "d:\build\openssl-0.9.7d/inc32" /I "d:\build\openssl-0.9.7d/inc32/openssl"
/D "HAVE_ZLIB_H" /D "HAVE_ZLIB" /D "HAVE_LIBZ" /I "." /I "../include" /I "d:\build\zlib-1.1.4" /nologo /W3 /GX /D "WIN32" /D "VC6"
/D "_MBCS" /D "_LIB" /YX /FD /c /D "MSDOS" /Fo".\release-ssl-dll\progress.obj" .\progress.c
progress.c
.\progress.c(264) : warning C4244: '=' : conversion from 'double ' to '__int64 ', possible loss of data
.\progress.c(268) : warning C4244: '=' : conversion from 'double ' to '__int64 ', possible loss of data
.\progress.c(314) : warning C4244: '=' : conversion from 'double ' to '__int64 ', possible loss of data
cl.exe /MD /O2 /D "NDEBUG" /D "USE_SSLEAY" /I "d:\build\openssl-0.9.7d/inc32" /I "d:\build\openssl-0.9.7d/inc32/openssl"
/D "HAVE_ZLIB_H" /D "HAVE_ZLIB" /D "HAVE_LIBZ" /I "." /I "../include" /I "d:\build\zlib-1.1.4" /nologo /W3 /GX /D "WIN32" /D "VC6"
/D "_MBCS" /D "_LIB" /YX /FD /c /D "MSDOS" /Fo".\release-ssl-dll\sendf.obj" .\sendf.c
sendf.c
cl.exe /MD /O2 /D "NDEBUG" /D "USE_SSLEAY" /I "d:\build\openssl-0.9.7d/inc32" /I "d:\build\openssl-0.9.7d/inc32/openssl"
/D "HAVE_ZLIB_H" /D "HAVE_ZLIB" /D "HAVE_LIBZ" /I "." /I "../include" /I "d:\build\zlib-1.1.4" /nologo /W3 /GX /D "WIN32" /D "VC6"
/D "_MBCS" /D "_LIB" /YX /FD /c /D "MSDOS" /Fo".\release-ssl-dll\speedcheck.obj" .\speedcheck.c
speedcheck.c
cl.exe /MD /O2 /D "NDEBUG" /D "USE_SSLEAY" /I "d:\build\openssl-0.9.7d/inc32" /I "d:\build\openssl-0.9.7d/inc32/openssl"
/D "HAVE_ZLIB_H" /D "HAVE_ZLIB" /D "HAVE_LIBZ" /I "." /I "../include" /I "d:\build\zlib-1.1.4" /nologo /W3 /GX /D "WIN32" /D "VC6"
/D "_MBCS" /D "_LIB" /YX /FD /c /D "MSDOS" /Fo".\release-ssl-dll\ssluse.obj" .\ssluse.c
ssluse.c
cl.exe /MD /O2 /D "NDEBUG" /D "USE_SSLEAY" /I "d:\build\openssl-0.9.7d/inc32" /I "d:\build\openssl-0.9.7d/inc32/openssl"
/D "HAVE_ZLIB_H" /D "HAVE_ZLIB" /D "HAVE_LIBZ" /I "." /I "../include" /I "d:\build\zlib-1.1.4" /nologo /W3 /GX /D "WIN32" /D "VC6"
/D "_MBCS" /D "_LIB" /YX /FD /c /D "MSDOS" /Fo".\release-ssl-dll\timeval.obj" .\timeval.c
timeval.c
cl.exe /MD /O2 /D "NDEBUG" /D "USE_SSLEAY" /I "d:\build\openssl-0.9.7d/inc32" /I "d:\build\openssl-0.9.7d/inc32/openssl"
/D "HAVE_ZLIB_H" /D "HAVE_ZLIB" /D "HAVE_LIBZ" /I "." /I "../include" /I "d:\build\zlib-1.1.4" /nologo /W3 /GX /D "WIN32" /D "VC6"
/D "_MBCS" /D "_LIB" /YX /FD /c /D "MSDOS" /Fo".\release-ssl-dll\url.obj" .\url.c
url.c
cl.exe /MD /O2 /D "NDEBUG" /D "USE_SSLEAY" /I "d:\build\openssl-0.9.7d/inc32" /I "d:\build\openssl-0.9.7d/inc32/openssl"
/D "HAVE_ZLIB_H" /D "HAVE_ZLIB" /D "HAVE_LIBZ" /I "." /I "../include" /I "d:\build\zlib-1.1.4" /nologo /W3 /GX /D "WIN32" /D "VC6"
/D "_MBCS" /D "_LIB" /YX /FD /c /D "MSDOS" /Fo".\release-ssl-dll\file.obj" .\file.c
file.c
cl.exe /MD /O2 /D "NDEBUG" /D "USE_SSLEAY" /I "d:\build\openssl-0.9.7d/inc32" /I "d:\build\openssl-0.9.7d/inc32/openssl"
/D "HAVE_ZLIB_H" /D "HAVE_ZLIB" /D "HAVE_LIBZ" /I "." /I "../include" /I "d:\build\zlib-1.1.4" /nologo /W3 /GX /D "WIN32" /D "VC6"
/D "_MBCS" /D "_LIB" /YX /FD /c /D "MSDOS" /Fo".\release-ssl-dll\getinfo.obj" .\getinfo.c
getinfo.c
cl.exe /MD /O2 /D "NDEBUG" /D "USE_SSLEAY" /I "d:\build\openssl-0.9.7d/inc32" /I "d:\build\openssl-0.9.7d/inc32/openssl"
/D "HAVE_ZLIB_H" /D "HAVE_ZLIB" /D "HAVE_LIBZ" /I "." /I "../include" /I "d:\build\zlib-1.1.4" /nologo /W3 /GX /D "WIN32" /D "VC6"
/D "_MBCS" /D "_LIB" /YX /FD /c /D "MSDOS" /Fo".\release-ssl-dll\version.obj" .\version.c
version.c
cl.exe /MD /O2 /D "NDEBUG" /D "USE_SSLEAY" /I "d:\build\openssl-0.9.7d/inc32" /I "d:\build\openssl-0.9.7d/inc32/openssl"
/D "HAVE_ZLIB_H" /D "HAVE_ZLIB" /D "HAVE_LIBZ" /I "." /I "../include" /I "d:\build\zlib-1.1.4" /nologo /W3 /GX /D "WIN32" /D "VC6"
/D "_MBCS" /D "_LIB" /YX /FD /c /D "MSDOS" /Fo".\release-ssl-dll\easy.obj" .\easy.c
easy.c
cl.exe /MD /O2 /D "NDEBUG" /D "USE_SSLEAY" /I "d:\build\openssl-0.9.7d/inc32" /I "d:\build\openssl-0.9.7d/inc32/openssl"
/D "HAVE_ZLIB_H" /D "HAVE_ZLIB" /D "HAVE_LIBZ" /I "." /I "../include" /I "d:\build\zlib-1.1.4" /nologo /W3 /GX /D "WIN32" /D "VC6"
/D "_MBCS" /D "_LIB" /YX /FD /c /D "MSDOS" /Fo".\release-ssl-dll\strequal.obj" .\strequal.c
strequal.c
cl.exe /MD /O2 /D "NDEBUG" /D "USE_SSLEAY" /I "d:\build\openssl-0.9.7d/inc32" /I "d:\build\openssl-0.9.7d/inc32/openssl"
/D "HAVE_ZLIB_H" /D "HAVE_ZLIB" /D "HAVE_LIBZ" /I "." /I "../include" /I "d:\build\zlib-1.1.4" /nologo /W3 /GX /D "WIN32" /D "VC6"
/D "_MBCS" /D "_LIB" /YX /FD /c /D "MSDOS" /Fo".\release-ssl-dll\strtok.obj" .\strtok.c
strtok.c
cl.exe /MD /O2 /D "NDEBUG" /D "USE_SSLEAY" /I "d:\build\openssl-0.9.7d/inc32" /I "d:\build\openssl-0.9.7d/inc32/openssl"
/D "HAVE_ZLIB_H" /D "HAVE_ZLIB" /D "HAVE_LIBZ" /I "." /I "../include" /I "d:\build\zlib-1.1.4" /nologo /W3 /GX /D "WIN32" /D "VC6"
/D "_MBCS" /D "_LIB" /YX /FD /c /D "MSDOS" /Fo".\release-ssl-dll\strtoofft.obj" .\strtoofft.c
strtoofft.c
cl.exe /MD /O2 /D "NDEBUG" /D "USE_SSLEAY" /I "d:\build\openssl-0.9.7d/inc32" /I "d:\build\openssl-0.9.7d/inc32/openssl"
/D "HAVE_ZLIB_H" /D "HAVE_ZLIB" /D "HAVE_LIBZ" /I "." /I "../include" /I "d:\build\zlib-1.1.4" /nologo /W3 /GX /D "WIN32" /D "VC6"
/D "_MBCS" /D "_LIB" /YX /FD /c /D "MSDOS" /Fo".\release-ssl-dll\connect.obj" .\connect.c
connect.c
cl.exe /MD /O2 /D "NDEBUG" /D "USE_SSLEAY" /I "d:\build\openssl-0.9.7d/inc32" /I "d:\build\openssl-0.9.7d/inc32/openssl"
/D "HAVE_ZLIB_H" /D "HAVE_ZLIB" /D "HAVE_LIBZ" /I "." /I "../include" /I "d:\build\zlib-1.1.4" /nologo /W3 /GX /D "WIN32" /D "VC6"
/D "_MBCS" /D "_LIB" /YX /FD /c /D "MSDOS" /Fo".\release-ssl-dll\hash.obj" .\hash.c
hash.c
cl.exe /MD /O2 /D "NDEBUG" /D "USE_SSLEAY" /I "d:\build\openssl-0.9.7d/inc32" /I "d:\build\openssl-0.9.7d/inc32/openssl"
/D "HAVE_ZLIB_H" /D "HAVE_ZLIB" /D "HAVE_LIBZ" /I "." /I "../include" /I "d:\build\zlib-1.1.4" /nologo /W3 /GX /D "WIN32" /D "VC6"
/D "_MBCS" /D "_LIB" /YX /FD /c /D "MSDOS" /Fo".\release-ssl-dll\llist.obj" .\llist.c
llist.c
cl.exe /MD /O2 /D "NDEBUG" /D "USE_SSLEAY" /I "d:\build\openssl-0.9.7d/inc32" /I "d:\build\openssl-0.9.7d/inc32/openssl"
/D "HAVE_ZLIB_H" /D "HAVE_ZLIB" /D "HAVE_LIBZ" /I "." /I "../include" /I "d:\build\zlib-1.1.4" /nologo /W3 /GX /D "WIN32" /D "VC6"
/D "_MBCS" /D "_LIB" /YX /FD /c /D "MSDOS" /Fo".\release-ssl-dll\share.obj" .\share.c
share.c
cl.exe /MD /O2 /D "NDEBUG" /D "USE_SSLEAY" /I "d:\build\openssl-0.9.7d/inc32" /I "d:\build\openssl-0.9.7d/inc32/openssl"
/D "HAVE_ZLIB_H" /D "HAVE_ZLIB" /D "HAVE_LIBZ" /I "." /I "../include" /I "d:\build\zlib-1.1.4" /nologo /W3 /GX /D "WIN32" /D "VC6"
/D "_MBCS" /D "_LIB" /YX /FD /c /D "MSDOS" /Fo".\release-ssl-dll\multi.obj" .\multi.c
multi.c
cl.exe /MD /O2 /D "NDEBUG" /D "USE_SSLEAY" /I "d:\build\openssl-0.9.7d/inc32" /I "d:\build\openssl-0.9.7d/inc32/openssl"
/D "HAVE_ZLIB_H" /D "HAVE_ZLIB" /D "HAVE_LIBZ" /I "." /I "../include" /I "d:\build\zlib-1.1.4" /nologo /W3 /GX /D "WIN32" /D "VC6"
/D "_MBCS" /D "_LIB" /YX /FD /c /D "MSDOS" /Fo".\release-ssl-dll\http_digest.obj" .\http_digest.c
http_digest.c
cl.exe /MD /O2 /D "NDEBUG" /D "USE_SSLEAY" /I "d:\build\openssl-0.9.7d/inc32" /I "d:\build\openssl-0.9.7d/inc32/openssl"
/D "HAVE_ZLIB_H" /D "HAVE_ZLIB" /D "HAVE_LIBZ" /I "." /I "../include" /I "d:\build\zlib-1.1.4" /nologo /W3 /GX /D "WIN32" /D "VC6"
/D "_MBCS" /D "_LIB" /YX /FD /c /D "MSDOS" /Fo".\release-ssl-dll\http_negotiate.obj" .\http_negotiate.c
http_negotiate.c
cl.exe /MD /O2 /D "NDEBUG" /D "USE_SSLEAY" /I "d:\build\openssl-0.9.7d/inc32" /I "d:\build\openssl-0.9.7d/inc32/openssl"
/D "HAVE_ZLIB_H" /D "HAVE_ZLIB" /D "HAVE_LIBZ" /I "." /I "../include" /I "d:\build\zlib-1.1.4" /nologo /W3 /GX /D "WIN32" /D "VC6"
/D "_MBCS" /D "_LIB" /YX /FD /c /D "MSDOS" /Fo".\release-ssl-dll\http_ntlm.obj" .\http_ntlm.c
http_ntlm.c
cl.exe /MD /O2 /D "NDEBUG" /D "USE_SSLEAY" /I "d:\build\openssl-0.9.7d/inc32" /I "d:\build\openssl-0.9.7d/inc32/openssl"
/D "HAVE_ZLIB_H" /D "HAVE_ZLIB" /D "HAVE_LIBZ" /I "." /I "../include" /I "d:\build\zlib-1.1.4" /nologo /W3 /GX /D "WIN32" /D "VC6"
/D "_MBCS" /D "_LIB" /YX /FD /c /D "MSDOS" /Fo".\release-ssl-dll\md5.obj" .\md5.c
md5.c
cl.exe /MD /O2 /D "NDEBUG" /D "USE_SSLEAY" /I "d:\build\openssl-0.9.7d/inc32" /I "d:\build\openssl-0.9.7d/inc32/openssl"
/D "HAVE_ZLIB_H" /D "HAVE_ZLIB" /D "HAVE_LIBZ" /I "." /I "../include" /I "d:\build\zlib-1.1.4" /nologo /W3 /GX /D "WIN32" /D "VC6"
/D "_MBCS" /D "_LIB" /YX /FD /c /D "MSDOS" /Fo".\release-ssl-dll\content_encoding.obj" .\content_encoding.c
content_encoding.c
rc /dCURLDEBUG=0 /Fo .\release-ssl-dll\libcurl.res libcurl.rc
link.exe /DLL /def:libcurl.def "/LIBPATH:d:\build\openssl-0.9.7d/out32dll" /out:libcurl.dll /IMPLIB:"libcurl.lib" /nologo
wsock32.lib libcurl.lib winmm.lib zlib.lib libeay32.lib ssleay32.lib .\release-ssl-dll\base64.obj .\release-ssl-dll\cookie.obj
.\release-ssl-dll\transfer.obj .\release-ssl-dll\escape.obj .\release-ssl-dll\formdata.obj .\release-ssl-dll\ftp.obj .\release
-ssl-dll\http.obj .\release-ssl-dll\http_chunks.obj .\release-ssl-dll\ldap.obj .\release-ssl-dll\dict.obj .\release-ssl-dll\te
lnet.obj .\release-ssl-dll\getdate.obj .\release-ssl-dll\getenv.obj .\release-ssl-dll\inet_pton.obj .\release-ssl-dll\hostip.o
bj .\release-ssl-dll\if2ip.obj .\release-ssl-dll\mprintf.obj .\release-ssl-dll\netrc.obj .\release-ssl-dll\progress.obj .\rel
ease-ssl-dll\sendf.obj .\release-ssl-dll\speedcheck.obj .\release-ssl-dll\ssluse.obj .\release-ssl-dll\timeval.obj .\release-s
sl-dll\url.obj .\release-ssl-dll\file.obj .\release-ssl-dll\getinfo.obj .\release-ssl-dll\version.obj .\release-ssl-dll\easy.o
bj .\release-ssl-dll\strequal.obj .\release-ssl-dll\strtok.obj .\release-ssl-dll\strtoofft.obj .\release-ssl-dll\connect.obj
.\release-ssl-dll\hash.obj .\release-ssl-dll\llist.obj .\release-ssl-dll\share.obj .\release-ssl-dll\multi.obj .\release-ssl-d
ll\http_digest.obj .\release-ssl-dll\http_negotiate.obj .\release-ssl-dll\http_ntlm.obj .\release-ssl-dll\md5.obj .\release-ss
l-dll\content_encoding.obj .\release-ssl-dll\libcurl.res
Creating library libcurl.lib and object libcurl.exp
LINK : warning LNK4098: defaultlib "LIBC" conflicts with use of other libs; use /NODEFAULTLIB:library
cd ..\src
nmake /f Makefile.vc6
Microsoft (R) Program Maintenance Utility Version 6.00.8168.0
Copyright (C) Microsoft Corp 1988-1998. All rights reserved.
cl.exe /MD /O2 /D "NDEBUG" /I "../lib" /I "../include" /I "d:\build\zlib-1.1.4" /nologo /W3 /GX /D "WIN32" /D "_CONSOLE" /
D "_MBCS" /YX /FD /c /Zm200 /Fo"hugehelpr.obj" hugehelp.c
hugehelp.c
cl.exe /MD /O2 /D "NDEBUG" /I "../lib" /I "../include" /I "d:\build\zlib-1.1.4" /nologo /W3 /GX /D "WIN32" /D "_CONSOLE" /
D "_MBCS" /YX /FD /c /Fo"writeoutr.obj" writeout.c
writeout.c
cl.exe /MD /O2 /D "NDEBUG" /I "../lib" /I "../include" /I "d:\build\zlib-1.1.4" /nologo /W3 /GX /D "WIN32" /D "_CONSOLE" /
D "_MBCS" /YX /FD /c /Fo"urlglobr.obj" urlglob.c
urlglob.c
cl.exe /MD /O2 /D "NDEBUG" /I "../lib" /I "../include" /I "d:\build\zlib-1.1.4" /nologo /W3 /GX /D "WIN32" /D "_CONSOLE" /
D "_MBCS" /YX /FD /c /Fo"getpassr.obj" getpass.c
getpass.c
cl.exe /MD /O2 /D "NDEBUG" /I "../lib" /I "../include" /I "d:\build\zlib-1.1.4" /nologo /W3 /GX /D "WIN32" /D "_CONSOLE" /
D "_MBCS" /YX /FD /c /Fo"homedirr.obj" homedir.c
homedir.c
cl.exe /MD /O2 /D "NDEBUG" /I "../lib" /I "../include" /I "d:\build\zlib-1.1.4" /nologo /W3 /GX /D "WIN32" /D "_CONSOLE" /
D "_MBCS" /YX /FD /c /Fo"mainr.obj" main.c
main.c
rc.exe /dCURLDEBUG=0 /i "../include" /Fo"curlr.res" curl.rc
link.exe /incremental:no /libpath:"../lib" /nologo /libpath:"d:\build\zlib-1.1.4" /out:curl.exe /subsystem:console /machin
e:I386 wsock32.lib libcurl.lib winmm.lib zlib.lib hugehelpr.obj writeoutr.obj urlglobr.obj getpassr.obj homedirr.obj mainr.ob
j curlr.res
D:\build\curl-7.11.1>
After a good compile I try compressed and it works.
But there is a LINK warning...
LINK : warning LNK4098: defaultlib "LIBC" conflicts with use of other libs; use /NODEFAULTLIB:library
Add /NODEFAULTLIB:LIBC to LFLAGS macro...
#############################################################
## Nothing more to do below this line!
CCNODBG = cl.exe /MD /O2 /D "NDEBUG"
CCDEBUG = cl.exe /MDd /Od /Gm /Zi /D "_DEBUG" /GZ
CFLAGSSSL = /D "USE_SSLEAY" /I "$(OPENSSL_PATH)/inc32" /I "$(OPENSSL_PATH)/inc32/openssl"
CFLAGSZLIB = /D "HAVE_ZLIB_H" /D "HAVE_ZLIB" /D "HAVE_LIBZ"
CFLAGS = /I "." /I "../include" /I "$(ZLIB_PATH)" /nologo /W3 /GX /D "WIN32" /D "VC6" /D "_MBCS" /D "_LIB" /YX /FD /c /D "MSDOS"
LNKDLL = link.exe /DLL /def:libcurl.def
LNKLIB = link.exe /lib
# Chris added /NODEFAULTLIB:LIBC to next line
LFLAGS = /nologo /NODEFAULTLIB:LIBC
LINKLIBS = wsock32.lib libcurl.lib winmm.lib zlib.lib
SSLLIBS = libeay32.lib ssleay32.lib
# RSAglue.lib was formerly needed in the SSLLIBS
CFGSET = FALSE
After recompile I get a clean compile and link.
;
; Definition file for the DLL version of the LIBCURL library from curl
;
LIBRARY LIBCURL
DESCRIPTION 'curl libcurl - http://curl.haxx.se'
EXPORTS
curl_easy_cleanup @ 1 ;
curl_easy_getinfo @ 2 ;
curl_easy_init @ 3 ;
curl_easy_perform @ 4 ;
curl_easy_setopt @ 5 ;
curl_escape @ 6 ;
curl_unescape @ 7;
curl_formparse @ 8 ;
curl_formfree @ 9 ;
curl_getdate @ 10 ;
curl_getenv @ 11 ;
curl_global_cleanup @ 12 ;
curl_global_init @ 13 ;
curl_slist_append @ 14 ;
curl_slist_free_all @ 15 ;
curl_version @ 16 ;
curl_maprintf @ 17 ;
curl_mfprintf @ 18 ;
curl_mprintf @ 19 ;
curl_msprintf @ 20 ;
curl_msnprintf @ 21 ;
curl_mvfprintf @ 22 ;
curl_strequal @ 23 ;
curl_strnequal @ 24 ;
curl_easy_duphandle @ 25 ;
curl_formadd @ 26 ;
curl_multi_init @ 27;
curl_multi_add_handle @ 28;
curl_multi_remove_handle @ 29;
curl_multi_fdset @ 30;
curl_multi_perform @ 31;
curl_multi_cleanup @ 32;
curl_multi_info_read @ 33;
curl_free @ 34;
curl_version_info @ 35;
curl_share_init @ 36;
curl_share_setopt @ 37;
curl_share_cleanup @ 38;
; Chris adds the next line...
curlx_strtoll @ 39;
- text/x-c-header attachment: version.h__charset_ANSI_X3.4-1968
- text/x-makefile attachment: Makefile.vc6__charset_ANSI_X3.4-1968