bug-gmp
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Problems linking with gmp...


From: Kevin Ryde
Subject: Re: Problems linking with gmp...
Date: Thu, 12 Sep 2002 09:57:52 +1000
User-agent: Gnus/5.090007 (Oort Gnus v0.07) Emacs/21.1 (i386-debian-linux-gnu)

Will Galway <address@hidden> writes:
>
>   > cc gmp-test.c -I/home/users/galway/include -L/home/users/galway/lib -lgmp 
> -o gmp-test
>   Undefined                       first referenced
>    symbol                             in file
>   __gmp_printf                        gmp-test.o
>   ld: fatal: Symbol referencing errors. No output written to gmp-test

If that's the only symbol missing, ie. it found the others, then
perhaps you're hitting an older libgmp, pre-dating gmp_printf.  I
don't know why that would happen if the -L is right.  Maybe adding -V
or -Wl,-V for verbose output would show what's going on.




reply via email to

[Prev in Thread] Current Thread [Next in Thread]