MoneroOcean / node-cryptonight-hashing

Cryptonight hashing functions for node.js
27 stars 111 forks source link

BasicCpuInfo_arm.cpp:37:10: fatal error #51

Open amcypher opened 3 years ago

amcypher commented 3 years ago

ec2 a1 instance

$ cat /etc/os-release PRETTY_NAME="Debian GNU/Linux 10 (buster)" NAME="Debian GNU/Linux" VERSION_ID="10" VERSION="10 (buster)" VERSION_CODENAME=buster ID=debian HOME_URL="https://www.debian.org/" SUPPORT_URL="https://www.debian.org/support" BUG_REPORT_URL="https://bugs.debian.org/"

$ lscpu Architecture: aarch64 Byte Order: Little Endian CPU(s): 2 On-line CPU(s) list: 0,1 Thread(s) per core: 1 Core(s) per socket: 2 Socket(s): 1 NUMA node(s): 1 Vendor ID: ARM Model: 3 Model name: Cortex-A72 Stepping: r0p3 BogoMIPS: 166.66 L1d cache: 32K L1i cache: 48K L2 cache: 2048K NUMA node0 CPU(s): 0,1 Flags: fp asimd evtstrm aes pmull sha1 sha2 crc32 cpuid

gcc version 8.3.0 (Debian 8.3.0-6)

make: Entering directory '/home/xmr/pool/node_modules/cryptonight-hashing/build' CXX(target) Release/obj.target/cryptonight-hashing/xmrig/crypto/cn/gpu/cn_gpu_arm.o CXX(target) Release/obj.target/cryptonight-hashing/xmrig-override/backend/cpu/platform/BasicCpuInfo_arm.o ../xmrig-override/backend/cpu/platform/BasicCpuInfo_arm.cpp:37:10: fatal error: 3rdparty/rapidjson/document.h: No such file or directory

include "3rdparty/rapidjson/document.h"

      ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

compilation terminated. make: * [cryptonight-hashing.target.mk:178: Release/obj.target/cryptonight-hashing/xmrig-override/backend/cpu/platform/BasicCpuInfo_arm.o] Error 1 make: Leaving directory '/home/xmr/pool/node_modules/cryptonight-hashing/build' gyp ERR! build error gyp ERR! stack Error: make failed with exit code: 2 gyp ERR! stack at ChildProcess.onExit (/home/xmr/.nvm/versions/node/v8.11.3/lib/node_modules/npm/node_modules/node-gyp/lib/build.js:258:23) gyp ERR! stack at emitTwo (events.js:126:13) gyp ERR! stack at ChildProcess.emit (events.js:214:7) gyp ERR! stack at Process.ChildProcess._handle.onexit (internal/child_process.js:198:12) gyp ERR! System Linux 4.19.0-17-arm64 gyp ERR! command "/home/xmr/.nvm/versions/node/v8.11.3/bin/node" "/home/xmr/.nvm/versions/node/v8.11.3/lib/node_modules/npm/node_modules/node-gyp/bin/node-gyp.js" "rebuild" gyp ERR! cwd /home/xmr/pool/node_modules/cryptonight-hashing gyp ERR! node -v v8.11.3 gyp ERR! node-gyp -v v3.6.2** gyp ERR! not ok npm ERR! code ELIFECYCLE npm ERR! errno 1 npm ERR! cryptonight-hashing@23.1.0 install: node-gyp rebuild npm ERR! Exit status 1 npm ERR! npm ERR! Failed at the cryptonight-hashing@23.1.0 install script. npm ERR! This is probably not a problem with npm. There is likely additional logging output above.

npm ERR! A complete log of this run can be found in: npm ERR! /home/xmr/.npm/_logs/2021-06-22T06_01_13_229Z-debug.log

error during npm update - cryptonight-hashing fails to install