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

2007/10/13, Chris Clark <[EMAIL PROTECTED]>:
> I downloaded NASM (nasm-0.99.04-win32.zip) from Soundforge,
> and gave it a try, and when I run "ms\do_nasm" it is all sucessful
> but now I get a different error when running "nmake -f ms\ntdll.mak":
>
> Microsoft (R) Program Maintenance Utility   Version 6.00.9782.0
> Copyright (C) Microsoft Corp 1988-1998. All rights reserved.
>
> Building OpenSSL
>         perl util/copy.pl .\crypto\buildinf.h tmp32dll\buildinf.h
> Copying: ./crypto/buildinf.h to tmp32dll/buildinf.h
>         perl util/copy.pl .\crypto\opensslconf.h inc32\openssl\opensslconf.h
> Copying: ./crypto/opensslconf.h to inc32/openssl/opensslconf.h
>         nasmw -f win32 -o crypto\cpu_win32.obj .\crypto\cpu_win32.asm
> 'nasmw' is not recognized as an internal or external command,
> operable program or batch file.
> NMAKE : fatal error U1077: 'nasmw' : return code '0x1'
> Stop.
>
> I do not have NASMW, as the only files included in nasm-0.99.04-win32.zip are:
>
> COPYING
> nasm.exe
> ndisasm.exe
>
> Can anyone tell me what I am doing wrong?
>
> -Chris
> ______________________________________________________________________
> OpenSSL Project                                 http://www.openssl.org
> User Support Mailing List                    openssl-users@openssl.org
> Automated List Manager                           [EMAIL PROTECTED]
>


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

Reply via email to