curl-users
compiling CURL with SSL on windows2000
Date: Thu, 22 Aug 2002 14:55:50 +0200
Hi
I got an issue compiling curl on windows2000.
I have openssl 0.9.6g and curl 7.9.8
I had no issue compiling without SSL. (with the dsw file)
Does anyone know what 'timeval.obj : error LNK2001: unresolved external
symbol __imp__timeGetTime_at_0'
means?
thx Damien
C:\download\dev\C++\curl-7.9.8.tar\curl-7.9.8>"C:\Program
Files\Microsoft
Visual Studio\vc98\bin\nmake" vc-ssl
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
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 cfg=release-ssl
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 "../include" /nologo /W3 /GX /D
"WIN32" /D
"_CONSOLE" /D "_MBCS" /YX /FD /c /Zm200 hugehelp.c
hugehelp.c
cl.exe /MD /O2 /D "NDEBUG" /I "../include" /nologo /W3 /GX /D
"WIN32" /D
"_CONSOLE" /D "_MBCS" /YX /FD /c writeout.c
writeout.c
cl.exe /MD /O2 /D "NDEBUG" /I "../include" /nologo /W3 /GX /D
"WIN32" /D
"_CONSOLE" /D "_MBCS" /YX /FD /c urlglob.c
urlglob.c
cl.exe /MD /O2 /D "NDEBUG" /I "../include" /nologo /W3 /GX /D
"WIN32" /D
"_CONSOLE" /D "_MBCS" /YX /FD /c main.c
main.c
main.c(1890) : warning C4244: 'initializing' : conversion from 'double '
to 'uns
igned int ', possible loss of data
main.c(1897) : warning C4244: 'initializing' : conversion from 'double '
to 'int
', possible loss of data
main.c(1898) : warning C4244: 'initializing' : conversion from 'double '
to 'int
', possible loss of data
link.exe /incremental:no /libpath:"../lib" /nologo /out:curl.exe
/subsys
tem:console /machine:I386 /LIBPATH:"c:\openssl/out32" ws2_32.lib
libcurl.lib lib
eay32.lib ssleay32.lib RSAglue.lib gdi32.lib hugehelp.obj writeout.obj
urlglob
.obj main.obj
C:\download\dev\C++\curl-7.9.8.tar\curl-7.9.8>"C:\Program
Files\Microsoft
Visual Studio\vc98\bin\nmake" 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:c:\openssl/out32dll"
/out:libc
url.dll /IMPLIB:"libcurl.lib" /nologo ws2_32.lib libeay32.lib
ssleay32.lib RSAgl
ue.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_c
hunks.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\getpass.obj .\release-ssl-dll\hostip.obj
.\release-ssl-dll\if2
ip.obj .\release-ssl-dll\mprintf.obj .\release-ssl-dll\netrc.obj
.\release-ss
l-dll\progress.obj .\release-ssl-dll\sendf.obj
.\release-ssl-dll\speedcheck.ob
j .\release-ssl-dll\ssluse.obj .\release-ssl-dll\timeval.obj
.\release-ssl-dl
l\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\strequal.obj
.\release-ssl-dll\strtok.obj .\release-ssl-dll\connect.obj
.\release-ssl-dll\
hash.obj .\release-ssl-dll\llist.obj .\release-ssl-dll\multi.obj
Creating library libcurl.lib and object libcurl.exp
timeval.obj : error LNK2001: unresolved external symbol
__imp__timeGetTime_at_0
libcurl.dll : fatal error LNK1120: 1 unresolved externals
NMAKE : fatal error U1077: 'link.exe' : return code '0x460'
Stop.
NMAKE : fatal error U1077: '"C:\Program Files\Microsoft Visual
Studio\vc98\bin\N
MAKE.EXE"' : return code '0x2'
Stop.
-------------------------------------------------------
This sf.net email is sponsored by: OSDN - Tired of that same old
cell phone? Get a new here for FREE!
https://www.inphonic.com/r.asp?r
Received on 2002-08-22