cannot compile

Kevin Ryde user42@zip.com.au
Fri, 18 Apr 2003 08:11:08 +1000


Michel Bardiaux <mbardiaux@peaktime.be> writes:
>
> Jens Hillenbach wrote:
>> /Jens/gmp-4.0.1/cxx/osmpz.cc:38: undefined reference to `__gmpz_get_str'
>
> Going out on a limb here (pun intended!) since I use neither cygwin
> nor C++, but... don't you need -lgmp too?

Yes, "-lgmpxx -lgmp" for C++.  See "Headers and Libraries" in the manual.