[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: gmp 4.0.1 linking problem on HP-UX 11
From: |
Torbjorn Granlund |
Subject: |
Re: gmp 4.0.1 linking problem on HP-UX 11 |
Date: |
11 Mar 2002 16:18:25 +0100 |
User-agent: |
Gnus/5.0807 (Gnus v5.8.7) Emacs/20.7 |
Bernd Nies <address@hidden> writes:
Hi,
I get this error when compiling/linking gmp 4.0.1 on
HP-UX 11.00:
gtar -xvzf gmp-4.0.1.tar.gz
cd gmp-4.0.1
export CFLAGS="+DAportable +DS32 +z -Ae -w"
./configure --prefix=/u00/app/oracle/local/tvdperl
gmake
[snip]
/usr/bin/ld: mpn/.libs/umul_ppmm.o: Mismatched ABI. 64-bit PA object
The 64bit version compiles fine but I need to compile a position
independend 32bit version for linking against Perl::GMP module.
Obviously some CFLAGS are not passed to all compiler instructions.
The assembly code is 64-bit (2.0n or 2.0w depending on the
environment).
I suggest that you read the manual. Specifically, read
http://swox.com/gmp/manual/ABI-and-ISA.html.
--
Torbjörn