linking problem with gmp

Anand Dhanakshirur asd at
Mon Feb 9 18:57:51 CET 2004

I have downloaded GNU MP library version 4.1.2.
I have configured like this..
./configure --build=pentium3-pc-linux-gnu --host=none-linux-gnu
(I am using m68k processor and a proprietery RTOS like XRTS.
  Since i was not knowing the right option for host, i was using 
so that i could get generic one.)
I was using mpf_add and mpf_mul functions in my code..
and i was linking my code with libgmp.a ..
But i got linker errors like undefined reference to mpf_add routine like 
How to solve this?


More information about the gmp-discuss mailing list