Mailing List Archive

Problems building libgcrypt.
Hello,

when I try to build libgcrypt from the CVS I get the following:

/bin/sh ../libtool --mode=link gcc -I/opt/L/libgpg-error/include -g -O2 -Wall -o libmpi.la mpi-add.lo mpi-bit.lo mpi-cmp.lo mpi-div.lo mpi-gcd.lo mpi-inline.lo mpi-inv.lo mpi-mul.lo mpi-pow.lo mpi-mpow.lo mpi-scan.lo mpicoder.lo mpih-div.lo mpih-mul.lo mpiutil.lo mpih-add1.lo mpih-sub1.lo mpih-mul1.lo mpih-mul2.lo mpih-mul3.lo mpih-lshift.lo mpih-rshift.lo -lnsl -lnsl
libtool: link: `mpih-add1.lo' is not a valid libtool object
make[2]: *** [libmpi.la] Error 1
make[2]: Leaving directory `/local/build/libgcrypt-cvs/mpi'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/local/build/libgcrypt-cvs'
make: *** [all] Error 2

I'm using Linux 2.6.0-test2 with gcc 3.2.3 and glibc 2.3.2. Any ideas of what can be wrong?

Marco Monteiro
masm@acm.org
Re: Problems building libgcrypt. [ In reply to ]
Marco Monteiro <masm@acm.org> writes:

> when I try to build libgcrypt from the CVS I get the following:

Do you use libtool 1.5? Such a problem was reported before, I will
look into it.

moritz
--
((gpg-key-id . "6F984199")
(email . "moritz@duesseldorf.ccc.de")
(webpage . "http://duesseldorf.ccc.de/~moritz/"))
Re: Problems building libgcrypt. [ In reply to ]
Marco Monteiro <masm@acm.org> writes:

> Hello,
>
> when I try to build libgcrypt from the CVS I get the following:

I had the same problem, it seem to be a libtool problem. I was able
to solve it by using 'autoreconf --force --install' instead of the
supplied autogen.sh script (which in general is better idea IMHO).
Re: Problems building libgcrypt. [ In reply to ]
On Thu, Aug 07, 2003 at 05:07:45PM +0200, Moritz Schulte wrote:
> Do you use libtool 1.5? Such a problem was reported before, I will
> look into it.

Yes, I am using libtool 1.5. I have tried to use 'autoreconf --force --install'
as Simon Josefsson hinted but it fails in exactly the same way.


Marco