-
Notifications
You must be signed in to change notification settings - Fork 322
Open
Description
trying to compile the core lib under ubuntu using https://github.com/breadwallet/breadwallet-core/blob/master/Java/Core/CMakeLists.txt and facing several problems:
-
core/support/BRAssert.c:196:42: error: ‘PTHREAD_MUTEX_RECURSIVE’ undeclared
Solved by CFLAG _XOPEN_SOURCE=600 -
core/support/BRFileService.c:286:33: error: ‘DT_REG’ undeclared (first use in this function)
Solved by CFLAG _GNU_SOURCE -
Required code change:
core/support/BRAssert.c:138:5: error: too few arguments to function ‘pthread_setname_np’
core/src/main/cpp/core/support/BRInt.h:138:31: error: initializer element is not constant
#define uint256(s) ((UInt256) { .u8 = {
^
Can you help me with those issues? Thanks!
Metadata
Metadata
Assignees
Labels
No labels