I've had success adding the following line somewhere before the offending
_asm block:

#define rdtsc __asm _emit 0x0F __asm _emit 0x31

Looking, back, however, this is probably a MS specific bandaid.

Cheers,
Mike Kurtinitis
[EMAIL PROTECTED]

> From: Ales Pour <[EMAIL PROTECTED]>
> Organization: Princip a.s.
> Reply-To: [EMAIL PROTECTED]
> Date: Tue, 17 Oct 2000 15:44:31 +0200
> To: [EMAIL PROTECTED]
> Subject: compiling 0.9.6 with VC5
> 
> 
> Hello,
> I'm trying to build DLLs with VC5. Here's what happened:
> 
> D:\Prac\_Misc\openssl-0.9.6>nmake -f ms\ntdll.mak
> 
> Microsoft (R) Program Maintenance Utility   Version 1.62.7022
> Copyright (C) Microsoft Corp 1988-1997. All rights reserved.
> 
> Building OpenSSL
> cl /Fotmp32dll\rand_win.obj  -Iinc32 -Itmp32dll /MD /W3 /WX /GB
> /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 .
> \crypto\rand\rand_win.c
> rand_win.c
> .\crypto\rand\rand_win.c(581) : error C2400: inline assembler syntax
> error in 'o
> pcode'; found 'newline'
> NMAKE : fatal error U1077: 'cl' : return code '0x2'
> Stop.
> 
> Is there something I can do to get openssl built?
> Thank you!
> 
> Regards,
> Ales Pour
> 
> --------------
> Ales Pour
> Princip a.s.
> Czech Republic
> ______________________________________________________________________
> OpenSSL Project                                 http://www.openssl.org
> User Support Mailing List                    [EMAIL PROTECTED]
> Automated List Manager                           [EMAIL PROTECTED]

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

Reply via email to