Hello,

When you run Configure if you pass the prefix, you must use slashes (Unix) instead of backslashes (Windows), even if you are compiling in a Windows system. If you do something like this:

perl Configure VC-WIN32 --prefix c:\openssl

The compiler will complain because somewhere in the code, a string "c:\openssl" appears, so the compiler thinks that with '\o' you mean some kind of escape sequence (kind of '\n' and '\b'), and '\o' is not defined.

You must use slashes. This is:

perl Configure VC-WIN32 --prefix c:/openssl

Even though you are compiling under Windows.

Best regards,

   Ion


Ambarish Mitra(e)k dio:

Hello All,

Am trying to compile openssl 0.9.8h version. I am getting following errors
during compilation.

C:\Apache_2.2.9\httpd-2.2.9\srclib\openssl>nmake -f ms\ntdll.mak

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

Building OpenSSL
        cl /Fotmp32dll\cversion.obj  -Iinc32 -Itmp32dll /MD /Ox /O2 /Ob2 /W3
/WX


--------
AM: /WX tells the compiler to treat a warning as an error.



 /Gs0 /GF /Gy
/nologo -DOPENSSL_SYSNAME_WIN32 -DWIN32_LEAN_AND_MEAN -DL_ENDIAN -
DDSO_WIN32 -D_CRT_SECURE_NO_DEPRECATE -D_CRT_NONSTDC_NO_DEPRECATE -DOPENSSL_
CPUI
D_OBJ -DOPENSSL_IA32_SSE2 -DAES_ASM -DBN_ASM -DOPENSSL_BN_ASM_PART_WORDS -DM
D5_A
SM -DSHA1_ASM -DRMD160_ASM -DOPENSSL_USE_APPLINK -I.
/Fdout32dll -DOPENSSL_NO_ID
EA -DOPENSSL_NO_CAMELLIA -DOPENSSL_NO_SEED -DOPENSSL_NO_RC5 -DOPENSSL_NO_MDC
2 -D
OPENSSL_NO_TLSEXT -DOPENSSL_NO_CMS -DOPENSSL_NO_KRB5 -DOPENSSL_NO_DYNAMIC_EN
GINE
 -D_WINDLL  -DOPENSSL_BUILD_SHLIBCRYPTO -DMK1MF_BUILD -DMK1MF_PLATFORM_VC_WI
N32
-c .\crypto\cversion.c
cversion.c
.\crypto\cversion.c(105) : error C2220: warning treated as error - no object
fil
e generated
.\crypto\cversion.c(105) : warning C4129: 'o' : unrecognized character
escape se
quence


-------
AM: This tells it all. In the code, you have somewhere \o - which is not
recognized as an escape sequence. Escape seq examples are \n, \t, \r ...
Since you have used /WX, this warning is treated as an error, and the
compiler aborts. Correct this portion of the code, or remove /WX from
compiler option.

Thanks,
Ambarish.


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

Any thoughts?
Thanks in advance,
Prathima.


DISCLAIMER
==========
This e-mail may contain privileged and confidential information which is the 
property of Persistent Systems Ltd. It is intended only for the use of the 
individual or entity to which it is addressed. If you are not the intended 
recipient, you are not authorized to read, retain, copy, print, distribute or 
use this message. If you have received this communication in error, please 
notify the sender and delete all copies of this message. Persistent Systems 
Ltd. does not accept any liability for virus infected mails.
______________________________________________________________________
OpenSSL Project                                 http://www.openssl.org
User Support Mailing List                    openssl-users@openssl.org
Automated List Manager                           [EMAIL PROTECTED]

______________________________________________________________________
OpenSSL Project                                 http://www.openssl.org
User Support Mailing List                    openssl-users@openssl.org
Automated List Manager                           [EMAIL PROTECTED]

Reply via email to