Advertisement
Guest User

xmrig make openbsd

a guest
Apr 8th, 2021
162
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.45 KB | None | 0 0
  1. /home/swrangsar/repos/xmrig/src/crypto/common/VirtualMemory_unix.cpp:148:109: error: use of undeclared identifier
  2. 'MAP_POPULATE'
  3. ...= mmap(0, align(size), PROT_READ | PROT_WRITE | SECURE_PROT_EXEC, MAP_PRIVATE | MAP_ANONYMOUS | MAP_POPULATE | hug...
  4. ^
  5. /home/swrangsar/repos/xmrig/src/crypto/common/VirtualMemory_unix.cpp:168:85: error: use of undeclared identifier
  6. 'MAP_HUGETLB'
  7. void *mem = mmap(0, size, PROT_READ | PROT_WRITE, MAP_PRIVATE | MAP_ANONYMOUS | MAP_HUGETLB | MAP_POPULATE | h...
  8. ^
  9. /home/swrangsar/repos/xmrig/src/crypto/common/VirtualMemory_unix.cpp:168:99: error: use of undeclared identifier
  10. 'MAP_POPULATE'
  11. void *mem = mmap(0, size, PROT_READ | PROT_WRITE, MAP_PRIVATE | MAP_ANONYMOUS | MAP_HUGETLB | MAP_POPULATE | hugeP...
  12. ^
  13. 3 errors generated.
  14. *** Error 1 in . (CMakeFiles/xmrig.dir/build.make:2267 'CMakeFiles/xmrig.dir/src/crypto/common/VirtualMemory_unix.cpp.o':
  15. /usr/bin/c++ -DAS...)
  16. *** Error 2 in . (CMakeFiles/Makefile2:156 'CMakeFiles/xmrig.dir/all': make -s -f CMakeFiles/xmrig.dir/build.make CMakeFiles/xmrig.dir/build...)
  17. *** Error 2 in /home/swrangsar/repos/xmrig/build (Makefile:104 'all': make -s -f CMakeFiles/Makefile2 all)
  18.  
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement