Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

Installation Trouble VC7 Win32

2 views
Skip to first unread message

Chris Rowe

unread,
Feb 17, 2004, 4:05:12 PM2/17/04
to
This is a multi-part message in MIME format.

------=_NextPart_000_0025_01C3F56F.A9F29C10
Content-Type: text/plain;
charset="us-ascii"
Content-Transfer-Encoding: 7bit

OK I am new to openssl and am experiencing difficulty building openssl. I
have followed the install.w32 instructions to the letter, but still no luck
on the nmake step.

Does anyone have a makefile or project/solution file *.sln that simplifies
the build under VS.Net VC7?

These two steps are fine,,,

> perl Configure VC-WIN32

> ms\do_masm

This step is where the "wheels fall off"

> nmake -f ms\ntdll.mak

Here is the output in DOS of what's happening on my machine (running WinXP
Pro, MSVC++6 with latest platform sdk - all paths are set correctly)

Microsoft Windows XP [Version 5.1.2600]

(C) Copyright 1985-2001 Microsoft Corp.

D:\Temp\openssl096i>perl Configure VC-WIN32

Configuring for VC-WIN32

IsWindows=1

CC =cl

CFLAG =-DTHREADS -DDSO_WIN32

EX_LIBS =

BN_ASM =bn_asm.o

DES_ENC =des_enc.o fcrypt_b.o

BF_ENC =bf_enc.o

CAST_ENC =c_enc.o

RC4_ENC =rc4_enc.o

RC5_ENC =rc5_enc.o

MD5_OBJ_ASM =

SHA1_OBJ_ASM =

RMD160_OBJ_ASM=

PROCESSOR =

RANLIB =true

PERL =perl

THIRTY_TWO_BIT mode

BN_LLONG mode

RC4_INDEX mode

RC4_CHUNK is undefined

Configured for VC-WIN32.

The next part seems to be error free as well.

D:\Temp\openssl096i>ms\do_masm

Generating x86 for MASM assember

Bignum

DES

"crypt(3)"

Blowfish

CAST5

RC4

MD5

SHA1

RIPEMD160

RC5\32

D:\Temp\openssl096i>perl util\mkfiles.pl 1>MINFO

D:\Temp\openssl096i>rem perl util\mk1mf.pl VC-MSDOS no-sock >ms\msdos.mak

D:\Temp\openssl096i>rem perl util\mk1mf.pl VC-W31-32 >ms\w31.mak

D:\Temp\openssl096i>perl util\mk1mf.pl dll VC-W31-32 1>ms\w31dll.mak

D:\Temp\openssl096i>perl util\mk1mf.pl VC-WIN32 1>ms\nt.mak

D:\Temp\openssl096i>perl util\mk1mf.pl dll VC-WIN32 1>ms\ntdll.mak

D:\Temp\openssl096i>perl util\mkdef.pl 16 libeay 1>ms\libeay16.def

D:\Temp\openssl096i>perl util\mkdef.pl 32 libeay 1>ms\libeay32.def

D:\Temp\openssl096i>perl util\mkdef.pl 16 ssleay 1>ms\ssleay16.def

D:\Temp\openssl096i>perl util\mkdef.pl 32 ssleay 1>ms\ssleay32.def

Then I am getting the following error on nmake

D:\Temp\openssl096i>nmake -f ms\ntdll.mak > err

Microsoft (R) Program Maintenance Utility Version 7.10.3077

Copyright (C) Microsoft Corporation. All rights reserved.

NMAKE : fatal error U1077: 'cl' : return code '0x2'

Stop.

..

Building OpenSSL

cl /Fotmp32dll\cryptlib.obj -Iinc32 -Itmp32dll /MD /W3 /WX /G5
/Ox /O2 /Ob2 /Gs0 /GF /Gy /nologo -DWIN32 -DWIN32_LEAN_AND_MEAN -DL_ENDIAN
-DDSO_WIN32 -DBN_ASM -DMD5_ASM -DSHA1_ASM -DRMD160_ASM /Fdout32dll /Gd
-D_WINDLL -D_DLL -c D:\Temp\openssl096i\crypto\cryptlib.c

cryptlib.c

D:\Temp\openssl096i\crypto\cryptlib.c(59) : fatal error C1083: Cannot open
include file: 'stdio.h': No such file or directory


------=_NextPart_000_0025_01C3F56F.A9F29C10
Content-Type: text/html;
charset="us-ascii"
Content-Transfer-Encoding: quoted-printable

<html xmlns:o=3D"urn:schemas-microsoft-com:office:office" =
xmlns:w=3D"urn:schemas-microsoft-com:office:word" =
xmlns=3D"http://www.w3.org/TR/REC-html40">

<head>
<meta http-equiv=3DContent-Type content=3D"text/html; =
charset=3Dus-ascii">
<meta name=3DGenerator content=3D"Microsoft Word 11 (filtered medium)">
<style>
<!--
/* Font Definitions */
@font-face
{font-family:Wingdings;
panose-1:5 0 0 0 0 0 0 0 0 0;}
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
{margin:0in;
margin-bottom:.0001pt;
font-size:12.0pt;
font-family:"Times New Roman";}
a:link, span.MsoHyperlink
{color:blue;
text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
{color:purple;
text-decoration:underline;}
span.EmailStyle17
{mso-style-type:personal-compose;
font-family:Arial;
color:windowtext;}
@page Section1
{size:8.5in 11.0in;
margin:1.0in 1.25in 1.0in 1.25in;}
div.Section1
{page:Section1;}
/* List Definitions */
@list l0
{mso-list-id:1592352754;
mso-list-type:hybrid;
mso-list-template-ids:-1869050482 1283327762 67698691 67698693 67698689 =
67698691 67698693 67698689 67698691 67698693;}
@list l0:level1
{mso-level-start-at:0;
mso-level-number-format:bullet;
mso-level-text:\F0D8;
mso-level-tab-stop:21.0pt;
mso-level-number-position:left;
margin-left:21.0pt;
text-indent:-.25in;
font-family:Wingdings;
mso-fareast-font-family:"Times New Roman";
mso-bidi-font-family:Arial;}
ol
{margin-bottom:0in;}
ul
{margin-bottom:0in;}
-->
</style>

</head>

<body lang=3DEN-US link=3Dblue vlink=3Dpurple>

<div class=3DSection1>

<p class=3DMsoNormal><font size=3D2 face=3DArial><span =
style=3D'font-size:10.0pt;
font-family:Arial'>OK I am new to openssl and am experiencing difficulty
building openssl. I have followed the install.w32 instructions to the =
letter,
but still no luck on the nmake step&#8230;<o:p></o:p></span></font></p>

<p class=3DMsoNormal><font size=3D2 face=3DArial><span =
style=3D'font-size:10.0pt;
font-family:Arial'>Does anyone have a makefile or project/solution file =
*.sln
that simplifies the build under VS.Net VC7?<o:p></o:p></span></font></p>

<p class=3DMsoNormal><font size=3D2 face=3DArial><span =
style=3D'font-size:10.0pt;
font-family:Arial'><o:p>&nbsp;</o:p></span></font></p>

<p class=3DMsoNormal><font size=3D2 face=3DArial><span =
style=3D'font-size:10.0pt;
font-family:Arial'>These two steps are =
fine,,,<o:p></o:p></span></font></p>

<p class=3DMsoNormal><font size=3D2 face=3DArial><span =
style=3D'font-size:10.0pt;
font-family:Arial'>&gt; perl Configure =
VC-WIN32<o:p></o:p></span></font></p>

<p class=3DMsoNormal><font size=3D2 face=3DArial><span =
style=3D'font-size:10.0pt;
font-family:Arial'>&gt; ms\do_masm<o:p></o:p></span></font></p>

<p class=3DMsoNormal><font size=3D2 face=3DArial><span =
style=3D'font-size:10.0pt;
font-family:Arial'><o:p>&nbsp;</o:p></span></font></p>

<p class=3DMsoNormal><font size=3D2 face=3DArial><span =
style=3D'font-size:10.0pt;
font-family:Arial'>This step is where the &#8220;wheels fall =
off&#8221;<o:p></o:p></span></font></p>

<p class=3DMsoNormal><font size=3D2 face=3DArial><span =
style=3D'font-size:10.0pt;
font-family:Arial'>&gt; nmake -f =
ms\ntdll.mak<o:p></o:p></span></font></p>

<p class=3DMsoNormal><font size=3D2 face=3DArial><span =
style=3D'font-size:10.0pt;
font-family:Arial'><o:p>&nbsp;</o:p></span></font></p>

<p class=3DMsoNormal><font size=3D2 face=3DArial><span =
style=3D'font-size:10.0pt;
font-family:Arial'><o:p>&nbsp;</o:p></span></font></p>

<p class=3DMsoNormal><font size=3D2 face=3DArial><span =
style=3D'font-size:10.0pt;
font-family:Arial'>Here is the output in DOS of what&#8217;s happening =
on my
machine (running WinXP Pro, MSVC++6 with latest platform sdk &#8211; all =
paths
are set correctly)<o:p></o:p></span></font></p>

<p class=3DMsoNormal><font size=3D2 face=3DArial><span =
style=3D'font-size:10.0pt;
font-family:Arial'><o:p>&nbsp;</o:p></span></font></p>

<p class=3DMsoNormal><font size=3D2 face=3DArial><span =
style=3D'font-size:10.0pt;
font-family:Arial'>Microsoft Windows XP [Version =
5.1.2600]<o:p></o:p></span></font></p>

<p class=3DMsoNormal><font size=3D2 face=3DArial><span =
style=3D'font-size:10.0pt;
font-family:Arial'>(C) Copyright 1985-2001 Microsoft =
Corp.<o:p></o:p></span></font></p>

<p class=3DMsoNormal><font size=3D2 face=3DArial><span =
style=3D'font-size:10.0pt;
font-family:Arial'><o:p>&nbsp;</o:p></span></font></p>

<p class=3DMsoNormal><font size=3D2 face=3DArial><span =
style=3D'font-size:10.0pt;
font-family:Arial'>D:\Temp\openssl096i&gt;perl Configure =
VC-WIN32<o:p></o:p></span></font></p>

<p class=3DMsoNormal><font size=3D2 face=3DArial><span =
style=3D'font-size:10.0pt;
font-family:Arial'>Configuring for VC-WIN32<o:p></o:p></span></font></p>

<p class=3DMsoNormal><font size=3D2 face=3DArial><span =
style=3D'font-size:10.0pt;
font-family:Arial'>IsWindows=3D1<o:p></o:p></span></font></p>

<p class=3DMsoNormal><font size=3D2 face=3DArial><span =
style=3D'font-size:10.0pt;
font-family:Arial'>CC&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbs=
p;&nbsp;&nbsp;
=3Dcl<o:p></o:p></span></font></p>

<p class=3DMsoNormal><font size=3D2 face=3DArial><span =
style=3D'font-size:10.0pt;
font-family:Arial'>CFLAG&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
=3D-DTHREADS&nbsp; -DDSO_WIN32<o:p></o:p></span></font></p>

<p class=3DMsoNormal><font size=3D2 face=3DArial><span =
style=3D'font-size:10.0pt;
font-family:Arial'>EX_LIBS&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; =
=3D<o:p></o:p></span></font></p>

<p class=3DMsoNormal><font size=3D2 face=3DArial><span =
style=3D'font-size:10.0pt;
font-family:Arial'>BN_ASM&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; =
=3Dbn_asm.o<o:p></o:p></span></font></p>

<p class=3DMsoNormal><font size=3D2 face=3DArial><span =
style=3D'font-size:10.0pt;
font-family:Arial'>DES_ENC&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; =
=3Ddes_enc.o
fcrypt_b.o<o:p></o:p></span></font></p>

<p class=3DMsoNormal><font size=3D2 face=3DArial><span =
style=3D'font-size:10.0pt;
font-family:Arial'>BF_ENC&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; =
=3Dbf_enc.o<o:p></o:p></span></font></p>

<p class=3DMsoNormal><font size=3D2 face=3DArial><span =
style=3D'font-size:10.0pt;
font-family:Arial'>CAST_ENC&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; =
=3Dc_enc.o<o:p></o:p></span></font></p>

<p class=3DMsoNormal><font size=3D2 face=3DArial><span =
style=3D'font-size:10.0pt;
font-family:Arial'>RC4_ENC&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; =
=3Drc4_enc.o<o:p></o:p></span></font></p>

<p class=3DMsoNormal><font size=3D2 face=3DArial><span =
style=3D'font-size:10.0pt;
font-family:Arial'>RC5_ENC&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; =
=3Drc5_enc.o<o:p></o:p></span></font></p>

<p class=3DMsoNormal><font size=3D2 face=3DArial><span =
style=3D'font-size:10.0pt;
font-family:Arial'>MD5_OBJ_ASM&nbsp;&nbsp; =
=3D<o:p></o:p></span></font></p>

<p class=3DMsoNormal><font size=3D2 face=3DArial><span =
style=3D'font-size:10.0pt;
font-family:Arial'>SHA1_OBJ_ASM&nbsp; =3D<o:p></o:p></span></font></p>

<p class=3DMsoNormal><font size=3D2 face=3DArial><span =
style=3D'font-size:10.0pt;
font-family:Arial'>RMD160_OBJ_ASM=3D<o:p></o:p></span></font></p>

<p class=3DMsoNormal><font size=3D2 face=3DArial><span =
style=3D'font-size:10.0pt;
font-family:Arial'>PROCESSOR&nbsp;&nbsp;&nbsp;&nbsp; =
=3D<o:p></o:p></span></font></p>

<p class=3DMsoNormal><font size=3D2 face=3DArial><span =
style=3D'font-size:10.0pt;
font-family:Arial'>RANLIB&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; =
=3Dtrue<o:p></o:p></span></font></p>

<p class=3DMsoNormal><font size=3D2 face=3DArial><span =
style=3D'font-size:10.0pt;
font-family:Arial'>PERL&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&n=
bsp;
=3Dperl<o:p></o:p></span></font></p>

<p class=3DMsoNormal><font size=3D2 face=3DArial><span =
style=3D'font-size:10.0pt;
font-family:Arial'>THIRTY_TWO_BIT mode<o:p></o:p></span></font></p>

<p class=3DMsoNormal><font size=3D2 face=3DArial><span =
style=3D'font-size:10.0pt;
font-family:Arial'>BN_LLONG mode<o:p></o:p></span></font></p>

<p class=3DMsoNormal><font size=3D2 face=3DArial><span =
style=3D'font-size:10.0pt;
font-family:Arial'>RC4_INDEX mode<o:p></o:p></span></font></p>

<p class=3DMsoNormal><font size=3D2 face=3DArial><span =
style=3D'font-size:10.0pt;
font-family:Arial'>RC4_CHUNK is undefined<o:p></o:p></span></font></p>

<p class=3DMsoNormal><font size=3D2 face=3DArial><span =
style=3D'font-size:10.0pt;
font-family:Arial'><o:p>&nbsp;</o:p></span></font></p>

<p class=3DMsoNormal><font size=3D2 face=3DArial><span =
style=3D'font-size:10.0pt;
font-family:Arial'>Configured for VC-WIN32.<o:p></o:p></span></font></p>

<p class=3DMsoNormal><font size=3D2 face=3DArial><span =
style=3D'font-size:10.0pt;
font-family:Arial'><o:p>&nbsp;</o:p></span></font></p>

<p class=3DMsoNormal><font size=3D2 face=3DArial><span =
style=3D'font-size:10.0pt;
font-family:Arial'>The next part seems to be error free as =
well&#8230;<o:p></o:p></span></font></p>

<p class=3DMsoNormal><font size=3D2 face=3DArial><span =
style=3D'font-size:10.0pt;
font-family:Arial'><o:p>&nbsp;</o:p></span></font></p>

<p class=3DMsoNormal><font size=3D2 face=3DArial><span =
style=3D'font-size:10.0pt;
font-family:Arial'>D:\Temp\openssl096i&gt;ms\do_masm<o:p></o:p></span></f=
ont></p>

<p class=3DMsoNormal><font size=3D2 face=3DArial><span =
style=3D'font-size:10.0pt;
font-family:Arial'>Generating x86 for MASM =
assember<o:p></o:p></span></font></p>

<p class=3DMsoNormal><font size=3D2 face=3DArial><span =
style=3D'font-size:10.0pt;
font-family:Arial'>Bignum<o:p></o:p></span></font></p>

<p class=3DMsoNormal><font size=3D2 face=3DArial><span =
style=3D'font-size:10.0pt;
font-family:Arial'>DES<o:p></o:p></span></font></p>

<p class=3DMsoNormal><font size=3D2 face=3DArial><span =
style=3D'font-size:10.0pt;
font-family:Arial'>&quot;crypt(3)&quot;<o:p></o:p></span></font></p>

<p class=3DMsoNormal><font size=3D2 face=3DArial><span =
style=3D'font-size:10.0pt;
font-family:Arial'>Blowfish<o:p></o:p></span></font></p>

<p class=3DMsoNormal><font size=3D2 face=3DArial><span =
style=3D'font-size:10.0pt;
font-family:Arial'>CAST5<o:p></o:p></span></font></p>

<p class=3DMsoNormal><font size=3D2 face=3DArial><span =
style=3D'font-size:10.0pt;
font-family:Arial'>RC4<o:p></o:p></span></font></p>

<p class=3DMsoNormal><font size=3D2 face=3DArial><span =
style=3D'font-size:10.0pt;
font-family:Arial'>MD5<o:p></o:p></span></font></p>

<p class=3DMsoNormal><font size=3D2 face=3DArial><span =
style=3D'font-size:10.0pt;
font-family:Arial'>SHA1<o:p></o:p></span></font></p>

<p class=3DMsoNormal><font size=3D2 face=3DArial><span =
style=3D'font-size:10.0pt;
font-family:Arial'>RIPEMD160<o:p></o:p></span></font></p>

<p class=3DMsoNormal><font size=3D2 face=3DArial><span =
style=3D'font-size:10.0pt;
font-family:Arial'>RC5\32<o:p></o:p></span></font></p>

<p class=3DMsoNormal><font size=3D2 face=3DArial><span =
style=3D'font-size:10.0pt;
font-family:Arial'><o:p>&nbsp;</o:p></span></font></p>

<p class=3DMsoNormal><font size=3D2 face=3DArial><span =
style=3D'font-size:10.0pt;
font-family:Arial'>D:\Temp\openssl096i&gt;perl util\mkfiles.pl&nbsp; =
1&gt;MINFO<o:p></o:p></span></font></p>

<p class=3DMsoNormal><font size=3D2 face=3DArial><span =
style=3D'font-size:10.0pt;
font-family:Arial'><o:p>&nbsp;</o:p></span></font></p>

<p class=3DMsoNormal><font size=3D2 face=3DArial><span =
style=3D'font-size:10.0pt;
font-family:Arial'>D:\Temp\openssl096i&gt;rem perl util\mk1mf.pl =
VC-MSDOS
no-sock &gt;ms\msdos.mak<o:p></o:p></span></font></p>

<p class=3DMsoNormal><font size=3D2 face=3DArial><span =
style=3D'font-size:10.0pt;
font-family:Arial'><o:p>&nbsp;</o:p></span></font></p>

<p class=3DMsoNormal><font size=3D2 face=3DArial><span =
style=3D'font-size:10.0pt;
font-family:Arial'>D:\Temp\openssl096i&gt;rem perl util\mk1mf.pl =
VC-W31-32
&gt;ms\w31.mak<o:p></o:p></span></font></p>

<p class=3DMsoNormal><font size=3D2 face=3DArial><span =
style=3D'font-size:10.0pt;
font-family:Arial'><o:p>&nbsp;</o:p></span></font></p>

<p class=3DMsoNormal><font size=3D2 face=3DArial><span =
style=3D'font-size:10.0pt;
font-family:Arial'>D:\Temp\openssl096i&gt;perl util\mk1mf.pl dll
VC-W31-32&nbsp; 1&gt;ms\w31dll.mak<o:p></o:p></span></font></p>

<p class=3DMsoNormal><font size=3D2 face=3DArial><span =
style=3D'font-size:10.0pt;
font-family:Arial'><o:p>&nbsp;</o:p></span></font></p>

<p class=3DMsoNormal><font size=3D2 face=3DArial><span =
style=3D'font-size:10.0pt;
font-family:Arial'>D:\Temp\openssl096i&gt;perl util\mk1mf.pl =
VC-WIN32&nbsp;
1&gt;ms\nt.mak<o:p></o:p></span></font></p>

<p class=3DMsoNormal><font size=3D2 face=3DArial><span =
style=3D'font-size:10.0pt;
font-family:Arial'><o:p>&nbsp;</o:p></span></font></p>

<p class=3DMsoNormal><font size=3D2 face=3DArial><span =
style=3D'font-size:10.0pt;
font-family:Arial'>D:\Temp\openssl096i&gt;perl util\mk1mf.pl dll =
VC-WIN32&nbsp;
1&gt;ms\ntdll.mak<o:p></o:p></span></font></p>

<p class=3DMsoNormal><font size=3D2 face=3DArial><span =
style=3D'font-size:10.0pt;
font-family:Arial'><o:p>&nbsp;</o:p></span></font></p>

<p class=3DMsoNormal><font size=3D2 face=3DArial><span =
style=3D'font-size:10.0pt;
font-family:Arial'>D:\Temp\openssl096i&gt;perl util\mkdef.pl 16 =
libeay&nbsp;
1&gt;ms\libeay16.def<o:p></o:p></span></font></p>

<p class=3DMsoNormal><font size=3D2 face=3DArial><span =
style=3D'font-size:10.0pt;
font-family:Arial'><o:p>&nbsp;</o:p></span></font></p>

<p class=3DMsoNormal><font size=3D2 face=3DArial><span =
style=3D'font-size:10.0pt;
font-family:Arial'>D:\Temp\openssl096i&gt;perl util\mkdef.pl 32 libeay =
&nbsp;1&gt;ms\libeay32.def<o:p></o:p></span></font></p>

<p class=3DMsoNormal><font size=3D2 face=3DArial><span =
style=3D'font-size:10.0pt;
font-family:Arial'><o:p>&nbsp;</o:p></span></font></p>

<p class=3DMsoNormal><font size=3D2 face=3DArial><span =
style=3D'font-size:10.0pt;
font-family:Arial'>D:\Temp\openssl096i&gt;perl util\mkdef.pl 16 =
ssleay&nbsp;
1&gt;ms\ssleay16.def<o:p></o:p></span></font></p>

<p class=3DMsoNormal><font size=3D2 face=3DArial><span =
style=3D'font-size:10.0pt;
font-family:Arial'><o:p>&nbsp;</o:p></span></font></p>

<p class=3DMsoNormal><font size=3D2 face=3DArial><span =
style=3D'font-size:10.0pt;
font-family:Arial'>D:\Temp\openssl096i&gt;perl util\mkdef.pl 32 =
ssleay&nbsp;
1&gt;ms\ssleay32.def<o:p></o:p></span></font></p>

<p class=3DMsoNormal><font size=3D2 face=3DArial><span =
style=3D'font-size:10.0pt;
font-family:Arial'><o:p>&nbsp;</o:p></span></font></p>

<p class=3DMsoNormal><font size=3D2 face=3DArial><span =
style=3D'font-size:10.0pt;
font-family:Arial'><o:p>&nbsp;</o:p></span></font></p>

<p class=3DMsoNormal><font size=3D2 face=3DArial><span =
style=3D'font-size:10.0pt;
font-family:Arial'>Then I am getting the following error on =
nmake<o:p></o:p></span></font></p>

<p class=3DMsoNormal><font size=3D2 face=3DArial><span =
style=3D'font-size:10.0pt;
font-family:Arial'><o:p>&nbsp;</o:p></span></font></p>

<p class=3DMsoNormal><font size=3D2 face=3DArial><span =
style=3D'font-size:10.0pt;
font-family:Arial'>D:\Temp\openssl096i&gt;nmake -f ms\ntdll.mak &gt; =
err<o:p></o:p></span></font></p>

<p class=3DMsoNormal><font size=3D2 face=3DArial><span =
style=3D'font-size:10.0pt;
font-family:Arial'><o:p>&nbsp;</o:p></span></font></p>

<p class=3DMsoNormal><font size=3D2 face=3DArial><span =
style=3D'font-size:10.0pt;
font-family:Arial'>Microsoft (R) Program Maintenance Utility Version =
7.10.3077<o:p></o:p></span></font></p>

<p class=3DMsoNormal><font size=3D2 face=3DArial><span =
style=3D'font-size:10.0pt;
font-family:Arial'>Copyright (C) Microsoft Corporation.&nbsp; All rights
reserved.<o:p></o:p></span></font></p>

<p class=3DMsoNormal><font size=3D2 face=3DArial><span =
style=3D'font-size:10.0pt;
font-family:Arial'><o:p>&nbsp;</o:p></span></font></p>

<p class=3DMsoNormal><font size=3D2 face=3DArial><span =
style=3D'font-size:10.0pt;
font-family:Arial'>NMAKE : fatal error U1077: 'cl' : return code =
'0x2'<o:p></o:p></span></font></p>

<p class=3DMsoNormal><font size=3D2 face=3DArial><span =
style=3D'font-size:10.0pt;
font-family:Arial'>Stop.<o:p></o:p></span></font></p>

<p class=3DMsoNormal><font size=3D2 face=3DArial><span =
style=3D'font-size:10.0pt;
font-family:Arial'>&#8230;.<o:p></o:p></span></font></p>

<p class=3DMsoNormal><font size=3D2 face=3DArial><span =
style=3D'font-size:10.0pt;
font-family:Arial'>Building OpenSSL<o:p></o:p></span></font></p>

<p class=3DMsoNormal><font size=3D2 face=3DArial><span =
style=3D'font-size:10.0pt;
font-family:Arial'>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;=
&nbsp;&nbsp; cl
/Fotmp32dll\cryptlib.obj&nbsp; -Iinc32 -Itmp32dll /MD /W3 /WX /G5 /Ox =
/O2 /Ob2
/Gs0 /GF /Gy /nologo -DWIN32 -DWIN32_LEAN_AND_MEAN -DL_ENDIAN =
-DDSO_WIN32
-DBN_ASM -DMD5_ASM -DSHA1_ASM -DRMD160_ASM /Fdout32dll /Gd -D_WINDLL
-D_DLL&nbsp; -c =
D:\Temp\openssl096i\crypto\cryptlib.c<o:p></o:p></span></font></p>

<p class=3DMsoNormal><font size=3D2 face=3DArial><span =
style=3D'font-size:10.0pt;
font-family:Arial'>cryptlib.c<o:p></o:p></span></font></p>

<p class=3DMsoNormal><font size=3D2 face=3DArial><span =
style=3D'font-size:10.0pt;
font-family:Arial'>D:\Temp\openssl096i\crypto\cryptlib.c(59) : fatal =
error
C1083: Cannot open include file: 'stdio.h': No such file or =
directory<o:p></o:p></span></font></p>

</div>

</body>

</html>

------=_NextPart_000_0025_01C3F56F.A9F29C10--

______________________________________________________________________
OpenSSL Project http://www.openssl.org
User Support Mailing List openss...@openssl.org
Automated List Manager majo...@openssl.org

Steven Reddie

unread,
Feb 17, 2004, 6:07:06 PM2/17/04
to
This is a multi-part message in MIME format.

------=_NextPart_000_02B8_01C3F606.C0ACE9A0
Content-Type: text/plain;
charset="us-ascii"
Content-Transfer-Encoding: quoted-printable

Elaborating on "wheels fall off" might make the problem easier to =
diagnose.
If X509_NAME is mentioned then it's probably a clash with the Microsoft
Platform SDK. With VC6 the Platform SDK was a seperate optional package =
and
it was simply a matter of removing the Platform SDK from your INCLUDE
environment variable to build OpenSSL. With VC.NET I notice that there =
is a
Platform SDK subdirectory of Vc7 so it may not be possible to alter your
INCLUDE path in an appropriate way to avoid the SDK. However, I think =
there
is a #define (maybe NOCRYPT) you can use to avoid pulling in Microsoft's
X509_NAME.
=20
Regards,
=20
Steven

-----Original Message-----
From: owner-ope...@openssl.org
[mailto:owner-ope...@openssl.org] On Behalf Of Chris Rowe
Sent: Wednesday, 18 February 2004 8:04 AM
To: openss...@openssl.org
Subject: Installation Trouble VC7 Win32

OK I am new to openssl and am experiencing difficulty building openssl. =
I
have followed the install.w32 instructions to the letter, but still no =


luck
on the nmake step.

Does anyone have a makefile or project/solution file *.sln that =


simplifies
the build under VS.Net VC7?

=20

These two steps are fine,,,

> perl Configure VC-WIN32

> ms\do_masm

=20

This step is where the "wheels fall off"

> nmake -f ms\ntdll.mak

=20

=20

Here is the output in DOS of what's happening on my machine (running =


WinXP
Pro, MSVC++6 with latest platform sdk - all paths are set correctly)

=20

Microsoft Windows XP [Version 5.1.2600]

(C) Copyright 1985-2001 Microsoft Corp.

=20

D:\Temp\openssl096i>perl Configure VC-WIN32

Configuring for VC-WIN32

IsWindows=3D1

CC =3Dcl

CFLAG =3D-DTHREADS -DDSO_WIN32

EX_LIBS =3D

BN_ASM =3Dbn_asm.o

DES_ENC =3Ddes_enc.o fcrypt_b.o

BF_ENC =3Dbf_enc.o

CAST_ENC =3Dc_enc.o

RC4_ENC =3Drc4_enc.o

RC5_ENC =3Drc5_enc.o

MD5_OBJ_ASM =3D

SHA1_OBJ_ASM =3D

RMD160_OBJ_ASM=3D

PROCESSOR =3D

RANLIB =3Dtrue

PERL =3Dperl

THIRTY_TWO_BIT mode

BN_LLONG mode

RC4_INDEX mode

RC4_CHUNK is undefined

=20

Configured for VC-WIN32.

=20

The next part seems to be error free as well.

=20

D:\Temp\openssl096i>ms\do_masm

Generating x86 for MASM assember

Bignum

DES

"crypt(3)"

Blowfish

CAST5

RC4

MD5

SHA1

RIPEMD160

RC5\32

=20

D:\Temp\openssl096i>perl util\mkfiles.pl 1>MINFO

=20

D:\Temp\openssl096i>rem perl util\mk1mf.pl VC-MSDOS no-sock =
>ms\msdos.mak

=20

D:\Temp\openssl096i>rem perl util\mk1mf.pl VC-W31-32 >ms\w31.mak

=20

D:\Temp\openssl096i>perl util\mk1mf.pl dll VC-W31-32 1>ms\w31dll.mak

=20

D:\Temp\openssl096i>perl util\mk1mf.pl VC-WIN32 1>ms\nt.mak

=20

D:\Temp\openssl096i>perl util\mk1mf.pl dll VC-WIN32 1>ms\ntdll.mak

=20

D:\Temp\openssl096i>perl util\mkdef.pl 16 libeay 1>ms\libeay16.def

=20

D:\Temp\openssl096i>perl util\mkdef.pl 32 libeay 1>ms\libeay32.def

=20

D:\Temp\openssl096i>perl util\mkdef.pl 16 ssleay 1>ms\ssleay16.def

=20

D:\Temp\openssl096i>perl util\mkdef.pl 32 ssleay 1>ms\ssleay32.def

=20

=20

Then I am getting the following error on nmake

=20

D:\Temp\openssl096i>nmake -f ms\ntdll.mak > err

=20

Microsoft (R) Program Maintenance Utility Version 7.10.3077

Copyright (C) Microsoft Corporation. All rights reserved.

=20

NMAKE : fatal error U1077: 'cl' : return code '0x2'

Stop.

..

Building OpenSSL

cl /Fotmp32dll\cryptlib.obj -Iinc32 -Itmp32dll /MD /W3 /WX =
/G5
/Ox /O2 /Ob2 /Gs0 /GF /Gy /nologo -DWIN32 -DWIN32_LEAN_AND_MEAN =


-DL_ENDIAN
-DDSO_WIN32 -DBN_ASM -DMD5_ASM -DSHA1_ASM -DRMD160_ASM /Fdout32dll /Gd
-D_WINDLL -D_DLL -c D:\Temp\openssl096i\crypto\cryptlib.c

cryptlib.c

D:\Temp\openssl096i\crypto\cryptlib.c(59) : fatal error C1083: Cannot =


open
include file: 'stdio.h': No such file or directory


------=_NextPart_000_02B8_01C3F606.C0ACE9A0


Content-Type: text/html;
charset="us-ascii"
Content-Transfer-Encoding: quoted-printable

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML xmlns=3D"http://www.w3.org/TR/REC-html40" xmlns:o =3D=20
"urn:schemas-microsoft-com:office:office" xmlns:w =3D=20
"urn:schemas-microsoft-com:office:word"><HEAD>
<META HTTP-EQUIV=3D"Content-Type" CONTENT=3D"text/html; =
charset=3Dus-ascii">
<TITLE>Message</TITLE>

<META content=3D"MSHTML 6.00.2800.1276" name=3DGENERATOR>
<STYLE>@font-face {
font-family: Wingdings;


}
@page Section1 {size: 8.5in 11.0in; margin: 1.0in 1.25in 1.0in 1.25in; }

P.MsoNormal {
FONT-SIZE: 12pt; MARGIN: 0in 0in 0pt; FONT-FAMILY: "Times New Roman"
}
LI.MsoNormal {
FONT-SIZE: 12pt; MARGIN: 0in 0in 0pt; FONT-FAMILY: "Times New Roman"
}
DIV.MsoNormal {
FONT-SIZE: 12pt; MARGIN: 0in 0in 0pt; FONT-FAMILY: "Times New Roman"
}
A:link {
COLOR: blue; TEXT-DECORATION: underline
}
SPAN.MsoHyperlink {
COLOR: blue; TEXT-DECORATION: underline
}
A:visited {
COLOR: purple; TEXT-DECORATION: underline
}
SPAN.MsoHyperlinkFollowed {
COLOR: purple; TEXT-DECORATION: underline
}
SPAN.EmailStyle17 {
COLOR: windowtext; FONT-FAMILY: Arial; mso-style-type: personal-compose
}
DIV.Section1 {
page: Section1
}
OL {
MARGIN-BOTTOM: 0in
}
UL {
MARGIN-BOTTOM: 0in
}
</STYLE>
</HEAD>
<BODY lang=3DEN-US vLink=3Dpurple link=3Dblue>
<DIV><SPAN class=3D258030123-17022004><FONT face=3DArial color=3D#0000ff =

size=3D2>Elaborating on "wheels fall off" might make the problem easier =
to=20
diagnose.&nbsp; If X509_NAME is mentioned then it's probably a clash =
with the=20
Microsoft Platform SDK.&nbsp; With VC6 the Platform SDK was a seperate =
optional=20
package and it was&nbsp;simply a matter of removing the Platform SDK =
from your=20
INCLUDE environment variable to build OpenSSL.&nbsp; With VC.NET I =
notice that=20
there is a Platform SDK subdirectory of Vc7 so it may not be possible to =
alter=20
your INCLUDE path in an appropriate way to avoid the SDK.&nbsp; However, =
I think=20
there is a #define (maybe NOCRYPT) you can use to avoid pulling in =
Microsoft's=20
X509_NAME.</FONT></SPAN></DIV>
<DIV><SPAN class=3D258030123-17022004><FONT face=3DArial color=3D#0000ff =

size=3D2></FONT></SPAN>&nbsp;</DIV>
<DIV><SPAN class=3D258030123-17022004><FONT face=3DArial color=3D#0000ff =

size=3D2>Regards,</FONT></SPAN></DIV>
<DIV><SPAN class=3D258030123-17022004><FONT face=3DArial color=3D#0000ff =

size=3D2></FONT></SPAN>&nbsp;</DIV>
<DIV><SPAN class=3D258030123-17022004><FONT face=3DArial color=3D#0000ff =

size=3D2>Steven</FONT></SPAN></DIV>
<BLOCKQUOTE dir=3Dltr style=3D"MARGIN-RIGHT: 0px">
<DIV></DIV>
<DIV class=3DOutlookMessageHeader lang=3Den-us dir=3Dltr =
align=3Dleft><FONT=20
face=3DTahoma size=3D2>-----Original Message-----<BR><B>From:</B>=20
owner-ope...@openssl.org =
[mailto:owner-ope...@openssl.org] <B>On=20
Behalf Of </B>Chris Rowe<BR><B>Sent:</B> Wednesday, 18 February 2004 =
8:04=20
AM<BR><B>To:</B> openss...@openssl.org<BR><B>Subject:</B> =
Installation=20
Trouble VC7 Win32<BR><BR></FONT></DIV>
<DIV class=3DSection1>
<P class=3DMsoNormal><FONT face=3DArial size=3D2><SPAN=20
style=3D"FONT-SIZE: 10pt; FONT-FAMILY: Arial">OK I am new to openssl =
and am=20
experiencing difficulty building openssl. I have followed the =
install.w32=20
instructions to the letter, but still no luck on the nmake=20
step&#8230;<o:p></o:p></SPAN></FONT></P>
<P class=3DMsoNormal><FONT face=3DArial size=3D2><SPAN=20
style=3D"FONT-SIZE: 10pt; FONT-FAMILY: Arial">Does anyone have a =
makefile or=20
project/solution file *.sln that simplifies the build under VS.Net=20
VC7?<o:p></o:p></SPAN></FONT></P>
<P class=3DMsoNormal><FONT face=3DArial size=3D2><SPAN=20
style=3D"FONT-SIZE: 10pt; FONT-FAMILY: =
Arial"><o:p>&nbsp;</o:p></SPAN></FONT></P>
<P class=3DMsoNormal><FONT face=3DArial size=3D2><SPAN=20
style=3D"FONT-SIZE: 10pt; FONT-FAMILY: Arial">These two steps are=20
fine,,,<o:p></o:p></SPAN></FONT></P>
<P class=3DMsoNormal><FONT face=3DArial size=3D2><SPAN=20
style=3D"FONT-SIZE: 10pt; FONT-FAMILY: Arial">&gt; perl Configure=20
VC-WIN32<o:p></o:p></SPAN></FONT></P>
<P class=3DMsoNormal><FONT face=3DArial size=3D2><SPAN=20
style=3D"FONT-SIZE: 10pt; FONT-FAMILY: Arial">&gt;=20
ms\do_masm<o:p></o:p></SPAN></FONT></P>
<P class=3DMsoNormal><FONT face=3DArial size=3D2><SPAN=20
style=3D"FONT-SIZE: 10pt; FONT-FAMILY: =
Arial"><o:p>&nbsp;</o:p></SPAN></FONT></P>
<P class=3DMsoNormal><FONT face=3DArial size=3D2><SPAN=20
style=3D"FONT-SIZE: 10pt; FONT-FAMILY: Arial">This step is where the =
&#8220;wheels=20
fall off&#8221;<o:p></o:p></SPAN></FONT></P>
<P class=3DMsoNormal><FONT face=3DArial size=3D2><SPAN=20
style=3D"FONT-SIZE: 10pt; FONT-FAMILY: Arial">&gt; nmake -f=20
ms\ntdll.mak<o:p></o:p></SPAN></FONT></P>
<P class=3DMsoNormal><FONT face=3DArial size=3D2><SPAN=20
style=3D"FONT-SIZE: 10pt; FONT-FAMILY: =
Arial"><o:p>&nbsp;</o:p></SPAN></FONT></P>
<P class=3DMsoNormal><FONT face=3DArial size=3D2><SPAN=20
style=3D"FONT-SIZE: 10pt; FONT-FAMILY: =
Arial"><o:p>&nbsp;</o:p></SPAN></FONT></P>
<P class=3DMsoNormal><FONT face=3DArial size=3D2><SPAN=20
style=3D"FONT-SIZE: 10pt; FONT-FAMILY: Arial">Here is the output in =
DOS of=20
what&#8217;s happening on my machine (running WinXP Pro, MSVC++6 with =
latest=20
platform sdk &#8211; all paths are set =
correctly)<o:p></o:p></SPAN></FONT></P>
<P class=3DMsoNormal><FONT face=3DArial size=3D2><SPAN=20
style=3D"FONT-SIZE: 10pt; FONT-FAMILY: =
Arial"><o:p>&nbsp;</o:p></SPAN></FONT></P>
<P class=3DMsoNormal><FONT face=3DArial size=3D2><SPAN=20
style=3D"FONT-SIZE: 10pt; FONT-FAMILY: Arial">Microsoft Windows XP =
[Version=20
5.1.2600]<o:p></o:p></SPAN></FONT></P>
<P class=3DMsoNormal><FONT face=3DArial size=3D2><SPAN=20
style=3D"FONT-SIZE: 10pt; FONT-FAMILY: Arial">(C) Copyright 1985-2001 =
Microsoft=20
Corp.<o:p></o:p></SPAN></FONT></P>
<P class=3DMsoNormal><FONT face=3DArial size=3D2><SPAN=20
style=3D"FONT-SIZE: 10pt; FONT-FAMILY: =
Arial"><o:p>&nbsp;</o:p></SPAN></FONT></P>
<P class=3DMsoNormal><FONT face=3DArial size=3D2><SPAN=20
style=3D"FONT-SIZE: 10pt; FONT-FAMILY: =
Arial">D:\Temp\openssl096i&gt;perl=20
Configure VC-WIN32<o:p></o:p></SPAN></FONT></P>
<P class=3DMsoNormal><FONT face=3DArial size=3D2><SPAN=20
style=3D"FONT-SIZE: 10pt; FONT-FAMILY: Arial">Configuring for=20
VC-WIN32<o:p></o:p></SPAN></FONT></P>
<P class=3DMsoNormal><FONT face=3DArial size=3D2><SPAN=20
style=3D"FONT-SIZE: 10pt; FONT-FAMILY: =
Arial">IsWindows=3D1<o:p></o:p></SPAN></FONT></P>
<P class=3DMsoNormal><FONT face=3DArial size=3D2><SPAN=20
style=3D"FONT-SIZE: 10pt; FONT-FAMILY: =
Arial">CC&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbs=
p;=20
=3Dcl<o:p></o:p></SPAN></FONT></P>
<P class=3DMsoNormal><FONT face=3DArial size=3D2><SPAN=20
style=3D"FONT-SIZE: 10pt; FONT-FAMILY: =
Arial">CFLAG&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;=20
=3D-DTHREADS&nbsp; -DDSO_WIN32<o:p></o:p></SPAN></FONT></P>
<P class=3DMsoNormal><FONT face=3DArial size=3D2><SPAN=20
style=3D"FONT-SIZE: 10pt; FONT-FAMILY: =
Arial">EX_LIBS&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;=20
=3D<o:p></o:p></SPAN></FONT></P>
<P class=3DMsoNormal><FONT face=3DArial size=3D2><SPAN=20
style=3D"FONT-SIZE: 10pt; FONT-FAMILY: =
Arial">BN_ASM&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;=20
=3Dbn_asm.o<o:p></o:p></SPAN></FONT></P>
<P class=3DMsoNormal><FONT face=3DArial size=3D2><SPAN=20
style=3D"FONT-SIZE: 10pt; FONT-FAMILY: =
Arial">DES_ENC&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;=20
=3Ddes_enc.o fcrypt_b.o<o:p></o:p></SPAN></FONT></P>
<P class=3DMsoNormal><FONT face=3DArial size=3D2><SPAN=20
style=3D"FONT-SIZE: 10pt; FONT-FAMILY: =
Arial">BF_ENC&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;=20
=3Dbf_enc.o<o:p></o:p></SPAN></FONT></P>
<P class=3DMsoNormal><FONT face=3DArial size=3D2><SPAN=20
style=3D"FONT-SIZE: 10pt; FONT-FAMILY: =
Arial">CAST_ENC&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;=20
=3Dc_enc.o<o:p></o:p></SPAN></FONT></P>
<P class=3DMsoNormal><FONT face=3DArial size=3D2><SPAN=20
style=3D"FONT-SIZE: 10pt; FONT-FAMILY: =
Arial">RC4_ENC&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;=20
=3Drc4_enc.o<o:p></o:p></SPAN></FONT></P>
<P class=3DMsoNormal><FONT face=3DArial size=3D2><SPAN=20
style=3D"FONT-SIZE: 10pt; FONT-FAMILY: =
Arial">RC5_ENC&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;=20
=3Drc5_enc.o<o:p></o:p></SPAN></FONT></P>
<P class=3DMsoNormal><FONT face=3DArial size=3D2><SPAN=20
style=3D"FONT-SIZE: 10pt; FONT-FAMILY: Arial">MD5_OBJ_ASM&nbsp;&nbsp;=20
=3D<o:p></o:p></SPAN></FONT></P>
<P class=3DMsoNormal><FONT face=3DArial size=3D2><SPAN=20
style=3D"FONT-SIZE: 10pt; FONT-FAMILY: Arial">SHA1_OBJ_ASM&nbsp;=20
=3D<o:p></o:p></SPAN></FONT></P>
<P class=3DMsoNormal><FONT face=3DArial size=3D2><SPAN=20
style=3D"FONT-SIZE: 10pt; FONT-FAMILY: =
Arial">RMD160_OBJ_ASM=3D<o:p></o:p></SPAN></FONT></P>
<P class=3DMsoNormal><FONT face=3DArial size=3D2><SPAN=20
style=3D"FONT-SIZE: 10pt; FONT-FAMILY: =
Arial">PROCESSOR&nbsp;&nbsp;&nbsp;&nbsp;=20
=3D<o:p></o:p></SPAN></FONT></P>
<P class=3DMsoNormal><FONT face=3DArial size=3D2><SPAN=20
style=3D"FONT-SIZE: 10pt; FONT-FAMILY: =
Arial">RANLIB&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;=20
=3Dtrue<o:p></o:p></SPAN></FONT></P>
<P class=3DMsoNormal><FONT face=3DArial size=3D2><SPAN=20
style=3D"FONT-SIZE: 10pt; FONT-FAMILY: =
Arial">PERL&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;=20
=3Dperl<o:p></o:p></SPAN></FONT></P>
<P class=3DMsoNormal><FONT face=3DArial size=3D2><SPAN=20
style=3D"FONT-SIZE: 10pt; FONT-FAMILY: Arial">THIRTY_TWO_BIT=20
mode<o:p></o:p></SPAN></FONT></P>
<P class=3DMsoNormal><FONT face=3DArial size=3D2><SPAN=20
style=3D"FONT-SIZE: 10pt; FONT-FAMILY: Arial">BN_LLONG=20
mode<o:p></o:p></SPAN></FONT></P>
<P class=3DMsoNormal><FONT face=3DArial size=3D2><SPAN=20
style=3D"FONT-SIZE: 10pt; FONT-FAMILY: Arial">RC4_INDEX=20
mode<o:p></o:p></SPAN></FONT></P>
<P class=3DMsoNormal><FONT face=3DArial size=3D2><SPAN=20
style=3D"FONT-SIZE: 10pt; FONT-FAMILY: Arial">RC4_CHUNK is=20
undefined<o:p></o:p></SPAN></FONT></P>
<P class=3DMsoNormal><FONT face=3DArial size=3D2><SPAN=20
style=3D"FONT-SIZE: 10pt; FONT-FAMILY: =
Arial"><o:p>&nbsp;</o:p></SPAN></FONT></P>
<P class=3DMsoNormal><FONT face=3DArial size=3D2><SPAN=20
style=3D"FONT-SIZE: 10pt; FONT-FAMILY: Arial">Configured for=20
VC-WIN32.<o:p></o:p></SPAN></FONT></P>
<P class=3DMsoNormal><FONT face=3DArial size=3D2><SPAN=20
style=3D"FONT-SIZE: 10pt; FONT-FAMILY: =
Arial"><o:p>&nbsp;</o:p></SPAN></FONT></P>
<P class=3DMsoNormal><FONT face=3DArial size=3D2><SPAN=20
style=3D"FONT-SIZE: 10pt; FONT-FAMILY: Arial">The next part seems to =
be error=20
free as well&#8230;<o:p></o:p></SPAN></FONT></P>
<P class=3DMsoNormal><FONT face=3DArial size=3D2><SPAN=20
style=3D"FONT-SIZE: 10pt; FONT-FAMILY: =
Arial"><o:p>&nbsp;</o:p></SPAN></FONT></P>
<P class=3DMsoNormal><FONT face=3DArial size=3D2><SPAN=20
style=3D"FONT-SIZE: 10pt; FONT-FAMILY: =
Arial">D:\Temp\openssl096i&gt;ms\do_masm<o:p></o:p></SPAN></FONT></P>
<P class=3DMsoNormal><FONT face=3DArial size=3D2><SPAN=20
style=3D"FONT-SIZE: 10pt; FONT-FAMILY: Arial">Generating x86 for MASM=20
assember<o:p></o:p></SPAN></FONT></P>
<P class=3DMsoNormal><FONT face=3DArial size=3D2><SPAN=20
style=3D"FONT-SIZE: 10pt; FONT-FAMILY: =
Arial">Bignum<o:p></o:p></SPAN></FONT></P>
<P class=3DMsoNormal><FONT face=3DArial size=3D2><SPAN=20
style=3D"FONT-SIZE: 10pt; FONT-FAMILY: =
Arial">DES<o:p></o:p></SPAN></FONT></P>
<P class=3DMsoNormal><FONT face=3DArial size=3D2><SPAN=20
style=3D"FONT-SIZE: 10pt; FONT-FAMILY: =
Arial">"crypt(3)"<o:p></o:p></SPAN></FONT></P>
<P class=3DMsoNormal><FONT face=3DArial size=3D2><SPAN=20
style=3D"FONT-SIZE: 10pt; FONT-FAMILY: =
Arial">Blowfish<o:p></o:p></SPAN></FONT></P>
<P class=3DMsoNormal><FONT face=3DArial size=3D2><SPAN=20
style=3D"FONT-SIZE: 10pt; FONT-FAMILY: =
Arial">CAST5<o:p></o:p></SPAN></FONT></P>
<P class=3DMsoNormal><FONT face=3DArial size=3D2><SPAN=20
style=3D"FONT-SIZE: 10pt; FONT-FAMILY: =
Arial">RC4<o:p></o:p></SPAN></FONT></P>
<P class=3DMsoNormal><FONT face=3DArial size=3D2><SPAN=20
style=3D"FONT-SIZE: 10pt; FONT-FAMILY: =
Arial">MD5<o:p></o:p></SPAN></FONT></P>
<P class=3DMsoNormal><FONT face=3DArial size=3D2><SPAN=20
style=3D"FONT-SIZE: 10pt; FONT-FAMILY: =
Arial">SHA1<o:p></o:p></SPAN></FONT></P>
<P class=3DMsoNormal><FONT face=3DArial size=3D2><SPAN=20
style=3D"FONT-SIZE: 10pt; FONT-FAMILY: =
Arial">RIPEMD160<o:p></o:p></SPAN></FONT></P>
<P class=3DMsoNormal><FONT face=3DArial size=3D2><SPAN=20
style=3D"FONT-SIZE: 10pt; FONT-FAMILY: =
Arial">RC5\32<o:p></o:p></SPAN></FONT></P>
<P class=3DMsoNormal><FONT face=3DArial size=3D2><SPAN=20
style=3D"FONT-SIZE: 10pt; FONT-FAMILY: =
Arial"><o:p>&nbsp;</o:p></SPAN></FONT></P>
<P class=3DMsoNormal><FONT face=3DArial size=3D2><SPAN=20
style=3D"FONT-SIZE: 10pt; FONT-FAMILY: =
Arial">D:\Temp\openssl096i&gt;perl=20
util\mkfiles.pl&nbsp; 1&gt;MINFO<o:p></o:p></SPAN></FONT></P>
<P class=3DMsoNormal><FONT face=3DArial size=3D2><SPAN=20
style=3D"FONT-SIZE: 10pt; FONT-FAMILY: =
Arial"><o:p>&nbsp;</o:p></SPAN></FONT></P>
<P class=3DMsoNormal><FONT face=3DArial size=3D2><SPAN=20
style=3D"FONT-SIZE: 10pt; FONT-FAMILY: =
Arial">D:\Temp\openssl096i&gt;rem perl=20
util\mk1mf.pl VC-MSDOS no-sock =
&gt;ms\msdos.mak<o:p></o:p></SPAN></FONT></P>
<P class=3DMsoNormal><FONT face=3DArial size=3D2><SPAN=20
style=3D"FONT-SIZE: 10pt; FONT-FAMILY: =
Arial"><o:p>&nbsp;</o:p></SPAN></FONT></P>
<P class=3DMsoNormal><FONT face=3DArial size=3D2><SPAN=20
style=3D"FONT-SIZE: 10pt; FONT-FAMILY: =
Arial">D:\Temp\openssl096i&gt;rem perl=20
util\mk1mf.pl VC-W31-32 &gt;ms\w31.mak<o:p></o:p></SPAN></FONT></P>
<P class=3DMsoNormal><FONT face=3DArial size=3D2><SPAN=20
style=3D"FONT-SIZE: 10pt; FONT-FAMILY: =
Arial"><o:p>&nbsp;</o:p></SPAN></FONT></P>
<P class=3DMsoNormal><FONT face=3DArial size=3D2><SPAN=20
style=3D"FONT-SIZE: 10pt; FONT-FAMILY: =
Arial">D:\Temp\openssl096i&gt;perl=20
util\mk1mf.pl dll VC-W31-32&nbsp;=20
1&gt;ms\w31dll.mak<o:p></o:p></SPAN></FONT></P>
<P class=3DMsoNormal><FONT face=3DArial size=3D2><SPAN=20
style=3D"FONT-SIZE: 10pt; FONT-FAMILY: =
Arial"><o:p>&nbsp;</o:p></SPAN></FONT></P>
<P class=3DMsoNormal><FONT face=3DArial size=3D2><SPAN=20
style=3D"FONT-SIZE: 10pt; FONT-FAMILY: =
Arial">D:\Temp\openssl096i&gt;perl=20
util\mk1mf.pl VC-WIN32&nbsp; =
1&gt;ms\nt.mak<o:p></o:p></SPAN></FONT></P>
<P class=3DMsoNormal><FONT face=3DArial size=3D2><SPAN=20
style=3D"FONT-SIZE: 10pt; FONT-FAMILY: =
Arial"><o:p>&nbsp;</o:p></SPAN></FONT></P>
<P class=3DMsoNormal><FONT face=3DArial size=3D2><SPAN=20
style=3D"FONT-SIZE: 10pt; FONT-FAMILY: =
Arial">D:\Temp\openssl096i&gt;perl=20
util\mk1mf.pl dll VC-WIN32&nbsp;=20
1&gt;ms\ntdll.mak<o:p></o:p></SPAN></FONT></P>
<P class=3DMsoNormal><FONT face=3DArial size=3D2><SPAN=20
style=3D"FONT-SIZE: 10pt; FONT-FAMILY: =
Arial"><o:p>&nbsp;</o:p></SPAN></FONT></P>
<P class=3DMsoNormal><FONT face=3DArial size=3D2><SPAN=20
style=3D"FONT-SIZE: 10pt; FONT-FAMILY: =
Arial">D:\Temp\openssl096i&gt;perl=20
util\mkdef.pl 16 libeay&nbsp;=20
1&gt;ms\libeay16.def<o:p></o:p></SPAN></FONT></P>
<P class=3DMsoNormal><FONT face=3DArial size=3D2><SPAN=20
style=3D"FONT-SIZE: 10pt; FONT-FAMILY: =
Arial"><o:p>&nbsp;</o:p></SPAN></FONT></P>
<P class=3DMsoNormal><FONT face=3DArial size=3D2><SPAN=20
style=3D"FONT-SIZE: 10pt; FONT-FAMILY: =
Arial">D:\Temp\openssl096i&gt;perl=20
util\mkdef.pl 32 libeay=20
&nbsp;1&gt;ms\libeay32.def<o:p></o:p></SPAN></FONT></P>
<P class=3DMsoNormal><FONT face=3DArial size=3D2><SPAN=20
style=3D"FONT-SIZE: 10pt; FONT-FAMILY: =
Arial"><o:p>&nbsp;</o:p></SPAN></FONT></P>
<P class=3DMsoNormal><FONT face=3DArial size=3D2><SPAN=20
style=3D"FONT-SIZE: 10pt; FONT-FAMILY: =
Arial">D:\Temp\openssl096i&gt;perl=20
util\mkdef.pl 16 ssleay&nbsp;=20
1&gt;ms\ssleay16.def<o:p></o:p></SPAN></FONT></P>
<P class=3DMsoNormal><FONT face=3DArial size=3D2><SPAN=20
style=3D"FONT-SIZE: 10pt; FONT-FAMILY: =
Arial"><o:p>&nbsp;</o:p></SPAN></FONT></P>
<P class=3DMsoNormal><FONT face=3DArial size=3D2><SPAN=20
style=3D"FONT-SIZE: 10pt; FONT-FAMILY: =
Arial">D:\Temp\openssl096i&gt;perl=20
util\mkdef.pl 32 ssleay&nbsp;=20
1&gt;ms\ssleay32.def<o:p></o:p></SPAN></FONT></P>
<P class=3DMsoNormal><FONT face=3DArial size=3D2><SPAN=20
style=3D"FONT-SIZE: 10pt; FONT-FAMILY: =
Arial"><o:p>&nbsp;</o:p></SPAN></FONT></P>
<P class=3DMsoNormal><FONT face=3DArial size=3D2><SPAN=20
style=3D"FONT-SIZE: 10pt; FONT-FAMILY: =
Arial"><o:p>&nbsp;</o:p></SPAN></FONT></P>
<P class=3DMsoNormal><FONT face=3DArial size=3D2><SPAN=20
style=3D"FONT-SIZE: 10pt; FONT-FAMILY: Arial">Then I am getting the =
following=20
error on nmake<o:p></o:p></SPAN></FONT></P>
<P class=3DMsoNormal><FONT face=3DArial size=3D2><SPAN=20
style=3D"FONT-SIZE: 10pt; FONT-FAMILY: =
Arial"><o:p>&nbsp;</o:p></SPAN></FONT></P>
<P class=3DMsoNormal><FONT face=3DArial size=3D2><SPAN=20
style=3D"FONT-SIZE: 10pt; FONT-FAMILY: =
Arial">D:\Temp\openssl096i&gt;nmake -f=20
ms\ntdll.mak &gt; err<o:p></o:p></SPAN></FONT></P>
<P class=3DMsoNormal><FONT face=3DArial size=3D2><SPAN=20
style=3D"FONT-SIZE: 10pt; FONT-FAMILY: =
Arial"><o:p>&nbsp;</o:p></SPAN></FONT></P>
<P class=3DMsoNormal><FONT face=3DArial size=3D2><SPAN=20
style=3D"FONT-SIZE: 10pt; FONT-FAMILY: Arial">Microsoft (R) Program =
Maintenance=20
Utility Version 7.10.3077<o:p></o:p></SPAN></FONT></P>
<P class=3DMsoNormal><FONT face=3DArial size=3D2><SPAN=20
style=3D"FONT-SIZE: 10pt; FONT-FAMILY: Arial">Copyright (C) Microsoft=20
Corporation.&nbsp; All rights reserved.<o:p></o:p></SPAN></FONT></P>
<P class=3DMsoNormal><FONT face=3DArial size=3D2><SPAN=20
style=3D"FONT-SIZE: 10pt; FONT-FAMILY: =
Arial"><o:p>&nbsp;</o:p></SPAN></FONT></P>
<P class=3DMsoNormal><FONT face=3DArial size=3D2><SPAN=20
style=3D"FONT-SIZE: 10pt; FONT-FAMILY: Arial">NMAKE : fatal error =
U1077: 'cl' :=20
return code '0x2'<o:p></o:p></SPAN></FONT></P>
<P class=3DMsoNormal><FONT face=3DArial size=3D2><SPAN=20
style=3D"FONT-SIZE: 10pt; FONT-FAMILY: =
Arial">Stop.<o:p></o:p></SPAN></FONT></P>
<P class=3DMsoNormal><FONT face=3DArial size=3D2><SPAN=20
style=3D"FONT-SIZE: 10pt; FONT-FAMILY: =
Arial">&#8230;.<o:p></o:p></SPAN></FONT></P>
<P class=3DMsoNormal><FONT face=3DArial size=3D2><SPAN=20
style=3D"FONT-SIZE: 10pt; FONT-FAMILY: Arial">Building=20
OpenSSL<o:p></o:p></SPAN></FONT></P>
<P class=3DMsoNormal><FONT face=3DArial size=3D2><SPAN=20
style=3D"FONT-SIZE: 10pt; FONT-FAMILY: =
Arial">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;=
=20
cl /Fotmp32dll\cryptlib.obj&nbsp; -Iinc32 -Itmp32dll /MD /W3 /WX /G5 =
/Ox /O2=20


/Ob2 /Gs0 /GF /Gy /nologo -DWIN32 -DWIN32_LEAN_AND_MEAN -DL_ENDIAN =

-DDSO_WIN32=20
-DBN_ASM -DMD5_ASM -DSHA1_ASM -DRMD160_ASM /Fdout32dll /Gd -D_WINDLL=20
-D_DLL&nbsp; -c=20
D:\Temp\openssl096i\crypto\cryptlib.c<o:p></o:p></SPAN></FONT></P>
<P class=3DMsoNormal><FONT face=3DArial size=3D2><SPAN=20
style=3D"FONT-SIZE: 10pt; FONT-FAMILY: =
Arial">cryptlib.c<o:p></o:p></SPAN></FONT></P>
<P class=3DMsoNormal><FONT face=3DArial size=3D2><SPAN=20
style=3D"FONT-SIZE: 10pt; FONT-FAMILY: =
Arial">D:\Temp\openssl096i\crypto\cryptlib.c(59)=20
: fatal error C1083: Cannot open include file: 'stdio.h': No such file =
or=20
=
directory<o:p></o:p></SPAN></FONT></P></DIV></BLOCKQUOTE></BODY></HTML>

------=_NextPart_000_02B8_01C3F606.C0ACE9A0--

Dr. Stephen Henson

unread,
Feb 17, 2004, 7:08:52 PM2/17/04
to
On Tue, Feb 17, 2004, Chris Rowe wrote:

> OK I am new to openssl and am experiencing difficulty building openssl. I
> have followed the install.w32 instructions to the letter, but still no luck
> on the nmake step.
>
> Does anyone have a makefile or project/solution file *.sln that simplifies


> the build under VS.Net VC7?
>
>
>

> These two steps are fine,,,
>
> > perl Configure VC-WIN32
>
> > ms\do_masm
>
>
>

> This step is where the "wheels fall off"
>
> > nmake -f ms\ntdll.mak
>
>
>
>
>

> Then I am getting the following error on nmake
>
>
>

> D:\Temp\openssl096i>nmake -f ms\ntdll.mak > err
>
>
>

> Microsoft (R) Program Maintenance Utility Version 7.10.3077
>
> Copyright (C) Microsoft Corporation. All rights reserved.
>
>
>

> NMAKE : fatal error U1077: 'cl' : return code '0x2'
>
> Stop.
>
> ..
>
> Building OpenSSL
>

> cl /Fotmp32dll\cryptlib.obj -Iinc32 -Itmp32dll /MD /W3 /WX /G5
> /Ox /O2 /Ob2 /Gs0 /GF /Gy /nologo -DWIN32 -DWIN32_LEAN_AND_MEAN -DL_ENDIAN


> -DDSO_WIN32 -DBN_ASM -DMD5_ASM -DSHA1_ASM -DRMD160_ASM /Fdout32dll /Gd
> -D_WINDLL -D_DLL -c D:\Temp\openssl096i\crypto\cryptlib.c
>
> cryptlib.c
>

> D:\Temp\openssl096i\crypto\cryptlib.c(59) : fatal error C1083: Cannot open


> include file: 'stdio.h': No such file or directory
>

This looks like you aren't running from a VC++ environment. There's a batch
file you have to run to set up various environment variables to point to
things like include files and libraries. Check the FAQ.

Steve.
--
Dr Stephen N. Henson. Email, S/MIME and PGP keys: see homepage
OpenSSL project core developer and freelance consultant.
Funding needed! Details on homepage.
Homepage: http://www.drh-consultancy.demon.co.uk

Steven Reddie

unread,
Feb 17, 2004, 8:21:58 PM2/17/04
to
This is a multi-part message in MIME format.

------=_NextPart_000_02C8_01C3F619.997C6EB0


Content-Type: text/plain;
charset="us-ascii"
Content-Transfer-Encoding: quoted-printable

Sorry, spoke too soon. Not noticing the scrollbar, my window size made =
the
message look like it ended after the "wheels fall off" section. doh!

OK I am new to openssl and am experiencing difficulty building openssl. =
I
have followed the install.w32 instructions to the letter, but still no =


luck
on the nmake step.

Does anyone have a makefile or project/solution file *.sln that =


simplifies
the build under VS.Net VC7?

=20

These two steps are fine,,,

> perl Configure VC-WIN32

> ms\do_masm

=20

This step is where the "wheels fall off"

> nmake -f ms\ntdll.mak

=20

=20

=20

=20

Configuring for VC-WIN32

IsWindows=3D1

CC =3Dcl

CFLAG =3D-DTHREADS -DDSO_WIN32

EX_LIBS =3D

BN_ASM =3Dbn_asm.o

DES_ENC =3Ddes_enc.o fcrypt_b.o

BF_ENC =3Dbf_enc.o

CAST_ENC =3Dc_enc.o

RC4_ENC =3Drc4_enc.o

RC5_ENC =3Drc5_enc.o

MD5_OBJ_ASM =3D

SHA1_OBJ_ASM =3D

RMD160_OBJ_ASM=3D

PROCESSOR =3D

RANLIB =3Dtrue

PERL =3Dperl

THIRTY_TWO_BIT mode

BN_LLONG mode

RC4_INDEX mode

RC4_CHUNK is undefined

=20

Configured for VC-WIN32.

=20

=20

Bignum

DES

"crypt(3)"

Blowfish

CAST5

RC4

MD5

SHA1

RIPEMD160

RC5\32

=20

=20

=20

=20

=20

=20

=20

=20

=20

=20

=20

=20

Then I am getting the following error on nmake

=20

D:\Temp\openssl096i>nmake -f ms\ntdll.mak > err

=20

Microsoft (R) Program Maintenance Utility Version 7.10.3077

Copyright (C) Microsoft Corporation. All rights reserved.

=20

NMAKE : fatal error U1077: 'cl' : return code '0x2'

Stop.

..

Building OpenSSL

cl /Fotmp32dll\cryptlib.obj -Iinc32 -Itmp32dll /MD /W3 /WX =
/G5
/Ox /O2 /Ob2 /Gs0 /GF /Gy /nologo -DWIN32 -DWIN32_LEAN_AND_MEAN =


-DL_ENDIAN
-DDSO_WIN32 -DBN_ASM -DMD5_ASM -DSHA1_ASM -DRMD160_ASM /Fdout32dll /Gd
-D_WINDLL -D_DLL -c D:\Temp\openssl096i\crypto\cryptlib.c

cryptlib.c

D:\Temp\openssl096i\crypto\cryptlib.c(59) : fatal error C1083: Cannot =


open
include file: 'stdio.h': No such file or directory


------=_NextPart_000_02C8_01C3F619.997C6EB0

<DIV><SPAN class=3D355221801-18022004><FONT face=3DArial color=3D#0000ff =
size=3D2>Sorry,=20
spoke too soon.&nbsp; Not noticing the scrollbar, my window size made =
the=20
message look like it ended after the "wheels fall off" section.&nbsp;=20
doh!</FONT></SPAN></DIV>


<BLOCKQUOTE dir=3Dltr style=3D"MARGIN-RIGHT: 0px">
<DIV></DIV>
<DIV class=3DOutlookMessageHeader lang=3Den-us dir=3Dltr =
align=3Dleft><FONT=20
face=3DTahoma size=3D2>-----Original Message-----<BR><B>From:</B>=20
owner-ope...@openssl.org =
[mailto:owner-ope...@openssl.org] <B>On=20

Behalf Of </B>Steven Reddie<BR><B>Sent:</B> Wednesday, 18 February =
2004 10:06=20
AM<BR><B>To:</B> openss...@openssl.org<BR><B>Subject:</B> RE: =


Installation=20
Trouble VC7 Win32<BR><BR></FONT></DIV>

<DIV><SPAN class=3D258030123-17022004><FONT face=3DArial =
color=3D#0000ff=20
size=3D2>Elaborating on "wheels fall off" might make the problem =
easier to=20


diagnose.&nbsp; If X509_NAME is mentioned then it's probably a clash =
with the=20
Microsoft Platform SDK.&nbsp; With VC6 the Platform SDK was a seperate =

optional package and it was&nbsp;simply a matter of removing the =
Platform SDK=20
from your INCLUDE environment variable to build OpenSSL.&nbsp; With =
VC.NET I=20
notice that there is a Platform SDK subdirectory of Vc7 so it may not =
be=20
possible to alter your INCLUDE path in an appropriate way to avoid the =

SDK.&nbsp; However, I think there is a #define (maybe NOCRYPT) you can =
use to=20
avoid pulling in Microsoft's X509_NAME.</FONT></SPAN></DIV>
<DIV><SPAN class=3D258030123-17022004><FONT face=3DArial =
color=3D#0000ff=20


size=3D2></FONT></SPAN>&nbsp;</DIV>

<DIV><SPAN class=3D258030123-17022004><FONT face=3DArial =
color=3D#0000ff=20


size=3D2>Regards,</FONT></SPAN></DIV>

<DIV><SPAN class=3D258030123-17022004><FONT face=3DArial =
color=3D#0000ff=20


size=3D2></FONT></SPAN>&nbsp;</DIV>

<DIV><SPAN class=3D258030123-17022004><FONT face=3DArial =
color=3D#0000ff=20


size=3D2>Steven</FONT></SPAN></DIV>
<BLOCKQUOTE dir=3Dltr style=3D"MARGIN-RIGHT: 0px">
<DIV></DIV>
<DIV class=3DOutlookMessageHeader lang=3Den-us dir=3Dltr =
align=3Dleft><FONT=20
face=3DTahoma size=3D2>-----Original Message-----<BR><B>From:</B>=20
owner-ope...@openssl.org =

[mailto:owner-ope...@openssl.org]=20
<B>On Behalf Of </B>Chris Rowe<BR><B>Sent:</B> Wednesday, 18 =
February 2004=20
8:04 AM<BR><B>To:</B> openss...@openssl.org<BR><B>Subject:</B>=20
Installation Trouble VC7 Win32<BR><BR></FONT></DIV>

what&#8217;s happening on my machine (running WinXP Pro, MSVC++6 =
with latest=20


platform sdk &#8211; all paths are set =
correctly)<o:p></o:p></SPAN></FONT></P>
<P class=3DMsoNormal><FONT face=3DArial size=3D2><SPAN=20
style=3D"FONT-SIZE: 10pt; FONT-FAMILY: =
Arial"><o:p>&nbsp;</o:p></SPAN></FONT></P>
<P class=3DMsoNormal><FONT face=3DArial size=3D2><SPAN=20
style=3D"FONT-SIZE: 10pt; FONT-FAMILY: Arial">Microsoft Windows XP =
[Version=20
5.1.2600]<o:p></o:p></SPAN></FONT></P>
<P class=3DMsoNormal><FONT face=3DArial size=3D2><SPAN=20

style=3D"FONT-SIZE: 10pt; FONT-FAMILY: Arial">(C) Copyright =
1985-2001=20
Microsoft Corp.<o:p></o:p></SPAN></FONT></P>

style=3D"FONT-SIZE: 10pt; FONT-FAMILY: =

style=3D"FONT-SIZE: 10pt; FONT-FAMILY: Arial">Generating x86 for =

style=3D"FONT-SIZE: 10pt; FONT-FAMILY: Arial">Microsoft (R) Program=20
Maintenance Utility Version 7.10.3077<o:p></o:p></SPAN></FONT></P>


<P class=3DMsoNormal><FONT face=3DArial size=3D2><SPAN=20

style=3D"FONT-SIZE: 10pt; FONT-FAMILY: Arial">Copyright (C) =


Microsoft=20
Corporation.&nbsp; All rights reserved.<o:p></o:p></SPAN></FONT></P>
<P class=3DMsoNormal><FONT face=3DArial size=3D2><SPAN=20
style=3D"FONT-SIZE: 10pt; FONT-FAMILY: =
Arial"><o:p>&nbsp;</o:p></SPAN></FONT></P>
<P class=3DMsoNormal><FONT face=3DArial size=3D2><SPAN=20
style=3D"FONT-SIZE: 10pt; FONT-FAMILY: Arial">NMAKE : fatal error =
U1077: 'cl'=20
: return code '0x2'<o:p></o:p></SPAN></FONT></P>
<P class=3DMsoNormal><FONT face=3DArial size=3D2><SPAN=20
style=3D"FONT-SIZE: 10pt; FONT-FAMILY: =
Arial">Stop.<o:p></o:p></SPAN></FONT></P>
<P class=3DMsoNormal><FONT face=3DArial size=3D2><SPAN=20
style=3D"FONT-SIZE: 10pt; FONT-FAMILY: =
Arial">&#8230;.<o:p></o:p></SPAN></FONT></P>
<P class=3DMsoNormal><FONT face=3DArial size=3D2><SPAN=20
style=3D"FONT-SIZE: 10pt; FONT-FAMILY: Arial">Building=20
OpenSSL<o:p></o:p></SPAN></FONT></P>
<P class=3DMsoNormal><FONT face=3DArial size=3D2><SPAN=20
style=3D"FONT-SIZE: 10pt; FONT-FAMILY: =
Arial">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;=
=20

cl /Fotmp32dll\cryptlib.obj&nbsp; -Iinc32 -Itmp32dll /MD /W3 /WX /G5 =
/Ox /O2=20
/Ob2 /Gs0 /GF /Gy /nologo -DWIN32 -DWIN32_LEAN_AND_MEAN -DL_ENDIAN=20
-DDSO_WIN32 -DBN_ASM -DMD5_ASM -DSHA1_ASM -DRMD160_ASM /Fdout32dll =
/Gd=20
-D_WINDLL -D_DLL&nbsp; -c=20


D:\Temp\openssl096i\crypto\cryptlib.c<o:p></o:p></SPAN></FONT></P>
<P class=3DMsoNormal><FONT face=3DArial size=3D2><SPAN=20
style=3D"FONT-SIZE: 10pt; FONT-FAMILY: =
Arial">cryptlib.c<o:p></o:p></SPAN></FONT></P>
<P class=3DMsoNormal><FONT face=3DArial size=3D2><SPAN=20
style=3D"FONT-SIZE: 10pt; FONT-FAMILY: =
Arial">D:\Temp\openssl096i\crypto\cryptlib.c(59)=20

: fatal error C1083: Cannot open include file: 'stdio.h': No such =
file or=20
=
directory<o:p></o:p></SPAN></FONT></P></DIV></BLOCKQUOTE></BLOCKQUOTE></B=
ODY></HTML>

------=_NextPart_000_02C8_01C3F619.997C6EB0--

Andrzej Posiadala

unread,
Feb 18, 2004, 8:40:51 AM2/18/04
to
Hi Chris,
under this url=20
http://www.iconsinc.com/~agray/ossldev
you may find solution to your problem. It's a workspace for VC6 but works=20
fine for me with VC++ .NET 2003

Regards
Andrzej Posiada=B3a


"Chris Rowe" <cr...@etsms.com>
Sent by: owner-ope...@openssl.org
2004-02-17 22:04
Please respond to openssl-users

=20
To: <openss...@openssl.org>
cc:=20


Subject: Installation Trouble VC7 Win32


OK I am new to openssl and am experiencing difficulty building openssl. I=20
have followed the install.w32 instructions to the letter, but still no=20
luck on the nmake step?
Does anyone have a makefile or project/solution file *.sln that simplifies =

the build under VS.Net VC7?
=20
These two steps are fine,,,
> perl Configure VC-WIN32

> ms\do=5Fmasm
=20
This step is where the ?wheels fall off?


> nmake -f ms\ntdll.mak
=20
=20

Here is the output in DOS of what?s happening on my machine (running WinXP =

Pro, MSVC++6 with latest platform sdk ? all paths are set correctly)


=20
Microsoft Windows XP [Version 5.1.2600]
(C) Copyright 1985-2001 Microsoft Corp.
=20
D:\Temp\openssl096i>perl Configure VC-WIN32
Configuring for VC-WIN32
IsWindows=3D1
CC =3Dcl

CFLAG =3D-DTHREADS -DDSO=5FWIN32
EX=5FLIBS =3D
BN=5FASM =3Dbn=5Fasm.o
DES=5FENC =3Ddes=5Fenc.o fcrypt=5Fb.o
BF=5FENC =3Dbf=5Fenc.o
CAST=5FENC =3Dc=5Fenc.o
RC4=5FENC =3Drc4=5Fenc.o
RC5=5FENC =3Drc5=5Fenc.o
MD5=5FOBJ=5FASM =3D
SHA1=5FOBJ=5FASM =3D
RMD160=5FOBJ=5FASM=3D


PROCESSOR =3D
RANLIB =3Dtrue
PERL =3Dperl

THIRTY=5FTWO=5FBIT mode
BN=5FLLONG mode
RC4=5FINDEX mode
RC4=5FCHUNK is undefined


=20
Configured for VC-WIN32.
=20

The next part seems to be error free as well?
=20
D:\Temp\openssl096i>ms\do=5Fmasm


Generating x86 for MASM assember
Bignum
DES
"crypt(3)"
Blowfish
CAST5
RC4
MD5
SHA1
RIPEMD160
RC5\32
=20
D:\Temp\openssl096i>perl util\mkfiles.pl 1>MINFO
=20

D:\Temp\openssl096i>rem perl util\mk1mf.pl VC-MSDOS no-sock >ms\msdos.mak

?.
Building OpenSSL
cl /Fotmp32dll\cryptlib.obj -Iinc32 -Itmp32dll /MD /W3 /WX=20
/G5 /Ox /O2 /Ob2 /Gs0 /GF /Gy /nologo -DWIN32 -DWIN32=5FLEAN=5FAND=5FMEAN=20
-DL=5FENDIAN -DDSO=5FWIN32 -DBN=5FASM -DMD5=5FASM -DSHA1=5FASM -DRMD160=5FA=
SM=20
/Fdout32dll /Gd -D=5FWINDLL -D=5FDLL -c D:\Temp\openssl096i\crypto\cryptli=
b.c
cryptlib.c
D:\Temp\openssl096i\crypto\cryptlib.c(59) : fatal error C1083: Cannot open =

include file: 'stdio.h': No such file or directory

Chris Rowe

unread,
Feb 18, 2004, 10:18:37 AM2/18/04
to
This is a multi-part message in MIME format.

------=_NextPart_000_0020_01C3F608.7049C580
Content-Type: text/plain;
charset="us-ascii"
Content-Transfer-Encoding: 7bit

Thanks for your comments. It looks to me like the make file compiler
switches for the "-I" (Include) options will need to be adjusted because the
VC++ compiler (cl.exe) is unable to resolve an #include directive for the
mother of all CRT includes, stdio.h. >>>

D:\Temp\openssl096i\crypto\cryptlib.c(59) : fatal error C1083: Cannot open

include file: 'stdio.h': No such file or directory

So obviously, I need to point cl.exe to the proper C Runtime include
directory by changing some of the makefile variables

_____

From: owner-ope...@openssl.org
[mailto:owner-ope...@openssl.org] On Behalf Of Steven Reddie
Sent: Tuesday, February 17, 2004 8:20 PM
To: openss...@openssl.org
Subject: RE: Installation Trouble VC7 Win32

Sorry, spoke too soon. Not noticing the scrollbar, my window size made the


message look like it ended after the "wheels fall off" section. doh!

-----Original Message-----
From: owner-ope...@openssl.org
[mailto:owner-ope...@openssl.org] On Behalf Of Steven Reddie
Sent: Wednesday, 18 February 2004 10:06 AM
To: openss...@openssl.org
Subject: RE: Installation Trouble VC7 Win32

Elaborating on "wheels fall off" might make the problem easier to diagnose.


If X509_NAME is mentioned then it's probably a clash with the Microsoft

Platform SDK. With VC6 the Platform SDK was a seperate optional package and


it was simply a matter of removing the Platform SDK from your INCLUDE

environment variable to build OpenSSL. With VC.NET I notice that there is a


Platform SDK subdirectory of Vc7 so it may not be possible to alter your

INCLUDE path in an appropriate way to avoid the SDK. However, I think there


is a #define (maybe NOCRYPT) you can use to avoid pulling in Microsoft's
X509_NAME.

Regards,

Steven

-----Original Message-----
From: owner-ope...@openssl.org
[mailto:owner-ope...@openssl.org] On Behalf Of Chris Rowe
Sent: Wednesday, 18 February 2004 8:04 AM
To: openss...@openssl.org

Subject: Installation Trouble VC7 Win32

OK I am new to openssl and am experiencing difficulty building openssl. I

have followed the install.w32 instructions to the letter, but still no luck
on the nmake step.

Does anyone have a makefile or project/solution file *.sln that simplifies


the build under VS.Net VC7?

These two steps are fine,,,

> perl Configure VC-WIN32

> ms\do_masm

This step is where the "wheels fall off"

> nmake -f ms\ntdll.mak

Here is the output in DOS of what's happening on my machine (running WinXP
Pro, MSVC++6 with latest platform sdk - all paths are set correctly)

Microsoft Windows XP [Version 5.1.2600]

(C) Copyright 1985-2001 Microsoft Corp.

D:\Temp\openssl096i>perl Configure VC-WIN32

Configuring for VC-WIN32

IsWindows=1

CC =cl

CFLAG =-DTHREADS -DDSO_WIN32

EX_LIBS =

BN_ASM =bn_asm.o

DES_ENC =des_enc.o fcrypt_b.o

BF_ENC =bf_enc.o

CAST_ENC =c_enc.o

RC4_ENC =rc4_enc.o

RC5_ENC =rc5_enc.o

MD5_OBJ_ASM =

SHA1_OBJ_ASM =

RMD160_OBJ_ASM=

PROCESSOR =

RANLIB =true

PERL =perl

THIRTY_TWO_BIT mode

BN_LLONG mode

RC4_INDEX mode

RC4_CHUNK is undefined

Configured for VC-WIN32.

The next part seems to be error free as well.

D:\Temp\openssl096i>ms\do_masm

Generating x86 for MASM assember

Bignum

DES

"crypt(3)"

Blowfish

CAST5

RC4

MD5

SHA1

RIPEMD160

RC5\32

D:\Temp\openssl096i>perl util\mkfiles.pl 1>MINFO

D:\Temp\openssl096i>rem perl util\mk1mf.pl VC-MSDOS no-sock >ms\msdos.mak

D:\Temp\openssl096i>rem perl util\mk1mf.pl VC-W31-32 >ms\w31.mak

D:\Temp\openssl096i>perl util\mk1mf.pl dll VC-W31-32 1>ms\w31dll.mak

D:\Temp\openssl096i>perl util\mk1mf.pl VC-WIN32 1>ms\nt.mak

D:\Temp\openssl096i>perl util\mk1mf.pl dll VC-WIN32 1>ms\ntdll.mak

D:\Temp\openssl096i>perl util\mkdef.pl 16 libeay 1>ms\libeay16.def

D:\Temp\openssl096i>perl util\mkdef.pl 32 libeay 1>ms\libeay32.def

D:\Temp\openssl096i>perl util\mkdef.pl 16 ssleay 1>ms\ssleay16.def

D:\Temp\openssl096i>perl util\mkdef.pl 32 ssleay 1>ms\ssleay32.def

Then I am getting the following error on nmake

D:\Temp\openssl096i>nmake -f ms\ntdll.mak > err

Microsoft (R) Program Maintenance Utility Version 7.10.3077

Copyright (C) Microsoft Corporation. All rights reserved.

NMAKE : fatal error U1077: 'cl' : return code '0x2'

Stop.

..

Building OpenSSL

cl /Fotmp32dll\cryptlib.obj -Iinc32 -Itmp32dll /MD /W3 /WX /G5
/Ox /O2 /Ob2 /Gs0 /GF /Gy /nologo -DWIN32 -DWIN32_LEAN_AND_MEAN -DL_ENDIAN


-DDSO_WIN32 -DBN_ASM -DMD5_ASM -DSHA1_ASM -DRMD160_ASM /Fdout32dll /Gd

-D_WINDLL -D_DLL -c D:\Temp\openssl096i\crypto\cryptlib.c

cryptlib.c

D:\Temp\openssl096i\crypto\cryptlib.c(59) : fatal error C1083: Cannot open

include file: 'stdio.h': No such file or directory


------=_NextPart_000_0020_01C3F608.7049C580


Content-Type: text/html;
charset="us-ascii"
Content-Transfer-Encoding: quoted-printable

<html xmlns:v=3D"urn:schemas-microsoft-com:vml" =


xmlns:o=3D"urn:schemas-microsoft-com:office:office" =
xmlns:w=3D"urn:schemas-microsoft-com:office:word" =

xmlns:st1=3D"urn:schemas-microsoft-com:office:smarttags" =
xmlns=3D"http://www.w3.org/TR/REC-html40">

<head>
<meta http-equiv=3DContent-Type content=3D"text/html; =
charset=3Dus-ascii">
<meta name=3DGenerator content=3D"Microsoft Word 11 (filtered medium)">

<!--[if !mso]>
<style>
v\:* {behavior:url(#default#VML);}
o\:* {behavior:url(#default#VML);}
w\:* {behavior:url(#default#VML);}
.shape {behavior:url(#default#VML);}
</style>
<![endif]-->
<title>Message</title>
<o:SmartTagType =
namespaceuri=3D"urn:schemas-microsoft-com:office:smarttags"
name=3D"PersonName"/>
<!--[if !mso]>
<style>
st1\:*{behavior:url(#default#ieooui) }
</style>
<![endif]-->
<style>
<!--


/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
{margin:0in;
margin-bottom:.0001pt;
font-size:12.0pt;
font-family:"Times New Roman";}
a:link, span.MsoHyperlink
{color:blue;
text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
{color:purple;
text-decoration:underline;}

pre
{margin:0in;
margin-bottom:.0001pt;
font-size:10.0pt;
font-family:"Courier New";}
span.EmailStyle17
{mso-style-type:personal;
font-family:Arial;
color:windowtext;}
span.EmailStyle18
{mso-style-type:personal-reply;
font-family:Arial;
color:navy;}


@page Section1
{size:8.5in 11.0in;
margin:1.0in 1.25in 1.0in 1.25in;}

div.Section1
{page:Section1;}
-->
</style>

</head>

<body lang=3DEN-US link=3Dblue vlink=3Dpurple>

<div class=3DSection1>

<p class=3DMsoNormal><font size=3D2 color=3Dnavy face=3DArial><span =
style=3D'font-size:
10.0pt;font-family:Arial;color:navy'>Thanks for your comments. It looks =
to me
like the make file compiler switches for the &#8220;&#8211;I&#8221; =
(Include)
options will need to be adjusted because the VC++ compiler (cl.exe) is =
unable
to resolve an #include directive for the mother of all CRT includes, =
stdio.h. &gt;&gt;&gt;<o:p></o:p></span></font></p>

<p class=3DMsoNormal><font size=3D2 face=3DArial><span =
style=3D'font-size:10.0pt;

font-family:Arial'>D:\Temp\openssl096i\crypto\cryptlib.c(59) : fatal =
error

C1083: Cannot open include file: 'stdio.h': No such file or =
directory<o:p></o:p></span></font></p>

<div>

<p class=3DMsoNormal><font size=3D2 color=3Dnavy face=3DArial><span =
style=3D'font-size:
10.0pt;font-family:Arial;color:navy'>So obviously, I need to point =
cl.exe to
the proper C Runtime include directory by changing some of the makefile
variables<o:p></o:p></span></font></p>

<p class=3DMsoNormal><font size=3D2 face=3DArial><span =
style=3D'font-size:10.0pt;

font-family:Arial'><o:p>&nbsp;</o:p></span></font></p>

<div class=3DMsoNormal align=3Dcenter style=3D'text-align:center'><font =
size=3D2
face=3DArial><span style=3D'font-size:10.0pt;font-family:Arial'>

<hr size=3D2 width=3D"100%" align=3Dcenter tabindex=3D-1>

</span></font></div>

<p class=3DMsoNormal><b><font size=3D2 face=3DArial><span =
style=3D'font-size:10.0pt;
font-family:Arial;font-weight:bold'>From:</span></font></b><font =
size=3D2
face=3DArial><span style=3D'font-size:10.0pt;font-family:Arial'> =
owner-<st1:PersonName
w:st=3D"on">openss...@openssl.org</st1:PersonName> =
[mailto:owner-<st1:PersonName
w:st=3D"on">openss...@openssl.org</st1:PersonName>] <b><span
style=3D'font-weight:bold'>On Behalf Of </span></b>Steven Reddie<br>
<b><span style=3D'font-weight:bold'>Sent:</span></b> Tuesday, February =
17, 2004
8:20 PM<br>
<b><span style=3D'font-weight:bold'>To:</span></b> <st1:PersonName =
w:st=3D"on">openss...@openssl.org</st1:PersonName><br>
<b><span style=3D'font-weight:bold'>Subject:</span></b> RE: Installation =
Trouble
VC7 Win32<o:p></o:p></span></font></p>

</div>

<p class=3DMsoNormal><font size=3D2 face=3DArial><span =
style=3D'font-size:10.0pt;
font-family:Arial'><o:p>&nbsp;</o:p></span></font></p>

<div>

<p class=3DMsoNormal><font size=3D2 color=3Dblue face=3DArial><span =
style=3D'font-size:
10.0pt;font-family:Arial;color:blue'>Sorry, spoke too soon.&nbsp; Not =
noticing
the scrollbar, my window size made the message look like it ended after =
the
&quot;wheels fall off&quot; section.&nbsp; doh!</span></font><font =
size=3D2
face=3DArial><span =
style=3D'font-size:10.0pt;font-family:Arial'><o:p></o:p></span></font></p=
>

</div>

<blockquote =
style=3D'margin-top:5.0pt;margin-right:0in;margin-bottom:5.0pt'>

<p class=3DMsoNormal style=3D'margin-bottom:12.0pt'><font size=3D2 =
face=3DArial><span
style=3D'font-size:10.0pt;font-family:Arial'>-----Original =
Message-----<br>
<b><span style=3D'font-weight:bold'>From:</span></b> =
owner-<st1:PersonName =
w:st=3D"on">openss...@openssl.org</st1:PersonName>
[mailto:owner-<st1:PersonName =
w:st=3D"on">openss...@openssl.org</st1:PersonName>]
<b><span style=3D'font-weight:bold'>On Behalf Of </span></b>Steven =
Reddie<br>
<b><span style=3D'font-weight:bold'>Sent:</span></b> Wednesday, 18 =
February 2004
10:06 AM<br>
<b><span style=3D'font-weight:bold'>To:</span></b> <st1:PersonName =
w:st=3D"on">openss...@openssl.org</st1:PersonName><br>
<b><span style=3D'font-weight:bold'>Subject:</span></b> RE: Installation =
Trouble
VC7 Win32<o:p></o:p></span></font></p>

<div>

<p class=3DMsoNormal><font size=3D2 color=3Dblue face=3DArial><span =
style=3D'font-size:
10.0pt;font-family:Arial;color:blue'>Elaborating on &quot;wheels fall =
off&quot;
might make the problem easier to diagnose.&nbsp; If X509_NAME is =
mentioned then
it's probably a clash with the Microsoft Platform SDK.&nbsp; With VC6 =
the
Platform SDK was a seperate optional package and it was&nbsp;simply a =
matter of
removing the Platform SDK from your INCLUDE environment variable to =
build
OpenSSL.&nbsp; With VC.NET I notice that there is a Platform SDK =
subdirectory
of Vc7 so it may not be possible to alter your INCLUDE path in an =
appropriate
way to avoid the SDK.&nbsp; However, I think there is a #define (maybe =
NOCRYPT)
you can use to avoid pulling in Microsoft's =
X509_NAME.</span></font><font
size=3D2 face=3DArial><span =
style=3D'font-size:10.0pt;font-family:Arial'><o:p></o:p></span></font></p=
>

</div>

<div>

<p class=3DMsoNormal><font size=3D2 face=3DArial><span =
style=3D'font-size:10.0pt;

font-family:Arial'>&nbsp;<o:p></o:p></span></font></p>

</div>

<div>

<p class=3DMsoNormal><font size=3D2 color=3Dblue face=3DArial><span =
style=3D'font-size:
10.0pt;font-family:Arial;color:blue'>Regards,</span></font><font =
size=3D2
face=3DArial><span =
style=3D'font-size:10.0pt;font-family:Arial'><o:p></o:p></span></font></p=
>

</div>

<div>

<p class=3DMsoNormal><font size=3D2 face=3DArial><span =
style=3D'font-size:10.0pt;

font-family:Arial'>&nbsp;<o:p></o:p></span></font></p>

</div>

<div>

<p class=3DMsoNormal><font size=3D2 color=3Dblue face=3DArial><span =
style=3D'font-size:
10.0pt;font-family:Arial;color:blue'>Steven</span></font><font size=3D2
face=3DArial><span =
style=3D'font-size:10.0pt;font-family:Arial'><o:p></o:p></span></font></p=
>

</div>

<blockquote =
style=3D'margin-top:5.0pt;margin-right:0in;margin-bottom:5.0pt'>

<p class=3DMsoNormal style=3D'margin-bottom:12.0pt'><font size=3D2 =
face=3DArial><span
style=3D'font-size:10.0pt;font-family:Arial'>-----Original =
Message-----<br>
<b><span style=3D'font-weight:bold'>From:</span></b> =
owner-<st1:PersonName =
w:st=3D"on">openss...@openssl.org</st1:PersonName>
[mailto:owner-<st1:PersonName =
w:st=3D"on">openss...@openssl.org</st1:PersonName>]
<b><span style=3D'font-weight:bold'>On Behalf Of </span></b>Chris =
Rowe<br>
<b><span style=3D'font-weight:bold'>Sent:</span></b> Wednesday, 18 =
February 2004
8:04 AM<br>
<b><span style=3D'font-weight:bold'>To:</span></b> <st1:PersonName =
w:st=3D"on">openss...@openssl.org</st1:PersonName><br>
<b><span style=3D'font-weight:bold'>Subject:</span></b> Installation =
Trouble VC7
Win32<o:p></o:p></span></font></p>

<p class=3DMsoNormal><font size=3D2 face=3DArial><span =
style=3D'font-size:10.0pt;

font-family:Arial'>OK I am new to openssl and am experiencing difficulty
building openssl. I have followed the install.w32 instructions to the =
letter,


but still no luck on the nmake step&#8230;<o:p></o:p></span></font></p>

<p class=3DMsoNormal><font size=3D2 face=3DArial><span =
style=3D'font-size:10.0pt;

font-family:Arial'>Does anyone have a makefile or project/solution file =
*.sln
that simplifies the build under VS.Net VC7?<o:p></o:p></span></font></p>

<p class=3DMsoNormal><font size=3D2 face=3DArial><span =
style=3D'font-size:10.0pt;

font-family:Arial'><o:p>&nbsp;</o:p></span></font></p>

<p class=3DMsoNormal><font size=3D2 face=3DArial><span =
style=3D'font-size:10.0pt;
font-family:Arial'>These two steps are =
fine,,,<o:p></o:p></span></font></p>

<p class=3DMsoNormal><font size=3D2 face=3DArial><span =
style=3D'font-size:10.0pt;
font-family:Arial'>&gt; perl Configure =

VC-WIN32<o:p></o:p></span></font></p>

<p class=3DMsoNormal><font size=3D2 face=3DArial><span =
style=3D'font-size:10.0pt;

font-family:Arial'>&gt; ms\do_masm<o:p></o:p></span></font></p>

<p class=3DMsoNormal><font size=3D2 face=3DArial><span =
style=3D'font-size:10.0pt;

font-family:Arial'><o:p>&nbsp;</o:p></span></font></p>

<p class=3DMsoNormal><font size=3D2 face=3DArial><span =
style=3D'font-size:10.0pt;

font-family:Arial'>This step is where the &#8220;wheels fall =
off&#8221;<o:p></o:p></span></font></p>

<p class=3DMsoNormal><font size=3D2 face=3DArial><span =
style=3D'font-size:10.0pt;
font-family:Arial'>&gt; nmake -f =

ms\ntdll.mak<o:p></o:p></span></font></p>

<p class=3DMsoNormal><font size=3D2 face=3DArial><span =
style=3D'font-size:10.0pt;

font-family:Arial'><o:p>&nbsp;</o:p></span></font></p>

<p class=3DMsoNormal><font size=3D2 face=3DArial><span =
style=3D'font-size:10.0pt;

font-family:Arial'><o:p>&nbsp;</o:p></span></font></p>

<p class=3DMsoNormal><font size=3D2 face=3DArial><span =
style=3D'font-size:10.0pt;

font-family:Arial'>Here is the output in DOS of what&#8217;s happening =
on my


machine (running WinXP Pro, MSVC++6 with latest platform sdk &#8211; all =
paths

are set correctly)<o:p></o:p></span></font></p>

<p class=3DMsoNormal><font size=3D2 face=3DArial><span =
style=3D'font-size:10.0pt;

font-family:Arial'><o:p>&nbsp;</o:p></span></font></p>

<p class=3DMsoNormal><font size=3D2 face=3DArial><span =
style=3D'font-size:10.0pt;
font-family:Arial'>Microsoft Windows XP [Version =
5.1.2600]<o:p></o:p></span></font></p>

<p class=3DMsoNormal><font size=3D2 face=3DArial><span =
style=3D'font-size:10.0pt;
font-family:Arial'>(C) Copyright 1985-2001 Microsoft =

Corp.<o:p></o:p></span></font></p>

<p class=3DMsoNormal><font size=3D2 face=3DArial><span =
style=3D'font-size:10.0pt;

font-family:Arial'><o:p>&nbsp;</o:p></span></font></p>

<p class=3DMsoNormal><font size=3D2 face=3DArial><span =
style=3D'font-size:10.0pt;
font-family:Arial'>D:\Temp\openssl096i&gt;perl Configure =
VC-WIN32<o:p></o:p></span></font></p>

<p class=3DMsoNormal><font size=3D2 face=3DArial><span =
style=3D'font-size:10.0pt;

font-family:Arial'>Configuring for VC-WIN32<o:p></o:p></span></font></p>

<p class=3DMsoNormal><font size=3D2 face=3DArial><span =
style=3D'font-size:10.0pt;

font-family:Arial'>IsWindows=3D1<o:p></o:p></span></font></p>

<p class=3DMsoNormal><font size=3D2 face=3DArial><span =
style=3D'font-size:10.0pt;

font-family:Arial'>CC&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbs=
p;&nbsp;&nbsp;
=3Dcl<o:p></o:p></span></font></p>

<p class=3DMsoNormal><font size=3D2 face=3DArial><span =
style=3D'font-size:10.0pt;

font-family:Arial'>CFLAG&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
=3D-DTHREADS&nbsp; -DDSO_WIN32<o:p></o:p></span></font></p>

<p class=3DMsoNormal><font size=3D2 face=3DArial><span =
style=3D'font-size:10.0pt;

font-family:Arial'>EX_LIBS&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; =
=3D<o:p></o:p></span></font></p>

<p class=3DMsoNormal><font size=3D2 face=3DArial><span =
style=3D'font-size:10.0pt;

font-family:Arial'>BN_ASM&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; =
=3Dbn_asm.o<o:p></o:p></span></font></p>

<p class=3DMsoNormal><font size=3D2 face=3DArial><span =
style=3D'font-size:10.0pt;

font-family:Arial'>DES_ENC&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; =
=3Ddes_enc.o
fcrypt_b.o<o:p></o:p></span></font></p>

<p class=3DMsoNormal><font size=3D2 face=3DArial><span =
style=3D'font-size:10.0pt;

font-family:Arial'>BF_ENC&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; =
=3Dbf_enc.o<o:p></o:p></span></font></p>

<p class=3DMsoNormal><font size=3D2 face=3DArial><span =
style=3D'font-size:10.0pt;

font-family:Arial'>CAST_ENC&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; =
=3Dc_enc.o<o:p></o:p></span></font></p>

<p class=3DMsoNormal><font size=3D2 face=3DArial><span =
style=3D'font-size:10.0pt;

font-family:Arial'>RC4_ENC&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; =
=3Drc4_enc.o<o:p></o:p></span></font></p>

<p class=3DMsoNormal><font size=3D2 face=3DArial><span =
style=3D'font-size:10.0pt;

font-family:Arial'>RC5_ENC&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; =
=3Drc5_enc.o<o:p></o:p></span></font></p>

<p class=3DMsoNormal><font size=3D2 face=3DArial><span =
style=3D'font-size:10.0pt;
font-family:Arial'>MD5_OBJ_ASM&nbsp;&nbsp; =
=3D<o:p></o:p></span></font></p>

<p class=3DMsoNormal><font size=3D2 face=3DArial><span =
style=3D'font-size:10.0pt;

font-family:Arial'>SHA1_OBJ_ASM&nbsp; =3D<o:p></o:p></span></font></p>

<p class=3DMsoNormal><font size=3D2 face=3DArial><span =
style=3D'font-size:10.0pt;

font-family:Arial'>RMD160_OBJ_ASM=3D<o:p></o:p></span></font></p>

<p class=3DMsoNormal><font size=3D2 face=3DArial><span =
style=3D'font-size:10.0pt;

font-family:Arial'>PROCESSOR&nbsp;&nbsp;&nbsp;&nbsp; =
=3D<o:p></o:p></span></font></p>

<p class=3DMsoNormal><font size=3D2 face=3DArial><span =
style=3D'font-size:10.0pt;

font-family:Arial'>RANLIB&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; =
=3Dtrue<o:p></o:p></span></font></p>

<p class=3DMsoNormal><font size=3D2 face=3DArial><span =
style=3D'font-size:10.0pt;

font-family:Arial'>PERL&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&n=
bsp;
=3Dperl<o:p></o:p></span></font></p>

<p class=3DMsoNormal><font size=3D2 face=3DArial><span =
style=3D'font-size:10.0pt;
font-family:Arial'>THIRTY_TWO_BIT mode<o:p></o:p></span></font></p>

<p class=3DMsoNormal><font size=3D2 face=3DArial><span =
style=3D'font-size:10.0pt;
font-family:Arial'>BN_LLONG mode<o:p></o:p></span></font></p>

<p class=3DMsoNormal><font size=3D2 face=3DArial><span =
style=3D'font-size:10.0pt;
font-family:Arial'>RC4_INDEX mode<o:p></o:p></span></font></p>

<p class=3DMsoNormal><font size=3D2 face=3DArial><span =
style=3D'font-size:10.0pt;

font-family:Arial'>RC4_CHUNK is undefined<o:p></o:p></span></font></p>

<p class=3DMsoNormal><font size=3D2 face=3DArial><span =
style=3D'font-size:10.0pt;

font-family:Arial'><o:p>&nbsp;</o:p></span></font></p>

<p class=3DMsoNormal><font size=3D2 face=3DArial><span =
style=3D'font-size:10.0pt;

font-family:Arial'>Configured for VC-WIN32.<o:p></o:p></span></font></p>

<p class=3DMsoNormal><font size=3D2 face=3DArial><span =
style=3D'font-size:10.0pt;

font-family:Arial'><o:p>&nbsp;</o:p></span></font></p>

<p class=3DMsoNormal><font size=3D2 face=3DArial><span =
style=3D'font-size:10.0pt;

font-family:Arial'>The next part seems to be error free as =
well&#8230;<o:p></o:p></span></font></p>

<p class=3DMsoNormal><font size=3D2 face=3DArial><span =
style=3D'font-size:10.0pt;

font-family:Arial'><o:p>&nbsp;</o:p></span></font></p>

<p class=3DMsoNormal><font size=3D2 face=3DArial><span =
style=3D'font-size:10.0pt;

font-family:Arial'>D:\Temp\openssl096i&gt;ms\do_masm<o:p></o:p></span></f=
ont></p>

<p class=3DMsoNormal><font size=3D2 face=3DArial><span =
style=3D'font-size:10.0pt;
font-family:Arial'>Generating x86 for MASM =

assember<o:p></o:p></span></font></p>

<p class=3DMsoNormal><font size=3D2 face=3DArial><span =
style=3D'font-size:10.0pt;

font-family:Arial'>Bignum<o:p></o:p></span></font></p>

<p class=3DMsoNormal><font size=3D2 face=3DArial><span =
style=3D'font-size:10.0pt;

font-family:Arial'>DES<o:p></o:p></span></font></p>

<p class=3DMsoNormal><font size=3D2 face=3DArial><span =
style=3D'font-size:10.0pt;
font-family:Arial'>&quot;crypt(3)&quot;<o:p></o:p></span></font></p>

<p class=3DMsoNormal><font size=3D2 face=3DArial><span =
style=3D'font-size:10.0pt;

font-family:Arial'>Blowfish<o:p></o:p></span></font></p>

<p class=3DMsoNormal><font size=3D2 face=3DArial><span =
style=3D'font-size:10.0pt;

font-family:Arial'>CAST5<o:p></o:p></span></font></p>

<p class=3DMsoNormal><font size=3D2 face=3DArial><span =
style=3D'font-size:10.0pt;

font-family:Arial'>RC4<o:p></o:p></span></font></p>

<p class=3DMsoNormal><font size=3D2 face=3DArial><span =
style=3D'font-size:10.0pt;

font-family:Arial'>MD5<o:p></o:p></span></font></p>

<p class=3DMsoNormal><font size=3D2 face=3DArial><span =
style=3D'font-size:10.0pt;

font-family:Arial'>SHA1<o:p></o:p></span></font></p>

<p class=3DMsoNormal><font size=3D2 face=3DArial><span =
style=3D'font-size:10.0pt;

font-family:Arial'>RIPEMD160<o:p></o:p></span></font></p>

<p class=3DMsoNormal><font size=3D2 face=3DArial><span =
style=3D'font-size:10.0pt;

font-family:Arial'>RC5\32<o:p></o:p></span></font></p>

<p class=3DMsoNormal><font size=3D2 face=3DArial><span =
style=3D'font-size:10.0pt;

font-family:Arial'><o:p>&nbsp;</o:p></span></font></p>

<p class=3DMsoNormal><font size=3D2 face=3DArial><span =
style=3D'font-size:10.0pt;
font-family:Arial'>D:\Temp\openssl096i&gt;perl util\mkfiles.pl&nbsp; =

1&gt;MINFO<o:p></o:p></span></font></p>

<p class=3DMsoNormal><font size=3D2 face=3DArial><span =
style=3D'font-size:10.0pt;

font-family:Arial'><o:p>&nbsp;</o:p></span></font></p>

<p class=3DMsoNormal><font size=3D2 face=3DArial><span =
style=3D'font-size:10.0pt;

font-family:Arial'>D:\Temp\openssl096i&gt;rem perl util\mk1mf.pl =
VC-MSDOS

no-sock &gt;ms\msdos.mak<o:p></o:p></span></font></p>

<p class=3DMsoNormal><font size=3D2 face=3DArial><span =
style=3D'font-size:10.0pt;

font-family:Arial'><o:p>&nbsp;</o:p></span></font></p>

<p class=3DMsoNormal><font size=3D2 face=3DArial><span =
style=3D'font-size:10.0pt;

font-family:Arial'>D:\Temp\openssl096i&gt;rem perl util\mk1mf.pl =
VC-W31-32
&gt;ms\w31.mak<o:p></o:p></span></font></p>

<p class=3DMsoNormal><font size=3D2 face=3DArial><span =
style=3D'font-size:10.0pt;

font-family:Arial'><o:p>&nbsp;</o:p></span></font></p>

<p class=3DMsoNormal><font size=3D2 face=3DArial><span =
style=3D'font-size:10.0pt;
font-family:Arial'>D:\Temp\openssl096i&gt;perl util\mk1mf.pl dll

VC-W31-32&nbsp; 1&gt;ms\w31dll.mak<o:p></o:p></span></font></p>

<p class=3DMsoNormal><font size=3D2 face=3DArial><span =
style=3D'font-size:10.0pt;

font-family:Arial'><o:p>&nbsp;</o:p></span></font></p>

<p class=3DMsoNormal><font size=3D2 face=3DArial><span =
style=3D'font-size:10.0pt;
font-family:Arial'>D:\Temp\openssl096i&gt;perl util\mk1mf.pl =
VC-WIN32&nbsp;

1&gt;ms\nt.mak<o:p></o:p></span></font></p>

<p class=3DMsoNormal><font size=3D2 face=3DArial><span =
style=3D'font-size:10.0pt;

font-family:Arial'><o:p>&nbsp;</o:p></span></font></p>

<p class=3DMsoNormal><font size=3D2 face=3DArial><span =
style=3D'font-size:10.0pt;
font-family:Arial'>D:\Temp\openssl096i&gt;perl util\mk1mf.pl dll =
VC-WIN32&nbsp;

1&gt;ms\ntdll.mak<o:p></o:p></span></font></p>

<p class=3DMsoNormal><font size=3D2 face=3DArial><span =
style=3D'font-size:10.0pt;

font-family:Arial'><o:p>&nbsp;</o:p></span></font></p>

<p class=3DMsoNormal><font size=3D2 face=3DArial><span =
style=3D'font-size:10.0pt;
font-family:Arial'>D:\Temp\openssl096i&gt;perl util\mkdef.pl 16 =
libeay&nbsp;

1&gt;ms\libeay16.def<o:p></o:p></span></font></p>

<p class=3DMsoNormal><font size=3D2 face=3DArial><span =
style=3D'font-size:10.0pt;

font-family:Arial'><o:p>&nbsp;</o:p></span></font></p>

<p class=3DMsoNormal><font size=3D2 face=3DArial><span =
style=3D'font-size:10.0pt;

font-family:Arial'>D:\Temp\openssl096i&gt;perl util\mkdef.pl 32 libeay
&nbsp;1&gt;ms\libeay32.def<o:p></o:p></span></font></p>

<p class=3DMsoNormal><font size=3D2 face=3DArial><span =
style=3D'font-size:10.0pt;

font-family:Arial'><o:p>&nbsp;</o:p></span></font></p>

<p class=3DMsoNormal><font size=3D2 face=3DArial><span =
style=3D'font-size:10.0pt;
font-family:Arial'>D:\Temp\openssl096i&gt;perl util\mkdef.pl 16 =
ssleay&nbsp;

1&gt;ms\ssleay16.def<o:p></o:p></span></font></p>

<p class=3DMsoNormal><font size=3D2 face=3DArial><span =
style=3D'font-size:10.0pt;

font-family:Arial'><o:p>&nbsp;</o:p></span></font></p>

<p class=3DMsoNormal><font size=3D2 face=3DArial><span =
style=3D'font-size:10.0pt;
font-family:Arial'>D:\Temp\openssl096i&gt;perl util\mkdef.pl 32 =
ssleay&nbsp;

1&gt;ms\ssleay32.def<o:p></o:p></span></font></p>

<p class=3DMsoNormal><font size=3D2 face=3DArial><span =
style=3D'font-size:10.0pt;

font-family:Arial'><o:p>&nbsp;</o:p></span></font></p>

<p class=3DMsoNormal><font size=3D2 face=3DArial><span =
style=3D'font-size:10.0pt;

font-family:Arial'><o:p>&nbsp;</o:p></span></font></p>

<p class=3DMsoNormal><font size=3D2 face=3DArial><span =
style=3D'font-size:10.0pt;

font-family:Arial'>Then I am getting the following error on =
nmake<o:p></o:p></span></font></p>

<p class=3DMsoNormal><font size=3D2 face=3DArial><span =
style=3D'font-size:10.0pt;

font-family:Arial'><o:p>&nbsp;</o:p></span></font></p>

<p class=3DMsoNormal><font size=3D2 face=3DArial><span =
style=3D'font-size:10.0pt;

font-family:Arial'>D:\Temp\openssl096i&gt;nmake -f ms\ntdll.mak &gt; =

err<o:p></o:p></span></font></p>

<p class=3DMsoNormal><font size=3D2 face=3DArial><span =
style=3D'font-size:10.0pt;

font-family:Arial'><o:p>&nbsp;</o:p></span></font></p>

<p class=3DMsoNormal><font size=3D2 face=3DArial><span =
style=3D'font-size:10.0pt;

font-family:Arial'>Microsoft (R) Program Maintenance Utility Version =
7.10.3077<o:p></o:p></span></font></p>

<p class=3DMsoNormal><font size=3D2 face=3DArial><span =
style=3D'font-size:10.0pt;

font-family:Arial'>Copyright (C) Microsoft Corporation.&nbsp; All rights
reserved.<o:p></o:p></span></font></p>

<p class=3DMsoNormal><font size=3D2 face=3DArial><span =
style=3D'font-size:10.0pt;

font-family:Arial'><o:p>&nbsp;</o:p></span></font></p>

<p class=3DMsoNormal><font size=3D2 face=3DArial><span =
style=3D'font-size:10.0pt;

font-family:Arial'>NMAKE : fatal error U1077: 'cl' : return code =
'0x2'<o:p></o:p></span></font></p>

<p class=3DMsoNormal><font size=3D2 face=3DArial><span =
style=3D'font-size:10.0pt;

font-family:Arial'>Stop.<o:p></o:p></span></font></p>

<p class=3DMsoNormal><font size=3D2 face=3DArial><span =
style=3D'font-size:10.0pt;

font-family:Arial'>&#8230;.<o:p></o:p></span></font></p>

<p class=3DMsoNormal><font size=3D2 face=3DArial><span =
style=3D'font-size:10.0pt;

font-family:Arial'>Building OpenSSL<o:p></o:p></span></font></p>

<p class=3DMsoNormal><font size=3D2 face=3DArial><span =
style=3D'font-size:10.0pt;

font-family:Arial'>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;=
&nbsp;&nbsp;
cl /Fotmp32dll\cryptlib.obj&nbsp; -Iinc32 -Itmp32dll /MD /W3 /WX /G5 /Ox =
/O2
/Ob2 /Gs0 /GF /Gy /nologo -DWIN32 -DWIN32_LEAN_AND_MEAN -DL_ENDIAN =


-DDSO_WIN32
-DBN_ASM -DMD5_ASM -DSHA1_ASM -DRMD160_ASM /Fdout32dll /Gd -D_WINDLL

-D_DLL&nbsp; -c =
D:\Temp\openssl096i\crypto\cryptlib.c<o:p></o:p></span></font></p>

<p class=3DMsoNormal><font size=3D2 face=3DArial><span =
style=3D'font-size:10.0pt;

font-family:Arial'>cryptlib.c<o:p></o:p></span></font></p>

<p class=3DMsoNormal><font size=3D2 face=3DArial><span =
style=3D'font-size:10.0pt;

font-family:Arial'>D:\Temp\openssl096i\crypto\cryptlib.c(59) : fatal =
error

C1083: Cannot open include file: 'stdio.h': No such file or =
directory<o:p></o:p></span></font></p>

</blockquote>

</blockquote>

</div>

</body>

</html>

------=_NextPart_000_0020_01C3F608.7049C580--

Chris Rowe

unread,
Feb 18, 2004, 12:27:33 PM2/18/04
to
Oh yeah - that is the ticket! Thanks much for pointing me to =
iconsinc.com
Gray and Young have made that an easy process - only had to comment out =
one
Line of code in apps.h to get a clean build.
Thanks again.

-----Original Message-----
From: owner-ope...@openssl.org
[mailto:owner-ope...@openssl.org] On Behalf Of Andrzej Posiadala
Sent: Wednesday, February 18, 2004 6:29 AM
To: openss...@openssl.org
Subject: Re: Installation Trouble VC7 Win32

Hi Chris,
under this url=20
http://www.iconsinc.com/~agray/ossldev

you may find solution to your problem. It's a workspace for VC6 but =


works=20
fine for me with VC++ .NET 2003

Regards
Andrzej Posiada=B3a


"Chris Rowe" <cr...@etsms.com>
Sent by: owner-ope...@openssl.org
2004-02-17 22:04
Please respond to openssl-users

=20
To: <openss...@openssl.org>
cc:=20

Subject: Installation Trouble VC7 Win32


OK I am new to openssl and am experiencing difficulty building openssl. =


I=20
have followed the install.w32 instructions to the letter, but still no=20
luck on the nmake step?

Does anyone have a makefile or project/solution file *.sln that =
simplifies=20


the build under VS.Net VC7?

=20


These two steps are fine,,,
> perl Configure VC-WIN32
> ms\do_masm

=20
This step is where the ?wheels fall off?
> nmake -f ms\ntdll.mak
=20
=20

Here is the output in DOS of what?s happening on my machine (running =
WinXP=20
Pro, MSVC++6 with latest platform sdk ? all paths are set correctly)
=20


Microsoft Windows XP [Version 5.1.2600]
(C) Copyright 1985-2001 Microsoft Corp.

=20


D:\Temp\openssl096i>perl Configure VC-WIN32
Configuring for VC-WIN32

IsWindows=3D1
CC =3Dcl


CFLAG =3D-DTHREADS -DDSO_WIN32
EX_LIBS =3D
BN_ASM =3Dbn_asm.o
DES_ENC =3Ddes_enc.o fcrypt_b.o
BF_ENC =3Dbf_enc.o
CAST_ENC =3Dc_enc.o
RC4_ENC =3Drc4_enc.o
RC5_ENC =3Drc5_enc.o
MD5_OBJ_ASM =3D
SHA1_OBJ_ASM =3D
RMD160_OBJ_ASM=3D

PROCESSOR =3D
RANLIB =3Dtrue
PERL =3Dperl

THIRTY_TWO_BIT mode
BN_LLONG mode
RC4_INDEX mode
RC4_CHUNK is undefined

=20
Configured for VC-WIN32.
=20

The next part seems to be error free as well?
=20


D:\Temp\openssl096i>ms\do_masm
Generating x86 for MASM assember
Bignum
DES
"crypt(3)"
Blowfish
CAST5
RC4
MD5
SHA1
RIPEMD160
RC5\32

=20


D:\Temp\openssl096i>perl util\mkfiles.pl 1>MINFO

=20
D:\Temp\openssl096i>rem perl util\mk1mf.pl VC-MSDOS no-sock =
>ms\msdos.mak
=20


D:\Temp\openssl096i>rem perl util\mk1mf.pl VC-W31-32 >ms\w31.mak

=20


D:\Temp\openssl096i>perl util\mk1mf.pl dll VC-W31-32 1>ms\w31dll.mak

=20


D:\Temp\openssl096i>perl util\mk1mf.pl VC-WIN32 1>ms\nt.mak

=20


D:\Temp\openssl096i>perl util\mk1mf.pl dll VC-WIN32 1>ms\ntdll.mak

=20


D:\Temp\openssl096i>perl util\mkdef.pl 16 libeay 1>ms\libeay16.def

=20


D:\Temp\openssl096i>perl util\mkdef.pl 32 libeay 1>ms\libeay32.def

=20


D:\Temp\openssl096i>perl util\mkdef.pl 16 ssleay 1>ms\ssleay16.def

=20


D:\Temp\openssl096i>perl util\mkdef.pl 32 ssleay 1>ms\ssleay32.def

=20
=20


Then I am getting the following error on nmake

=20


D:\Temp\openssl096i>nmake -f ms\ntdll.mak > err

=20


Microsoft (R) Program Maintenance Utility Version 7.10.3077
Copyright (C) Microsoft Corporation. All rights reserved.

=20


NMAKE : fatal error U1077: 'cl' : return code '0x2'
Stop.

?.
Building OpenSSL
cl /Fotmp32dll\cryptlib.obj -Iinc32 -Itmp32dll /MD /W3 /WX=20
/G5 /Ox /O2 /Ob2 /Gs0 /GF /Gy /nologo -DWIN32 -DWIN32_LEAN_AND_MEAN=20
-DL_ENDIAN -DDSO_WIN32 -DBN_ASM -DMD5_ASM -DSHA1_ASM -DRMD160_ASM=20
/Fdout32dll /Gd -D_WINDLL -D_DLL -c =


D:\Temp\openssl096i\crypto\cryptlib.c

cryptlib.c
D:\Temp\openssl096i\crypto\cryptlib.c(59) : fatal error C1083: Cannot =
open=20


include file: 'stdio.h': No such file or directory

Greg Stark

unread,
Feb 18, 2004, 5:51:59 PM2/18/04
to
Chris,

You should have a shortcut already installed in the Start Menu. Go to
Microsoft Visual Studio .NET -> Visual Studio .NET Tools ->
Visual Studio .NET Command Prompt

now navigate to the openssl dir and follow install.w32

--greg

----- Original Message -----
From: "Chris Rowe" <cr...@etsms.com>
To: <openss...@openssl.org>
Sent: Wednesday, February 18, 2004 12:26 PM
Subject: RE: Installation Trouble VC7 Win32


Oh yeah - that is the ticket! Thanks much for pointing me to iconsinc.com
Gray and Young have made that an easy process - only had to comment out one


Line of code in apps.h to get a clean build.
Thanks again.

-----Original Message-----
From: owner-ope...@openssl.org
[mailto:owner-ope...@openssl.org] On Behalf Of Andrzej Posiadala
Sent: Wednesday, February 18, 2004 6:29 AM
To: openss...@openssl.org
Subject: Re: Installation Trouble VC7 Win32

Hi Chris,
under this url

http://www.iconsinc.com/~agray/ossldev
you may find solution to your problem. It's a workspace for VC6 but works


fine for me with VC++ .NET 2003

Regards
Andrzej PosiadaƂa


"Chris Rowe" <cr...@etsms.com>
Sent by: owner-ope...@openssl.org
2004-02-17 22:04
Please respond to openssl-users


To: <openss...@openssl.org>
cc:


Subject: Installation Trouble VC7 Win32


OK I am new to openssl and am experiencing difficulty building openssl. I


have followed the install.w32 instructions to the letter, but still no

luck on the nmake step?

Does anyone have a makefile or project/solution file *.sln that simplifies


the build under VS.Net VC7?

These two steps are fine,,,


> perl Configure VC-WIN32
> ms\do_masm

This step is where the ?wheels fall off?
> nmake -f ms\ntdll.mak


Here is the output in DOS of what?s happening on my machine (running WinXP


Pro, MSVC++6 with latest platform sdk ? all paths are set correctly)

Microsoft Windows XP [Version 5.1.2600]


(C) Copyright 1985-2001 Microsoft Corp.

D:\Temp\openssl096i>perl Configure VC-WIN32
Configuring for VC-WIN32


IsWindows=1
CC =cl
CFLAG =-DTHREADS -DDSO_WIN32
EX_LIBS =
BN_ASM =bn_asm.o
DES_ENC =des_enc.o fcrypt_b.o
BF_ENC =bf_enc.o
CAST_ENC =c_enc.o
RC4_ENC =rc4_enc.o
RC5_ENC =rc5_enc.o
MD5_OBJ_ASM =
SHA1_OBJ_ASM =
RMD160_OBJ_ASM=
PROCESSOR =
RANLIB =true
PERL =perl

THIRTY_TWO_BIT mode
BN_LLONG mode
RC4_INDEX mode
RC4_CHUNK is undefined

Configured for VC-WIN32.

The next part seems to be error free as well?

D:\Temp\openssl096i>ms\do_masm


Generating x86 for MASM assember
Bignum
DES
"crypt(3)"
Blowfish
CAST5
RC4
MD5
SHA1
RIPEMD160
RC5\32

D:\Temp\openssl096i>perl util\mkfiles.pl 1>MINFO

D:\Temp\openssl096i>rem perl util\mk1mf.pl VC-MSDOS no-sock >ms\msdos.mak

D:\Temp\openssl096i>rem perl util\mk1mf.pl VC-W31-32 >ms\w31.mak

D:\Temp\openssl096i>perl util\mk1mf.pl dll VC-W31-32 1>ms\w31dll.mak

D:\Temp\openssl096i>perl util\mk1mf.pl VC-WIN32 1>ms\nt.mak

D:\Temp\openssl096i>perl util\mk1mf.pl dll VC-WIN32 1>ms\ntdll.mak

D:\Temp\openssl096i>perl util\mkdef.pl 16 libeay 1>ms\libeay16.def

D:\Temp\openssl096i>perl util\mkdef.pl 32 libeay 1>ms\libeay32.def

D:\Temp\openssl096i>perl util\mkdef.pl 16 ssleay 1>ms\ssleay16.def

D:\Temp\openssl096i>perl util\mkdef.pl 32 ssleay 1>ms\ssleay32.def


Then I am getting the following error on nmake

D:\Temp\openssl096i>nmake -f ms\ntdll.mak > err

Microsoft (R) Program Maintenance Utility Version 7.10.3077


Copyright (C) Microsoft Corporation. All rights reserved.

NMAKE : fatal error U1077: 'cl' : return code '0x2'


Stop.
?.
Building OpenSSL
cl /Fotmp32dll\cryptlib.obj -Iinc32 -Itmp32dll /MD /W3 /WX

/G5 /Ox /O2 /Ob2 /Gs0 /GF /Gy /nologo -DWIN32 -DWIN32_LEAN_AND_MEAN

-DL_ENDIAN -DDSO_WIN32 -DBN_ASM -DMD5_ASM -DSHA1_ASM -DRMD160_ASM

/Fdout32dll /Gd -D_WINDLL -D_DLL -c D:\Temp\openssl096i\crypto\cryptlib.c
cryptlib.c
D:\Temp\openssl096i\crypto\cryptlib.c(59) : fatal error C1083: Cannot open

Andrzej Posiadala

unread,
Feb 19, 2004, 4:10:41 AM2/19/04
to
Glad being helpful.
0 new messages