mersenneforum.org  

Go Back   mersenneforum.org > Factoring Projects > Msieve

Reply
 
Thread Tools
Old 2009-02-22, 16:36   #1
Trevil
 

32×461 Posts
Default msieve linux compiling

Hey,

I'm new here, got a problem while trying to run make on msieve 1.39, I get this message:

common/lanczos/lanczos.c:1: error: CPU you selected does not support x86-64 instruction set
common/lanczos/lanczos.c:1: error: CPU you selected does not support x86-64 instruction set

But I'm running this system:

Linux kandyse 2.6.25.16-0.1-default #1 SMP 2008-08-21 00:34:25 +0200 x86_64 x86_64 x86_64 GNU/Linux

So I thought the system was 64 bit compatible, the x86 make version gives me the exact same error.

So now naturally, I'm confused as he*l..
  Reply With Quote
Old 2009-02-22, 23:08   #2
fivemack
(loop (#_fork))
 
fivemack's Avatar
 
Feb 2006
Cambridge, England

6,323 Posts
Default

You have to edit the Makefile to choose the CPU type; comment out the line with -march=athlon and uncomment the one with -march=k8
fivemack is offline   Reply With Quote
Old 2009-12-06, 19:49   #3
Wishper
 
Dec 2009

3 Posts
Default

Quote:
Originally Posted by fivemack View Post
You have to edit the Makefile to choose the CPU type; comment out the line with -march=athlon and uncomment the one with -march=k8

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 -fomit-frame-pointer -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
Wishper is offline   Reply With Quote
Reply

Thread Tools


Similar Threads
Thread Thread Starter Forum Replies Last Post
Compiling Msieve with GPU support LegionMammal978 Msieve 6 2017-02-09 04:28
compiling mprime on linux graysky Software 6 2011-03-14 07:00
Problem compiling msieve with gcc 4.4.2 chris2be8 Msieve 5 2010-02-22 18:35
Error compiling msieve Wishper Msieve 2 2009-12-09 01:31
Compiling Msieve 1.39 on Windows Jeff Gilchrist Msieve 20 2009-02-21 22:43

All times are UTC. The time now is 00:19.

Sat Nov 28 00:19:57 UTC 2020 up 78 days, 21:30, 3 users, load averages: 1.23, 1.23, 1.16

Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.

This forum has received and complied with 0 (zero) government requests for information.

Permission is granted to copy, distribute and/or modify this document under the terms of the GNU Free Documentation License, Version 1.2 or any later version published by the Free Software Foundation.
A copy of the license is included in the FAQ.