[Botan-devel] Linux compilation issue - unix_cmd.cpp
Andreas Wiratanaya
wiratanaya at gmail.com
Fri Jul 6 11:12:36 EDT 2007
Dear Jack,
thank you for the fast reply. This indeed solved the problem.
Again, thank you very much for your help.
- Andreas
On 7/6/07, Jack Lloyd <lloyd at randombit.net> wrote:
> 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
>
>
> _______________________________________________
> botan-devel mailing list
> botan-devel at randombit.net
> http://www.randombit.net/mailman/listinfo/botan-devel
>
More information about the botan-devel
mailing list