lots of "undefined reference" from /bin/ld under Debian
Vincent Lefevre
vincent at vinc17.net
Fri Feb 23 17:42:14 CET 2024
On 2024-02-23 17:26:45 +0100, Marc Glisse wrote:
> On Fri, 23 Feb 2024, Vincent Lefevre wrote:
>
> > On a Debian/unstable x86_64 (amd64) machine, I've configured
> > GMP 18465:7ecb3b2beea1 with
> >
> > ./configure --prefix=$HOME/opt/gmp-devel
> >
> > but "make check" fails with:
> >
> > /bin/ld: t-bswap.o: in function `main':
> > t-bswap.c:(.text.startup+0x29): undefined reference to `__gmpn_random'
>
> I only checked Debian testing (I don't see any big pending update that looks
> related) and I don't see that error, make check runs fine.
>
> When you say 18465:7ecb3b2beea1, I assume you got a mercurial checkout, and
> ran .bootstrap before configure?
>
> Can you provide the relevant logs?
After various tries, the problem eventually disappeared after a
"make distclean". Perhaps a missing dependency?
--
Vincent Lefèvre <vincent at vinc17.net> - Web: <https://www.vinc17.net/>
100% accessible validated (X)HTML - Blog: <https://www.vinc17.net/blog/>
Work: CR INRIA - computer arithmetic / AriC project (LIP, ENS-Lyon)
More information about the gmp-bugs
mailing list