View Single Post
Old 2006-03-20, 15:41   #1
Mar 2006

210 Posts
Default Can't bind libecm.a with C++ files

When I try to bind libecm.a with a C++ file, I get
 undefined reference to `ecm_factor(__mpz_struct*, __mpz_struct*, double, __ecm_param_struct*)'
I know that gcc finds the right libecm.a file because there's a different error message when I delete or rename it.

The library works fine when I use it in C files.

I'm using:
gmp-ecm 6.0.1
gmp 4.1.4
gcc 3.3.4 on x86 Linux

Any help is greatly appreciated.

poire is offline   Reply With Quote