Mailing List Archive

Compiling gpg for HPUX -- __udiv_qrnnd unsatisfied
Hi,

I'm trying to compile gunpg-1.0.2 for HPUX. I have installed gnu make.
Many things seem to compile, but eventually it runs into the error:

Making all in tools
make[2]: Entering directory `/home/beth/src/outside/gnupg-1.0.2/tools'
gcc -g -O2 -Wall -o mpicalc mpicalc.o ../cipher/libcipher.a ..
/mpi/libmpi.a ../util/libutil.a ../intl/libintl.a -ldld
collect2: ld returned 1 exit status
/usr/bin/ld: Unsatisfied symbols:
__udiv_qrnnd (code)

Does anyone on this list know what the problem might be?

Thanks,
--Beth
+++++++++++++++++++++++++++++
+ Beth Leonard +
+ Agilent Technologies +
+ Beth_Leonard@agilent.com +
+ (408) 345-8557 +
+++++++++++++++++++++++++++++

--
Archive is at http://lists.gnupg.org - Unsubscribe by sending mail
with a subject of "unsubscribe" to gnupg-users-request@gnupg.org
Re: Compiling gpg for HPUX -- __udiv_qrnnd unsatisfied [ In reply to ]
On Tue, Sep 05, 2000 at 05:37:44AM -0700, rmartini@nettaxi.com wrote:
> Hi Beth!
>
> What the flags you used at the 'configure' moment?
> I have compiled many GnuPG Unix versions (look at http://rmartini.da.ru), and I disable *always* the Assembler instructions:
>
> ./configure --disable-assembler
>
> Try this... Ok?

Hi,

I tried that and it didn't work (gave the same error). Some poking
around reveals that there is a directory mpi/hppa/ and mpi/hppa1.1.
These directories contain assembly files (.S) for the __udiv_qrnnd
code. Do you know how I can tell configure to use that code?
One of the things configure tells me is:

Invalid configuration `-hp-hpux10.20': machine `-hp' not recognized

Thanks for the help!
--Beth
+++++++++++++++++++++++++++++
+ Beth Leonard +
+ Agilent Technologies +
+ Beth_Leonard@agilent.com +
+ (408) 345-8557 +
+++++++++++++++++++++++++++++

--
Archive is at http://lists.gnupg.org - Unsubscribe by sending mail
with a subject of "unsubscribe" to gnupg-users-request@gnupg.org
Re: Compiling gpg for HPUX -- __udiv_qrnnd unsatisfied [ In reply to ]
On 000904, at 18:35:01, Beth Leonard wrote:
> I'm trying to compile gunpg-1.0.2 for HPUX ...
> but eventually it runs into the error:
>
> collect2: ld returned 1 exit status
> /usr/bin/ld: Unsatisfied symbols:
> __udiv_qrnnd (code)

I don't know if this is related, but I needed to set a few
environment variables for the gdbm library before running configure
to get it to compile under HPUX 10.20:

LPATH=/opt/gdbm/lib:$LPATH
CFLAGS=-I/opt/gdbm/include
CPPFLAGS=-I/opt/gdbm/include
LDFLAGS=-L/opt/gdbm/lib

env "CC=gcc $CFLAGS" LDFLAGS="$LDFLAGS" configure ...

--
David Ellement <ellement@sdd.hp.com>

--
Archive is at http://lists.gnupg.org - Unsubscribe by sending mail
with a subject of "unsubscribe" to gnupg-users-request@gnupg.org
Re: Compiling gpg for HPUX -- __udiv_qrnnd unsatisfied [ In reply to ]
On Tue, 5 Sep 2000, Beth Leonard wrote:

> Invalid configuration `-hp-hpux10.20': machine `-hp' not recognized

this should read something like

hppa1.0-hp-hpux10.20

if configure does not get it right, use

./configure --target=hppa1.0-hp-hpux10.20

cipher/config.links will then use the right module. Make sure that
you specify the correct CPU type.

Werner

--
Werner Koch GnuPG key: 621CC013
OpenIT GmbH http://www.OpenIT.de

--
Archive is at http://lists.gnupg.org - Unsubscribe by sending mail
with a subject of "unsubscribe" to gnupg-users-request@gnupg.org
Re: Compiling gpg for HPUX -- __udiv_qrnnd unsatisfied [ In reply to ]
On Wed, Sep 06, 2000 at 12:33:12PM +0200, Werner Koch wrote:
> On Tue, 5 Sep 2000, Beth Leonard wrote:
>
> > Invalid configuration `-hp-hpux10.20': machine `-hp' not recognized
>
> this should read something like
>
> hppa1.0-hp-hpux10.20
>
> if configure does not get it right, use
>
> ./configure --target=hppa1.0-hp-hpux10.20

Thank you! Using --host=hppa worked!

--Beth
+++++++++++++++++++++++++++++
+ Beth Leonard +
+ Agilent Technologies +
+ Beth_Leonard@agilent.com +
+ (408) 345-8557 +
+++++++++++++++++++++++++++++