Coffeboi / XMRig-Termux

XMRig for Termux on Android.
55 stars 10 forks source link

Make error #4

Open VIRUSGAMING64 opened 2 months ago

VIRUSGAMING64 commented 2 months ago

.../xmrig-6.22.0/build $ make [ 0%] Building C object src/crypto/ghostrider/CMakeFiles/ghostrider.dir/sph_blake.c.o cc: error: unsupported option '-maes' for target 'armv7a-unknown-linux-androideabi24' make[2]: [src/crypto/ghostrider/CMakeFiles/ghostrider.dir/build.make:76: src/crypto/ghostrider/CMakeFiles/ghostrider.dir/sph_blake.c.o] Error 1 make[1]: [CMakeFiles/Makefile2:216: src/crypto/ghostrider/CMakeFiles/ghostrider.dir/all] Error 2 make: *** [Makefile:91: all] Error 2 .../xmrig-6.22.0/build $

VIRUSGAMING64 commented 2 months ago

![Uploading Screenshot_2024-09-12-18-19-09-555_com.termux.jpg…]()

maxdesu commented 1 week ago

I add some optional om cmake command from this

cmake -DWITH_HWLOC=OFF .. 

to this command

cmake -DWITH_HWLOC=OFF -DARM_TARGET=8 ..

If CPU device using ARMv7 just change 8 to 7 like this. and then running make again

cmake -DWITH_HWLOC=OFF -DARM_TARGET=7 ..

For me, I was built it on Mi box S gen 2 and passed by using ARMv7 command.