Closed redwineforgaea closed 2 years ago
g++ -g -O2 -Lyes/lib -Lyes/lib -Lyes/lib -Lyes/lib
sooo. it seems that Lyes directory doesn't exist.
Ok so i fixed the issue. I googled it. something about g++ not linking properly? anyways I modified the configure script with these 2 lines and it worked!
CXXFLAGS="-g -O2 -lcurl" LDFLAGS="-lcurl $PTHREAD_LDFLAGS $LDFLAGS"
if test "$ac_test_CXXFLAGS" = set; then CXXFLAGS=$ac_save_CXXFLAGS elif test $ac_cv_prog_cxx_g = yes; then if test "$GXX" = yes; then CXXFLAGS="-g -O2 -lcurl" else CXXFLAGS="-g" fi else if test "$GXX" = yes; then CXXFLAGS="-O2" else CXXFLAGS= fi fi
I can't seem to figure out what's causing the error. its a simple i5 cpu. any help would be appreciated.
make error: algo/yespower/yespower.c:55:2: warning: #warning "Note: AVX is enabled. That's OK." [-Wcpp]
warning "Note: AVX is enabled. That's OK."
^
~~ /usr/bin/ld: cannot find -lz collect2: error: ld returned 1 exit status make[2]: [cpuminer] Error 1 make[1]: [all-recursive] Error 1 make: *** [all] Error 2 make-error.txt