Hi,
In the process of attempting to build gnutls under os x I get an error saying libnettle is not found. Ok.
So I download nettle-2.4.tar.gz, extract and run ./configure. No problems.
Then I run make. the result is below.
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - $ make make all-here /usr/bin/m4 ./asm.m4 machine.m4 config.m4 \ aes-decrypt-internal.asm >aes-decrypt-internal.s gcc -I. -DHAVE_CONFIG_H -g -O2 -ggdb3 -Wno-pointer-sign -Wall -W -Wmissing-prototypes -Wmissing-declarations -Wstrict-prototypes -Wpointer-arith -Wbad-function-cast -Wnested-externs -fPIC -MT aes-decrypt-internal.o -MD -MP -MF aes-decrypt-internal.o.d -fPIC -c aes-decrypt-internal.s aes-decrypt-internal.asm:109:suffix or operands invalid for `push' aes-decrypt-internal.asm:110:suffix or operands invalid for `push' aes-decrypt-internal.asm:111:suffix or operands invalid for `push' aes-decrypt-internal.asm:112:suffix or operands invalid for `push' aes-decrypt-internal.asm:328:suffix or operands invalid for `pop' aes-decrypt-internal.asm:329:suffix or operands invalid for `pop' aes-decrypt-internal.asm:330:suffix or operands invalid for `pop' aes-decrypt-internal.asm:331:suffix or operands invalid for `pop' make[1]: *** [aes-decrypt-internal.o] Error 1 make: *** [all] Error 2
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
Am I missing something? I must be, right?
Any help appreciated.
coel may e: coel@coelmay.com w: http://coelmay.com t: twitter.com/coelmay
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
On 17/09/2011, at 2:51 PM, Niels Möller wrote:
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.
Downloading the config.guess and replacing the original did the trick. And yes, x86_64 architecture.
Thanks for the help and quick response Niels
Regards coel may e: coel@coelmay.com w: http://coelmay.com t: twitter.com/coelmay
the link provided is broken :( can you repost?
Niels Möller <nisse@...> writes:
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.
it works ok for me.
try this one: http://git.savannah.gnu.org/gitweb/?p=config.git;a=blob_plain;f=config.guess...
or maybe try navigating from the config.git project root http://git.savannah.gnu.org/gitweb/?p=config.git
On 15/11/2011, at 09:34 , Anna Smith wrote:
the link provided is broken :( can you repost?
Niels Möller <nisse@...> writes:
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.
nettle-bugs mailing list nettle-bugs@lists.lysator.liu.se http://lists.lysator.liu.se/mailman/listinfo/nettle-bugs
Anna Smith anna@bit.ly writes:
the link provided is broken :( can you repost?
Works for me. Maybe you accidentally copied the "," at the end? That was not intended as a part of the url. It should be just
http://git.savannah.gnu.org/gitweb/?p=config.git;a=blob_plain;f=config.guess...
Regards, /Niels
Niels Möller <nisse@...> writes:
Anna Smith <anna@...> writes:
the link provided is broken :( can you repost?
Works for me. Maybe you accidentally copied the "," at the end? That was not intended as a part of the url. It should be just
http://git.savannah.gnu.org/gitweb/?p=config.git;a=blob_plain;f=config.guess...
Regards, /Niels
Another success! Thanks.
But got an ensuing error: md5-compress.asm:100:suffix or operands invalid for `push'
Could someone help one this? Thanks.
Senvey Lee senvey@gmail.com writes:
Another success! Thanks.
But got an ensuing error: md5-compress.asm:100:suffix or operands invalid for `push'
Sorry for the late reply.
Could someone help one this? Thanks.
The md5-compress.asm file exists only for the 32-bit x86 target. I'm assuming you're building for x86_64? Then either configure and config.guess stil doesn't recognize your platform correctly, or the md5.comress.asm link is a left-over from an earlier run of configure.
In the latter case, run make distclean to clean up (with gnu conventions, this is the make target to use to undo everything done by configure), and rerun configure.
Regards, /Niels
nettle-bugs@lists.lysator.liu.se