lots of "undefined reference" from /bin/ld under Debian
    Marc Glisse 
    marc.glisse at inria.fr
       
    Fri Feb 23 17:26:45 CET 2024
    
    
  
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?
-- 
Marc Glisse
    
    
More information about the gmp-bugs
mailing list