-
Notifications
You must be signed in to change notification settings - Fork 3.5k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
make not working on linux #3106
Comments
Ive also tried running cmake with -DWITH_GHOSTRIDER=OFF but then it says |
32-bit ARM is not supported, you need to install 64-bit PI OS. |
oh okay |
Dear, I have the same problem, were you able to solve it, I will be attentive to your comments |
Im trying to install xmrig on a raspberry PI running PI-OS lite, and when i try to install xmrig using the commands
git clone https://github.com/xmrig/xmrig.git
mkdir xmrig/build
cd xmrig/build
cmake ..
everything works but as soon as I use the command
make
it gives out:
pi@raspberrypi:~/data/xmrig/build $ make
[ 2%] Building C object src/crypto/ghostrider/CMakeFiles/ghostrider.dir/sph_blake.c.o
cc: error: unrecognized command-line option ‘-maes’
make[2]: *** [src/crypto/ghostrider/CMakeFiles/ghostrider.dir/build.make:82: src/crypto/ghostrider/CMakeFiles/ghostrider.dir/sph_blake.c.o] Error 1
make[1]: *** [CMakeFiles/Makefile2:240: src/crypto/ghostrider/CMakeFiles/ghostrider.dir/all] Error 2
make: *** [Makefile:103: all] Error 2
somewhere i saw that you should run make with -j4 at the end but then the list just becomes way longer:
pi@raspberrypi:~/data/xmrig/build $ make -j4
Scanning dependencies of target ethash
Scanning dependencies of target argon2
Scanning dependencies of target ghostrider
[ 0%] Building C object src/3rdparty/libethash/CMakeFiles/ethash.dir/ethash_internal.c.o
[ 0%] Building C object src/3rdparty/libethash/CMakeFiles/ethash.dir/keccakf800.c.o
[ 0%] Building C object src/3rdparty/argon2/CMakeFiles/argon2.dir/lib/argon2.c.o
cc: error: unrecognized command-line option ‘-maes’
make[2]: *** [src/3rdparty/libethash/CMakeFiles/ethash.dir/build.make:82: src/3rdparty/libethash/CMakeFiles/ethash.dir/ethash_internal.c.o] Error 1
make[2]: *** Waiting for unfinished jobs....
cc: error: unrecognized command-line option ‘-maes’
make[2]: *** [src/3rdparty/libethash/CMakeFiles/ethash.dir/build.make:95: src/3rdparty/libethash/CMakeFiles/ethash.dir/keccakf800.c.o] Error 1
make[1]: *** [CMakeFiles/Makefile2:213: src/3rdparty/libethash/CMakeFiles/ethash.dir/all] Error 2
make[1]: *** Waiting for unfinished jobs....
cc: error: unrecognized command-line option ‘-maes’
make[2]: *** [src/3rdparty/argon2/CMakeFiles/argon2.dir/build.make:82: src/3rdparty/argon2/CMakeFiles/argon2.dir/lib/argon2.c.o] Error 1
make[2]: *** Waiting for unfinished jobs....
[ 0%] Building C object src/3rdparty/argon2/CMakeFiles/argon2.dir/lib/core.c.o
[ 1%] Building C object src/3rdparty/argon2/CMakeFiles/argon2.dir/lib/encoding.c.o
cc: error: unrecognized command-line option ‘-maes’
make[2]: *** [src/3rdparty/argon2/CMakeFiles/argon2.dir/build.make:95: src/3rdparty/argon2/CMakeFiles/argon2.dir/lib/core.c.o] Error 1
cc: error: unrecognized command-line option ‘-maes’
make[2]: *** [src/3rdparty/argon2/CMakeFiles/argon2.dir/build.make:108: src/3rdparty/argon2/CMakeFiles/argon2.dir/lib/encoding.c.o] Error 1
make[1]: *** [CMakeFiles/Makefile2:186: src/3rdparty/argon2/CMakeFiles/argon2.dir/all] Error 2
[ 1%] Building C object src/crypto/ghostrider/CMakeFiles/ghostrider.dir/sph_blake.c.o
[ 2%] Building C object src/crypto/ghostrider/CMakeFiles/ghostrider.dir/sph_bmw.c.o
cc: error: unrecognized command-line option ‘-maes’
cc: error: unrecognized command-line option ‘-maes’
make[2]: *** [src/crypto/ghostrider/CMakeFiles/ghostrider.dir/build.make:95: src/crypto/ghostrider/CMakeFiles/ghostrider.dir/sph_bmw.c.o] Error 1
make[2]: *** Waiting for unfinished jobs....
make[2]: *** [src/crypto/ghostrider/CMakeFiles/ghostrider.dir/build.make:82: src/crypto/ghostrider/CMakeFiles/ghostrider.dir/sph_blake.c.o] Error 1
[ 2%] Building C object src/crypto/ghostrider/CMakeFiles/ghostrider.dir/sph_cubehash.c.o
[ 2%] Building C object src/crypto/ghostrider/CMakeFiles/ghostrider.dir/sph_echo.c.o
cc: error: unrecognized command-line option ‘-maes’
make[2]: *** [src/crypto/ghostrider/CMakeFiles/ghostrider.dir/build.make:108: src/crypto/ghostrider/CMakeFiles/ghostrider.dir/sph_cubehash.c.o] Error 1
cc: error: unrecognized command-line option ‘-maes’
make[2]: *** [src/crypto/ghostrider/CMakeFiles/ghostrider.dir/build.make:121: src/crypto/ghostrider/CMakeFiles/ghostrider.dir/sph_echo.c.o] Error 1
make[1]: *** [CMakeFiles/Makefile2:240: src/crypto/ghostrider/CMakeFiles/ghostrider.dir/all] Error 2
make: *** [Makefile:103: all] Error 2
Also i tried all methods with sudo but that doesnt change anything.
Ive looked around everywhere and i cant find anyone having the same issue. So I couldnt find a fix too.
The text was updated successfully, but these errors were encountered: