Compile error in n_pkey.c with 0.9.7g on Win32 using ntdll.mak and nasm

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

Compile error in n_pkey.c with 0.9.7g on Win32 using ntdll.mak and nasm

Edward Chan
Compile error in n_pkey.c with 0.9.7g on Win32 using ntdll.mak and nasm

I get the following compile error:

        cl /Fotmp32dll\f_string.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\asn1\f_string.c
f_string.c
        cl /Fotmp32dll\n_pkey.obj  -Iinc32 -Itmp32dll /MD /W3 /WX /G5 /Ox /O2 /O
b2 /Gs0 /GF /Gy /nologo -DOPENSSL_SYSNAME_WIN32 -DWIN32_LEAN_AND_MEAN -DL_ENDIAN
 -DDSO_WIN32 -DBN_ASM -DMD5_ASM -DSHA1_ASM -DRMD160_ASM /Fdout32dll -DOPENSSL_NO
_KRB5 -D_WINDLL  -DOPENSSL_BUILD_SHLIBCRYPTO -c .\crypto\asn1\n_pkey.c
n_pkey.c
.\crypto\asn1\n_pkey.c(96) : error C2370: 'NETSCAPE_ENCRYPTED_PKEY_it' : redefin
ition; different storage class
        .\crypto\asn1\n_pkey.c(93) : see declaration of 'NETSCAPE_ENCRYPTED_PKEY
_it'
.\crypto\asn1\n_pkey.c(106) : error C2370: 'NETSCAPE_PKEY_it' : redefinition; di
fferent storage class
        .\crypto\asn1\n_pkey.c(103) : see declaration of 'NETSCAPE_PKEY_it'
NMAKE : fatal error U1077: 'cl' : return code '0x2'
Stop.


Anybody know anything about this?  I followed the steps in INSTALL.W32 like I have with previous versions of OpenSSL which I was able to build fine.

Ed

Reply | Threaded
Open this post in threaded view
|

RE: Compile error in n_pkey.c with 0.9.7g on Win32 using ntdll.mak and nasm

Edward Chan
Compile error in n_pkey.c with 0.9.7g on Win32 using ntdll.mak and nasm
Crap.  Nevermind.  I forgot to run
 
> perl Configure VC-WIN32


From: [hidden email] [mailto:[hidden email]] On Behalf Of Edward Chan
Sent: Wednesday, June 08, 2005 1:51 PM
To: [hidden email]
Subject: Compile error in n_pkey.c with 0.9.7g on Win32 using ntdll.mak and nasm

I get the following compile error:

        cl /Fotmp32dll\f_string.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\asn1\f_string.c
f_string.c
        cl /Fotmp32dll\n_pkey.obj  -Iinc32 -Itmp32dll /MD /W3 /WX /G5 /Ox /O2 /O
b2 /Gs0 /GF /Gy /nologo -DOPENSSL_SYSNAME_WIN32 -DWIN32_LEAN_AND_MEAN -DL_ENDIAN
 -DDSO_WIN32 -DBN_ASM -DMD5_ASM -DSHA1_ASM -DRMD160_ASM /Fdout32dll -DOPENSSL_NO
_KRB5 -D_WINDLL  -DOPENSSL_BUILD_SHLIBCRYPTO -c .\crypto\asn1\n_pkey.c
n_pkey.c
.\crypto\asn1\n_pkey.c(96) : error C2370: 'NETSCAPE_ENCRYPTED_PKEY_it' : redefin
ition; different storage class
        .\crypto\asn1\n_pkey.c(93) : see declaration of 'NETSCAPE_ENCRYPTED_PKEY
_it'
.\crypto\asn1\n_pkey.c(106) : error C2370: 'NETSCAPE_PKEY_it' : redefinition; di
fferent storage class
        .\crypto\asn1\n_pkey.c(103) : see declaration of 'NETSCAPE_PKEY_it'
NMAKE : fatal error U1077: 'cl' : return code '0x2'
Stop.


Anybody know anything about this?  I followed the steps in INSTALL.W32 like I have with previous versions of OpenSSL which I was able to build fine.

Ed