Coel May coel@coelmay.com writes:
So I download nettle-2.4.tar.gz, extract and run ./configure. No problems. Then I run make. the result is below. [...] aes-decrypt-internal.asm:331:suffix or operands invalid for `pop' make[1]: *** [aes-decrypt-internal.o] Error 1 make: *** [all] Error 2
You don't say which architecture you are running on, but I suspect you have an x86_x64, and then nettle build tries to use x86 assemler files (instead of the x86_64 files). The problem is that the config.guess script shipped with nettle-2.4 is too old and doesn't recognize os x on x86_64. Check what ./config.guess outputs if you just run it from the shell.
You could try replacing config.guess with the latest version from http://git.savannah.gnu.org/gitweb/?p=config.git;a=blob_plain;f=config.guess..., and then run configure again.
I've had mixed reports, that worked fine for one user but failed for another. As a workaround, you could also try to configure with --disable-assembler.
In any either, if you're using the same build tree, you must first run make distclean.
Regards, /Niels