cryptozoidberg / cpuminer-multi

Multi-algo CPUMiner
Other
12 stars 31 forks source link

PROBLEM #9

Open Prostu2 opened 7 years ago

Prostu2 commented 7 years ago

make[3]: Entering directory /var/cpuminer-multi-opencl/cpuminer-multi/compat/jansson' make[3]: Nothing to be done forall'. make[3]: Leaving directory /var/cpuminer-multi-opencl/cpuminer-multi/compat/jansson' make[3]: Entering directory/var/cpuminer-multi-opencl/cpuminer-multi/compat' make[3]: Nothing to be done for all-am'. make[3]: Leaving directory/var/cpuminer-multi-opencl/cpuminer-multi/compat' make[2]: Leaving directory /var/cpuminer-multi-opencl/cpuminer-multi/compat' make[2]: Entering directory/var/cpuminer-multi-opencl/cpuminer-multi' gcc -std=gnu99 -DHAVE_CONFIG_H -I. -pthread -fno-strict-aliasing -I./compat/jansson -std=gnu11 -O3 -march=native -fPIC -flto -O3 -march=native -MT minerd-cpu-miner.o -MD -MP -MF .deps/minerd-cpu-miner.Tpo -c -o minerd-cpu-miner.o test -f 'cpu-miner.c' || echo './'cpu-miner.c In file included from cpu-miner.c:41:0: cpu-miner.c: In function ‘main’: miner.h:90:30: error: ‘MAP_HUGETLB’ undeclared (first use in this function)

define MINERD_MMAP_FLAGS (MAP_HUGETLB | MAP_POPULATE)

                          ^

cpu-miner.c:2307:40: note: in expansion of macro ‘MINERD_MMAP_FLAGS’ MAP_ANON | MINERD_MMAP_FLAGS, 0, 0); ^ miner.h:90:30: note: each undeclared identifier is reported only once for each function it appears in

define MINERD_MMAP_FLAGS (MAP_HUGETLB | MAP_POPULATE)

                          ^

cpu-miner.c:2307:40: note: in expansion of macro ‘MINERD_MMAP_FLAGS’ MAP_ANON | MINERD_MMAP_FLAGS, 0, 0); ^ make[2]: [minerd-cpu-miner.o] Error 1 make[2]: Leaving directory `/var/cpuminer-multi-opencl/cpuminer-multi' make[1]: [all-recursive] Error 1 make[1]: Leaving directory `/var/cpuminer-multi-opencl/cpuminer-multi' make: *** [all] Error 2

Prostu2 commented 7 years ago

make all-recursive make[1]: Entering directory /tmp/cpuminer-multi/cpuminer-multi' Making all in compat make[2]: Entering directory/tmp/cpuminer-multi/cpuminer-multi/compat' Making all in jansson make[3]: Entering directory /tmp/cpuminer-multi/cpuminer-multi/compat/jansson' make[3]: Nothing to be done forall'. make[3]: Leaving directory /tmp/cpuminer-multi/cpuminer-multi/compat/jansson' make[3]: Entering directory/tmp/cpuminer-multi/cpuminer-multi/compat' make[3]: Nothing to be done for all-am'. make[3]: Leaving directory/tmp/cpuminer-multi/cpuminer-multi/compat' make[2]: Leaving directory /tmp/cpuminer-multi/cpuminer-multi/compat' make[2]: Entering directory/tmp/cpuminer-multi/cpuminer-multi' gcc -std=gnu99 -DHAVE_CONFIG_H -I. -pthread -fno-strict-aliasing -I./compat/jansson -std=gnu11 -O3 -march=native -fPIC -flto -O3 -march=native -MT minerd-cpu-miner.o -MD -MP -MF .deps/minerd-cpu-miner.Tpo -c -o minerd-cpu-miner.o test -f 'cpu-miner.c' || echo './'cpu-miner.c In file included from cpu-miner.c:41:0: cpu-miner.c: In function ‘main’: miner.h:90:30: error: ‘MAP_HUGETLB’ undeclared (first use in this function)

define MINERD_MMAP_FLAGS (MAP_HUGETLB | MAP_POPULATE)

                          ^

cpu-miner.c:2307:40: note: in expansion of macro ‘MINERD_MMAP_FLAGS’ MAP_ANON | MINERD_MMAP_FLAGS, 0, 0); ^ miner.h:90:30: note: each undeclared identifier is reported only once for each function it appears in

define MINERD_MMAP_FLAGS (MAP_HUGETLB | MAP_POPULATE)

                          ^

cpu-miner.c:2307:40: note: in expansion of macro ‘MINERD_MMAP_FLAGS’ MAP_ANON | MINERD_MMAP_FLAGS, 0, 0); ^ make[2]: [minerd-cpu-miner.o] Error 1 make[2]: Leaving directory `/tmp/cpuminer-multi/cpuminer-multi' make[1]: [all-recursive] Error 1 make[1]: Leaving directory `/tmp/cpuminer-multi/cpuminer-multi' make: *** [all] Error 2