virtual-coin / wolf-cpuminer-multi

Forked from Wolf9466/cpuminer-multi
Other
6 stars 18 forks source link

LIBCURL Error #1

Open asanchez500 opened 6 years ago

asanchez500 commented 6 years ago

Hello am trying to compile for powerpc64 architecture by cross compiling with GCC. Basically:

git clone https://github.com/virtual-coin/wolf-cpuminer-multi cd wolf-cpuminer-multi ./configure --host=powerpc64-linux-gnu --prefix=$PREFIX --with-termlib CPPFLAGS=-P make make install

It almost finishes configuring but fails to due a LIBCURL error? Do you think I need to install the Curl library or something?

asanchez500 commented 6 years ago

Got passed the ./configure error. Now I have a make error. Anyone have any idea on what I could do to change -mtune option object file to powerpc64? It seems it is supported apparently as an option according to GCC. Here is the error output..

(live)root@redribbon:~/Desktop/wolf-cpuminer-multi# make make all-recursive make[1]: Entering directory /root/Desktop/wolf-cpuminer-multi' Making all in compat make[2]: Entering directory/root/Desktop/wolf-cpuminer-multi/compat' make[3]: Entering directory /root/Desktop/wolf-cpuminer-multi/compat' make[3]: Nothing to be done forall-am'. make[3]: Leaving directory /root/Desktop/wolf-cpuminer-multi/compat' make[2]: Leaving directory/root/Desktop/wolf-cpuminer-multi/compat' make[2]: Entering directory /root/Desktop/wolf-cpuminer-multi' gcc -std=gnu99 -falign-loops=16 -falign-functions=16 -falign-jumps=16 -falign-labels=16 -Ofast -flto -fuse-linker-plugin -funroll-loops -fvariable-expansion-in-unroller -ftree-loop-if-convert-stores -fmerge-all-constants -fbranch-target-load-optimize2 -fsched2-use-superblocks -o minerd minerd-cpu-miner.o minerd-util.o minerd-cryptonight_common.o crypto/minerd-c_keccak.o crypto/minerd-c_groestl.o crypto/minerd-c_blake256.o crypto/minerd-c_jh.o crypto/minerd-c_skein.o minerd-cryptonight_aesni.o -L/usr/local/lib -lcurl -ljansson -lpthread gcc: error: unrecognized argument in option ‘-mtune=corei7’ gcc: note: valid arguments to ‘-mtune=’ are: 401 403 405 405fp 440 440fp 464 464fp 476 476fp 505 601 602 603 603e 604 604e 620 630 740 7400 7450 750 801 821 823 8540 8548 860 970 G3 G4 G5 a2 cell e300c2 e300c3 e500mc e500mc64 e5500 e6500 ec603e native power3 power4 power5 power5+ power6 power6x power7 power8 powerpc powerpc64 rs64 titan lto-wrapper: gcc returned 1 exit status /usr/bin/ld: lto-wrapper failed collect2: error: ld returned 1 exit status make[2]: *** [minerd] Error 1 make[2]: Leaving directory/root/Desktop/wolf-cpuminer-multi' make[1]: [all-recursive] Error 1 make[1]: Leaving directory `/root/Desktop/wolf-cpuminer-multi' make: [all] Error 2