[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Difficulties building 32 bit version of gmp

From: Rathbone, Bob [NCSBE - Non JJ]
Subject: Difficulties building 32 bit version of gmp
Date: Tue, 3 Aug 2004 16:11:30 +0200

Dear sirs

I am attempting to build perl MATH::GMP which of course requires gmp. The build is on a HPUX 11.0 platform
The computer is a HP 9000 Model D270 - 160 MHz PA-RISC 800 cpu
uname -a output
(HP-UX hpx36 B.11.00 U 9000/871 2000534751 unlimited-user license)

I downloaded  gmp-4.1.3 from your site and compiled it using :
The library built sucessfuly (64 bit version)

I then attempted to make MATH::GMP

# make      
        rm -f blib/arch/auto/Math/GMP/GMP.sl
        LD_RUN_PATH="/usr/local/lib" /usr/bin/ld  -b -L/usr/local/lib -L/opt/local/lib GMP.o  -o blib/arch/auto/Math/GMP/GMP.sl   -lgmp 

/usr/bin/ld: /usr/local/lib/libgmp.sl: Mismatched ABI. 64-bit PA shared library found in 32-bit link.
*** Error exit code 1

I then read your manual !!!

I attempted to configure and build with the ABI=1.0  option

I also try various other configure options such --build=hppa1.0-hp-hpux11.0

The library would not build complaing that I must build certain *.c files with the +Z or +z compiler option.
I tried direct modification of the Makefile but all to no avail.

Any ideas as to what I am doing wrong or what configure option I need to use.

Yours sincerely

Bob Rathbone
Computer Futures
Regional Service Center Operations
Johnson & Johnson
Networking & Computing Services
A division of Janssen Pharmaceutica NV
Turnhoutseweg 30 ·  B-2340 Beerse ·  Belgium
PHONE: ( +32(0)14/60.64.38 ·  E-MAIL: address@hiddencsbe.jnj.com

Confidentiality Notice: This e-mail transmission may contain confidential or legally privileged information that is intended only for the individual or entity named in the e-mail address.  If you are not the intended recipient, you are hereby notified that any disclosure, copying, distribution, or reliance upon the contents of this e-mail is strictly prohibited.  If you have received this  e-mail transmission in error, please reply to the sender, so that Johnson & Johnson can arrange for proper delivery, and then please delete the message from your inbox.  Thank you.


reply via email to

[Prev in Thread] Current Thread [Next in Thread]