facing problem in installation of openssl-0.9.7d

classic Classic list List threaded Threaded
4 messages Options
Reply | Threaded
Open this post in threaded view
|

facing problem in installation of openssl-0.9.7d

dravid11
I am having some error when i try to install openssl-0.9.7d.
from the VC++ environment at a prompt  when i run this command

 > nmake -f ms\ntdll.mak

I get following errors

        1 file(s) copied.
        cl /Fotmp32dll\cryptlib.obj  -Iinc32 -Itmp32dll /MD /W3 /WX /G5 /Ox /O2
/Ob2 /Gs0 /GF /Gy /nologo -DOPENSSL_SYSNAME_WIN32 -DWIN32_LEAN_AND_MEAN -DL_ENDI
AN -DDSO_WIN32 -DBN_ASM -DMD5_ASM -DSHA1_ASM -DRMD160_ASM /Fdout32dll -DOPENSSL_
NO_KRB5 -D_WINDLL  -DOPENSSL_BUILD_SHLIBCRYPTO -c .\crypto\cryptlib.c
cl : Command line warning D9002 : ignoring unknown option '/G5'
cryptlib.c
C:\Program Files\Microsoft Visual Studio 10.0\VC\INCLUDE\errno.h(92) : error C22
20: warning treated as error - no 'object' file generated
C:\Program Files\Microsoft Visual Studio 10.0\VC\INCLUDE\errno.h(92) : warning C
4005: 'EADDRINUSE' : macro redefinition
        tmp32dll\e_os.h(156) : see previous definition of 'EADDRINUSE'
NMAKE : fatal error U1077: '"C:\Program Files\Microsoft Visual Studio 10.0\VC\BI
N\cl.EXE"' : return code '0x2'
Stop.


How can these errors be solved ? Please help in this issue.

Regards,

--
Ahmad

Reply | Threaded
Open this post in threaded view
|

RE: facing problem in installation of openssl-0.9.7d

Charles Mills

Well, as the messages say, you specified /WX – “treat any warning as a fatal error.” You got a warning -- /G5 is deprecated – and, just as you asked, VC treated it as a fatal error.

 

Charles

From: [hidden email] [mailto:[hidden email]] On Behalf Of Ahmad
Sent: Wednesday, September 26, 2012 2:46 AM
To: [hidden email]
Subject: facing problem in installation of openssl-0.9.7d

 

I am having some error when i try to install openssl-0.9.7d.
from the VC++ environment at a prompt  when i run this command

 > nmake -f ms\ntdll.mak

I get following errors

        1 file(s) copied.
        cl /Fotmp32dll\cryptlib.obj  -Iinc32 -Itmp32dll /MD /W3 /WX /G5 /Ox /O2
/Ob2 /Gs0 /GF /Gy /nologo -DOPENSSL_SYSNAME_WIN32 -DWIN32_LEAN_AND_MEAN -DL_ENDI
AN -DDSO_WIN32 -DBN_ASM -DMD5_ASM -DSHA1_ASM -DRMD160_ASM /Fdout32dll -DOPENSSL_
NO_KRB5 -D_WINDLL  -DOPENSSL_BUILD_SHLIBCRYPTO -c .\crypto\cryptlib.c
cl : Command line warning D9002 : ignoring unknown option '/G5'
cryptlib.c
C:\Program Files\Microsoft Visual Studio 10.0\VC\INCLUDE\errno.h(92) : error C22
20: warning treated as error - no 'object' file generated
C:\Program Files\Microsoft Visual Studio 10.0\VC\INCLUDE\errno.h(92) : warning C
4005: 'EADDRINUSE' : macro redefinition
        tmp32dll\e_os.h(156) : see previous definition of 'EADDRINUSE'
NMAKE : fatal error U1077: '"C:\Program Files\Microsoft Visual Studio 10.0\VC\BI
N\cl.EXE"' : return code '0x2'
Stop.


How can these errors be solved ? Please help in this issue.

Regards,

--
Ahmad

Reply | Threaded
Open this post in threaded view
|

Re: RE: facing problem in installation of openssl-0.9.7d

Carl Young
In reply to this post by dravid11

Apologies for repeated top-posting. Only have crappy web-access.


See: http://stackoverflow.com/questions/3242386/error-compiling-openssl-for-win32

You can locally fix up Op4enSSL's e_os.h to remove conflicts or find another way to to do. I think the /G5 is being ignored.

 

Carl


On Wed 26/09/12 12:20 PM , "Charles Mills" [hidden email] sent:

Well, as the messages say, you specified /WX – “treat any warning as a fatal error.” You got a warning -- /G5 is deprecated – and, just as you asked, VC treated it as a fatal error.

 

Charles

From: [hidden email] [mailto:[hidden email]] On Behalf Of Ahmad
Sent: Wednesday, September 26, 2012 2:46 AM
To: [hidden email]
Subject: facing problem in installation of openssl-0.9.7d

 

I am having some error when i try to install openssl-0.9.7d.
from the VC++ environment at a prompt  when i run this command

 > nmake -f ms\ntdll.mak

I get following errors

        1 file(s) copied.
        cl /Fotmp32dll\cryptlib.obj  -Iinc32 -Itmp32dll /MD /W3 /WX /G5 /Ox /O2
/Ob2 /Gs0 /GF /Gy /nologo -DOPENSSL_SYSNAME_WIN32 -DWIN32_LEAN_AND_MEAN -DL_ENDI
AN -DDSO_WIN32 -DBN_ASM -DMD5_ASM -DSHA1_ASM -DRMD160_ASM /Fdout32dll -DOPENSSL_
NO_KRB5 -D_WINDLL  -DOPENSSL_BUILD_SHLIBCRYPTO -c .\crypto\cryptlib.c
cl : Command line warning D9002 : ignoring unknown option '/G5'
cryptlib.c
C:\Program Files\Microsoft Visual Studio 10.0\VC\INCLUDE\errno.h(92) : error C22
20: warning treated as error - no 'object' file generated
C:\Program Files\Microsoft Visual Studio 10.0\VC\INCLUDE\errno.h(92) : warning C
4005: 'EADDRINUSE' : macro redefinition
        tmp32dll\e_os.h(156) : see previous definition of 'EADDRINUSE'
NMAKE : fatal error U1077: '"C:\Program Files\Microsoft Visual Studio 10.0\VC\BI
N\cl.EXE"' : return code '0x2'
Stop.


How can these errors be solved ? Please help in this issue.

Regards,

--
Ahmad


Reply | Threaded
Open this post in threaded view
|

RE: facing problem in installation of openssl-0.9.7d

J. J. Farrell-2
In reply to this post by dravid11

You're probably using a much more recent version of the tool-chain, headers, and libraries than that version of OpenSSL was developed with - it was released nine or so years ago. One way would be to get hold of tools and headers which were in use back then. Another is to go through the sources and makefiles to port them to work with current tool-chains - perhaps looking at the configuration and make files from a recent OpenSSL release would help.

 

Regards,

                         jjf

 

From: Ahmad [mailto:[hidden email]]
Sent: Wednesday, September 26, 2012 7:46 AM
To: [hidden email]
Subject: facing problem in installation of openssl-0.9.7d

 

I am having some error when i try to install openssl-0.9.7d.
from the VC++ environment at a prompt  when i run this command

 > nmake -f ms\ntdll.mak

I get following errors

        1 file(s) copied.
        cl /Fotmp32dll\cryptlib.obj  -Iinc32 -Itmp32dll /MD /W3 /WX /G5 /Ox /O2
/Ob2 /Gs0 /GF /Gy /nologo -DOPENSSL_SYSNAME_WIN32 -DWIN32_LEAN_AND_MEAN -DL_ENDI
AN -DDSO_WIN32 -DBN_ASM -DMD5_ASM -DSHA1_ASM -DRMD160_ASM /Fdout32dll -DOPENSSL_
NO_KRB5 -D_WINDLL  -DOPENSSL_BUILD_SHLIBCRYPTO -c .\crypto\cryptlib.c
cl : Command line warning D9002 : ignoring unknown option '/G5'
cryptlib.c
C:\Program Files\Microsoft Visual Studio 10.0\VC\INCLUDE\errno.h(92) : error C22
20: warning treated as error - no 'object' file generated
C:\Program Files\Microsoft Visual Studio 10.0\VC\INCLUDE\errno.h(92) : warning C
4005: 'EADDRINUSE' : macro redefinition
        tmp32dll\e_os.h(156) : see previous definition of 'EADDRINUSE'
NMAKE : fatal error U1077: '"C:\Program Files\Microsoft Visual Studio 10.0\VC\BI
N\cl.EXE"' : return code '0x2'
Stop.


How can these errors be solved ? Please help in this issue.

Regards,

--
Ahmad