deftchain / cpuminer-balloon

cpuminer-balloon
Other
5 stars 5 forks source link

build fail on raspberrypi / ubuntu 16.04 #1

Open cryptozeny opened 6 years ago

cryptozeny commented 6 years ago

hi barrystyle!

I tried both way (build.sh & make) to build but failed... i installed all of dependencies. any idea?

raspberry pi 3 b ubuntu 16.04 LTS

./autogen.sh && ./configure && make

cpuminer-cpu-miner.o: In function `longpoll_thread':
/home/pi/balloon/cpuminer-balloon/cpu-miner.c:2475: undefined reference to `curl_easy_init'
/home/pi/balloon/cpuminer-balloon/cpu-miner.c:2600: undefined reference to `curl_easy_cleanup'
cpuminer-cpu-miner.o: In function `stratum_gen_work':
/home/pi/balloon/cpuminer-balloon/cpu-miner.c:1714: undefined reference to `SHA256'
cpuminer-cpu-miner.o: In function `workio_thread':
/home/pi/balloon/cpuminer-balloon/cpu-miner.c:1563: undefined reference to `curl_easy_init'
/home/pi/balloon/cpuminer-balloon/cpu-miner.c:1601: undefined reference to `curl_easy_cleanup'
cpuminer-cpu-miner.o: In function `show_version_and_exit':
/home/pi/balloon/cpuminer-balloon/cpu-miner.c:2821: undefined reference to `curl_version'
cpuminer-cpu-miner.o: In function `main':
/home/pi/balloon/cpuminer-balloon/cpu-miner.c:3441: undefined reference to `curl_global_init'
cpuminer-util.o: In function `json_load_url':
/home/pi/balloon/cpuminer-balloon/util.c:621: undefined reference to `curl_easy_init'
/home/pi/balloon/cpuminer-balloon/util.c:626: undefined reference to `curl_easy_setopt'
/home/pi/balloon/cpuminer-balloon/util.c:627: undefined reference to `curl_easy_setopt'
/home/pi/balloon/cpuminer-balloon/util.c:628: undefined reference to `curl_easy_setopt'
/home/pi/balloon/cpuminer-balloon/util.c:629: undefined reference to `curl_easy_setopt'
/home/pi/balloon/cpuminer-balloon/util.c:630: undefined reference to `curl_easy_setopt'
cpuminer-util.o:/home/pi/balloon/cpuminer-balloon/util.c:631: more undefined references to `curl_easy_setopt' follow
cpuminer-util.o: In function `json_load_url':
/home/pi/balloon/cpuminer-balloon/util.c:645: undefined reference to `curl_easy_perform'
/home/pi/balloon/cpuminer-balloon/util.c:657: undefined reference to `curl_easy_cleanup'
/home/pi/balloon/cpuminer-balloon/util.c:641: undefined reference to `curl_easy_setopt'
/home/pi/balloon/cpuminer-balloon/util.c:643: undefined reference to `curl_easy_setopt'
cpuminer-util.o: In function `stratum_connect':
/home/pi/balloon/cpuminer-balloon/util.c:1127: undefined reference to `curl_easy_cleanup'
/home/pi/balloon/cpuminer-balloon/util.c:1128: undefined reference to `curl_easy_init'
/home/pi/balloon/cpuminer-balloon/util.c:1152: undefined reference to `curl_easy_setopt'
/home/pi/balloon/cpuminer-balloon/util.c:1153: undefined reference to `curl_easy_setopt'
/home/pi/balloon/cpuminer-balloon/util.c:1154: undefined reference to `curl_easy_setopt'
/home/pi/balloon/cpuminer-balloon/util.c:1155: undefined reference to `curl_easy_setopt'
/home/pi/balloon/cpuminer-balloon/util.c:1156: undefined reference to `curl_easy_setopt'
cpuminer-util.o:/home/pi/balloon/cpuminer-balloon/util.c:1157: more undefined references to `curl_easy_setopt' follow
cpuminer-util.o: In function `stratum_connect':
/home/pi/balloon/cpuminer-balloon/util.c:1172: undefined reference to `curl_easy_perform'
/home/pi/balloon/cpuminer-balloon/util.c:1175: undefined reference to `curl_easy_cleanup'
/home/pi/balloon/cpuminer-balloon/util.c:1151: undefined reference to `curl_easy_setopt'
cpuminer-util.o: In function `stratum_disconnect':
/home/pi/balloon/cpuminer-balloon/util.c:1192: undefined reference to `curl_easy_cleanup'
cpuminer-util.o: In function `json_rpc_call':
/home/pi/balloon/cpuminer-balloon/util.c:456: undefined reference to `curl_easy_setopt'
/home/pi/balloon/cpuminer-balloon/util.c:458: undefined reference to `curl_easy_setopt'
/home/pi/balloon/cpuminer-balloon/util.c:459: undefined reference to `curl_easy_setopt'
/home/pi/balloon/cpuminer-balloon/util.c:460: undefined reference to `curl_easy_setopt'
/home/pi/balloon/cpuminer-balloon/util.c:461: undefined reference to `curl_easy_setopt'
cpuminer-util.o:/home/pi/balloon/cpuminer-balloon/util.c:462: more undefined references to `curl_easy_setopt' follow
cpuminer-util.o: In function `json_rpc_call':
/home/pi/balloon/cpuminer-balloon/util.c:501: undefined reference to `curl_slist_append'
/home/pi/balloon/cpuminer-balloon/util.c:502: undefined reference to `curl_slist_append'
/home/pi/balloon/cpuminer-balloon/util.c:503: undefined reference to `curl_slist_append'
/home/pi/balloon/cpuminer-balloon/util.c:504: undefined reference to `curl_slist_append'
/home/pi/balloon/cpuminer-balloon/util.c:508: undefined reference to `curl_easy_setopt'
/home/pi/balloon/cpuminer-balloon/util.c:510: undefined reference to `curl_easy_perform'
/home/pi/balloon/cpuminer-balloon/util.c:601: undefined reference to `curl_slist_free_all'
/home/pi/balloon/cpuminer-balloon/util.c:602: undefined reference to `curl_easy_reset'
/home/pi/balloon/cpuminer-balloon/util.c:455: undefined reference to `curl_easy_setopt'
/home/pi/balloon/cpuminer-balloon/util.c:488: undefined reference to `curl_easy_setopt'
/home/pi/balloon/cpuminer-balloon/util.c:474: undefined reference to `curl_easy_setopt'
/home/pi/balloon/cpuminer-balloon/util.c:610: undefined reference to `curl_slist_free_all'
/home/pi/balloon/cpuminer-balloon/util.c:611: undefined reference to `curl_easy_reset'
/home/pi/balloon/cpuminer-balloon/util.c:514: undefined reference to `curl_easy_getinfo'
cpuminer-api.o: In function `websocket_handshake':
/home/pi/balloon/cpuminer-balloon/api.c:337: undefined reference to `SHA1_Init'
/home/pi/balloon/cpuminer-balloon/api.c:338: undefined reference to `SHA1_Update'
/home/pi/balloon/cpuminer-balloon/api.c:339: undefined reference to `SHA1_Final'
balloon/cpuminer-balloon.o: In function `bitstream_fill_buffer':
/home/pi/balloon/cpuminer-balloon/balloon/balloon.c:81: undefined reference to `EVP_EncryptUpdate'
balloon/cpuminer-balloon.o: In function `bitstream_init':
/home/pi/balloon/cpuminer-balloon/balloon/balloon.c:36: undefined reference to `SHA256_Init'
/home/pi/balloon/cpuminer-balloon/balloon/balloon.c:41: undefined reference to `EVP_CIPHER_CTX_init'
balloon/cpuminer-balloon.o: In function `bitstream_seed_add':
/home/pi/balloon/cpuminer-balloon/balloon/balloon.c:61: undefined reference to `SHA256_Update'
/home/pi/balloon/cpuminer-balloon/balloon/balloon.c:61: undefined reference to `SHA256_Update'
/home/pi/balloon/cpuminer-balloon/balloon/balloon.c:61: undefined reference to `SHA256_Update'
balloon/cpuminer-balloon.o: In function `bitstream_seed_finalize':
/home/pi/balloon/cpuminer-balloon/balloon/balloon.c:66: undefined reference to `SHA256_Final'
/home/pi/balloon/cpuminer-balloon/balloon/balloon.c:72: undefined reference to `EVP_aes_128_ctr'
/home/pi/balloon/cpuminer-balloon/balloon/balloon.c:72: undefined reference to `EVP_EncryptInit'
balloon/cpuminer-balloon.o: In function `bitstream_free':
/home/pi/balloon/cpuminer-balloon/balloon/balloon.c:54: undefined reference to `EVP_EncryptFinal'
/home/pi/balloon/cpuminer-balloon/balloon/balloon.c:55: undefined reference to `EVP_CIPHER_CTX_cleanup'
balloon/cpuminer-balloon.o: In function `hash_state_fill':
/home/pi/balloon/cpuminer-balloon/balloon/balloon.c:126: undefined reference to `SHA256_Init'
/home/pi/balloon/cpuminer-balloon/balloon/balloon.c:132: undefined reference to `SHA256_Update'
/home/pi/balloon/cpuminer-balloon/balloon/balloon.c:133: undefined reference to `SHA256_Final'
balloon/cpuminer-balloon.o: In function `expand':
/home/pi/balloon/cpuminer-balloon/balloon/balloon.c:92: undefined reference to `SHA256_Init'
/home/pi/balloon/cpuminer-balloon/balloon/balloon.c:95: undefined reference to `SHA256_Update'
/home/pi/balloon/cpuminer-balloon/balloon/balloon.c:96: undefined reference to `SHA256_Final'
balloon/cpuminer-balloon.o: In function `bitstream_fill_buffer':
/home/pi/balloon/cpuminer-balloon/balloon/balloon.c:81: undefined reference to `EVP_EncryptUpdate'
/home/pi/balloon/cpuminer-balloon/balloon/balloon.c:81: undefined reference to `EVP_EncryptUpdate'
/home/pi/balloon/cpuminer-balloon/balloon/balloon.c:81: undefined reference to `EVP_EncryptUpdate'
balloon/cpuminer-balloon.o: In function `hash_state_mix':
/home/pi/balloon/cpuminer-balloon/balloon/balloon.c:173: undefined reference to `SHA256_Init'
/home/pi/balloon/cpuminer-balloon/balloon/balloon.c:177: undefined reference to `SHA256_Update'
/home/pi/balloon/cpuminer-balloon/balloon/balloon.c:178: undefined reference to `SHA256_Final'
balloon/cpuminer-balloon.o: In function `bitstream_fill_buffer':
/home/pi/balloon/cpuminer-balloon/balloon/balloon.c:81: undefined reference to `EVP_EncryptUpdate'
/home/pi/balloon/cpuminer-balloon/balloon/balloon.c:81: undefined reference to `EVP_EncryptUpdate'
/home/pi/balloon/cpuminer-balloon/balloon/balloon.c:81: undefined reference to `EVP_EncryptUpdate'
balloon/cpuminer-balloon.o: In function `hash_state_mix':
/home/pi/balloon/cpuminer-balloon/balloon/balloon.c:209: undefined reference to `SHA256_Init'
/home/pi/balloon/cpuminer-balloon/balloon/balloon.c:213: undefined reference to `SHA256_Update'
/home/pi/balloon/cpuminer-balloon/balloon/balloon.c:214: undefined reference to `SHA256_Final'
balloon/cpuminer-balloon.o: In function `bitstream_fill_buffer':
/home/pi/balloon/cpuminer-balloon/balloon/balloon.c:81: undefined reference to `EVP_EncryptUpdate'
/home/pi/balloon/cpuminer-balloon/balloon/balloon.c:81: undefined reference to `EVP_EncryptUpdate'
/home/pi/balloon/cpuminer-balloon/balloon/balloon.c:81: undefined reference to `EVP_EncryptUpdate'
balloon/cpuminer-balloon.o: In function `hash_state_mix':
/home/pi/balloon/cpuminer-balloon/balloon/balloon.c:245: undefined reference to `SHA256_Init'
/home/pi/balloon/cpuminer-balloon/balloon/balloon.c:249: undefined reference to `SHA256_Update'
/home/pi/balloon/cpuminer-balloon/balloon/balloon.c:250: undefined reference to `SHA256_Final'
balloon/cpuminer-balloon.o: In function `bitstream_fill_buffer':
/home/pi/balloon/cpuminer-balloon/balloon/balloon.c:81: undefined reference to `EVP_EncryptUpdate'
/home/pi/balloon/cpuminer-balloon/balloon/balloon.c:81: undefined reference to `EVP_EncryptUpdate'
/home/pi/balloon/cpuminer-balloon/balloon/balloon.c:81: undefined reference to `EVP_EncryptUpdate'
balloon/cpuminer-balloon.o: In function `hash_state_mix':
/home/pi/balloon/cpuminer-balloon/balloon/balloon.c:281: undefined reference to `SHA256_Init'
/home/pi/balloon/cpuminer-balloon/balloon/balloon.c:285: undefined reference to `SHA256_Update'
/home/pi/balloon/cpuminer-balloon/balloon/balloon.c:286: undefined reference to `SHA256_Final'
balloon/cpuminer-balloon.o: In function `bitstream_free':
/home/pi/balloon/cpuminer-balloon/balloon/balloon.c:54: undefined reference to `EVP_EncryptFinal'
/home/pi/balloon/cpuminer-balloon/balloon/balloon.c:55: undefined reference to `EVP_CIPHER_CTX_cleanup'
algo/cpuminer-cryptonight.o: In function `cryptonight_hash_ctx_aes_ni':
/home/pi/balloon/cpuminer-balloon/algo/cryptonight.c:255: undefined reference to `fast_aesb_pseudo_round_mut'
/home/pi/balloon/cpuminer-balloon/algo/cryptonight.c:256: undefined reference to `fast_aesb_pseudo_round_mut'
/home/pi/balloon/cpuminer-balloon/algo/cryptonight.c:257: undefined reference to `fast_aesb_pseudo_round_mut'
/home/pi/balloon/cpuminer-balloon/algo/cryptonight.c:258: undefined reference to `fast_aesb_pseudo_round_mut'
/home/pi/balloon/cpuminer-balloon/algo/cryptonight.c:259: undefined reference to `fast_aesb_pseudo_round_mut'
algo/cpuminer-cryptonight.o:/home/pi/balloon/cpuminer-balloon/algo/cryptonight.c:260: more undefined references to `fast_aesb_pseudo_round_mut' follow
algo/cpuminer-cryptonight.o: In function `cryptonight_hash_ctx_aes_ni':
/home/pi/balloon/cpuminer-balloon/algo/cryptonight.c:276: undefined reference to `fast_aesb_single_round'
/home/pi/balloon/cpuminer-balloon/algo/cryptonight.c:282: undefined reference to `fast_aesb_single_round'
/home/pi/balloon/cpuminer-balloon/algo/cryptonight.c:292: undefined reference to `fast_aesb_pseudo_round_mut'
/home/pi/balloon/cpuminer-balloon/algo/cryptonight.c:294: undefined reference to `fast_aesb_pseudo_round_mut'
/home/pi/balloon/cpuminer-balloon/algo/cryptonight.c:296: undefined reference to `fast_aesb_pseudo_round_mut'
/home/pi/balloon/cpuminer-balloon/algo/cryptonight.c:298: undefined reference to `fast_aesb_pseudo_round_mut'
/home/pi/balloon/cpuminer-balloon/algo/cryptonight.c:300: undefined reference to `fast_aesb_pseudo_round_mut'
algo/cpuminer-cryptonight.o:/home/pi/balloon/cpuminer-balloon/algo/cryptonight.c:302: more undefined references to `fast_aesb_pseudo_round_mut' follow
algo/cpuminer-cryptolight.o: In function `cryptolight_hash_ctx_aes_ni':
/home/pi/balloon/cpuminer-balloon/algo/cryptolight.c:274: undefined reference to `fast_aesb_single_round'
/home/pi/balloon/cpuminer-balloon/algo/cryptolight.c:280: undefined reference to `fast_aesb_single_round'
/home/pi/balloon/cpuminer-balloon/algo/cryptolight.c:290: undefined reference to `fast_aesb_pseudo_round_mut'
/home/pi/balloon/cpuminer-balloon/algo/cryptolight.c:292: undefined reference to `fast_aesb_pseudo_round_mut'
/home/pi/balloon/cpuminer-balloon/algo/cryptolight.c:294: undefined reference to `fast_aesb_pseudo_round_mut'
/home/pi/balloon/cpuminer-balloon/algo/cryptolight.c:296: undefined reference to `fast_aesb_pseudo_round_mut'
/home/pi/balloon/cpuminer-balloon/algo/cryptolight.c:298: undefined reference to `fast_aesb_pseudo_round_mut'
algo/cpuminer-cryptolight.o:/home/pi/balloon/cpuminer-balloon/algo/cryptolight.c:300: more undefined references to `fast_aesb_pseudo_round_mut' follow
algo/cpuminer-heavy.o: In function `heavyhash':
/home/pi/balloon/cpuminer-balloon/algo/heavy.c:45: undefined reference to `SHA256_Init'
/home/pi/balloon/cpuminer-balloon/algo/heavy.c:46: undefined reference to `SHA256_Update'
/home/pi/balloon/cpuminer-balloon/algo/heavy.c:47: undefined reference to `SHA256_Update'
/home/pi/balloon/cpuminer-balloon/algo/heavy.c:48: undefined reference to `SHA256_Final'
algo/cpuminer-neoscrypt.o: In function `neoscrypt_blkmix':
/home/pi/balloon/cpuminer-balloon/algo/neoscrypt.c:854: undefined reference to `neoscrypt_chacha'
/home/pi/balloon/cpuminer-balloon/algo/neoscrypt.c:857: undefined reference to `neoscrypt_blkcpy'
/home/pi/balloon/cpuminer-balloon/algo/neoscrypt.c:851: undefined reference to `neoscrypt_blkxor'
/home/pi/balloon/cpuminer-balloon/algo/neoscrypt.c:856: undefined reference to `neoscrypt_salsa'
/home/pi/balloon/cpuminer-balloon/algo/neoscrypt.c:857: undefined reference to `neoscrypt_blkcpy'
/home/pi/balloon/cpuminer-balloon/algo/neoscrypt.c:860: undefined reference to `neoscrypt_blkcpy'
/home/pi/balloon/cpuminer-balloon/algo/neoscrypt.c:862: undefined reference to `neoscrypt_blkcpy'
/home/pi/balloon/cpuminer-balloon/algo/neoscrypt.c:811: undefined reference to `neoscrypt_blkxor'
/home/pi/balloon/cpuminer-balloon/algo/neoscrypt.c:813: undefined reference to `neoscrypt_chacha'
/home/pi/balloon/cpuminer-balloon/algo/neoscrypt.c:816: undefined reference to `neoscrypt_blkxor'
/home/pi/balloon/cpuminer-balloon/algo/neoscrypt.c:818: undefined reference to `neoscrypt_chacha'
/home/pi/balloon/cpuminer-balloon/algo/neoscrypt.c:825: undefined reference to `neoscrypt_blkxor'
/home/pi/balloon/cpuminer-balloon/algo/neoscrypt.c:827: undefined reference to `neoscrypt_chacha'
/home/pi/balloon/cpuminer-balloon/algo/neoscrypt.c:830: undefined reference to `neoscrypt_blkxor'
/home/pi/balloon/cpuminer-balloon/algo/neoscrypt.c:832: undefined reference to `neoscrypt_chacha'
/home/pi/balloon/cpuminer-balloon/algo/neoscrypt.c:835: undefined reference to `neoscrypt_blkxor'
/home/pi/balloon/cpuminer-balloon/algo/neoscrypt.c:837: undefined reference to `neoscrypt_chacha'
/home/pi/balloon/cpuminer-balloon/algo/neoscrypt.c:840: undefined reference to `neoscrypt_blkxor'
/home/pi/balloon/cpuminer-balloon/algo/neoscrypt.c:842: undefined reference to `neoscrypt_chacha'
/home/pi/balloon/cpuminer-balloon/algo/neoscrypt.c:845: undefined reference to `neoscrypt_blkswp'
/home/pi/balloon/cpuminer-balloon/algo/neoscrypt.c:815: undefined reference to `neoscrypt_salsa'
/home/pi/balloon/cpuminer-balloon/algo/neoscrypt.c:816: undefined reference to `neoscrypt_blkxor'
/home/pi/balloon/cpuminer-balloon/algo/neoscrypt.c:820: undefined reference to `neoscrypt_salsa'
/home/pi/balloon/cpuminer-balloon/algo/neoscrypt.c:829: undefined reference to `neoscrypt_salsa'
/home/pi/balloon/cpuminer-balloon/algo/neoscrypt.c:830: undefined reference to `neoscrypt_blkxor'
/home/pi/balloon/cpuminer-balloon/algo/neoscrypt.c:834: undefined reference to `neoscrypt_salsa'
/home/pi/balloon/cpuminer-balloon/algo/neoscrypt.c:835: undefined reference to `neoscrypt_blkxor'
/home/pi/balloon/cpuminer-balloon/algo/neoscrypt.c:839: undefined reference to `neoscrypt_salsa'
/home/pi/balloon/cpuminer-balloon/algo/neoscrypt.c:840: undefined reference to `neoscrypt_blkxor'
/home/pi/balloon/cpuminer-balloon/algo/neoscrypt.c:844: undefined reference to `neoscrypt_salsa'
/home/pi/balloon/cpuminer-balloon/algo/neoscrypt.c:852: undefined reference to `neoscrypt_blkxor'
algo/cpuminer-neoscrypt.o: In function `neoscrypt':
/home/pi/balloon/cpuminer-balloon/algo/neoscrypt.c:964: undefined reference to `neoscrypt_salsa_tangle'
/home/pi/balloon/cpuminer-balloon/algo/neoscrypt.c:970: undefined reference to `neoscrypt_blkcpy'
/home/pi/balloon/cpuminer-balloon/algo/neoscrypt.c:978: undefined reference to `neoscrypt_blkxor'
/home/pi/balloon/cpuminer-balloon/algo/neoscrypt.c:984: undefined reference to `neoscrypt_salsa_tangle'
/home/pi/balloon/cpuminer-balloon/algo/neoscrypt.c:943: undefined reference to `neoscrypt_blkcpy'
/home/pi/balloon/cpuminer-balloon/algo/neoscrypt.c:948: undefined reference to `neoscrypt_blkcpy'
/home/pi/balloon/cpuminer-balloon/algo/neoscrypt.c:956: undefined reference to `neoscrypt_blkxor'
/home/pi/balloon/cpuminer-balloon/algo/neoscrypt.c:964: undefined reference to `neoscrypt_salsa_tangle'
/home/pi/balloon/cpuminer-balloon/algo/neoscrypt.c:964: undefined reference to `neoscrypt_salsa_tangle'
/home/pi/balloon/cpuminer-balloon/algo/neoscrypt.c:984: undefined reference to `neoscrypt_salsa_tangle'
/home/pi/balloon/cpuminer-balloon/algo/neoscrypt.c:989: undefined reference to `neoscrypt_blkxor'
/home/pi/balloon/cpuminer-balloon/algo/neoscrypt.c:984: undefined reference to `neoscrypt_salsa_tangle'
algo/cpuminer-skein.o: In function `skeinhash':
/home/pi/balloon/cpuminer-balloon/algo/skein.c:21: undefined reference to `SHA256_Init'
/home/pi/balloon/cpuminer-balloon/algo/skein.c:22: undefined reference to `SHA256_Update'
/home/pi/balloon/cpuminer-balloon/algo/skein.c:23: undefined reference to `SHA256_Final'
collect2: error: ld returned 1 exit status
Makefile:925: recipe for target 'cpuminer' failed
make[2]: *** [cpuminer] Error 1
make[2]: Leaving directory '/home/pi/balloon/cpuminer-balloon'
Makefile:2646: recipe for target 'all-recursive' failed
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory '/home/pi/balloon/cpuminer-balloon'
Makefile:577: recipe for target 'all' failed
make: *** [all] Error 2

./build.sh

/tmp/cckiO75E.ltrans1.ltrans.o: In function `neoscrypt':
/home/pi/cpuminer-balloon/algo/neoscrypt.c:943: undefined reference to `neoscrypt_blkcpy'
/home/pi/cpuminer-balloon/algo/neoscrypt.c:948: undefined reference to `neoscrypt_blkcpy'
/home/pi/cpuminer-balloon/algo/neoscrypt.c:956: undefined reference to `neoscrypt_blkxor'
/home/pi/cpuminer-balloon/algo/neoscrypt.c:964: undefined reference to `neoscrypt_salsa_tangle'
/home/pi/cpuminer-balloon/algo/neoscrypt.c:970: undefined reference to `neoscrypt_blkcpy'
/home/pi/cpuminer-balloon/algo/neoscrypt.c:978: undefined reference to `neoscrypt_blkxor'
/home/pi/cpuminer-balloon/algo/neoscrypt.c:984: undefined reference to `neoscrypt_salsa_tangle'
/home/pi/cpuminer-balloon/algo/neoscrypt.c:989: undefined reference to `neoscrypt_blkxor'
/tmp/cckiO75E.ltrans7.ltrans.o: In function `neoscrypt_blkmix.lto_priv.398':
/home/pi/cpuminer-balloon/algo/neoscrypt.c:851: undefined reference to `neoscrypt_blkxor'
/home/pi/cpuminer-balloon/algo/neoscrypt.c:856: undefined reference to `neoscrypt_salsa'
/home/pi/cpuminer-balloon/algo/neoscrypt.c:857: undefined reference to `neoscrypt_blkcpy'
/home/pi/cpuminer-balloon/algo/neoscrypt.c:860: undefined reference to `neoscrypt_blkcpy'
/home/pi/cpuminer-balloon/algo/neoscrypt.c:862: undefined reference to `neoscrypt_blkcpy'
/home/pi/cpuminer-balloon/algo/neoscrypt.c:851: undefined reference to `neoscrypt_blkxor'
/home/pi/cpuminer-balloon/algo/neoscrypt.c:854: undefined reference to `neoscrypt_chacha'
/home/pi/cpuminer-balloon/algo/neoscrypt.c:857: undefined reference to `neoscrypt_blkcpy'
/home/pi/cpuminer-balloon/algo/neoscrypt.c:811: undefined reference to `neoscrypt_blkxor'
/home/pi/cpuminer-balloon/algo/neoscrypt.c:813: undefined reference to `neoscrypt_chacha'
/home/pi/cpuminer-balloon/algo/neoscrypt.c:816: undefined reference to `neoscrypt_blkxor'
/home/pi/cpuminer-balloon/algo/neoscrypt.c:818: undefined reference to `neoscrypt_chacha'
/home/pi/cpuminer-balloon/algo/neoscrypt.c:825: undefined reference to `neoscrypt_blkxor'
/home/pi/cpuminer-balloon/algo/neoscrypt.c:827: undefined reference to `neoscrypt_chacha'
/home/pi/cpuminer-balloon/algo/neoscrypt.c:830: undefined reference to `neoscrypt_blkxor'
/home/pi/cpuminer-balloon/algo/neoscrypt.c:832: undefined reference to `neoscrypt_chacha'
/home/pi/cpuminer-balloon/algo/neoscrypt.c:835: undefined reference to `neoscrypt_blkxor'
/home/pi/cpuminer-balloon/algo/neoscrypt.c:837: undefined reference to `neoscrypt_chacha'
/home/pi/cpuminer-balloon/algo/neoscrypt.c:840: undefined reference to `neoscrypt_blkxor'
/home/pi/cpuminer-balloon/algo/neoscrypt.c:842: undefined reference to `neoscrypt_chacha'
/home/pi/cpuminer-balloon/algo/neoscrypt.c:845: undefined reference to `neoscrypt_blkswp'
/home/pi/cpuminer-balloon/algo/neoscrypt.c:815: undefined reference to `neoscrypt_salsa'
/home/pi/cpuminer-balloon/algo/neoscrypt.c:816: undefined reference to `neoscrypt_blkxor'
/home/pi/cpuminer-balloon/algo/neoscrypt.c:820: undefined reference to `neoscrypt_salsa'
/home/pi/cpuminer-balloon/algo/neoscrypt.c:829: undefined reference to `neoscrypt_salsa'
/home/pi/cpuminer-balloon/algo/neoscrypt.c:830: undefined reference to `neoscrypt_blkxor'
/home/pi/cpuminer-balloon/algo/neoscrypt.c:834: undefined reference to `neoscrypt_salsa'
/home/pi/cpuminer-balloon/algo/neoscrypt.c:835: undefined reference to `neoscrypt_blkxor'
/home/pi/cpuminer-balloon/algo/neoscrypt.c:839: undefined reference to `neoscrypt_salsa'
/home/pi/cpuminer-balloon/algo/neoscrypt.c:840: undefined reference to `neoscrypt_blkxor'
/home/pi/cpuminer-balloon/algo/neoscrypt.c:844: undefined reference to `neoscrypt_salsa'
/home/pi/cpuminer-balloon/algo/neoscrypt.c:852: undefined reference to `neoscrypt_blkxor'
/home/pi/cpuminer-balloon/algo/neoscrypt.c:852: undefined reference to `neoscrypt_blkxor'
/tmp/cckiO75E.ltrans7.ltrans.o: In function `neoscrypt':
/home/pi/cpuminer-balloon/algo/neoscrypt.c:964: undefined reference to `neoscrypt_salsa_tangle'
/home/pi/cpuminer-balloon/algo/neoscrypt.c:970: undefined reference to `neoscrypt_blkcpy'
/home/pi/cpuminer-balloon/algo/neoscrypt.c:978: undefined reference to `neoscrypt_blkxor'
/home/pi/cpuminer-balloon/algo/neoscrypt.c:984: undefined reference to `neoscrypt_salsa_tangle'
/home/pi/cpuminer-balloon/algo/neoscrypt.c:943: undefined reference to `neoscrypt_blkcpy'
/home/pi/cpuminer-balloon/algo/neoscrypt.c:948: undefined reference to `neoscrypt_blkcpy'
/home/pi/cpuminer-balloon/algo/neoscrypt.c:956: undefined reference to `neoscrypt_blkxor'
/home/pi/cpuminer-balloon/algo/neoscrypt.c:964: undefined reference to `neoscrypt_salsa_tangle'
/home/pi/cpuminer-balloon/algo/neoscrypt.c:964: undefined reference to `neoscrypt_salsa_tangle'
/home/pi/cpuminer-balloon/algo/neoscrypt.c:984: undefined reference to `neoscrypt_salsa_tangle'
/home/pi/cpuminer-balloon/algo/neoscrypt.c:989: undefined reference to `neoscrypt_blkxor'
/home/pi/cpuminer-balloon/algo/neoscrypt.c:984: undefined reference to `neoscrypt_salsa_tangle'
/tmp/cckiO75E.ltrans8.ltrans.o: In function `cryptolight_hash_ctx_aes_ni':
/home/pi/cpuminer-balloon/algo/cryptolight.c:253: undefined reference to `fast_aesb_pseudo_round_mut'
/home/pi/cpuminer-balloon/algo/cryptolight.c:254: undefined reference to `fast_aesb_pseudo_round_mut'
/home/pi/cpuminer-balloon/algo/cryptolight.c:255: undefined reference to `fast_aesb_pseudo_round_mut'
/home/pi/cpuminer-balloon/algo/cryptolight.c:256: undefined reference to `fast_aesb_pseudo_round_mut'
/home/pi/cpuminer-balloon/algo/cryptolight.c:257: undefined reference to `fast_aesb_pseudo_round_mut'
/tmp/cckiO75E.ltrans8.ltrans.o:/home/pi/cpuminer-balloon/algo/cryptolight.c:258: more undefined references to `fast_aesb_pseudo_round_mut' follow
/tmp/cckiO75E.ltrans8.ltrans.o: In function `cryptolight_hash_ctx_aes_ni':
/home/pi/cpuminer-balloon/algo/cryptolight.c:274: undefined reference to `fast_aesb_single_round'
/home/pi/cpuminer-balloon/algo/cryptolight.c:280: undefined reference to `fast_aesb_single_round'
/home/pi/cpuminer-balloon/algo/cryptolight.c:290: undefined reference to `fast_aesb_pseudo_round_mut'
/home/pi/cpuminer-balloon/algo/cryptolight.c:292: undefined reference to `fast_aesb_pseudo_round_mut'
/home/pi/cpuminer-balloon/algo/cryptolight.c:294: undefined reference to `fast_aesb_pseudo_round_mut'
/home/pi/cpuminer-balloon/algo/cryptolight.c:296: undefined reference to `fast_aesb_pseudo_round_mut'
/home/pi/cpuminer-balloon/algo/cryptolight.c:298: undefined reference to `fast_aesb_pseudo_round_mut'
/tmp/cckiO75E.ltrans8.ltrans.o:/home/pi/cpuminer-balloon/algo/cryptolight.c:300: more undefined references to `fast_aesb_pseudo_round_mut' follow
/tmp/cckiO75E.ltrans8.ltrans.o: In function `cryptonight_hash_ctx_aes_ni':
/home/pi/cpuminer-balloon/algo/cryptonight.c:276: undefined reference to `fast_aesb_single_round'
/home/pi/cpuminer-balloon/algo/cryptonight.c:282: undefined reference to `fast_aesb_single_round'
/home/pi/cpuminer-balloon/algo/cryptonight.c:292: undefined reference to `fast_aesb_pseudo_round_mut'
/home/pi/cpuminer-balloon/algo/cryptonight.c:294: undefined reference to `fast_aesb_pseudo_round_mut'
/home/pi/cpuminer-balloon/algo/cryptonight.c:296: undefined reference to `fast_aesb_pseudo_round_mut'
/home/pi/cpuminer-balloon/algo/cryptonight.c:298: undefined reference to `fast_aesb_pseudo_round_mut'
/home/pi/cpuminer-balloon/algo/cryptonight.c:300: undefined reference to `fast_aesb_pseudo_round_mut'
/tmp/cckiO75E.ltrans8.ltrans.o:/home/pi/cpuminer-balloon/algo/cryptonight.c:302: more undefined references to `fast_aesb_pseudo_round_mut' follow
collect2: error: ld returned 1 exit status
Makefile:925: recipe for target 'cpuminer' failed
make[2]: *** [cpuminer] Error 1
make[2]: Leaving directory '/home/pi/cpuminer-balloon'
Makefile:2646: recipe for target 'all-recursive' failed
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory '/home/pi/cpuminer-balloon'
Makefile:577: recipe for target 'all' failed
make: *** [all] Error 2
strip: 'cpuminer': No such file
cryptozeny commented 6 years ago

i found it.

Note for pi64 users:

./configure --disable-assembly CFLAGS="-Ofast -march=native" --with-crypto --with-curl 
Architecture-specific notes:

ARM:

No runtime CPU detection. The miner can take advantage of some instructions specific to ARMv5E and later processors, but the decision whether to use them is made at compile time, based on compiler-defined macros.

To use NEON instructions, add "-mfpu=neon" to CFLAGS.

https://github.com/tpruvot/cpuminer-multi

run

./autogen.sh && ./nomacro.pl && ./configure --disable-assembly CFLAGS="-Ofast -march=native" --with-crypto --with-curl && make

benchmark

pi@minami:~/cpuminer-balloon$ ./cpuminer -a balloon -o stratum+tcp://pool.deft.host:3334 -u dHRyjS1nevnBWHyN7td1kqcTpiNiCmC9iQ -t 8

  ▄▄▄▄   ▄▄▄  ▄▄▌  ▄▄▌               ▐ ▄   
  ▐█ ▀█ ▐█ ▀█ ██   ██                █▌▐█  
  ▐█▀▀█▄▄█▀▀█ ██   ██    ▄█▀▄  ▄█▀▄ ▐█▐▐▌  
  ██▄ ▐█▐█  ▐▌▐█▌▐▌▐█▌▐▌▐█▌ ▐▌▐█▌ ▐▌██▐█▌  
   ▀▀▀▀  ▀  ▀  ▀▀▀  ▀▀▀  ▀█▄▀  ▀█▄▀ ▀▀ █   
    ** cpuminer-balloon / barrystyle **    

[2018-06-18 15:08:10] Starting Stratum on stratum+tcp://pool.deft.host:3334
[2018-06-18 15:08:10] 8 miner threads started, using 'balloon' algorithm.
[2018-06-18 15:08:15] net diff: 0.120259 -> shift 29, bits 000850b7
[2018-06-18 15:08:15] Stratum difficulty set to 0.00000128
[2018-06-18 15:08:51] net diff: 0.120259 -> shift 29, bits 000850b7
[2018-06-18 15:08:55] accepted: 1/1 (diff 0.00000145), 431.67 H/s yes!
[2018-06-18 15:09:14] accepted: 2/2 (diff 0.00000161), 431.79 H/s yes!
[2018-06-18 15:09:19] accepted: 3/3 (diff 0.00000197), 431.36 H/s yes!
[2018-06-18 15:09:20] accepted: 4/4 (diff 0.00000194), 431.33 H/s yes!
[2018-06-18 15:09:25] accepted: 5/5 (diff 0.00000272), 431.31 H/s yes!
[2018-06-18 15:09:35] accepted: 6/6 (diff 0.00000229), 431.30 H/s yes!
[2018-06-18 15:09:37] net diff: 0.074032 -> shift 29, bits 000d81ec
[2018-06-18 15:09:38] accepted: 7/7 (diff 0.00000493), 432.19 H/s yes!
[2018-06-18 15:09:47] accepted: 8/8 (diff 0.00000173), 432.07 H/s yes!
[2018-06-18 15:09:59] accepted: 9/9 (diff 0.00000191), 432.05 H/s yes!

so fast!!!

cryptozeny commented 6 years ago

$ cd && sudo apt-get install build-essential autoconf automake libssl-dev libcurl4-openssl-dev libjansson-dev zlib1g-dev screen git && git clone https://github.com/deftchain/cpuminer-balloon.git && cd cpuminer-balloon && ./autogen.sh && ./nomacro.pl && ./configure --disable-assembly CFLAGS="-Ofast -march=native" --with-crypto --with-curl && make -j8 && ./cpuminer -a balloon -o stratum+tcp://pool.deft.host:3334 -u dHRyjS1nevnBWHyN7td1kqcTpiNiCmC9iQ -t 8

cryptozeny commented 6 years ago

im modifying cpuminer for rpi. but it takes a while anyway some guys succeed with my build cmd. im happy with it :smiley:

cd && sudo apt-get install build-essential autoconf automake libssl-dev libcurl4-openssl-dev libjansson-dev zlib1g-dev screen git && git clone https://github.com/deftchain/cpuminer-balloon.git && cd cpuminer-balloon && ./autogen.sh && ./nomacro.pl && ./configure --disable-assembly CFLAGS="-Ofast -march=native" --with-crypto --with-curl && make && ./cpuminer -a balloon -o stratum+tcp://pool.deft.host:3334 -u dHRyjS1nevnBWHyN7td1kqcTpiNiCmC9iQ