Open KerwinKoo opened 7 years ago
try setting your compiler with clang.... gcc doesn't have mm_malloc.h header in their library
Same error here:
lyra2/Lyra2.c:24:23: fatal error: mm_malloc.h: Arquivo ou diretório não encontrado
compilation terminated. Makefile:1611: recipe for target 'lyra2/cpuminer-Lyra2.o' failed make[2]: * [lyra2/cpuminer-Lyra2.o] Error 1 make[2]: Esperando que outros processos terminem. lyra2/Sponge.c:27:23: fatal error: immintrin.h: Arquivo ou diretório não encontrado
compilation terminated.
platform= raspberry pi 2
same issue is described here: https://github.com/clab/dynet/issues/266
setting export CC=/usr/bin/clang and export CXX=/usr/bin/clang++
does not remedy the situation for me.
make file mm_malloc.h ``` #define _mm_malloc(size, al) aligned_alloc(al, size)
immintrin.h ``` #if !defined(arm)
HI,
I tried to compile the latest CPUMiner on ARM. I got the following error message:
As we see, the error information is
lyra2/Lyra2.c:24:23: fatal error: mm_malloc.h: No such file or directory
and I try to find the same issue in other project. But it not useful because I didn't add the-march=native
option as compile.How can I run it in ARM?