Open touhid12310 opened 6 years ago
/usr/bin/ld: unrecognized option '-plugin' /usr/bin/ld: use the --help option for usage information collect2: error: ld returned 1 exit status make[2]: [minerd] Error 1 make[2]: Leaving directory `/home/asdf/cpuminer-multi' make[1]: [all-recursive] Error 1 make[1]: Leaving directory `/home/asdf/cpuminer-multi' make: *** [all] Error 2 [root@localhost cpuminer-multi]# /usr/bin/ld: unrecognized option '-plugin' -bash: /usr/bin/ld:: No such file or directory [root@localhost cpuminer-multi]#
how can i fix this issue? :(
Try this env CC=gcc7 ./configure instead of ./configure.
env CC=gcc7 ./configure
./configure
/usr/bin/ld: unrecognized option '-plugin' /usr/bin/ld: use the --help option for usage information collect2: error: ld returned 1 exit status make[2]: [minerd] Error 1 make[2]: Leaving directory `/home/asdf/cpuminer-multi' make[1]: [all-recursive] Error 1 make[1]: Leaving directory `/home/asdf/cpuminer-multi' make: *** [all] Error 2 [root@localhost cpuminer-multi]# /usr/bin/ld: unrecognized option '-plugin' -bash: /usr/bin/ld:: No such file or directory [root@localhost cpuminer-multi]#
how can i fix this issue? :(