Alex Pokotilo wrote:
> 
> I used following instruction to build the release(I used MSVC 2005 but
> I think it will work with 2003 too).
> 
> 1) Create build.bat with following content:
> 
> @echo off
> rem the following path point to your MSVC 2005 or 2003
> call "E:\Program Files\Microsoft Visual Studio 8\VC\bin\vcvars32.bat"
> 
> IF "%1%" == "build" (
> 
>    if not exist "..\ssl_compile" md ..\ssl_compile
>    perl Configure VC-WIN32 --prefix=..\ssl_compile
>    call "ms\do_ms"
>    copy /y ntdll.mak ms\ntdll.mak
>    nmake -f ms\ntdll.mak
>    exit /B 0
> )
> 
> IF "%1%" == "test" (
>    nmake -f ms\ntdll.mak test
>    exit /B 0
> )
> 
> IF "%1%" == "install" (
>    nmake -f ms\ntdll.mak install
>    exit /B 0
> )
> 
> echo "wrong parameter"
> exit
> 
> 2) change path to Visual studio installation. In my example it is
> "E:\Program Files\Microsoft Visual Studio 8\VC\bin\vcvars32.bat"
> 3) copy build.bat to the release root directory
> 4) start "build.bat build".
> 5) when build failed go to ms directory and copy ntdll.mak to the
> release root directory
> 6) open ntdll.mak(in the root directory) go to 19th line and delete /Wx
> option.
> 7) start "build.bat build" again.
> 
> After successfully build you can run either "build test" or "build
> install"
> 
> Best Regards
> Alex Pokotilo
> 

As well as Chris Clark, I'm trying to compile version 0.9.8f for Windows,
but I'm using VS2005 SP1.
I've done all the steps you've recommended, but I still have some errors
like this

cl /Fotmp32dll\uplink.obj -Iinc32 -Itmp32dll /I "D:\Program Files\Microsoft
Visual Studio 8\VC\include" /I "D:\Program Files\Microsoft Visual Studio
8\VC\PlatformSDK\Include" /MD /Ox /O2 /Ob2 /W3 /Gs0 /GF /Gy /nologo
-DOPENSSL_SYSNAME_WIN32 -DWIN32_LEAN_AND_MEAN -DL_ENDIAN -DDSO_WIN32
-D_CRT_SECURE_NO_DEPRECATE -D_CRT_NONSTDC_NO_DEPRECATE -DOPENSSL_USE_APPLINK
-I. /Fdout32dll -DOPENSSL_NO_CAMELLIA -DOPENSSL_NO_SEED -DOPENSSL_NO_RC5
-DOPENSSL_NO_MDC2 -DOPENSSL_NO_TLSEXT -DOPENSSL_NO_KRB5
-DOPENSSL_NO_DYNAMIC_ENGINE -D_WINDLL  -c ms\uplink.c
uplink.c
D:\Program Files\Microsoft Visual Studio 8\VC\include\crtdefs.h(556) : error
C2485: 'deprecated' : unrecognized extended attribute
D:\Program Files\Microsoft Visual Studio 8\VC\include\string.h(69) : warning
C4003: not enough actual parameters for macro
'__DEFINE_CPP_OVERLOAD_STANDARD_FUNC_0_1_EX'
D:\Program Files\Microsoft Visual Studio 8\VC\include\string.h(69) : error
C2169: '_strset' : intrinsic function, cannot be defined
D:\Program Files\Microsoft Visual Studio 8\VC\include\string.h(69) : error
C2143: syntax error : missing ')' before '*'
D:\Program Files\Microsoft Visual Studio 8\VC\include\string.h(69) : error
C2082: redefinition of formal parameter '_strset_s'
D:\Program Files\Microsoft Visual Studio 8\VC\include\string.h(69) : error
C2143: syntax error : missing ';' before '*'
D:\Program Files\Microsoft Visual Studio 8\VC\include\string.h(69) : error
C2059: syntax error : ')'
ms\uplink.c(44) : error C2063: 'strcpy' : not a function

The total number of errors/warnings is 78.

Could you or somebody else tell me what I should do to fix the flaw?
I hope that my problem is rather simple since I'm beginner at OpenSSL.
-- 
View this message in context: 
http://www.nabble.com/OpenSSL-0.9.8f-Win32-Compile-Error-tf4616108.html#a13382152
Sent from the OpenSSL - User mailing list archive at Nabble.com.

______________________________________________________________________
OpenSSL Project                                 http://www.openssl.org
User Support Mailing List                    openssl-users@openssl.org
Automated List Manager                           [EMAIL PROTECTED]

Reply via email to