Post
Topic
Board CPU/GPU Bitcoin mining hardware
Re: Ufasoft Miner Thread - SSE2-optimized for Intel CPUs, version 0.8 (2011-April)
by
eck
on 01/05/2011, 16:41:50 UTC
Having some trouble compiling this on Ubuntu 11.04 x64:

Code:
jwasm -DX64=1 -10 -elf64 -zcw -c -Fosha256sse.o sha256sse.asm
JWasm v2.05, Mar  2 2011, Masm-compatible assembler.
Portions Copyright (c) 1992-2002 Sybase, Inc. All Rights Reserved.
Source code is available under the Sybase Open Watcom Public License.

sha256sse.asm(48) : Error A2091: Language type must be specified
sha256sse.asm(314) : Error A2142: Unmatched block nesting: CalcSha256Sse
sha256sse.asm: 316 lines, 1 passes, 0 ms, 0 warnings, 2 errors
make: *** [sha256sse.o] Error 1

I checked the sha256sse.asm file and found that a language type was declared on x86, but not on x64. I removed the if statement, and did the same on the other ASM file, which allows it to compile but then I get "error 80004001" if I try to use it. Obviously the language type isn't declared on x64 for a reason, but I'm just not certain what it should be on x64 (since it obviously has to be something).

This also happened with the latest version of JWASM - I'm using the older one since that's what most others here are using though.

Thanks in advance!