Rob, Is there some reason you want to use the no-asm switch. I ran the standard Windows vsvars32.bat, and then used the OpenSSL perl scripts (without the no-asm switch) and everything compiled without any problems in a VC 2008 envrionment (XP SP3).
Carter Carter Browne CBCS cbro...@cbcs-usa.com 781-721-2890 On 6/24/2010 5:04 AM, Deckers, Rob wrote: > Dear All, > > I am trying to build OpenSSL on a Windows XP system. > I have Visual studio 2005 AND 2008 installed. > > For OpenSSL, I downloaded the Microsoft Visual C++ 2008 > Redistributable Package (X86) and the OpenSSL-sources (Jun 1 15:46:21 > 2010 openssl-1.0.0a.tar.gz > <http://www.openssl.org/source/openssl-1.0.0a.tar.gz>) > > As stated in the INSTALL.W32, I installed Perl and build OpenSSL with > the commands: > > perl Configure VC-WIN32 no-asm --prefix=c:\some\openssl\dir > > ms\do_ms > > nmake -f ms\ntdll.mak install > > After setting some include paths, I get a strange error: > C:\OpenSSL-Win32\source>nmake -f ms\ntdll.mak install > > Microsoft (R) Program Maintenance Utility Version 8.00.50727.762 > Copyright (C) Microsoft Corporation. All rights reserved. > > Building OpenSSL > link /nologo /subsystem:console /opt:ref /dll > /out:out32dll\libeay32.dll /def:ms/LIBEAY32.def > @C:\DOCUME~1\qrde\LOCALS~1\Temp\nm888.tmp > Creating library out32dll\libeay32.lib and object out32dll\libeay32.exp > IF EXIST out32dll\libeay32.dll.manifest mt -nologo -manifest > out32dll\libeay32.dll.manifest -outputresource:out32dll\libeay32.dll;2 > mt: Unknown option -n > Usage: mt [-vV] [-[t|f] tapename] command [count] > NMAKE : fatal error U1077: 'IF' : return code '0x2' > Stop. > > The part "mt -nologo" in the line "IF EXIST $...@.manifest > <mailto:$...@.manifest> mt -nologo -manifest $...@.manifest > <mailto:$...@.manifest> -outputresource:$@;2" seems to be wrong, > but it is used many times in the ntdll.mak and I can't imagine that > the code in ntdll.mak is so wrong. > > > > What is here the problem and more important, how can I fix this. > > > > Rob Deckers > > > This message and attachment(s) are intended solely for use by the > addressee and may contain information that is privileged, confidential > or otherwise exempt from disclosure under applicable law. If you are > not the intended recipient or agent thereof responsible for delivering > this message to the intended recipient, you are hereby notified that > any dissemination, distribution or copying of this communication is > strictly prohibited. If you have received this communication in error, > please notify the sender immediately by telephone and with a 'reply' > message. Thank you for your co-operation.