lucasjones / cpuminer-multi

Multi-algo CPUMiner & Reference Cryptonote Miner (JSON-RPC 2.0)
Other
635 stars 1.49k forks source link

Can't "./configure" on Xeon (Debian) #89

Open syndrael opened 6 years ago

syndrael commented 6 years ago

Hello, ./configure is unsucessful, i can't find why.

~/cpuminer-multi> ./configure CFLAGS="-march=native" checking build system type... x86_64-unknown-linux-gnu checking host system type... x86_64-unknown-linux-gnu checking target system type... x86_64-unknown-linux-gnu checking for a BSD-compatible install... /usr/bin/install -c checking whether build environment is sane... yes checking for a thread-safe mkdir -p... /bin/mkdir -p checking for gawk... no checking for mawk... mawk checking whether make sets $(MAKE)... yes checking whether make supports nested variables... yes checking whether to enable maintainer-specific portions of Makefiles... no checking for style of include used by make... GNU checking for gcc... gcc checking whether the C compiler works... no configure: error: in /home/myhome/cpuminer-multi': configure: error: C compiler cannot create executables Seeconfig.log' for more details

According to config.log, an issue with GCC gcc version 4.9.2 (Debian 4.9.2-10+deb8u1) 85 configure:3435: $? = 0 86 configure:3424: gcc -V >&5 87 gcc: error: unrecognized command line option '-V' 88 gcc: fatal error: no input files 89 compilation terminated. 90 configure:3435: $? = 4 91 configure:3424: gcc -qversion >&5 92 gcc: error: unrecognized command line option '-qversion' 93 gcc: fatal error: no input files 94 compilation terminated. 95 configure:3435: $? = 4 96 configure:3455: checking whether the C compiler works 97 configure:3477: gcc -march=native conftest.c >&5 98 gcc: error: -march=native: No such file or directory 99 configure:3481: $? = 1 100 configure:3519: result: no 101 configure: failed program was:

vps-config.log

Here's information that may help. cat /proc/cpuinfo processor : 0 vendor_id : GenuineIntel cpu family : 6 model : 62 model name : Intel(R) Xeon(R) CPU E5-2620 v2 @ 2.10GHz stepping : 4 microcode : 0x1 cpu MHz : 2099.998 cache size : 15360 KB physical id : 0 siblings : 2 core id : 0 cpu cores : 2 apicid : 0 initial apicid : 0 fpu : yes fpu_exception : yes cpuid level : 13 wp : yes flags : fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush mmx fxsr sse sse2 ss ht syscall nx pdpe1gb rdtscp lm constant_tsc arch_perfmon rep_good nopl eagerfpu pni pclmulqdq ssse3 cx16 pcid sse4_1 sse4_2 x2apic popcnt tsc_deadline_timer aes xsave avx f16c rdrand hypervisor lahf_lm xsaveopt fsgsbase tsc_adjust smep erms bogomips : 4199.99 clflush size : 64 cache_alignment : 64 address sizes : 40 bits physical, 48 bits virtual power management:

processor : 1 vendor_id : GenuineIntel cpu family : 6 model : 62 model name : Intel(R) Xeon(R) CPU E5-2620 v2 @ 2.10GHz stepping : 4 microcode : 0x1 cpu MHz : 2099.998 cache size : 15360 KB physical id : 0 siblings : 2 core id : 1 cpu cores : 2 apicid : 1 initial apicid : 1 fpu : yes fpu_exception : yes cpuid level : 13 wp : yes flags : fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush mmx fxsr sse sse2 ss ht syscall nx pdpe1gb rdtscp lm constant_tsc arch_perfmon rep_good nopl eagerfpu pni pclmulqdq ssse3 cx16 pcid sse4_1 sse4_2 x2apic popcnt tsc_deadline_timer aes xsave avx f16c rdrand hypervisor lahf_lm xsaveopt fsgsbase tsc_adjust smep erms bogomips : 4199.99 clflush size : 64 cache_alignment : 64 address sizes : 40 bits physical, 48 bits virtual power management:

Thanks for your help. Regards

syndrael commented 6 years ago

Solved with: CFLAGS="-march=native" ./configure If it may help someone.. Issue to close :-)