curl-users
Re: Windows 2003 x64 with x64 Platform SDK
Date: Fri, 29 Sep 2006 17:09:04 -0400
On 9/22/06, Dona Gibbons <gibboda_at_gmail.com> wrote:
>
> I am trying to compile curl on windows 2003 x64 on an AMD opteron
> platform. using the Platform SDK.
>
> Below is the error message I am getting.
> Thank you for any suggestions.
> DG
>
> Microsoft (R) Program Maintenance Utility Version 8.00.50727.42
> Copyright (C) Microsoft Corporation. All rights reserved.
>
> cd lib
> nmake /f Makefile.vc6 cfg=release
>
> Microsoft (R) Program Maintenance Utility Version 8.00.50727.42
> Copyright (C) Microsoft Corporation. All rights reserved.
>
> cd ..\src
> nmake /f Makefile.vc6
>
> Microsoft (R) Program Maintenance Utility Version 8.00.50727.42
> Copyright (C) Microsoft Corporation. All rights reserved.
>
> link.exe /incremental:no /libpath:"../lib" /nologo /out: curl.exe/subsys
> tem:console /machine:I386 libcurl.lib wsock32.lib winmm.lib hugehelpr.obj
> write
> outr.obj urlglobr.obj getpassr.obj homedirr.obj timevalr.obj
> strtoofftr.obj
> mainr.obj curlr.res
> LINK : fatal error LNK1181: cannot open input file ' wsock32.lib'
> NMAKE : fatal error U1077: '"C:\Program Files\Microsoft Visual Studio
> 8\VC\bin\l
> ink.exe"' : return code '0x49d'
> Stop.
> NMAKE : fatal error U1077: '"C:\Program Files\Microsoft.NET\SDK\v2.0
> 64bit\Bin\n
> make.EXE"' : return code '0x2'
> Stop.
>
What I have done so far to get pass these errors:
in src/setup.h and lib/setup.h (not really sure if it made any difference
yet) --
/* PDSK support for AMD64*/
#if defined(WIN64) || defined(__WIN64__)
#if !defined(_WIN64)
#define _WIN64
#endif
#endif
in src/Makefile.vc6 (I had some compile errors that was stating I had an
AMD6 machine and the compiler target machine was an I386 therefore it
failed.)
#CFLAGS = /I../lib /I../include /nologo /W3 /GX /DWIN32 /YX /FD /c
CFLAGS = /I../lib /I../include /nologo /W3 /DWIN64 /FD /c
#LFLAGS = /nologo /out:$(PROGRAM_NAME) /subsystem:console /machine:I386
LFLAGS = /nologo /out:$(PROGRAM_NAME) /subsystem:console /machine:AMD64
in lib/Makefile.vc6 (some errors with /GX and /YX)
#CFLAGS = /I. /I../include /nologo /W3 /GX /DWIN32 /YX /FD /c
/DBUILDING_LIBCURL
CFLAGS = /I. /I../include /nologo /W3 /DWIN64 /FD /c /DBUILDING_LIBCURL
(need to look for a way to setup a define that would check to see if
architecutor of the processor was equal to AMD64 then use DWIN64 and
machine:AMD64 else use DWIN32 and I386)
Now I am working on trying to fix these errors:
libcurl.lib(md5.obj) : error LNK2001: unresolved external symbol
__security_cookie
libcurl.lib(ftp.obj) : error LNK2001: unresolved external symbol
__security_cookie
libcurl.lib(tftp.obj) : error LNK2001: unresolved external symbol
__security_cookie
libcurl.lib(telnet.obj) : error LNK2001: unresolved external symbol
__security_cookie
libcurl.lib(http_digest.obj) : error LNK2001: unresolved external symbol
__security_cookie
libcurl.lib(cookie.obj) : error LNK2001: unresolved external symbol
__security_cookie
libcurl.lib(connect.obj) : error LNK2001: unresolved external symbol
__security_cookie
libcurl.lib(progress.obj) : error LNK2001: unresolved external symbol
__security_cookie
libcurl.lib(netrc.obj) : error LNK2001: unresolved external symbol
__security_cookie
libcurl.lib(getenv.obj) : error LNK2001: unresolved external symbol
__security_cookie
libcurl.lib(hostip.obj) : error LNK2001: unresolved external symbol
__security_cookie
libcurl.lib(url.obj) : error LNK2001: unresolved external symbol
__security_cookie
libcurl.lib(transfer.obj) : error LNK2019: unresolved external symbol
__security_cookie referenced in function Curl_readwrite
libcurl.lib(mprintf.obj) : error LNK2001: unresolved external symbol
__security_cookie
libcurl.lib(formdata.obj) : error LNK2001: unresolved external symbol
__security_cookie
libcurl.lib(sendf.obj) : error LNK2001: unresolved external symbol
__security_cookie
libcurl.lib(parsedate.obj) : error LNK2001: unresolved external symbol
__security_cookie
urlglobr.obj : error LNK2001: unresolved external symbol __security_cookie
homedirr.obj : error LNK2001: unresolved external symbol __security_cookie
mainr.obj : error LNK2001: unresolved external symbol __security_cookie
libcurl.lib(easy.obj) : error LNK2001: unresolved external symbol
__security_cookie
libcurl.lib(md5.obj) : error LNK2001: unresolved external symbol
__security_check_cookie
libcurl.lib(ftp.obj) : error LNK2019: unresolved external symbol
__security_check_cookie referenced in function Curl_nbftpsendf
libcurl.lib(tftp.obj) : error LNK2001: unresolved external symbol
__security_check_cookie
libcurl.lib(telnet.obj) : error LNK2001: unresolved external symbol
__security_check_cookie
libcurl.lib(http_digest.obj) : error LNK2001: unresolved external symbol
__security_check_cookie
libcurl.lib(cookie.obj) : error LNK2001: unresolved external symbol
__security_check_cookie
libcurl.lib(connect.obj) : error LNK2001: unresolved external symbol
__security_check_cookie
libcurl.lib(progress.obj) : error LNK2001: unresolved external symbol
__security_check_cookie
libcurl.lib(netrc.obj) : error LNK2001: unresolved external symbol
__security_check_cookie
libcurl.lib(getenv.obj) : error LNK2001: unresolved external symbol
__security_check_cookie
libcurl.lib(hostip.obj) : error LNK2001: unresolved external symbol
__security_check_cookie
libcurl.lib(url.obj) : error LNK2001: unresolved external symbol
__security_check_cookie
libcurl.lib(transfer.obj) : error LNK2001: unresolved external symbol
__security_check_cookie
libcurl.lib(mprintf.obj) : error LNK2001: unresolved external symbol
__security_check_cookie
libcurl.lib(formdata.obj) : error LNK2001: unresolved external symbol
__security_check_cookie
libcurl.lib(sendf.obj) : error LNK2001: unresolved external symbol
__security_check_cookie
libcurl.lib(parsedate.obj) : error LNK2001: unresolved external symbol
__security_check_cookie
urlglobr.obj : error LNK2001: unresolved external symbol
__security_check_cookie
homedirr.obj : error LNK2001: unresolved external symbol
__security_check_cookie
mainr.obj : error LNK2001: unresolved external symbol
__security_check_cookie
libcurl.lib(easy.obj) : error LNK2001: unresolved external symbol
__security_check_cookie
curl.exe : fatal error LNK1120: 2 unresolved externals
Received on 2006-09-29