[Botan-devel] Linux compilation issue - unix_cmd.cpp
Jack Lloyd
lloyd at randombit.net
Fri Jul 6 10:48:29 EDT 2007
On Fri, Jul 06, 2007 at 04:45:13PM +0200, Andreas Wiratanaya wrote:
> Hi,
>
> we are having compilation issues with Botan on a Linux machine
> (Core2Duo Processor but 32bit Linux installed due to compatibility
> issue with required 3rd party software).
>
> Following the output command of the make command:
>
> [...]
>
> g++ -m64 -Ibuild/include -O2 -finline-functions -march=nocona
> -momit-leaf-frame-pointer -D_REENTRANT -ansi -Wno-long-long
> -fpermissive -W -Wall -fPIC -c modules/es_unix/unix_cmd.cpp -o
> build/lib/unix_cmd.o
>
> /tmp/ccjHHPFX.s: Assembler messages:
> /tmp/ccjHHPFX.s:172: Error: Incorrect register `%rax' used with `l' suffix
> /tmp/ccjHHPFX.s:199: Error: Incorrect register `%rdx' used with `l' suffix
> make: *** [build/lib/unix_cmd.o] Error 1
>
> Any pointers are greatly appreciated.
It looks like you are attempting to compile in 64-bit mode (-m64). How
did you configure the library? If run without arguments the configure
script would probably have detected the system as Core2 and configured
for a 64-bit build. You can explicitly override this by
./configure.pl gcc-linux-p4
-Jack
More information about the botan-devel
mailing list