Multiple build operations failed while compiling/build
See original GitHub issueHi,
I’m trying to compile android wallet. I have installed and setup Android Studio, SDK, NDK, submodules git pull
and git checkout master
after updating.
When I try to compile either via Android Studio or command line I get the following errors:
:breadwallet-android satinder$ ./gradlew build
please apply google-services plugin at the bottom of the build file.
Incremental java compilation is an incubating feature.
:app:preBuild UP-TO-DATE
:app:preDebugBuild UP-TO-DATE
:app:checkDebugManifest
:app:preReleaseBuild UP-TO-DATE
:app:prepareComAndroidSupportAnimatedVectorDrawable2531Library
:app:prepareComAndroidSupportAppcompatV72531Library
:app:preDebugAndroidTestBuild UP-TO-DATE
:app:prepareComAndroidSupportSupportCompat2531Library
:app:prepareComAndroidSupportSupportCoreUi2531Library
:app:prepareComAndroidSupportSupportCoreUtils2531Library
:app:prepareComAndroidSupportSupportFragment2531Library
:app:prepareComAndroidSupportSupportMediaCompat2531Library
:app:prepareComAndroidSupportSupportV132531Library
:app:prepareComAndroidSupportSupportV42531Library
:app:prepareComAndroidSupportSupportVectorDrawable2531Library
:app:prepareComGoogleAndroidGmsPlayServicesBasement1001Library
:app:prepareComGoogleAndroidGmsPlayServicesTasks1001Library
:app:prepareComGoogleFirebaseFirebaseAnalytics1001Library
:app:prepareComGoogleFirebaseFirebaseAnalyticsImpl1001Library
:app:prepareComGoogleFirebaseFirebaseCommon1001Library
:app:prepareComGoogleFirebaseFirebaseCore1001Library
:app:prepareComGoogleFirebaseFirebaseCrash1001Library
:app:prepareComGoogleFirebaseFirebaseIid1001Library
:app:prepareDebugDependencies
:app:compileCoreArm64-v8aDebugSharedLibraryCoreArm64-v8aDebugSharedLibraryMainC
In file included from /Users/satinder/Documents/Github/breadwallet-android/app/src/main/jni/breadwallet-core/secp256k1/src/bench_internal.c:12:
In file included from /Users/satinder/Documents/Github/breadwallet-android/app/src/main/jni/breadwallet-core/secp256k1/src/num_impl.h:14:
/Users/satinder/Documents/Github/breadwallet-android/app/src/main/jni/breadwallet-core/secp256k1/src/num.h:19:2: error: "Please select num implementation"
#error "Please select num implementation"
^
/Users/satinder/Documents/Github/breadwallet-android/app/src/main/jni/breadwallet-core/secp256k1/src/num.h:23:32: error: unknown type name 'secp256k1_num'
static void secp256k1_num_copy(secp256k1_num *r, const secp256k1_num *a);
^
/Users/satinder/Documents/Github/breadwallet-android/app/src/main/jni/breadwallet-core/secp256k1/src/num.h:23:56: error: unknown type name 'secp256k1_num'
static void secp256k1_num_copy(secp256k1_num *r, const secp256k1_num *a);
^
/Users/satinder/Documents/Github/breadwallet-android/app/src/main/jni/breadwallet-core/secp256k1/src/num.h:27:78: error: unknown type name 'secp256k1_num'
static void secp256k1_num_get_bin(unsigned char *r, unsigned int rlen, const secp256k1_num *a);
^
/Users/satinder/Documents/Github/breadwallet-android/app/src/main/jni/breadwallet-core/secp256k1/src/num.h:30:35: error: unknown type name 'secp256k1_num'
static void secp256k1_num_set_bin(secp256k1_num *r, const unsigned char *a, unsigned int alen);
^
/Users/satinder/Documents/Github/breadwallet-android/app/src/main/jni/breadwallet-core/secp256k1/src/num.h:33:39: error: unknown type name 'secp256k1_num'
static void secp256k1_num_mod_inverse(secp256k1_num *r, const secp256k1_num *a, const secp256k1_num *m);
^
/Users/satinder/Documents/Github/breadwallet-android/app/src/main/jni/breadwallet-core/secp256k1/src/num.h:33:63: error: unknown type name 'secp256k1_num'
static void secp256k1_num_mod_inverse(secp256k1_num *r, const secp256k1_num *a, const secp256k1_num *m);
^
/Users/satinder/Documents/Github/breadwallet-android/app/src/main/jni/breadwallet-core/secp256k1/src/num.h:33:87: error: unknown type name 'secp256k1_num'
static void secp256k1_num_mod_inverse(secp256k1_num *r, const secp256k1_num *a, const secp256k1_num *m);
^
/Users/satinder/Documents/Github/breadwallet-android/app/src/main/jni/breadwallet-core/secp256k1/src/num.h:36:39: error: unknown type name 'secp256k1_num'
static int secp256k1_num_jacobi(const secp256k1_num *a, const secp256k1_num *b);
^
/Users/satinder/Documents/Github/breadwallet-android/app/src/main/jni/breadwallet-core/secp256k1/src/num.h:36:63: error: unknown type name 'secp256k1_num'
static int secp256k1_num_jacobi(const secp256k1_num *a, const secp256k1_num *b);
^
/Users/satinder/Documents/Github/breadwallet-android/app/src/main/jni/breadwallet-core/secp256k1/src/num.h:39:36: error: unknown type name 'secp256k1_num'
static int secp256k1_num_cmp(const secp256k1_num *a, const secp256k1_num *b);
^
/Users/satinder/Documents/Github/breadwallet-android/app/src/main/jni/breadwallet-core/secp256k1/src/num.h:39:60: error: unknown type name 'secp256k1_num'
static int secp256k1_num_cmp(const secp256k1_num *a, const secp256k1_num *b);
^
/Users/satinder/Documents/Github/breadwallet-android/app/src/main/jni/breadwallet-core/secp256k1/src/num.h:42:35: error: unknown type name 'secp256k1_num'
static int secp256k1_num_eq(const secp256k1_num *a, const secp256k1_num *b);
^
/Users/satinder/Documents/Github/breadwallet-android/app/src/main/jni/breadwallet-core/secp256k1/src/num.h:42:59: error: unknown type name 'secp256k1_num'
static int secp256k1_num_eq(const secp256k1_num *a, const secp256k1_num *b);
^
/Users/satinder/Documents/Github/breadwallet-android/app/src/main/jni/breadwallet-core/secp256k1/src/num.h:45:31: error: unknown type name 'secp256k1_num'
static void secp256k1_num_add(secp256k1_num *r, const secp256k1_num *a, const secp256k1_num *b);
^
/Users/satinder/Documents/Github/breadwallet-android/app/src/main/jni/breadwallet-core/secp256k1/src/num.h:45:55: error: unknown type name 'secp256k1_num'
static void secp256k1_num_add(secp256k1_num *r, const secp256k1_num *a, const secp256k1_num *b);
^
/Users/satinder/Documents/Github/breadwallet-android/app/src/main/jni/breadwallet-core/secp256k1/src/num.h:45:79: error: unknown type name 'secp256k1_num'
static void secp256k1_num_add(secp256k1_num *r, const secp256k1_num *a, const secp256k1_num *b);
^
/Users/satinder/Documents/Github/breadwallet-android/app/src/main/jni/breadwallet-core/secp256k1/src/num.h:48:31: error: unknown type name 'secp256k1_num'
static void secp256k1_num_sub(secp256k1_num *r, const secp256k1_num *a, const secp256k1_num *b);
^
/Users/satinder/Documents/Github/breadwallet-android/app/src/main/jni/breadwallet-core/secp256k1/src/num.h:48:55: error: unknown type name 'secp256k1_num'
static void secp256k1_num_sub(secp256k1_num *r, const secp256k1_num *a, const secp256k1_num *b);
^
fatal error: too many errors emitted, stopping now [-ferror-limit=]
20 errors generated.
In file included from /Users/satinder/Documents/Github/breadwallet-android/app/src/main/jni/breadwallet-core/secp256k1/src/secp256k1.c:10:
In file included from /Users/satinder/Documents/Github/breadwallet-android/app/src/main/jni/breadwallet-core/secp256k1/src/num_impl.h:14:
/Users/satinder/Documents/Github/breadwallet-android/app/src/main/jni/breadwallet-core/secp256k1/src/num.h:19:2: error: "Please select num implementation"
#error "Please select num implementation"
^
/Users/satinder/Documents/Github/breadwallet-android/app/src/main/jni/breadwallet-core/secp256k1/src/num.h:23:32: error: unknown type name 'secp256k1_num'
static void secp256k1_num_copy(secp256k1_num *r, const secp256k1_num *a);
^
/Users/satinder/Documents/Github/breadwallet-android/app/src/main/jni/breadwallet-core/secp256k1/src/num.h:23:56: error: unknown type name 'secp256k1_num'
static void secp256k1_num_copy(secp256k1_num *r, const secp256k1_num *a);
^
/Users/satinder/Documents/Github/breadwallet-android/app/src/main/jni/breadwallet-core/secp256k1/src/num.h:27:78: error: unknown type name 'secp256k1_num'
static void secp256k1_num_get_bin(unsigned char *r, unsigned int rlen, const secp256k1_num *a);
^
/Users/satinder/Documents/Github/breadwallet-android/app/src/main/jni/breadwallet-core/secp256k1/src/num.h:30:35: error: unknown type name 'secp256k1_num'
static void secp256k1_num_set_bin(secp256k1_num *r, const unsigned char *a, unsigned int alen);
^
/Users/satinder/Documents/Github/breadwallet-android/app/src/main/jni/breadwallet-core/secp256k1/src/num.h:33:39: error: unknown type name 'secp256k1_num'
static void secp256k1_num_mod_inverse(secp256k1_num *r, const secp256k1_num *a, const secp256k1_num *m);
^
/Users/satinder/Documents/Github/breadwallet-android/app/src/main/jni/breadwallet-core/secp256k1/src/num.h:33:63: error: unknown type name 'secp256k1_num'
static void secp256k1_num_mod_inverse(secp256k1_num *r, const secp256k1_num *a, const secp256k1_num *m);
^
/Users/satinder/Documents/Github/breadwallet-android/app/src/main/jni/breadwallet-core/secp256k1/src/num.h:33:87: error: unknown type name 'secp256k1_num'
static void secp256k1_num_mod_inverse(secp256k1_num *r, const secp256k1_num *a, const secp256k1_num *m);
^
/Users/satinder/Documents/Github/breadwallet-android/app/src/main/jni/breadwallet-core/secp256k1/src/num.h:36:39: error: unknown type name 'secp256k1_num'
static int secp256k1_num_jacobi(const secp256k1_num *a, const secp256k1_num *b);
^
/Users/satinder/Documents/Github/breadwallet-android/app/src/main/jni/breadwallet-core/secp256k1/src/num.h:36:63: error: unknown type name 'secp256k1_num'
static int secp256k1_num_jacobi(const secp256k1_num *a, const secp256k1_num *b);
^
/Users/satinder/Documents/Github/breadwallet-android/app/src/main/jni/breadwallet-core/secp256k1/src/num.h:39:36: error: unknown type name 'secp256k1_num'
static int secp256k1_num_cmp(const secp256k1_num *a, const secp256k1_num *b);
^
/Users/satinder/Documents/Github/breadwallet-android/app/src/main/jni/breadwallet-core/secp256k1/src/num.h:39:60: error: unknown type name 'secp256k1_num'
static int secp256k1_num_cmp(const secp256k1_num *a, const secp256k1_num *b);
^
/Users/satinder/Documents/Github/breadwallet-android/app/src/main/jni/breadwallet-core/secp256k1/src/num.h:42:35: error: unknown type name 'secp256k1_num'
static int secp256k1_num_eq(const secp256k1_num *a, const secp256k1_num *b);
^
/Users/satinder/Documents/Github/breadwallet-android/app/src/main/jni/breadwallet-core/secp256k1/src/num.h:42:59: error: unknown type name 'secp256k1_num'
static int secp256k1_num_eq(const secp256k1_num *a, const secp256k1_num *b);
^
/Users/satinder/Documents/Github/breadwallet-android/app/src/main/jni/breadwallet-core/secp256k1/src/num.h:45:31: error: unknown type name 'secp256k1_num'
static void secp256k1_num_add(secp256k1_num *r, const secp256k1_num *a, const secp256k1_num *b);
^
/Users/satinder/Documents/Github/breadwallet-android/app/src/main/jni/breadwallet-core/secp256k1/src/num.h:45:55: error: unknown type name 'secp256k1_num'
static void secp256k1_num_add(secp256k1_num *r, const secp256k1_num *a, const secp256k1_num *b);
^
/Users/satinder/Documents/Github/breadwallet-android/app/src/main/jni/breadwallet-core/secp256k1/src/num.h:45:79: error: unknown type name 'secp256k1_num'
static void secp256k1_num_add(secp256k1_num *r, const secp256k1_num *a, const secp256k1_num *b);
^
/Users/satinder/Documents/Github/breadwallet-android/app/src/main/jni/breadwallet-core/secp256k1/src/num.h:48:31: error: unknown type name 'secp256k1_num'
static void secp256k1_num_sub(secp256k1_num *r, const secp256k1_num *a, const secp256k1_num *b);
^
/Users/satinder/Documents/Github/breadwallet-android/app/src/main/jni/breadwallet-core/secp256k1/src/num.h:48:55: error: unknown type name 'secp256k1_num'
static void secp256k1_num_sub(secp256k1_num *r, const secp256k1_num *a, const secp256k1_num *b);
^
fatal error: too many errors emitted, stopping now [-ferror-limit=]
20 errors generated.
In file included from /Users/satinder/Documents/Github/breadwallet-android/app/src/main/jni/breadwallet-core/secp256k1/src/tests_exhaustive.c:25:
In file included from /Users/satinder/Documents/Github/breadwallet-android/app/src/main/jni/breadwallet-core/secp256k1/src/group.h:10:
/Users/satinder/Documents/Github/breadwallet-android/app/src/main/jni/breadwallet-core/secp256k1/src/num.h:19:2: error: "Please select num implementation"
#error "Please select num implementation"
^
/Users/satinder/Documents/Github/breadwallet-android/app/src/main/jni/breadwallet-core/secp256k1/src/num.h:23:32: error: unknown type name 'secp256k1_num'
static void secp256k1_num_copy(secp256k1_num *r, const secp256k1_num *a);
^
/Users/satinder/Documents/Github/breadwallet-android/app/src/main/jni/breadwallet-core/secp256k1/src/num.h:23:56: error: unknown type name 'secp256k1_num'
static void secp256k1_num_copy(secp256k1_num *r, const secp256k1_num *a);
^
/Users/satinder/Documents/Github/breadwallet-android/app/src/main/jni/breadwallet-core/secp256k1/src/num.h:27:78: error: unknown type name 'secp256k1_num'
static void secp256k1_num_get_bin(unsigned char *r, unsigned int rlen, const secp256k1_num *a);
^
/Users/satinder/Documents/Github/breadwallet-android/app/src/main/jni/breadwallet-core/secp256k1/src/num.h:30:35: error: unknown type name 'secp256k1_num'
static void secp256k1_num_set_bin(secp256k1_num *r, const unsigned char *a, unsigned int alen);
^
/Users/satinder/Documents/Github/breadwallet-android/app/src/main/jni/breadwallet-core/secp256k1/src/num.h:33:39: error: unknown type name 'secp256k1_num'
static void secp256k1_num_mod_inverse(secp256k1_num *r, const secp256k1_num *a, const secp256k1_num *m);
^
/Users/satinder/Documents/Github/breadwallet-android/app/src/main/jni/breadwallet-core/secp256k1/src/num.h:33:63: error: unknown type name 'secp256k1_num'
static void secp256k1_num_mod_inverse(secp256k1_num *r, const secp256k1_num *a, const secp256k1_num *m);
^
/Users/satinder/Documents/Github/breadwallet-android/app/src/main/jni/breadwallet-core/secp256k1/src/num.h:33:87: error: unknown type name 'secp256k1_num'
static void secp256k1_num_mod_inverse(secp256k1_num *r, const secp256k1_num *a, const secp256k1_num *m);
^
/Users/satinder/Documents/Github/breadwallet-android/app/src/main/jni/breadwallet-core/secp256k1/src/num.h:36:39: error: unknown type name 'secp256k1_num'
static int secp256k1_num_jacobi(const secp256k1_num *a, const secp256k1_num *b);
^
/Users/satinder/Documents/Github/breadwallet-android/app/src/main/jni/breadwallet-core/secp256k1/src/num.h:36:63: error: unknown type name 'secp256k1_num'
static int secp256k1_num_jacobi(const secp256k1_num *a, const secp256k1_num *b);
^
/Users/satinder/Documents/Github/breadwallet-android/app/src/main/jni/breadwallet-core/secp256k1/src/num.h:39:36: error: unknown type name 'secp256k1_num'
static int secp256k1_num_cmp(const secp256k1_num *a, const secp256k1_num *b);
^
/Users/satinder/Documents/Github/breadwallet-android/app/src/main/jni/breadwallet-core/secp256k1/src/num.h:39:60: error: unknown type name 'secp256k1_num'
static int secp256k1_num_cmp(const secp256k1_num *a, const secp256k1_num *b);
^
/Users/satinder/Documents/Github/breadwallet-android/app/src/main/jni/breadwallet-core/secp256k1/src/num.h:42:35: error: unknown type name 'secp256k1_num'
static int secp256k1_num_eq(const secp256k1_num *a, const secp256k1_num *b);
^
/Users/satinder/Documents/Github/breadwallet-android/app/src/main/jni/breadwallet-core/secp256k1/src/num.h:42:59: error: unknown type name 'secp256k1_num'
static int secp256k1_num_eq(const secp256k1_num *a, const secp256k1_num *b);
^
/Users/satinder/Documents/Github/breadwallet-android/app/src/main/jni/breadwallet-core/secp256k1/src/num.h:45:31: error: unknown type name 'secp256k1_num'
static void secp256k1_num_add(secp256k1_num *r, const secp256k1_num *a, const secp256k1_num *b);
^
/Users/satinder/Documents/Github/breadwallet-android/app/src/main/jni/breadwallet-core/secp256k1/src/num.h:45:55: error: unknown type name 'secp256k1_num'
static void secp256k1_num_add(secp256k1_num *r, const secp256k1_num *a, const secp256k1_num *b);
^
/Users/satinder/Documents/Github/breadwallet-android/app/src/main/jni/breadwallet-core/secp256k1/src/num.h:45:79: error: unknown type name 'secp256k1_num'
static void secp256k1_num_add(secp256k1_num *r, const secp256k1_num *a, const secp256k1_num *b);
^
/Users/satinder/Documents/Github/breadwallet-android/app/src/main/jni/breadwallet-core/secp256k1/src/num.h:48:31: error: unknown type name 'secp256k1_num'
static void secp256k1_num_sub(secp256k1_num *r, const secp256k1_num *a, const secp256k1_num *b);
^
/Users/satinder/Documents/Github/breadwallet-android/app/src/main/jni/breadwallet-core/secp256k1/src/num.h:48:55: error: unknown type name 'secp256k1_num'
static void secp256k1_num_sub(secp256k1_num *r, const secp256k1_num *a, const secp256k1_num *b);
^
fatal error: too many errors emitted, stopping now [-ferror-limit=]
20 errors generated.
In file included from /Users/satinder/Documents/Github/breadwallet-android/app/src/main/jni/breadwallet-core/secp256k1/src/tests.c:17:
In file included from /Users/satinder/Documents/Github/breadwallet-android/app/src/main/jni/breadwallet-core/secp256k1/src/secp256k1.c:10:
In file included from /Users/satinder/Documents/Github/breadwallet-android/app/src/main/jni/breadwallet-core/secp256k1/src/num_impl.h:14:
/Users/satinder/Documents/Github/breadwallet-android/app/src/main/jni/breadwallet-core/secp256k1/src/num.h:19:2: error: "Please select num implementation"
#error "Please select num implementation"
^
/Users/satinder/Documents/Github/breadwallet-android/app/src/main/jni/breadwallet-core/secp256k1/src/num.h:23:32: error: unknown type name 'secp256k1_num'
static void secp256k1_num_copy(secp256k1_num *r, const secp256k1_num *a);
^
/Users/satinder/Documents/Github/breadwallet-android/app/src/main/jni/breadwallet-core/secp256k1/src/num.h:23:56: error: unknown type name 'secp256k1_num'
static void secp256k1_num_copy(secp256k1_num *r, const secp256k1_num *a);
^
/Users/satinder/Documents/Github/breadwallet-android/app/src/main/jni/breadwallet-core/secp256k1/src/num.h:27:78: error: unknown type name 'secp256k1_num'
static void secp256k1_num_get_bin(unsigned char *r, unsigned int rlen, const secp256k1_num *a);
^
/Users/satinder/Documents/Github/breadwallet-android/app/src/main/jni/breadwallet-core/secp256k1/src/num.h:30:35: error: unknown type name 'secp256k1_num'
static void secp256k1_num_set_bin(secp256k1_num *r, const unsigned char *a, unsigned int alen);
^
/Users/satinder/Documents/Github/breadwallet-android/app/src/main/jni/breadwallet-core/secp256k1/src/num.h:33:39: error: unknown type name 'secp256k1_num'
static void secp256k1_num_mod_inverse(secp256k1_num *r, const secp256k1_num *a, const secp256k1_num *m);
^
/Users/satinder/Documents/Github/breadwallet-android/app/src/main/jni/breadwallet-core/secp256k1/src/num.h:33:63: error: unknown type name 'secp256k1_num'
static void secp256k1_num_mod_inverse(secp256k1_num *r, const secp256k1_num *a, const secp256k1_num *m);
^
/Users/satinder/Documents/Github/breadwallet-android/app/src/main/jni/breadwallet-core/secp256k1/src/num.h:33:87: error: unknown type name 'secp256k1_num'
static void secp256k1_num_mod_inverse(secp256k1_num *r, const secp256k1_num *a, const secp256k1_num *m);
^
/Users/satinder/Documents/Github/breadwallet-android/app/src/main/jni/breadwallet-core/secp256k1/src/num.h:36:39: error: unknown type name 'secp256k1_num'
static int secp256k1_num_jacobi(const secp256k1_num *a, const secp256k1_num *b);
^
/Users/satinder/Documents/Github/breadwallet-android/app/src/main/jni/breadwallet-core/secp256k1/src/num.h:36:63: error: unknown type name 'secp256k1_num'
static int secp256k1_num_jacobi(const secp256k1_num *a, const secp256k1_num *b);
^
/Users/satinder/Documents/Github/breadwallet-android/app/src/main/jni/breadwallet-core/secp256k1/src/num.h:39:36: error: unknown type name 'secp256k1_num'
static int secp256k1_num_cmp(const secp256k1_num *a, const secp256k1_num *b);
^
/Users/satinder/Documents/Github/breadwallet-android/app/src/main/jni/breadwallet-core/secp256k1/src/num.h:39:60: error: unknown type name 'secp256k1_num'
static int secp256k1_num_cmp(const secp256k1_num *a, const secp256k1_num *b);
^
/Users/satinder/Documents/Github/breadwallet-android/app/src/main/jni/breadwallet-core/secp256k1/src/num.h:42:35: error: unknown type name 'secp256k1_num'
static int secp256k1_num_eq(const secp256k1_num *a, const secp256k1_num *b);
^
/Users/satinder/Documents/Github/breadwallet-android/app/src/main/jni/breadwallet-core/secp256k1/src/num.h:42:59: error: unknown type name 'secp256k1_num'
static int secp256k1_num_eq(const secp256k1_num *a, const secp256k1_num *b);
^
/Users/satinder/Documents/Github/breadwallet-android/app/src/main/jni/breadwallet-core/secp256k1/src/num.h:45:31: error: unknown type name 'secp256k1_num'
static void secp256k1_num_add(secp256k1_num *r, const secp256k1_num *a, const secp256k1_num *b);
^
/Users/satinder/Documents/Github/breadwallet-android/app/src/main/jni/breadwallet-core/secp256k1/src/num.h:45:55: error: unknown type name 'secp256k1_num'
static void secp256k1_num_add(secp256k1_num *r, const secp256k1_num *a, const secp256k1_num *b);
^
/Users/satinder/Documents/Github/breadwallet-android/app/src/main/jni/breadwallet-core/secp256k1/src/num.h:45:79: error: unknown type name 'secp256k1_num'
static void secp256k1_num_add(secp256k1_num *r, const secp256k1_num *a, const secp256k1_num *b);
^
/Users/satinder/Documents/Github/breadwallet-android/app/src/main/jni/breadwallet-core/secp256k1/src/num.h:48:31: error: unknown type name 'secp256k1_num'
static void secp256k1_num_sub(secp256k1_num *r, const secp256k1_num *a, const secp256k1_num *b);
^
/Users/satinder/Documents/Github/breadwallet-android/app/src/main/jni/breadwallet-core/secp256k1/src/num.h:48:55: error: unknown type name 'secp256k1_num'
static void secp256k1_num_sub(secp256k1_num *r, const secp256k1_num *a, const secp256k1_num *b);
^
fatal error: too many errors emitted, stopping now [-ferror-limit=]
20 errors generated.
In file included from /Users/satinder/Documents/Github/breadwallet-android/app/src/main/jni/transition/PeerManager.c:25:
In file included from /Users/satinder/Documents/Github/breadwallet-android/app/src/main/jni/transition/PeerManager.h:27:
In file included from /Users/satinder/Documents/Github/breadwallet-android/app/src/main/jni/breadwallet-core/BRPeerManager.h:28:
In file included from /Users/satinder/Documents/Github/breadwallet-android/app/src/main/jni/breadwallet-core/BRPeer.h:30:
In file included from /Users/satinder/Documents/Github/breadwallet-android/app/src/main/jni/breadwallet-core/BRAddress.h:28:
/Users/satinder/Documents/Github/breadwallet-android/app/src/main/jni/breadwallet-core/BRCrypto.h:95:63: warning: implicitly declaring library function 'memset' with type 'void *(void *, int, unsigned long)' [-Wimplicit-function-declaration]
void *(*volatile const memset_ptr)(void *, int, size_t) = memset;
^
/Users/satinder/Documents/Github/breadwallet-android/app/src/main/jni/breadwallet-core/BRCrypto.h:95:63: note: include the header <string.h> or explicitly provide a declaration for 'memset'
In file included from /Users/satinder/Documents/Github/breadwallet-android/app/src/main/jni/transition/PeerManager.c:32:
/Users/satinder/Documents/Github/breadwallet-android/app/src/main/jni/transition/wallet.h:206:30: warning: no newline at end of file [-Wnewline-eof]
#endif //BREADWALLET_WALLET_H
^
/Users/satinder/Documents/Github/breadwallet-android/app/src/main/jni/transition/PeerManager.c:282:78: error: too many arguments to function call, expected 9, have 10
saveBlocks, savePeers, networkIsReachable, threadCleanup);
^~~~~~~~~~~~~
/Users/satinder/Documents/Github/breadwallet-android/app/src/main/jni/breadwallet-core/BRPeerManager.h:58:1: note: 'BRPeerManagerSetCallbacks' declared here
void BRPeerManagerSetCallbacks(BRPeerManager *manager, void *info,
^
2 warnings and 1 error generated.
In file included from /Users/satinder/Documents/Github/breadwallet-android/app/src/main/jni/transition/wallet.c:25:
In file included from /Users/satinder/Documents/Github/breadwallet-android/app/src/main/jni/transition/wallet.h:26:
In file included from /Users/satinder/Documents/Github/breadwallet-android/app/src/main/jni/breadwallet-core/BRWallet.h:29:
In file included from /Users/satinder/Documents/Github/breadwallet-android/app/src/main/jni/breadwallet-core/BRAddress.h:28:
/Users/satinder/Documents/Github/breadwallet-android/app/src/main/jni/breadwallet-core/BRCrypto.h:95:63: warning: implicitly declaring library function 'memset' with type 'void *(void *, int, unsigned long)' [-Wimplicit-function-declaration]
void *(*volatile const memset_ptr)(void *, int, size_t) = memset;
^
/Users/satinder/Documents/Github/breadwallet-android/app/src/main/jni/breadwallet-core/BRCrypto.h:95:63: note: include the header <string.h> or explicitly provide a declaration for 'memset'
In file included from /Users/satinder/Documents/Github/breadwallet-android/app/src/main/jni/transition/wallet.c:25:
/Users/satinder/Documents/Github/breadwallet-android/app/src/main/jni/transition/wallet.h:206:30: warning: no newline at end of file [-Wnewline-eof]
#endif //BREADWALLET_WALLET_H
^
/Users/satinder/Documents/Github/breadwallet-android/app/src/main/jni/transition/wallet.c:648:61: error: too few arguments to function call, expected 5, have 4
BRWalletSignTransaction(_wallet, tmpTx, key.u8, seedSize);
~~~~~~~~~~~~~~~~~~~~~~~ ^
/Users/satinder/Documents/Github/breadwallet-android/app/src/main/jni/breadwallet-core/BRWallet.h:139:1: note: 'BRWalletSignTransaction' declared here
int BRWalletSignTransaction(BRWallet *wallet, BRTransaction *tx, int forkId, const void *seed, size_t seedLen);
^
/Users/satinder/Documents/Github/breadwallet-android/app/src/main/jni/transition/wallet.c:809:37: error: too few arguments to function call, expected 4, have 3
BRTransactionSign(tmpTx, &key, 1);
~~~~~~~~~~~~~~~~~ ^
/Users/satinder/Documents/Github/breadwallet-android/app/src/main/jni/breadwallet-core/BRTransaction.h:130:1: note: 'BRTransactionSign' declared here
int BRTransactionSign(BRTransaction *tx, int forkId, BRKey keys[], size_t keysCount);
^
2 warnings and 2 errors generated.
:app:compileCoreArm64-v8aDebugSharedLibraryCoreArm64-v8aDebugSharedLibraryMainC FAILED
FAILURE: Build failed with an exception.
* What went wrong:
Execution failed for task ':app:compileCoreArm64-v8aDebugSharedLibraryCoreArm64-v8aDebugSharedLibraryMainC'.
> Multiple build operations failed.
C compiler failed while compiling bench_internal.c.
C compiler failed while compiling secp256k1.c.
C compiler failed while compiling tests_exhaustive.c.
C compiler failed while compiling tests.c.
C compiler failed while compiling PeerManager.c.
C compiler failed while compiling wallet.c.
See the complete log at: file:///Users/satinder/Documents/Github/breadwallet-android/app/build/tmp/compileCoreArm64-v8aDebugSharedLibraryCoreArm64-v8aDebugSharedLibraryMainC/output.txt
* Try:
Run with --stacktrace option to get the stack trace. Run with --info or --debug option to get more log output.
BUILD FAILED
Total time: 6.306 secs
It looks like related to GMP (missing??). I couldn’t find good resource to help me compile and install GMP on my NDK installation.
I found precompiled GMP, but I couldn’t make it work with it.
Can you please help me resolve the issue?
If you guys hang out on IRC or Slack chat somewhere, it would be great to have word with you and get live help to make things done faster.
Thanks & Regards, Satinder
Issue Analytics
- State:
- Created 6 years ago
- Comments:9 (5 by maintainers)
Top Results From Across the Web
Unable to resolve multiple build failures error - Stack Overflow
I had the same error. Steps to solve it: Clean build. Invalidate caches. run gradlew assembleDebug this will show you where is the...
Read more >grpc-java build failure - Google Groups
* What went wrong: Execution failed for task ':grpc-compiler:compileJava_pluginExecutableJava_pluginCpp'. > Multiple build operations failed. C++ compiler ...
Read more >Build error when referencing Kotlin Multi Platform module in ...
Build error when referencing Kotlin Multi Platform module in the project with Dynamic feature module [125696148] - Visible to Public - Issue Tracker....
Read more >Build and run your app - Android Developers
If you receive build-time or compile-time errors, inspect the tree and select an element to read the error output, as shown in figure...
Read more >Solving common problems - Gradle User Manual
Small problems in a build, like forgetting to declare a configuration file as an input to your task, can be easily overlooked. The...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
Cool, glad it worked out. I’m going to close this issue then.
I just tried the same from Android Studio, and that worked just fine! 😃