Title: Message

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-[EMAIL PROTECTED] [mailto:owner-[EMAIL PROTECTED]] On Behalf Of Steven Reddie
Sent: Tuesday, February 17, 2004 8:20 PM
To: [EMAIL PROTECTED]
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-[EMAIL PROTECTED] [mailto:owner-[EMAIL PROTECTED]] On Behalf Of Steven Reddie
Sent: Wednesday, 18 February 2004 10:06 AM
To: [EMAIL PROTECTED]
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-[EMAIL PROTECTED] [mailto:owner-[EMAIL PROTECTED]] On Behalf Of Chris Rowe
Sent: Wednesday, 18 February 2004 8:04 AM
To: [EMAIL PROTECTED]
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

Reply via email to