Errors compiling snapshot under Win32

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
3 messages Options
Reply | Threaded
Open this post in threaded view
|

Errors compiling snapshot under Win32

Chris Clark
I'm having trouble compiling the current snapshot of OpenSSL under VC++.

Configure and domasm are both successful, but when I run nmake I get
the following result:

> nmake -f ms\ntdll.mak

Microsoft (R) Program Maintenance Utility   Version 6.00.9782.0
Copyright (C) Microsoft Corp 1988-1998. All rights reserved.

Building OpenSSL
        perl util/copy.pl .\crypto\buildinf.h tmp32dll\buildinf.h
Copying: ./crypto/buildinf.h to tmp32dll/buildinf.h
        ml /Cp /coff /c /Cx /Focrypto\md5\asm\m5_win32.obj .\crypto\md5\asm\m5_w
in32.asm
Microsoft (R) Macro Assembler Version 6.15.8803
Copyright (C) Microsoft Corp 1981-2000.  All rights reserved.

Assembling: .\crypto\md5\asm\m5_win32.asm
        ml /Cp /coff /c /Cx /Focrypto\sha\asm\s1_win32.obj
.\crypto\sha\asm\s1_win32.asm
Microsoft (R) Macro Assembler Version 6.15.8803
Copyright (C) Microsoft Corp 1981-2000.  All rights reserved.

Assembling: .\crypto\sha\asm\s1_win32.asm
        ml /Cp /coff /c /Cx /Focrypto\ripemd\asm\rm_win32.obj
.\crypto\ripemd\asm\rm_win32.asm
Microsoft (R) Macro Assembler Version 6.15.8803
Copyright (C) Microsoft Corp 1981-2000.  All rights reserved.

Assembling: .\crypto\ripemd\asm\rm_win32.asm
        ml /Cp /coff /c /Cx /Focrypto\des\asm\d_win32.obj
.\crypto\des\asm\d_win32.asm
Microsoft (R) Macro Assembler Version 6.15.8803
Copyright (C) Microsoft Corp 1981-2000.  All rights reserved.

Assembling: .\crypto\des\asm\d_win32.asm
        ml /Cp /coff /c /Cx /Focrypto\des\asm\y_win32.obj
.\crypto\des\asm\y_win32.asm
Microsoft (R) Macro Assembler Version 6.15.8803
Copyright (C) Microsoft Corp 1981-2000.  All rights reserved.

Assembling: .\crypto\des\asm\y_win32.asm
        ml /Cp /coff /c /Cx /Focrypto\rc4\asm\r4_win32.obj
.\crypto\rc4\asm\r4_win32.asm
Microsoft (R) Macro Assembler Version 6.15.8803
Copyright (C) Microsoft Corp 1981-2000.  All rights reserved.

Assembling: .\crypto\rc4\asm\r4_win32.asm
        ml /Cp /coff /c /Cx /Focrypto\bf\asm\b_win32.obj
.\crypto\bf\asm\b_win32.asm
Microsoft (R) Macro Assembler Version 6.15.8803
Copyright (C) Microsoft Corp 1981-2000.  All rights reserved.

Assembling: .\crypto\bf\asm\b_win32.asm
        ml /Cp /coff /c /Cx /Focrypto\cast\asm\c_win32.obj
.\crypto\cast\asm\c_win32.asm
Microsoft (R) Macro Assembler Version 6.15.8803
Copyright (C) Microsoft Corp 1981-2000.  All rights reserved.

Assembling: .\crypto\cast\asm\c_win32.asm
        ml /Cp /coff /c /Cx /Focrypto\bn\asm\bn_win32.obj
.\crypto\bn\asm\bn_win32.asm
Microsoft (R) Macro Assembler Version 6.15.8803
Copyright (C) Microsoft Corp 1981-2000.  All rights reserved.

Assembling: .\crypto\bn\asm\bn_win32.asm
        cl /Fotmp32dll\t_pkey.obj  -Iinc32 -Itmp32dll /MD /Ox /O2 /Ob2 /W3 /WX /
Gs0 /GF /Gy /nologo -DOPENSSL_SYSNAME_WIN32 -DWIN32_LEAN_AND_MEAN -DL_ENDIAN -DD
SO_WIN32 -D_CRT_SECURE_NO_DEPRECATE -D_CRT_NONSTDC_NO_DEPRECATE -DBN_ASM -DMD5_A
SM -DSHA1_ASM -DRMD160_ASM -DOPENSSL_USE_APPLINK -I. /Fdout32dll -DOPENSSL_NO_RC
5 -DOPENSSL_NO_MDC2 -DOPENSSL_NO_KRB5 -DOPENSSL_NO_DYNAMIC_ENGINE -D_WINDLL  -DO
PENSSL_BUILD_SHLIBCRYPTO -c .\crypto\asn1\t_pkey.ct_pkey.c
.\crypto\asn1\t_pkey.c(161) : error C2220: warning treated as error -
no object file generated
.\crypto\asn1\t_pkey.c(161) : warning C4013: 'ASN1_bn_print'
undefined; assuming extern returning int
NMAKE : fatal error U1077: 'cl' : return code '0x2'
Stop.

Could anyone point me in the right direction?

-Chris
______________________________________________________________________
OpenSSL Project                                 http://www.openssl.org
User Support Mailing List                    [hidden email]
Automated List Manager                           [hidden email]
Reply | Threaded
Open this post in threaded view
|

Re: Errors compiling snapshot under Win32

Dae-Oh Bae
 
Try to run ms\do_ms instead of running ms\do_masm

-Daeoh
 
 
2006/4/17, Chris Clark <[hidden email]>:
I'm having trouble compiling the current snapshot of OpenSSL under VC++.

Configure and domasm are both successful, but when I run nmake I get
the following result:

> nmake -f ms\ntdll.mak

Microsoft (R) Program Maintenance Utility   Version 6.00.9782.0
Copyright (C) Microsoft Corp 1988-1998. All rights reserved.

Building OpenSSL
       perl util/copy.pl .\crypto\buildinf.h tmp32dll\buildinf.h
Copying: ./crypto/buildinf.h to tmp32dll/buildinf.h
       ml /Cp /coff /c /Cx /Focrypto\md5\asm\m5_win32.obj .\crypto\md5\asm\m5_w
in32.asm
Microsoft (R) Macro Assembler Version 6.15.8803
Copyright (C) Microsoft Corp 1981-2000.  All rights reserved.

Assembling: .\crypto\md5\asm\m5_win32.asm
       ml /Cp /coff /c /Cx /Focrypto\sha\asm\s1_win32.obj
.\crypto\sha\asm\s1_win32.asm
Microsoft (R) Macro Assembler Version 6.15.8803
Copyright (C) Microsoft Corp 1981-2000.  All rights reserved.

Assembling: .\crypto\sha\asm\s1_win32.asm
       ml /Cp /coff /c /Cx /Focrypto\ripemd\asm\rm_win32.obj
.\crypto\ripemd\asm\rm_win32.asm
Microsoft (R) Macro Assembler Version 6.15.8803
Copyright (C) Microsoft Corp 1981-2000.  All rights reserved.

Assembling: .\crypto\ripemd\asm\rm_win32.asm
       ml /Cp /coff /c /Cx /Focrypto\des\asm\d_win32.obj
.\crypto\des\asm\d_win32.asm
Microsoft (R) Macro Assembler Version 6.15.8803
Copyright (C) Microsoft Corp 1981-2000.  All rights reserved.

Assembling: .\crypto\des\asm\d_win32.asm
       ml /Cp /coff /c /Cx /Focrypto\des\asm\y_win32.obj
.\crypto\des\asm\y_win32.asm
Microsoft (R) Macro Assembler Version 6.15.8803
Copyright (C) Microsoft Corp 1981-2000.  All rights reserved.

Assembling: .\crypto\des\asm\y_win32.asm
       ml /Cp /coff /c /Cx /Focrypto\rc4\asm\r4_win32.obj
.\crypto\rc4\asm\r4_win32.asm
Microsoft (R) Macro Assembler Version 6.15.8803
Copyright (C) Microsoft Corp 1981-2000.  All rights reserved.

Assembling: .\crypto\rc4\asm\r4_win32.asm
       ml /Cp /coff /c /Cx /Focrypto\bf\asm\b_win32.obj
.\crypto\bf\asm\b_win32.asm
Microsoft (R) Macro Assembler Version 6.15.8803
Copyright (C) Microsoft Corp 1981-2000.  All rights reserved.

Assembling: .\crypto\bf\asm\b_win32.asm
       ml /Cp /coff /c /Cx /Focrypto\cast\asm\c_win32.obj
.\crypto\cast\asm\c_win32.asm
Microsoft (R) Macro Assembler Version 6.15.8803
Copyright (C) Microsoft Corp 1981-2000.  All rights reserved.

Assembling: .\crypto\cast\asm\c_win32.asm
       ml /Cp /coff /c /Cx /Focrypto\bn\asm\bn_win32.obj
.\crypto\bn\asm\bn_win32.asm
Microsoft (R) Macro Assembler Version 6.15.8803
Copyright (C) Microsoft Corp 1981-2000.  All rights reserved.

Assembling: .\crypto\bn\asm\bn_win32.asm
       cl /Fotmp32dll\t_pkey.obj  -Iinc32 -Itmp32dll /MD /Ox /O2 /Ob2 /W3 /WX /
Gs0 /GF /Gy /nologo -DOPENSSL_SYSNAME_WIN32 -DWIN32_LEAN_AND_MEAN -DL_ENDIAN -DD
SO_WIN32 -D_CRT_SECURE_NO_DEPRECATE -D_CRT_NONSTDC_NO_DEPRECATE -DBN_ASM -DMD5_A
SM -DSHA1_ASM -DRMD160_ASM -DOPENSSL_USE_APPLINK -I. /Fdout32dll -DOPENSSL_NO_RC
5 -DOPENSSL_NO_MDC2 -DOPENSSL_NO_KRB5 -DOPENSSL_NO_DYNAMIC_ENGINE -D_WINDLL  -DO
PENSSL_BUILD_SHLIBCRYPTO -c .\crypto\asn1\t_pkey.ct_pkey.c
.\crypto\asn1\t_pkey.c(161) : error C2220: warning treated as error -
no object file generated
.\crypto\asn1\t_pkey.c(161) : warning C4013: 'ASN1_bn_print'
undefined; assuming extern returning int
NMAKE : fatal error U1077: 'cl' : return code '0x2'
Stop.

Could anyone point me in the right direction?

-Chris
______________________________________________________________________
OpenSSL Project                                 <a onclick="return top.js.OpenExtLink(window,event,this)" href="http://www.openssl.org/" target="_blank"> http://www.openssl.org
User Support Mailing List                     [hidden email]
Automated List Manager                           [hidden email]

Reply | Threaded
Open this post in threaded view
|

Re: Errors compiling snapshot under Win32

Dr. Stephen Henson
In reply to this post by Chris Clark
On Sun, Apr 16, 2006, Chris Clark wrote:

> I'm having trouble compiling the current snapshot of OpenSSL under VC++.
>
> Configure and domasm are both successful, but when I run nmake I get
> the following result:
>
> Could anyone point me in the right direction?
>

It would help if you said which snapshot version. There was a problem with one
0.9.8 snapshot yesterday which should be fixed now.

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
______________________________________________________________________
OpenSSL Project                                 http://www.openssl.org
User Support Mailing List                    [hidden email]
Automated List Manager                           [hidden email]