lucasjones / cpuminer-multi

Multi-algo CPUMiner & Reference Cryptonote Miner (JSON-RPC 2.0)
Other
638 stars 1.5k forks source link

Can't compile on Raspberry Pi 3 (PI3) #26

Open Dunnomix opened 8 years ago

Dunnomix commented 8 years ago

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 function mul_sum_xor_dst': /home/pi/cpuminer-lbry/algorithm/cryptonight.c:78: undefined reference tomul128' /home/pi/cpuminer-lbry/algorithm/cryptonight.c:78: undefined reference to mul128' algorithm/minerd-cryptonight.o: In functioncryptonight_hash_ctx_aes_ni': /home/pi/cpuminer-lbry/algorithm/cryptonight.c:197: undefined reference to fast_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 to fast_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 to fast_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 function cryptonight_hash_ctx_aes_ni': /home/pi/cpuminer-lbry/algorithm/cryptonight.c:218: undefined reference tofast_aesb_single_round' algorithm/minerd-cryptonight.o: In function mul_sum_xor_dst': /home/pi/cpuminer-lbry/algorithm/cryptonight.c:78: undefined reference tomul128' algorithm/minerd-cryptonight.o: In function cryptonight_hash_ctx_aes_ni': /home/pi/cpuminer-lbry/algorithm/cryptonight.c:224: undefined reference tofast_aesb_single_round' algorithm/minerd-cryptonight.o: In function mul_sum_xor_dst': /home/pi/cpuminer-lbry/algorithm/cryptonight.c:78: undefined reference tomul128' algorithm/minerd-cryptonight.o: In function cryptonight_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 to fast_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 to fast_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

nikhiljha commented 8 years ago

Pi CPU won't have AES-ni - that's specific to wolf's build, not this one.

legalmat commented 7 years ago

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.