Problem compiling

scode@scode.webprovider.com scode@scode.webprovider.com
Fri, 20 Aug 1999 17:44:01 +0200


--9NMkeaDs5RpJ+9xI
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: quoted-printable

Hi!

I downloaded GnuPG 0.9.8 a while back and had trouble compiling it, so I
waited. And now I've got 0.9.10 and am still having the same problem.

Problem:
--------
The mpi/*.c files won't link because of missing function implementations
of mpihelp*().

gcc command line:

gcc -g -O2 -Wall -Wcast-align -Wshadow -Wstrict-prototypes -o mpicalc
mpicalc.o ../cipher/.libs/libcipher.a -lz -ldl -lnsl -lnsl
=2E./mpi/.libs/libmpi.a -lz -ldl -lnsl -lnsl ../util/.libs/libutil.a -lz -l=
dl
-lnsl -lnsl ../intl/libintl.a -lz -ldl -lnsl -lnsl

And the errors:

=2E./mpi/.libs/libmpi.a(mpi-add.o): In function mpi_add':
/usr/local2/gnupg-0.9.10/mpi/mpi-inline.h:120: undefined reference to
mpihelp_sub_n'
=2E./mpi/.libs/libmpi.a(mpi-add.o): In function mpi_add':
/usr/local2/gnupg-0.9.10/mpi/mpi-add.c:136: undefined reference to
mpihelp_sub_n'
/usr/local2/gnupg-0.9.10/mpi/mpi-add.c:143: undefined reference to
mpihelp_sub_n'

=2E.. etc.

The configure script was invoked with "--host=3Di386-linux-gnu" [1].

I'm on a Debian 2.0:ish system. Now, I'm not familiar with autokonf, so I
haven't even tried to dig into the make files to try to determing which
library is not being included in the linking process.

Any ideas?

Thanks!

[1] A recent reckless invokation of "make" in gnat's distribution screwed up
my entire gcc install. I've managed to fix most of it, but the
uname/configure problem is still there - configure segfaults. Hence the
explicit "--host=3D..." argument.

--=20
/ Peter Schuller

PGP userID: 0x5584BD98 or 'Peter Schuller <scode@scode.webprovider.com>'
Key retrival: Send an E-Mail to scode-getpgpkey@scode.webprovider.com
E-Mail: scode@scode.webprovider.com Web: http://hem.passagen.se/petersch

--9NMkeaDs5RpJ+9xI
Content-Type: application/pgp-signature

-----BEGIN PGP SIGNATURE-----
Version: PGPfreeware 5.0i for non-commercial use
MessageID: P8ZsJkB5ANHu10xrqjuMyIX9FQwn+g2n

iQA/AwUBN713v8BfJ1FVhL2YEQJMPACfUFw7+T9EzQA+1aTO24W6lKAlktkAn0OK
+tfUpDyjky05PxAKtYbzHJre
=Oa1g
-----END PGP SIGNATURE-----

--9NMkeaDs5RpJ+9xI--