Софт
   970

Нужна помощь в сборке пакета из исходников

Хочу собрать пакет cpuminer( как тестер производительности железной сборки + Manjaro).
./autogen.sh
CFLAGS="-march=native" ./configure
Спойлер!
checking build system type... x86_64-pc-linux-gnu
checking host system type... x86_64-pc-linux-gnu
checking target system type... x86_64-pc-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... /usr/bin/mkdir -p
checking for gawk... gawk
checking whether make sets $(MAKE)... yes
checking whether make supports nested variables... yes
checking whether to enable maintainer-specific portions of Makefiles... no
checking whether make supports the include directive... yes (GNU style)
checking for gcc... gcc
checking whether the C compiler works... yes
checking for C compiler default output file name... a.out
checking for suffix of executables... 
checking whether we are cross compiling... no
checking for suffix of object files... o
checking whether we are using the GNU C compiler... yes
checking whether gcc accepts -g... yes
checking for gcc option to accept ISO C89... none needed
checking whether gcc understands -c and -o together... yes
checking dependency style of gcc... gcc3
checking for gcc option to accept ISO C99... none needed
checking how to run the C preprocessor... gcc -E
checking for grep that handles long lines and -e... /usr/bin/grep
checking for egrep... /usr/bin/grep -E
checking whether gcc needs -traditional... no
checking dependency style of gcc... gcc3
checking for ranlib... ranlib
checking for g++... g++
checking whether we are using the GNU C++ compiler... yes
checking whether g++ accepts -g... yes
checking dependency style of g++... gcc3
checking for ANSI C header files... yes
checking for sys/types.h... yes
checking for sys/stat.h... yes
checking for stdlib.h... yes
checking for string.h... yes
checking for memory.h... yes
checking for strings.h... yes
checking for inttypes.h... yes
checking for stdint.h... yes
checking for unistd.h... yes
checking sys/endian.h usability... no
checking sys/endian.h presence... no
checking for sys/endian.h... no
checking sys/param.h usability... yes
checking sys/param.h presence... yes
checking for sys/param.h... yes
checking syslog.h usability... yes
checking syslog.h presence... yes
checking for syslog.h... yes
checking for sys/sysctl.h... no
checking whether be32dec is declared... no
checking whether le32dec is declared... no
checking whether be32enc is declared... no
checking whether le32enc is declared... no
checking whether le16dec is declared... no
checking whether le16enc is declared... no
checking for size_t... yes
checking for working alloca.h... yes
checking for alloca... yes
checking for getopt_long... yes
checking whether we can compile AVX code... yes
checking whether we can compile XOP code... yes
checking whether we can compile AVX2 code... yes
checking for json_loads in -ljansson... yes
checking for pthread_create in -lpthread... yes
checking whether __uint128_t is supported... yes
checking that generated files are newer than configure... done
configure: creating ./config.status
config.status: creating Makefile
config.status: creating compat/Makefile
config.status: creating compat/jansson/Makefile
config.status: creating cpuminer-config.h
config.status: cpuminer-config.h is unchanged
config.status: executing depfiles commands


make
Спойлер!
make  all-recursive
make[1]: вход в каталог «/home/serv1/Рабочий стол/Cpuminer»
Making all in compat
make[2]: вход в каталог «/home/serv1/Рабочий стол/Cpuminer/compat»
make[3]: вход в каталог «/home/serv1/Рабочий стол/Cpuminer/compat»
make[3]: Цель «all-am» не требует выполнения команд.
make[3]: выход из каталога «/home/serv1/Рабочий стол/Cpuminer/compat»
make[2]: выход из каталога «/home/serv1/Рабочий стол/Cpuminer/compat»
make[2]: вход в каталог «/home/serv1/Рабочий стол/Cpuminer»
g++  -g -O2   -o cpuminer cpuminer-cpu-miner.o cpuminer-util.o cpuminer-uint256.o cpuminer-api.o cpuminer-sysinfos.o cpuminer-algo-gate-api.o crypto/cpuminer-oaes_lib.o crypto/cpuminer-c_keccak.o crypto/cpuminer-c_groestl.o crypto/cpuminer-c_blake256.o crypto/cpuminer-c_jh.o crypto/cpuminer-c_skein.o crypto/cpuminer-hash.o crypto/cpuminer-aesb.o crypto/cpuminer-magimath.o algo/bmw/cpuminer-sph_bmw.o algo/bmw/cpuminer-bmw-hash-4way.o algo/bmw/cpuminer-bmw256.o algo/cubehash/cpuminer-sph_cubehash.o algo/cubehash/sse2/cpuminer-cubehash_sse2.o algo/cubehash/cpuminer-cube-hash-2way.o algo/echo/cpuminer-sph_echo.o algo/echo/aes_ni/cpuminer-hash.o algo/gost/cpuminer-sph_gost.o algo/groestl/cpuminer-sph_groestl.o algo/groestl/cpuminer-groestl.o algo/groestl/cpuminer-myrgr-gate.o algo/groestl/cpuminer-myrgr-4way.o algo/groestl/cpuminer-myr-groestl.o algo/groestl/aes_ni/cpuminer-hash-groestl.o algo/groestl/aes_ni/cpuminer-hash-groestl256.o algo/fugue/cpuminer-sph_fugue.o algo/hamsi/cpuminer-sph_hamsi.o algo/hamsi/cpuminer-hamsi-hash-4way.o algo/haval/cpuminer-haval.o algo/haval/cpuminer-haval-hash-4way.o algo/luffa/cpuminer-sph_luffa.o algo/luffa/cpuminer-luffa.o algo/luffa/cpuminer-luffa_for_sse2.o algo/luffa/cpuminer-luffa-hash-2way.o algo/cpuminer-pluck.o algo/ripemd/cpuminer-sph_ripemd.o algo/ripemd/cpuminer-ripemd-hash-4way.o algo/ripemd/cpuminer-lbry-gate.o algo/ripemd/cpuminer-lbry.o algo/ripemd/cpuminer-lbry-4way.o algo/sha/cpuminer-sph_sha2.o algo/sha/cpuminer-sph_sha2big.o algo/sha/cpuminer-sha2-hash-4way.o algo/sha/cpuminer-sha2.o algo/sha/cpuminer-sha256t-gate.o algo/sha/cpuminer-sha256t-4way.o algo/sha/cpuminer-sha256t.o algo/shabal/cpuminer-sph_shabal.o algo/shabal/cpuminer-shabal-hash-4way.o algo/shavite/cpuminer-sph_shavite.o algo/shavite/cpuminer-sph-shavite-aesni.o algo/shavite/cpuminer-shavite.o algo/skein/cpuminer-sph_skein.o algo/skein/cpuminer-skein-hash-4way.o algo/skein/cpuminer-skein.o algo/skein/cpuminer-skein-4way.o algo/skein/cpuminer-skein-gate.o algo/skein/cpuminer-skein2.o algo/skein/cpuminer-skein2-4way.o algo/skein/cpuminer-skein2-gate.o algo/sm3/cpuminer-sm3.o algo/sm3/cpuminer-sm3-hash-4way.o algo/tiger/cpuminer-sph_tiger.o algo/whirlpool/cpuminer-sph_whirlpool.o algo/whirlpool/cpuminer-whirlpool-hash-4way.o algo/whirlpool/cpuminer-whirlpool-gate.o algo/whirlpool/cpuminer-whirlpool-4way.o algo/whirlpool/cpuminer-whirlpool.o algo/whirlpool/cpuminer-whirlpoolx.o algo/yespower/cpuminer-yespower-miner.o algo/yespower/crypto/cpuminer-blake2b.o algo/yespower/cpuminer-yespower.o  -ljansson -lpthread  -lssl -lcrypto -lgmp 
/usr/bin/ld: cpuminer-cpu-miner.o: в функции «longpoll_thread»:
/home/serv1/Рабочий стол/Cpuminer/cpu-miner.c:2148: неопределённая ссылка на «curl_easy_init»
/usr/bin/ld: /home/serv1/Рабочий стол/Cpuminer/cpu-miner.c:2267: неопределённая ссылка на «curl_easy_cleanup»
/usr/bin/ld: cpuminer-cpu-miner.o: в функции «workio_thread»:
/home/serv1/Рабочий стол/Cpuminer/cpu-miner.c:1473: неопределённая ссылка на «curl_easy_init»
/usr/bin/ld: /home/serv1/Рабочий стол/Cpuminer/cpu-miner.c:1510: неопределённая ссылка на «curl_easy_cleanup»
/usr/bin/ld: cpuminer-cpu-miner.o: в функции «show_version_and_exit»:
/home/serv1/Рабочий стол/Cpuminer/cpu-miner.c:2583: неопределённая ссылка на «curl_version»
/usr/bin/ld: cpuminer-cpu-miner.o: в функции «main»:
/home/serv1/Рабочий стол/Cpuminer/cpu-miner.c:3326: неопределённая ссылка на «curl_global_init»
/usr/bin/ld: cpuminer-util.o: в функции «json_load_url»:
/home/serv1/Рабочий стол/Cpuminer/util.c:632: неопределённая ссылка на «curl_easy_init»
/usr/bin/ld: /home/serv1/Рабочий стол/Cpuminer/util.c:637: неопределённая ссылка на «curl_easy_setopt»
/usr/bin/ld: /home/serv1/Рабочий стол/Cpuminer/util.c:638: неопределённая ссылка на «curl_easy_setopt»
/usr/bin/ld: /home/serv1/Рабочий стол/Cpuminer/util.c:639: неопределённая ссылка на «curl_easy_setopt»
/usr/bin/ld: /home/serv1/Рабочий стол/Cpuminer/util.c:640: неопределённая ссылка на «curl_easy_setopt»
/usr/bin/ld: /home/serv1/Рабочий стол/Cpuminer/util.c:641: неопределённая ссылка на «curl_easy_setopt»
/usr/bin/ld: cpuminer-util.o:/home/serv1/Рабочий стол/Cpuminer/util.c:642: далее есть ещё неопределённые ссылки на «curl_easy_setopt»
/usr/bin/ld: cpuminer-util.o: в функции «json_load_url»:
/home/serv1/Рабочий стол/Cpuminer/util.c:656: неопределённая ссылка на «curl_easy_perform»
/usr/bin/ld: /home/serv1/Рабочий стол/Cpuminer/util.c:668: неопределённая ссылка на «curl_easy_cleanup»
/usr/bin/ld: /home/serv1/Рабочий стол/Cpuminer/util.c:652: неопределённая ссылка на «curl_easy_setopt»
/usr/bin/ld: /home/serv1/Рабочий стол/Cpuminer/util.c:656: неопределённая ссылка на «curl_easy_perform»
/usr/bin/ld: /home/serv1/Рабочий стол/Cpuminer/util.c:654: неопределённая ссылка на «curl_easy_setopt»
/usr/bin/ld: cpuminer-util.o: в функции «stratum_connect»:
/home/serv1/Рабочий стол/Cpuminer/util.c:1286: неопределённая ссылка на «curl_easy_cleanup»
/usr/bin/ld: /home/serv1/Рабочий стол/Cpuminer/util.c:1287: неопределённая ссылка на «curl_easy_init»
/usr/bin/ld: /home/serv1/Рабочий стол/Cpuminer/util.c:1310: неопределённая ссылка на «curl_easy_setopt»
/usr/bin/ld: /home/serv1/Рабочий стол/Cpuminer/util.c:1311: неопределённая ссылка на «curl_easy_setopt»
/usr/bin/ld: /home/serv1/Рабочий стол/Cpuminer/util.c:1312: неопределённая ссылка на «curl_easy_setopt»
/usr/bin/ld: /home/serv1/Рабочий стол/Cpuminer/util.c:1313: неопределённая ссылка на «curl_easy_setopt»
/usr/bin/ld: /home/serv1/Рабочий стол/Cpuminer/util.c:1314: неопределённая ссылка на «curl_easy_setopt»
/usr/bin/ld: cpuminer-util.o:/home/serv1/Рабочий стол/Cpuminer/util.c:1315: далее есть ещё неопределённые ссылки на «curl_easy_setopt»
/usr/bin/ld: cpuminer-util.o: в функции «stratum_connect»:
/home/serv1/Рабочий стол/Cpuminer/util.c:1330: неопределённая ссылка на «curl_easy_perform»
/usr/bin/ld: /home/serv1/Рабочий стол/Cpuminer/util.c:1309: неопределённая ссылка на «curl_easy_setopt»
/usr/bin/ld: /home/serv1/Рабочий стол/Cpuminer/util.c:1333: неопределённая ссылка на «curl_easy_cleanup»
/usr/bin/ld: cpuminer-util.o: в функции «stratum_disconnect»:
/home/serv1/Рабочий стол/Cpuminer/util.c:1350: неопределённая ссылка на «curl_easy_cleanup»
/usr/bin/ld: /home/serv1/Рабочий стол/Cpuminer/util.c:1350: неопределённая ссылка на «curl_easy_cleanup»
/usr/bin/ld: cpuminer-util.o: в функции «json_rpc_call»:
/home/serv1/Рабочий стол/Cpuminer/util.c:465: неопределённая ссылка на «curl_easy_setopt»
/usr/bin/ld: /home/serv1/Рабочий стол/Cpuminer/util.c:467: неопределённая ссылка на «curl_easy_setopt»
/usr/bin/ld: /home/serv1/Рабочий стол/Cpuminer/util.c:469: неопределённая ссылка на «curl_easy_setopt»
/usr/bin/ld: /home/serv1/Рабочий стол/Cpuminer/util.c:471: неопределённая ссылка на «curl_easy_setopt»
/usr/bin/ld: /home/serv1/Рабочий стол/Cpuminer/util.c:472: неопределённая ссылка на «curl_easy_setopt»
/usr/bin/ld: cpuminer-util.o:/home/serv1/Рабочий стол/Cpuminer/util.c:473: далее есть ещё неопределённые ссылки на «curl_easy_setopt»
/usr/bin/ld: cpuminer-util.o: в функции «json_rpc_call»:
/home/serv1/Рабочий стол/Cpuminer/util.c:512: неопределённая ссылка на «curl_slist_append»
/usr/bin/ld: /home/serv1/Рабочий стол/Cpuminer/util.c:513: неопределённая ссылка на «curl_slist_append»
/usr/bin/ld: /home/serv1/Рабочий стол/Cpuminer/util.c:514: неопределённая ссылка на «curl_slist_append»
/usr/bin/ld: /home/serv1/Рабочий стол/Cpuminer/util.c:515: неопределённая ссылка на «curl_slist_append»
/usr/bin/ld: /home/serv1/Рабочий стол/Cpuminer/util.c:519: неопределённая ссылка на «curl_easy_setopt»
/usr/bin/ld: /home/serv1/Рабочий стол/Cpuminer/util.c:521: неопределённая ссылка на «curl_easy_perform»
/usr/bin/ld: /home/serv1/Рабочий стол/Cpuminer/util.c:612: неопределённая ссылка на «curl_slist_free_all»
/usr/bin/ld: /home/serv1/Рабочий стол/Cpuminer/util.c:613: неопределённая ссылка на «curl_easy_reset»
/usr/bin/ld: /home/serv1/Рабочий стол/Cpuminer/util.c:485: неопределённая ссылка на «curl_easy_setopt»
/usr/bin/ld: /home/serv1/Рабочий стол/Cpuminer/util.c:464: неопределённая ссылка на «curl_easy_setopt»
/usr/bin/ld: /home/serv1/Рабочий стол/Cpuminer/util.c:499: неопределённая ссылка на «curl_easy_setopt»
/usr/bin/ld: /home/serv1/Рабочий стол/Cpuminer/util.c:621: неопределённая ссылка на «curl_slist_free_all»
/usr/bin/ld: /home/serv1/Рабочий стол/Cpuminer/util.c:622: неопределённая ссылка на «curl_easy_reset»
/usr/bin/ld: /home/serv1/Рабочий стол/Cpuminer/util.c:525: неопределённая ссылка на «curl_easy_getinfo»
collect2: ошибка: выполнение ld завершилось с кодом возврата 1
make[2]: *** [Makefile:1071: cpuminer] Ошибка 1
make[2]: выход из каталога «/home/serv1/Рабочий стол/Cpuminer»
make[1]: *** [Makefile:2378: all-recursive] Ошибка 1
make[1]: выход из каталога «/home/serv1/Рабочий стол/Cpuminer»
make: *** [Makefile:648: all] Ошибка 2


curl 7.74.0-1 установлен

2 комментария

avatar
В ответ на команду
pamac install cpuminer
собралось без проблем
Последний раз редактировалось
?
p5ql/epu q9300 clover,hackintosh,mint,void,manjaro,only kde
0
avatar
AUR был у меня отключен. И, кстати. Там нет того алгоритма по которому замерял в винде.

по поводу моего же вопроса( уж очень я не люблю когда люди сами находят решение, но не пишут какое.А только — всё заработало, всем спасибо )) Прям бесит )))).
при конфигурации пакета нужно добавить флаг:
CFLAGS="-march=native" LDFLAGS=-lcurl ./configure
0
Только зарегистрированные и авторизованные пользователи могут оставлять комментарии.