upgrade to ubuntu 12.04 breaks compiling
marc.glisse at inria.fr
Mon Sep 10 18:36:07 CEST 2012
On Mon, 10 Sep 2012, A. Grigoryants wrote:
> the code was compiled OK on Ubuntu 10.04 64-bit
> when upgrading to 12.04 64-bit the error occurs :
> In function `std::basic_istream<char, std::char_traits<char> >&
> operator>><__mpz_struct >(std::basic_istream<char, std::char_traits<char>
>> &, __gmp_expr<__mpz_struct , __mpz_struct >&)':
> /usr/include/gmpxx.h:2100: undefined reference to
> `operator>>(std::basic_istream<char, std::char_traits<char> >&,
> any direction to search, please .......
Well, if you want help with code that fails to compile, it helps to show
the code, and the command you use to compile. Crystal ball says you are
missing -lgmpxx, but then it shouldn't have worked before either.
More information about the gmp-discuss