cURL / Mailing Lists / curl-users / Single Mail

curl-users

curl and perl under windows

From: Stadler Stephan <stephan.stadler_at_pdts.at>
Date: Tue, 29 Jul 2003 10:35:22 +0200

hi

i have installed openssl-0.9.7b successfully under windows
then i have installed curl with : nmake -f makefile.vc6 CFG="release-ssl-dll"
i have build all necessaries libraries.

then i tried to install www-curl with : perl Makefile.PL c:/curl-7.10.5/include
then : nmake

but i get follow screen output:

Microsoft (R) Program Maintenance Utility Version 6.00.8168.0
Copyright (C) Microsoft Corp 1988-1998. All rights reserved.

Skip blib\lib\WWW/Curl/form.pm (unchanged)
Skip blib\lib\WWW/Curl/easy.pm (unchanged)
Skip blib\lib\Curl/easy.pm (unchanged)
Skip blib\lib\WWW/Curl.pm (unchanged)
        cl -c -Ic:/curl-7.10.5/include -nologo -Gf -W3 -MD -Zi -DNDEBUG -O1 -D
WIN32 -D_CONSOLE -DNO_STRICT -DHAVE_DES_FCRYPT -DPERL_IMPLICIT_CONTEXT -DPERL_IM
PLICIT_SYS -DUSE_PERLIO -DPERL_MSVCRT_READFIX -MD -Zi -DNDEBUG -O1 -DVERSION=
\"2.0\" -DXS_VERSION=\"2.0\" "-IC:\Perl\lib\CORE" -DHAVE_INTERNAL_VARS Curl.c

Curl.c
Curl.xs(218) : warning C4101: 'sv' : unreferenced local variable
Curl.xs(424) : warning C4018: '<' : signed/unsigned mismatch
"Running Mkbootstrap for WWW::Curl ()"
        C:\Perl\bin\perl.exe -MExtUtils::Command -e chmod 644 Curl.bs
        link -out:blib\arch\auto\WWW\Curl\Curl.dll -dll -nologo -nodefaultlib -d
ebug -opt:ref,icf -libpath:"C:\Perl\lib\CORE" -machine:x86 Curl.obj C:\Perl\
lib\CORE\perl58.lib "C:\Programme\Microsoft Visual Studio\VC98\lib\oldnames.lib"
 "C:\Programme\Microsoft Visual Studio\VC98\lib\kernel32.lib" "C:\Programme\Micr
osoft Visual Studio\VC98\lib\user32.lib" "C:\Programme\Microsoft Visual Studio\V
C98\lib\gdi32.lib" "C:\Programme\Microsoft Visual Studio\VC98\lib\winspool.lib"
"C:\Programme\Microsoft Visual Studio\VC98\lib\comdlg32.lib" "C:\Programme\Micro
soft Visual Studio\VC98\lib\advapi32.lib" "C:\Programme\Microsoft Visual Studio\
VC98\lib\shell32.lib" "C:\Programme\Microsoft Visual Studio\VC98\lib\ole32.lib"
"C:\Programme\Microsoft Visual Studio\VC98\lib\oleaut32.lib" "C:\Programme\Micro
soft Visual Studio\VC98\lib\netapi32.lib" "C:\Programme\Microsoft Visual Studio\
VC98\lib\uuid.lib" "C:\Programme\Microsoft Visual Studio\VC98\lib\wsock32.lib" "
C:\Programme\Microsoft Visual Studio\VC98\lib\mpr.lib" "C:\Programme\Microsoft V
isual Studio\VC98\lib\winmm.lib" "C:\Programme\Microsoft Visual Studio\VC98\lib\
version.lib" "C:\Programme\Microsoft Visual Studio\VC98\lib\odbc32.lib" "C:\Prog
ramme\Microsoft Visual Studio\VC98\lib\odbccp32.lib" "C:\Programme\Microsoft Vis
ual Studio\VC98\lib\msvcrt.lib" -def:Curl.def
   Creating library blib\arch\auto\WWW\Curl\Curl.lib and object blib\arch\auto\W
WW\Curl\Curl.exp
Curl.obj : error LNK2001: unresolved external symbol _curl_easy_setopt
Curl.obj : error LNK2001: unresolved external symbol _curl_easy_init
Curl.obj : error LNK2001: unresolved external symbol _curl_easy_duphandle
Curl.obj : error LNK2001: unresolved external symbol _curl_version
Curl.obj : error LNK2001: unresolved external symbol _curl_slist_append
Curl.obj : error LNK2001: unresolved external symbol _curl_slist_free_all
Curl.obj : error LNK2001: unresolved external symbol _curl_easy_perform
Curl.obj : error LNK2001: unresolved external symbol _curl_easy_getinfo
Curl.obj : error LNK2001: unresolved external symbol _curl_easy_cleanup
Curl.obj : error LNK2001: unresolved external symbol _curl_global_cleanup
Curl.obj : error LNK2001: unresolved external symbol _curl_formfree
Curl.obj : error LNK2001: unresolved external symbol _curl_global_init
blib\arch\auto\WWW\Curl\Curl.dll : fatal error LNK1120: 12 unresolved externals
NMAKE : fatal error U1077: 'link' : return code '0x460'
Stop.

anyone can help me

-------------------------------------------------------
This SF.Net email sponsored by: Free pre-built ASP.NET sites including
Data Reports, E-commerce, Portals, and Forums are available now.
Download today and enter to win an XBOX or Visual Studio .NET.
http://aspnet.click-url.com/go/psa00100003ave/direct;at.aspnet_072303_01/01
Received on 2003-07-29