Skip to content
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

Open
Prostu2 opened this issue Feb 2, 2017 · 1 comment
Open

PROBLEM #9

Prostu2 opened this issue Feb 2, 2017 · 1 comment

Comments

@Prostu2
Copy link

Prostu2 commented Feb 2, 2017

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.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
Copy link
Author

Prostu2 commented Feb 2, 2017

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 for all'.
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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant