cpuminer-multi
cpuminer-multi copied to clipboard
Can't compile on Raspberry Pi 3 (PI3)
uname
Linux raspberrypi 4.4.9-v7+ #884 SMP Fri May 6 17:28:59 BST 2016 armv7l GNU/Linux
configure
config.txt
algorithm/minerd-sha2-arm.o algorithm/minerd-scrypt-arm.o -lcurl -lssl -lcrypto -ljansson -lpthread
algorithm/minerd-cryptonight.o: In functionmul_sum_xor_dst': /home/pi/cpuminer-lbry/algorithm/cryptonight.c:78: undefined reference tomul128' /home/pi/cpuminer-lbry/algorithm/cryptonight.c:78: undefined reference tomul128' algorithm/minerd-cryptonight.o: In functioncryptonight_hash_ctx_aes_ni': /home/pi/cpuminer-lbry/algorithm/cryptonight.c:197: undefined reference tofast_aesb_pseudo_round_mut' /home/pi/cpuminer-lbry/algorithm/cryptonight.c:198: undefined reference tofast_aesb_pseudo_round_mut' /home/pi/cpuminer-lbry/algorithm/cryptonight.c:199: undefined reference tofast_aesb_pseudo_round_mut' /home/pi/cpuminer-lbry/algorithm/cryptonight.c:200: undefined reference tofast_aesb_pseudo_round_mut' /home/pi/cpuminer-lbry/algorithm/cryptonight.c:201: undefined reference tofast_aesb_pseudo_round_mut' algorithm/minerd-cryptonight.o:/home/pi/cpuminer-lbry/algorithm/cryptonight.c:202: more undefined references tofast_aesb_pseudo_round_mut' follow algorithm/minerd-cryptonight.o: In functioncryptonight_hash_ctx_aes_ni': /home/pi/cpuminer-lbry/algorithm/cryptonight.c:218: undefined reference tofast_aesb_single_round' algorithm/minerd-cryptonight.o: In functionmul_sum_xor_dst': /home/pi/cpuminer-lbry/algorithm/cryptonight.c:78: undefined reference tomul128' algorithm/minerd-cryptonight.o: In functioncryptonight_hash_ctx_aes_ni': /home/pi/cpuminer-lbry/algorithm/cryptonight.c:224: undefined reference tofast_aesb_single_round' algorithm/minerd-cryptonight.o: In functionmul_sum_xor_dst': /home/pi/cpuminer-lbry/algorithm/cryptonight.c:78: undefined reference tomul128' algorithm/minerd-cryptonight.o: In functioncryptonight_hash_ctx_aes_ni': /home/pi/cpuminer-lbry/algorithm/cryptonight.c:234: undefined reference tofast_aesb_pseudo_round_mut' /home/pi/cpuminer-lbry/algorithm/cryptonight.c:236: undefined reference tofast_aesb_pseudo_round_mut' /home/pi/cpuminer-lbry/algorithm/cryptonight.c:238: undefined reference tofast_aesb_pseudo_round_mut' /home/pi/cpuminer-lbry/algorithm/cryptonight.c:240: undefined reference tofast_aesb_pseudo_round_mut' /home/pi/cpuminer-lbry/algorithm/cryptonight.c:242: undefined reference tofast_aesb_pseudo_round_mut' algorithm/minerd-cryptonight.o:/home/pi/cpuminer-lbry/algorithm/cryptonight.c:244: more undefined references to `fast_aesb_pseudo_round_mut' follow
Pi CPU won't have AES-ni - that's specific to wolf's build, not this one.
I managed to get it to run with the trupvot version and this c flag: ./configure --with-crypto --with-curl It was more a surprise. Also maybe this one was needed before too, cant be bad to try: ./configure CC=gcc CFLAGS="--std=c99 -O3" I have no certain idea, lost overview.