On Thu, Jun 24, 2010, 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. >
The problem is you have a program called "mt" which looks like a magtape utility which is being called instead of the VC++ utility "mt" which is a manifest tool. This is down to a PATH issue and the magtape utility's directory appearing before the VC++ one. Steve. -- Dr Stephen N. Henson. OpenSSL project core developer. Commercial tech support now available see: http://www.openssl.org ______________________________________________________________________ OpenSSL Project http://www.openssl.org User Support Mailing List openssl-users@openssl.org Automated List Manager majord...@openssl.org