1850425 Members
2314 Online
104054 Solutions
New Discussion

GNUPG on HPUX 11.00

 
SOLVED
Go to solution
Sylvia Welch
Frequent Advisor

GNUPG on HPUX 11.00


I'm trying to set this up. I've installed GCC, Bison and some other things. When I compile, I get this:
gmake[2]: Entering directory `/admintmp/adm/gnupg/gnupg-1.2.7/util'
gmake[2]: Nothing to be done for `all'.
gmake[2]: Leaving directory `/admintmp/adm/gnupg/gnupg-1.2.7/util'
Making all in mpi
gmake[2]: Entering directory `/admintmp/adm/gnupg/gnupg-1.2.7/mpi'
gmake[2]: Nothing to be done for `all'.
gmake[2]: Leaving directory `/admintmp/adm/gnupg/gnupg-1.2.7/mpi'
Making all in cipher
gmake[2]: Entering directory `/admintmp/adm/gnupg/gnupg-1.2.7/cipher'
gmake[2]: Nothing to be done for `all'.
gmake[2]: Leaving directory `/admintmp/adm/gnupg/gnupg-1.2.7/cipher'
Making all in tools
gmake[2]: Entering directory `/admintmp/adm/gnupg/gnupg-1.2.7/tools'
gcc -g -O2 -Wall -o mpicalc mpicalc.o ../cipher/libcipher.a ../mpi/libmpi.a ../util/libutil.a ../intl/libintl.a
/usr/ccs/bin/ld: Unsatisfied symbols:
__udiv_qrnnd (first referenced in ../mpi/libmpi.a(mpih-div.o)) (code)
collect2: ld returned 1 exit status
gmake[2]: *** [mpicalc] Error 1
gmake[2]: Leaving directory `/admintmp/adm/gnupg/gnupg-1.2.7/tools'
gmake[1]: *** [all-recursive] Error 1
gmake[1]: Leaving directory `/admintmp/adm/gnupg/gnupg-1.2.7'
gmake: *** [all] Error 2

Any ideas? Do I need to install an assembler compiler? Does anyone have a compiled binary available?

Thnks
8 REPLIES 8
Steven E. Protter
Exalted Contributor

Re: GNUPG on HPUX 11.00

Kinda wonder why we compile when someone went to the trouble to set up depot files for all this stuff.

http://hpux.connect.org.uk/

Perhaps ght GNUPG is not there.

Lets check though.

SEP
Steven E Protter
Owner of ISN Corporation
http://isnamerica.com
http://hpuxconsulting.com
Sponsor: http://hpux.ws
Twitter: http://twitter.com/hpuxlinux
Founder http://newdatacloud.com
Mic V.
Esteemed Contributor

Re: GNUPG on HPUX 11.00

SEP: Paranoia. :-)

Mic
What kind of a name is 'Wolverine'?
Sylvia Welch
Frequent Advisor

Re: GNUPG on HPUX 11.00

Been there done that. Not there.
Peter Leddy_1
Esteemed Contributor

Re: GNUPG on HPUX 11.00

Hi Sylvia,

This thread has a link to a binary and some more info on how to get it working.

http://forums1.itrc.hp.com/service/forums/questionanswer.do?threadId=758126

Regards,

Peter
Steve Lewis
Honored Contributor

Re: GNUPG on HPUX 11.00

I compiled up gnupg version 1.2.6 with no problem, I haven't tried 1.2.7 yet.

That symbol does exist in 1.2.6 so it isn't new.

Maybe they haven't properly tested a port to PA_RISC yet.

The other difference between you and me is that I use the HP ANSI C compiler and you are using GCC.

Steve
Sylvia Welch
Frequent Advisor

Re: GNUPG on HPUX 11.00

It look like the udiv_qrnnd object is not getting into
the libmpi.a archive. in the mpi directory there
are various directories such as:
hppa
hppa1.1
i386
pa7100

and others where the assembler program udiv_qrrnnd.S
resides. If I manually compile one of the source files,
modify the makefile to include the resulting udiv_qrrnnd.o
object, gnupg compiles. It runs but hangs on encryption, though I can generate keys.
So I'm probably including the wrong object.

Any ideas?

Syl
Stephen Keane
Honored Contributor
Solution

Re: GNUPG on HPUX 11.00

The problem (I think) is that the 1.2.7 version doesn't support hppa 2.0 architecture, it only supports hppa or hppa1.1. So you can either build it for hppa1.1, or get a newer version of gnupg.

Edit mpi/config.links (you might want to keep a safe copy)

Around line 117 you will see an entry

hppa1.0*-*-*)
echo '/* configured for HPPA 1.0 */' >>./mpi/asm-syntax.h
path="hppa"
mpi_extra_modules="udiv-qrnnd"
;;

You need to add a similar entry under it ...

hppa1.1*-*-*)
echo '/* configured for HPPA 1.1 */' >>./mpi/asm-syntax.h
path="hppa1.1 hppa"
mpi_extra_modules="udiv-qrnnd"
;;

Save your changes.

# gmake clean

# configure -build=hppa1.1-hp-hpux11.00 \
-host=hppa1.1-hp-hpux11.00 \
-target=hppa1.1-hp-hpux11.00

Then gmake it again? It should build, but I don't know whether it will run OK.

You might also want to replace the default entropy source as suggested by the configure script.
Sylvia Welch
Frequent Advisor

Re: GNUPG on HPUX 11.00

Thanks Stephen, that did the trick. Configured it with egp.pl, compiled fine
and seem to work.

Syl