Openssl compilation fails on Windows with nasm error: parser: instruction expected

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi,

 

I’m trying to compile openssl 3.0.7 on Windows x64. Installed NASM 2.16.01 from https://www.nasm.us, but it complains loudly:

 

1>perl Configure --prefix=C:\DataAnalysis\MyProject\trunk\Production\Intermediates\x64\Release\openssl -w no-shared enable-egd no-module zlib VC-WIN64A

1>Configuring OpenSSL version 3.0.7 for target VC-WIN64A

[...]

1>nmake

[...]

1>           "nasm"  -Ox -f win64 -DNEAR -g -o crypto\aes\libcrypto-lib-aes-x86_64.obj "crypto\aes\aes-x86_64.asm"

1>crypto\aes\aes-x86_64.asm:1: error: parser: instruction expected

1>crypto\aes\aes-x86_64.asm:5: error: parser: instruction expected

1>crypto\aes\aes-x86_64.asm:7: warning: `PTR' is not a NASM keyword [-w+ptr]

 

The offending crypto\aes\aes-x86_64.asm file starts with:

 

OPTION DOTNAME

.text$    SEGMENT ALIGN(256) 'CODE'

 

ALIGN    16

_x86_64_AES_encrypt     PROC PRIVATE

 

               xor         eax,DWORD PTR[r15]

               xor         ebx,DWORD PTR[4+r15]

 

Any advice?

TIA

Paavo


[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Index of Archives]     [Linux ARM Kernel]     [Linux ARM]     [Linux Omap]     [Fedora ARM]     [IETF Annouce]     [Security]     [Bugtraq]     [Linux]     [Linux OMAP]     [Linux MIPS]     [ECOS]     [Asterisk Internet PBX]     [Linux API]

  Powered by Linux