-
Notifications
You must be signed in to change notification settings - Fork 31
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
PROBLEM #9
Comments
make all-recursive define MINERD_MMAP_FLAGS (MAP_HUGETLB | MAP_POPULATE)
cpu-miner.c:2307:40: note: in expansion of macro ‘MINERD_MMAP_FLAGS’ define MINERD_MMAP_FLAGS (MAP_HUGETLB | MAP_POPULATE)
cpu-miner.c:2307:40: note: in expansion of macro ‘MINERD_MMAP_FLAGS’ |
make[3]: Entering directory
/var/cpuminer-multi-opencl/cpuminer-multi/compat/jansson' make[3]: Nothing to be done for
all'.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.cIn 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
The text was updated successfully, but these errors were encountered: