You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Android currently lacks Robust Mutex support, so it will fail to build lmdb-js in termux(android) app (the defaut option of use_robust is true in binding.gyp).
when use 'ng new' to init angular 19, which use lmdb-js, it has an error like :
../dependencies/lmdb/libraries/liblmdb/mdb.c:463:41: warning: implicit declaration of function 'pthread_mutex_consistent'; did you mean 'pthread_mutex_init'? [-Wimplicit-function-declaration]
463 | #define mdb_mutex_consistent(mutex) pthread_mutex_consistent(mutex)
| ^~~~~~~~~~~~~~~~~~~~~~~~
../dependencies/lmdb/libraries/liblmdb/mdb.c:13022:31: note: in expansion of macro 'mdb_mutex_consistent'
13022 | rc2 = mdb_mutex_consistent(mutex);
| ^~~~~~~~~~~~~~~~~~~~
make: *** [lmdb.target.mk:132: Release/obj.target/lmdb/dependencies/lmdb/libraries/liblmdb/mdb.o] Error 1
make: Leaving directory '/data/data/com.termux/files/home/test-angular/node_modules/lmdb/build'
gyp ERR! build error
gyp ERR! stack Error: `make` failed with exit code: 2
gyp ERR! stack at ChildProcess.<anonymous> (/data/data/com.termux/files/home/test-angular/node_modules/node-gyp/lib/build.js:216:23)
gyp ERR! System Linux 4.9.186-perf-g10af704
gyp ERR! command \"/data/data/com.termux/files/usr/bin/node\" \"/data/data/com.termux/files/home/test-angular/node_modules/node-gyp/bin/node-gyp.js\" \"rebuild\"
gyp ERR! cwd /data/data/com.termux/files/home/test-angular/node_modules/lmdb
gyp ERR! node -v v22.8.0
gyp ERR! node-gyp -v v11.0.0
gyp ERR! not ok"
Whether it is necessary to make use_robust default to be true in the binding.gyp? Even if there is already relevant code in file mdb.c
Android currently lacks Robust Mutex support, so it will fail to build lmdb-js in termux(android) app (the defaut option of use_robust is true in binding.gyp).
when use 'ng new' to init angular 19, which use lmdb-js, it has an error like :
Whether it is necessary to make use_robust default to be true in the binding.gyp? Even if there is already relevant code in file mdb.c
The text was updated successfully, but these errors were encountered: