Hi,
I've followed the instruction in install.w32:
1. > perl Configure VC-WIN32
2.> ms\do_ms
3.> nmake -f ms\ntdll.mak
While I compiled openSSL, an error occured in
openSSL\crypto\rand\rand_win.c
that is :.\crypto\rand\rand_win.c<581>: error c2400: inline asembler
syntax error in 'opcode'; found 'newline'
=======================FOllowing is the code in line 581
574 static int have_tsc = 1;
DWORD cyclecount;
 
if (have_tsc) {
  __try {
    __asm {
      rdtsc
581       mov cyclecount, eax
    }
    RAND_add(&cyclecount, sizeof(cyclecount), 1);
  } __except(EXCEPTION_EXECUTE_HANDLER) {
    have_tsc = 0;
  }
}
 
Do you know why?
Thanks!
Sprinna:)

Reply via email to