20091206, 19:59  #1  
Dec 2009
3_{10} Posts 
Error compiling msieve
Quote:
I just downloaded the 1.43 source and did "make x86_64 ECM=1" I do that and I get this message: Code:
gcc D_FILE_OFFSET_BITS=64 O3 fomitframepointer march=k8 DNDEBUG Wall W I. Iinclude Ignfs/poly DHAVE_GMP_ECM c o common/filter/clique.o common/filter/clique.c En el fitxer inclòs dès de include/common.h:19, dès de common/filter/filter.h:23, dès de common/filter/filter_priv.h:23, dès de common/filter/clique.c:15: include/gmp_xface.h:19:17: error: gmp.h: No such file or directory In file included from include/common.h:19, from common/filter/filter.h:23, from common/filter/filter_priv.h:23, from common/filter/clique.c:15: include/gmp_xface.h:32: error: expected declaration specifiers or ‘...’ before ‘mpz_t’ include/gmp_xface.h: In function ‘mp2gmp’: include/gmp_xface.h:34: warning: implicit declaration of function ‘mpz_import’ include/gmp_xface.h:34: error: ‘dest’ undeclared (first use in this function) include/gmp_xface.h:34: error: (Each undeclared identifier is reported only once include/gmp_xface.h:34: error: for each function it appears in.) include/gmp_xface.h: At top level: include/gmp_xface.h:39: error: expected ‘)’ before ‘src’ include/gmp_xface.h:50: error: expected declaration specifiers or ‘...’ before ‘mpz_t’ include/gmp_xface.h: In function ‘uint64_2gmp’: include/gmp_xface.h:57: warning: implicit declaration of function ‘mpz_set_ui’ include/gmp_xface.h:57: error: ‘dest’ undeclared (first use in this function) include/gmp_xface.h:58: warning: implicit declaration of function ‘mpz_mul_2exp’ include/gmp_xface.h:59: warning: implicit declaration of function ‘mpz_add_ui’ include/gmp_xface.h: At top level: include/gmp_xface.h:64: error: expected declaration specifiers or ‘...’ before ‘mpz_t’ include/gmp_xface.h: In function ‘int64_2gmp’: include/gmp_xface.h:67: error: ‘dest’ undeclared (first use in this function) include/gmp_xface.h:67: error: too many arguments to function ‘uint64_2gmp’ include/gmp_xface.h:68: warning: implicit declaration of function ‘mpz_neg’ include/gmp_xface.h:71: error: too many arguments to function ‘uint64_2gmp’ include/gmp_xface.h: At top level: include/gmp_xface.h:76: error: expected ‘)’ before ‘src’ include/gmp_xface.h:88: error: expected ‘)’ before ‘src’ make: *** [common/filter/clique.o] Error 1 

20091206, 21:53  #2 
Tribal Bullet
Oct 2004
2·3·19·31 Posts 
Msieve v1.43 now requires GMP to be compiled and installed; earlier versions also require GMP if you are compiling with GMPECM.

20091209, 01:31  #3 
Dec 2009
3 Posts 
Thanks!

Thread Tools  
Similar Threads  
Thread  Thread Starter  Forum  Replies  Last Post 
Compiling Msieve with GPU support  LegionMammal978  Msieve  6  20170209 04:28 
Problem compiling msieve with gcc 4.4.2  chris2be8  Msieve  5  20100222 18:35 
msieve linux compiling  Trevil  Msieve  2  20091206 19:49 
Compiling Msieve 1.39 on Windows  Jeff Gilchrist  Msieve  20  20090221 22:43 
error compiling ecmnet 2.7.1  antiroach  GMPECM  2  20060301 01:17 