Error in linking program
Fernando Alberione
falberione037 at gmail.com
Thu Jun 12 03:01:19 UTC 2014
Hello,
I write because I have the following error for linking program with GMP
library:
/usr/bin/ld: build/lav/tests/test.o: undefined reference to symbol
'__gmpz_init_set_si'
//usr/local/lib/libgmp.so.10: error adding symbols: DSO missing from
command line
My operating system is: Ubuntu 14.04.
gcc (Ubuntu 4.8.2-19ubuntu1) 4.8.2
g++ (Ubuntu 4.8.2-19ubuntu1) 4.8.2
* Version: GNU MP 6.0.0 Host type:
coreisbr-unknown-linux-gnu ABI: 64 Install prefix:
/usr/local Compiler: gcc -std=gnu99 Static libraries: yes Shared
libraries: yes./config.guess:*
coreisbr-unknown-linux-gnu
*./configfsf.guess*
x86_64-unknown-linux-gnu
*uname -a*
Linux fernando 3.13.0-29-generic #53-Ubuntu SMP Wed Jun 4 21:00:20 UTC 2014
x86_64 x86_64 x86_64 GNU/Linux
*Tests
failed:=======================================================================================4
of 45 tests
failed=======================================================================================make[4]:
*** [check-TESTS] Error 1make[4]: Leaving directory
`/home/fernando/gmp/tests/mpn'make[3]: *** [check-am] Error 2make[3]:
Leaving directory `/home/fernando/gmp/tests/mpn'make[2]: ***
[check-recursive] Error 1make[2]: Leaving directory
`/home/fernando/gmp/tests'make[1]: *** [check-recursive] Error 1make[1]:
Leaving directory `/home/fernando/gmp'make: *** [check] Error 2*
Thank you very much!
*Gracias!*
I hope you can help me
*.*
Fernando.
More information about the gmp-bugs
mailing list