Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Build for Android with Ubuntu 20.04 #474

Open
DCode-It-Patrick opened this issue Feb 14, 2021 · 1 comment
Open

Build for Android with Ubuntu 20.04 #474

DCode-It-Patrick opened this issue Feb 14, 2021 · 1 comment

Comments

@DCode-It-Patrick
Copy link

Hi, i have tried to build core for android with Android Studio and/or Gradle command line.

Android Studio : 3.4.2
SDK : Android 9
NDK : 20.1.5948944
CMake : 3.10 && 3.6
Clang 7
openJdk 14

I tried with gradle 5.1.1 but i had this error :

  `triguntu@triguntu-All-Series:~/breadwallet-core/Java$ ./gradlew clean build

 Starting a Gradle Daemon, 1 incompatible and 1 stopped Daemons could not be reused, use --status for details
 java.lang.NoClassDefFoundError: Could not initialize class org.codehaus.groovy.vmplugin.v7.Java7
         at org.codehaus.groovy.vmplugin.VMPluginFactory.<clinit(VMPluginFactory.java:43)
         at org.codehaus.groovy.reflection.GroovyClassValueFactory.<clinit(GroovyClassValueFactory.java:35)
         at org.codehaus.groovy.reflection.ClassInfo.<clinit(ClassInfo.java:109)
         at org.codehaus.groovy.reflection.ReflectionCache.getCachedClass(ReflectionCache.java:95)
         at org.codehaus.groovy.reflection.ReflectionCache.<clinit(ReflectionCache.java:39)
         at org.codehaus.groovy.runtime.metaclass.MetaClassRegistryImpl.registerMethods(MetaClassRegistryImpl.java:209)
         at org.codehaus.groovy.runtime.metaclass.MetaClassRegistryImpl.<init(MetaClassRegistryImpl.java:107)
         at org.codehaus.groovy.runtime.metaclass.MetaClassRegistryImpl.<init(MetaClassRegistryImpl.java:85)
         at groovy.lang.GroovySystem.<clinit(GroovySystem.java:36)
         at org.codehaus.groovy.runtime.InvokerHelper.<clinit(InvokerHelper.java:86)
         at groovy.lang.GroovyObjectSupport.getDefaultMetaClass(GroovyObjectSupport.java:59)
         at groovy.lang.GroovyObjectSupport.<init(GroovyObjectSupport.java:32)
         at org.gradle.api.internal.plugins.DefaultExtraPropertiesExtension.<init(DefaultExtraPropertiesExtension.java:29)
         at org.gradle.api.internal.plugins.DefaultConvention.<init(DefaultConvention.java:47)
         at org.gradle.api.internal.ExtensibleDynamicObject.<init(ExtensibleDynamicObject.java:58)
         at org.gradle.initialization.DefaultSettings.<init(DefaultSettings.java:93)
         at org.gradle.initialization.DefaultSettings_Decorated.<init(Unknown Source)
         at java.base/jdk.internal.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
         at java.base/jdk.internal.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:62)
         at java.base/jdk.internal.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45)
         at java.base/java.lang.reflect.Constructor.newInstanceWithCaller(Constructor.java:500)
         at java.base/java.lang.reflect.Constructor.newInstance(Constructor.java:481)
         at org.gradle.internal.reflect.DirectInstantiator.newInstance(DirectInstantiator.java:51)
         at org.gradle.api.internal.ClassGeneratorBackedInstantiator.newInstance(ClassGeneratorBackedInstantiator.java:36)
         at org.gradle.initialization.SettingsFactory.createSettings(SettingsFactory.java:52)
         at org.gradle.initialization.ScriptEvaluatingSettingsProcessor.process(ScriptEvaluatingSettingsProcessor.java:56)
         at org.gradle.initialization.PropertiesLoadingSettingsProcessor.process(PropertiesLoadingSettingsProcessor.java:37)
         at org.gradle.initialization.SettingsEvaluatedCallbackFiringSettingsProcessor.process(SettingsEvaluatedCallbackFiringSettingsProcessor.java:34)
         at org.gradle.initialization.RootBuildCacheControllerSettingsProcessor.process(RootBuildCacheControllerSettingsProcessor.java:36)
         at org.gradle.initialization.BuildOperationSettingsProcessor$2.call(BuildOperationSettingsProcessor.java:48)
         at org.gradle.initialization.BuildOperationSettingsProcessor$2.call(BuildOperationSettingsProcessor.java:45)
         at org.gradle.internal.operations.DefaultBuildOperationExecutor$CallableBuildOperationWorker.execute(DefaultBuildOperationExecutor.java:315)
         at org.gradle.internal.operations.DefaultBuildOperationExecutor$CallableBuildOperationWorker.execute(DefaultBuildOperationExecutor.java:305)
         at org.gradle.internal.operations.DefaultBuildOperationExecutor.execute(DefaultBuildOperationExecutor.java:175)
         at org.gradle.internal.operations.DefaultBuildOperationExecutor.call(DefaultBuildOperationExecutor.java:101)
         at org.gradle.internal.operations.DelegatingBuildOperationExecutor.call(DelegatingBuildOperationExecutor.java:36)
         at org.gradle.initialization.BuildOperationSettingsProcessor.process(BuildOperationSettingsProcessor.java:45)
         at org.gradle.initialization.DefaultSettingsLoader.findSettingsAndLoadIfAppropriate(DefaultSettingsLoader.java:104)
         at org.gradle.initialization.DefaultSettingsLoader.findAndLoadSettings(DefaultSettingsLoader.java:45)
         at org.gradle.initialization.SettingsAttachingSettingsLoader.findAndLoadSettings(SettingsAttachingSettingsLoader.java:35)
         at org.gradle.internal.composite.CommandLineIncludedBuildSettingsLoader.findAndLoadSettings(CommandLineIncludedBuildSettingsLoader.java:34)
         at org.gradle.internal.composite.ChildBuildRegisteringSettingsLoader.findAndLoadSettings(ChildBuildRegisteringSettingsLoader.java:47)
         at org.gradle.internal.composite.CompositeBuildSettingsLoader.findAndLoadSettings(CompositeBuildSettingsLoader.java:35)
         at org.gradle.initialization.DefaultGradleLauncher$LoadBuild.run(DefaultGradleLauncher.java:277)
         at org.gradle.internal.operations.DefaultBuildOperationExecutor$RunnableBuildOperationWorker.execute(DefaultBuildOperationExecutor.java:301)
         at org.gradle.internal.operations.DefaultBuildOperationExecutor$RunnableBuildOperationWorker.execute(DefaultBuildOperationExecutor.java:293)
         at org.gradle.internal.operations.DefaultBuildOperationExecutor.execute(DefaultBuildOperationExecutor.java:175)
         at org.gradle.internal.operations.DefaultBuildOperationExecutor.run(DefaultBuildOperationExecutor.java:91)
         at org.gradle.internal.operations.DelegatingBuildOperationExecutor.run(DelegatingBuildOperationExecutor.java:31)
         at org.gradle.initialization.DefaultGradleLauncher.loadSettings(DefaultGradleLauncher.java:202)
         at org.gradle.initialization.DefaultGradleLauncher.doBuildStages(DefaultGradleLauncher.java:147)
         at org.gradle.initialization.DefaultGradleLauncher.executeTasks(DefaultGradleLauncher.java:134)
         at org.gradle.internal.invocation.GradleBuildController$1.execute(GradleBuildController.java:58)
         at org.gradle.internal.invocation.GradleBuildController$1.execute(GradleBuildController.java:55)
         at org.gradle.internal.invocation.GradleBuildController$3.create(GradleBuildController.java:82)
         at org.gradle.internal.invocation.GradleBuildController$3.create(GradleBuildController.java:75)
         at org.gradle.internal.work.DefaultWorkerLeaseService.withLocks(DefaultWorkerLeaseService.java:183)
         at org.gradle.internal.work.StopShieldingWorkerLeaseService.withLocks(StopShieldingWorkerLeaseService.java:40)
         at org.gradle.internal.invocation.GradleBuildController.doBuild(GradleBuildController.java:75)
         at org.gradle.internal.invocation.GradleBuildController.run(GradleBuildController.java:55)
         at org.gradle.tooling.internal.provider.ExecuteBuildActionRunner.run(ExecuteBuildActionRunner.java:31)
         at org.gradle.launcher.exec.ChainingBuildActionRunner.run(ChainingBuildActionRunner.java:35)
         at org.gradle.launcher.exec.BuildOutcomeReportingBuildActionRunner.run(BuildOutcomeReportingBuildActionRunner.java:58)
         at org.gradle.tooling.internal.provider.ValidatingBuildActionRunner.run(ValidatingBuildActionRunner.java:32)
         at org.gradle.launcher.exec.BuildCompletionNotifyingBuildActionRunner.run(BuildCompletionNotifyingBuildActionRunner.java:39)
         at org.gradle.launcher.exec.RunAsBuildOperationBuildActionRunner$3.call(RunAsBuildOperationBuildActionRunner.java:49)
         at org.gradle.launcher.exec.RunAsBuildOperationBuildActionRunner$3.call(RunAsBuildOperationBuildActionRunner.java:44)
         at org.gradle.internal.operations.DefaultBuildOperationExecutor$CallableBuildOperationWorker.execute(DefaultBuildOperationExecutor.java:315)
         at org.gradle.internal.operations.DefaultBuildOperationExecutor$CallableBuildOperationWorker.execute(DefaultBuildOperationExecutor.java:305)
         at org.gradle.internal.operations.DefaultBuildOperationExecutor.execute(DefaultBuildOperationExecutor.java:175)
         at org.gradle.internal.operations.DefaultBuildOperationExecutor.call(DefaultBuildOperationExecutor.java:101)
         at org.gradle.internal.operations.DelegatingBuildOperationExecutor.call(DelegatingBuildOperationExecutor.java:36)
         at org.gradle.launcher.exec.RunAsBuildOperationBuildActionRunner.run(RunAsBuildOperationBuildActionRunner.java:44)
         at org.gradle.launcher.exec.InProcessBuildActionExecuter$1.transform(InProcessBuildActionExecuter.java:49)
         at org.gradle.launcher.exec.InProcessBuildActionExecuter$1.transform(InProcessBuildActionExecuter.java:46)
         at org.gradle.composite.internal.DefaultRootBuildState.run(DefaultRootBuildState.java:78)
         at org.gradle.launcher.exec.InProcessBuildActionExecuter.execute(InProcessBuildActionExecuter.java:46)
         at org.gradle.launcher.exec.InProcessBuildActionExecuter.execute(InProcessBuildActionExecuter.java:31)
         at org.gradle.launcher.exec.BuildTreeScopeBuildActionExecuter.execute(BuildTreeScopeBuildActionExecuter.java:42)
         at org.gradle.launcher.exec.BuildTreeScopeBuildActionExecuter.execute(BuildTreeScopeBuildActionExecuter.java:28)
         at org.gradle.tooling.internal.provider.ContinuousBuildActionExecuter.execute(ContinuousBuildActionExecuter.java:78)
         at org.gradle.tooling.internal.provider.ContinuousBuildActionExecuter.execute(ContinuousBuildActionExecuter.java:52)
         at org.gradle.tooling.internal.provider.SubscribableBuildActionExecuter.execute(SubscribableBuildActionExecuter.java:59)
         at org.gradle.tooling.internal.provider.SubscribableBuildActionExecuter.execute(SubscribableBuildActionExecuter.java:36)
         at org.gradle.tooling.internal.provider.SessionScopeBuildActionExecuter.execute(SessionScopeBuildActionExecuter.java:68)
         at org.gradle.tooling.internal.provider.SessionScopeBuildActionExecuter.execute(SessionScopeBuildActionExecuter.java:38)
         at org.gradle.tooling.internal.provider.GradleThreadBuildActionExecuter.execute(GradleThreadBuildActionExecuter.java:37)
         at org.gradle.tooling.internal.provider.GradleThreadBuildActionExecuter.execute(GradleThreadBuildActionExecuter.java:26)
         at org.gradle.tooling.internal.provider.ParallelismConfigurationBuildActionExecuter.execute(ParallelismConfigurationBuildActionExecuter.java:43)
         at org.gradle.tooling.internal.provider.ParallelismConfigurationBuildActionExecuter.execute(ParallelismConfigurationBuildActionExecuter.java:29)
         at org.gradle.tooling.internal.provider.StartParamsValidatingActionExecuter.execute(StartParamsValidatingActionExecuter.java:60)
         at org.gradle.tooling.internal.provider.StartParamsValidatingActionExecuter.execute(StartParamsValidatingActionExecuter.java:32)
         at org.gradle.tooling.internal.provider.SessionFailureReportingActionExecuter.execute(SessionFailureReportingActionExecuter.java:55)
         at org.gradle.tooling.internal.provider.SessionFailureReportingActionExecuter.execute(SessionFailureReportingActionExecuter.java:41)
         at org.gradle.tooling.internal.provider.SetupLoggingActionExecuter.execute(SetupLoggingActionExecuter.java:48)
         at org.gradle.tooling.internal.provider.SetupLoggingActionExecuter.execute(SetupLoggingActionExecuter.java:32)
         at org.gradle.launcher.daemon.server.exec.ExecuteBuild.doBuild(ExecuteBuild.java:67)
         at org.gradle.launcher.daemon.server.exec.BuildCommandOnly.execute(BuildCommandOnly.java:36)
         at org.gradle.launcher.daemon.server.api.DaemonCommandExecution.proceed(DaemonCommandExecution.java:104)
         at org.gradle.launcher.daemon.server.exec.WatchForDisconnection.execute(WatchForDisconnection.java:37)
         at org.gradle.launcher.daemon.server.api.DaemonCommandExecution.proceed(DaemonCommandExecution.java:104)
         at org.gradle.launcher.daemon.server.exec.ResetDeprecationLogger.execute(ResetDeprecationLogger.java:26)
         at org.gradle.launcher.daemon.server.api.DaemonCommandExecution.proceed(DaemonCommandExecution.java:104)
         at org.gradle.launcher.daemon.server.exec.RequestStopIfSingleUsedDaemon.execute(RequestStopIfSingleUsedDaemon.java:34)
         at org.gradle.launcher.daemon.server.api.DaemonCommandExecution.proceed(DaemonCommandExecution.java:104)
         at org.gradle.launcher.daemon.server.exec.ForwardClientInput$2.call(ForwardClientInput.java:74)
         at org.gradle.launcher.daemon.server.exec.ForwardClientInput$2.call(ForwardClientInput.java:72)
         at org.gradle.util.Swapper.swap(Swapper.java:38)
         at org.gradle.launcher.daemon.server.exec.ForwardClientInput.execute(ForwardClientInput.java:72)
         at org.gradle.launcher.daemon.server.api.DaemonCommandExecution.proceed(DaemonCommandExecution.java:104)
         at org.gradle.launcher.daemon.server.exec.LogAndCheckHealth.execute(LogAndCheckHealth.java:55)
         at org.gradle.launcher.daemon.server.api.DaemonCommandExecution.proceed(DaemonCommandExecution.java:104)
         at org.gradle.launcher.daemon.server.exec.LogToClient.doBuild(LogToClient.java:62)
         at org.gradle.launcher.daemon.server.exec.BuildCommandOnly.execute(BuildCommandOnly.java:36)
         at org.gradle.launcher.daemon.server.api.DaemonCommandExecution.proceed(DaemonCommandExecution.java:104)
         at org.gradle.launcher.daemon.server.exec.EstablishBuildEnvironment.doBuild(EstablishBuildEnvironment.java:81)
         at org.gradle.launcher.daemon.server.exec.BuildCommandOnly.execute(BuildCommandOnly.java:36)
         at org.gradle.launcher.daemon.server.api.DaemonCommandExecution.proceed(DaemonCommandExecution.java:104)
         at org.gradle.launcher.daemon.server.exec.StartBuildOrRespondWithBusy$1.run(StartBuildOrRespondWithBusy.java:50)
         at org.gradle.launcher.daemon.server.DaemonStateCoordinator$1.run(DaemonStateCoordinator.java:295)
         at org.gradle.internal.concurrent.ExecutorPolicy$CatchAndRecordFailures.onExecute(ExecutorPolicy.java:63)
         at org.gradle.internal.concurrent.ManagedExecutorImpl$1.run(ManagedExecutorImpl.java:46)
         at java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1130)
         at java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:630)
         at org.gradle.internal.concurrent.ThreadFactoryImpl$ManagedThreadRunnable.run(ThreadFactoryImpl.java:55)
         at java.base/java.lang.Thread.run(Thread.java:832)
 
 FAILURE: Build failed with an exception.
 
 * What went wrong:
 Could not create an instance of type org.gradle.initialization.DefaultSettings_Decorated.
  Could not initialize class org.codehaus.groovy.reflection.ReflectionCache
 
 * Try:
 Run with --stacktrace option to get the stack trace. Run with --info or --debug option to get more log output. Run with --scan to get full insights.
 
 * Get more help at https://help.gradle.org
 
 BUILD FAILED in 2s
 triguntu@triguntu-All-Series:~/breadwallet-core/Java$ 

Also, i change gradle version in gradle-wrapper.properties from 5.1.1 to 6.8

 triguntu@triguntu-All-Series:~/breadwallet-core/Java$ ./gradlew clean build
 
  Task :corenative-android:externalNativeBuildCleanDebug
 Clean corecrypto armeabi-v7a,sqlite3 armeabi-v7a
 Cleaning... 0 files.
 Clean sqlite3 arm64-v8a,corecrypto arm64-v8a
 Cleaning... 0 files.
 Clean sqlite3 x86,corecrypto x86
 Cleaning... 0 files.
 Clean corecrypto x86_64,sqlite3 x86_64
 Cleaning... 0 files.
 
  Task :corenative-android:externalNativeBuildCleanRelease
 Clean corecrypto armeabi-v7a,sqlite3 armeabi-v7a
 Cleaning... 0 files.
 Clean sqlite3 arm64-v8a,corecrypto arm64-v8a
 Cleaning... 0 files.
 Clean sqlite3 x86,corecrypto x86
 Cleaning... 0 files.
 Clean corecrypto x86_64,sqlite3 x86_64
 Cleaning... 0 files.
 
  Task :corenative-android:compileDebugJavaWithJavac FAILED
 /home/triguntu/breadwallet-core/Java/corenative/src/main/java/com/breadwallet/corenative/CryptoLibraryDirect.java:10: error: cannot find symbol
 import com.breadwallet.corenative.crypto.BRCryptoClient;
                                         ^
   symbol:   class BRCryptoClient
   location: package com.breadwallet.corenative.crypto
 /home/triguntu/breadwallet-core/Java/corenative/src/main/java/com/breadwallet/corenative/CryptoLibraryDirect.java:16: error: cannot find symbol
 import com.breadwallet.corenative.crypto.BRCryptoWalletManagerDisconnectReason;
                                         ^
   symbol:   class BRCryptoWalletManagerDisconnectReason
   location: package com.breadwallet.corenative.crypto
 /home/triguntu/breadwallet-core/Java/corenative/src/main/java/com/breadwallet/corenative/CryptoLibraryDirect.java:17: error: cannot find symbol
 import com.breadwallet.corenative.crypto.BRCryptoSyncStoppedReason;
                                         ^
   symbol:   class BRCryptoSyncStoppedReason
   location: package com.breadwallet.corenative.crypto
 /home/triguntu/breadwallet-core/Java/corenative/src/main/java/com/breadwallet/corenative/CryptoLibraryDirect.java:18: error: cannot find symbol
 import com.breadwallet.corenative.crypto.BRCryptoTransferSubmitError;
                                         ^
   symbol:   class BRCryptoTransferSubmitError
   location: package com.breadwallet.corenative.crypto
 /home/triguntu/breadwallet-core/Java/corenative/src/main/java/com/breadwallet/corenative/CryptoLibraryDirect.java:19: error: package com.breadwallet.corenative.support does not exist
 import com.breadwallet.corenative.support.BRCryptoSecret;
                                          ^
 /home/triguntu/breadwallet-core/Java/corenative/src/main/java/com/breadwallet/corenative/CryptoLibraryDirect.java:109: error: package BRCryptoSecret does not exist
     public static native Pointer cryptoKeyCreateFromSecret(BRCryptoSecret.ByValue secret);
                                                                          ^
 /home/triguntu/breadwallet-core/Java/corenative/src/main/java/com/breadwallet/corenative/CryptoLibraryDirect.java:116: error: package BRCryptoSecret does not exist
     public static native BRCryptoSecret.ByValue cryptoKeyGetSecret(Pointer key);
                                        ^
 /home/triguntu/breadwallet-core/Java/corenative/src/main/java/com/breadwallet/corenative/CryptoLibraryDirect.java:250: error: cannot find symbol
     public static native Pointer cryptoTransferSubmitErrorGetMessage(BRCryptoTransferSubmitError error);
                                                                      ^
   symbol:   class BRCryptoTransferSubmitError
   location: class CryptoLibraryDirect
 /home/triguntu/breadwallet-core/Java/corenative/src/main/java/com/breadwallet/corenative/CryptoLibraryDirect.java:301: error: package BRCryptoClient does not exist
                                                            BRCryptoClient.ByValue client,
                                                                          ^
 /home/triguntu/breadwallet-core/Java/corenative/src/main/java/com/breadwallet/corenative/CryptoLibraryDirect.java:336: error: cannot find symbol
     public static native Pointer cryptoWalletManagerDisconnectReasonGetMessage(BRCryptoWalletManagerDisconnectReason reason);
                                                                                ^
   symbol:   class BRCryptoWalletManagerDisconnectReason
   location: class CryptoLibraryDirect
 /home/triguntu/breadwallet-core/Java/corenative/src/main/java/com/breadwallet/corenative/CryptoLibraryDirect.java:339: error: cannot find symbol
     public static native Pointer cryptoSyncStoppedReasonGetMessage(BRCryptoSyncStoppedReason reason);
                                                                    ^
   symbol:   class BRCryptoSyncStoppedReason
   location: class CryptoLibraryDirect
 /home/triguntu/breadwallet-core/Java/corenative/src/main/java/com/breadwallet/corenative/crypto/BRCryptoWalletManagerState.java:28: error: cannot find symbol
             public BRCryptoWalletManagerDisconnectReason reason;
                    ^
   symbol:   class BRCryptoWalletManagerDisconnectReason
   location: class disconnected_struct
 /home/triguntu/breadwallet-core/Java/corenative/src/main/java/com/breadwallet/corenative/crypto/BRCryptoWalletManagerState.java:38: error: cannot find symbol
             public disconnected_struct(BRCryptoWalletManagerDisconnectReason reason) {
                                        ^
   symbol:   class BRCryptoWalletManagerDisconnectReason
   location: class disconnected_struct
 /home/triguntu/breadwallet-core/Java/corenative/src/main/java/com/breadwallet/corenative/crypto/BRCryptoTransfer.java:111: error: cannot find symbol
     public Optional<BRCryptoTransferAttribute getAttributeAt(UnsignedLong index) {
                     ^
   symbol:   class BRCryptoTransferAttribute
   location: class BRCryptoTransfer
 /home/triguntu/breadwallet-core/Java/corenative/src/main/java/com/breadwallet/corenative/crypto/BRCryptoNetwork.java:62: error: cannot find symbol
     public BRCryptoNetworkCanonicalType getCanonicalType () {
            ^
   symbol:   class BRCryptoNetworkCanonicalType
   location: class BRCryptoNetwork
 /home/triguntu/breadwallet-core/Java/corenative/src/main/java/com/breadwallet/corenative/crypto/BRCryptoNetwork.java:296: error: cannot find symbol
     public BRCryptoSyncMode getDefaultSyncMode() {
            ^
   symbol:   class BRCryptoSyncMode
   location: class BRCryptoNetwork
 /home/triguntu/breadwallet-core/Java/corenative/src/main/java/com/breadwallet/corenative/crypto/BRCryptoNetwork.java:303: error: cannot find symbol
     public List<BRCryptoSyncMode getSupportedSyncModes() {
                 ^
   symbol:   class BRCryptoSyncMode
   location: class BRCryptoNetwork
 /home/triguntu/breadwallet-core/Java/corenative/src/main/java/com/breadwallet/corenative/crypto/BRCryptoNetwork.java:322: error: cannot find symbol
     public boolean supportsSyncMode(BRCryptoSyncMode mode) {
                                     ^
   symbol:   class BRCryptoSyncMode
   location: class BRCryptoNetwork
 /home/triguntu/breadwallet-core/Java/corenative/src/main/java/com/breadwallet/corenative/crypto/BRCryptoWallet.java:98: error: cannot find symbol
     public Optional<BRCryptoTransferAttribute getTransferAttributeAt(@Nullable BRCryptoAddress target, UnsignedLong index) {
                     ^
   symbol:   class BRCryptoTransferAttribute
   location: class BRCryptoWallet
 /home/triguntu/breadwallet-core/Java/corenative/src/main/java/com/breadwallet/corenative/crypto/BRCryptoWallet.java:111: error: cannot find symbol
     public Optional<BRCryptoTransferAttributeValidationError validateTransferAttribute(BRCryptoTransferAttribute attribute) {
                                                                                         ^
   symbol:   class BRCryptoTransferAttribute
   location: class BRCryptoWallet
 /home/triguntu/breadwallet-core/Java/corenative/src/main/java/com/breadwallet/corenative/crypto/BRCryptoWallet.java:111: error: cannot find symbol
     public Optional<BRCryptoTransferAttributeValidationError validateTransferAttribute(BRCryptoTransferAttribute attribute) {
                     ^
   symbol:   class BRCryptoTransferAttributeValidationError
   location: class BRCryptoWallet
 /home/triguntu/breadwallet-core/Java/corenative/src/main/java/com/breadwallet/corenative/crypto/BRCryptoWallet.java:128: error: cannot find symbol
     public Optional<BRCryptoTransferAttributeValidationError validateTransferAttributes(List<BRCryptoTransferAttribute attributes) {
                                                                                               ^
   symbol:   class BRCryptoTransferAttribute
   location: class BRCryptoWallet
 /home/triguntu/breadwallet-core/Java/corenative/src/main/java/com/breadwallet/corenative/crypto/BRCryptoWallet.java:128: error: cannot find symbol
     public Optional<BRCryptoTransferAttributeValidationError validateTransferAttributes(List<BRCryptoTransferAttribute attributes) {
                     ^
   symbol:   class BRCryptoTransferAttributeValidationError
   location: class BRCryptoWallet
 /home/triguntu/breadwallet-core/Java/corenative/src/main/java/com/breadwallet/corenative/crypto/BRCryptoWallet.java:201: error: cannot find symbol
                                                      List<BRCryptoTransferAttribute attributes) {
                                                           ^
   symbol:   class BRCryptoTransferAttribute
   location: class BRCryptoWallet
 /home/triguntu/breadwallet-core/Java/corenative/src/main/java/com/breadwallet/corenative/crypto/BRCryptoKey.java:11: error: package com.breadwallet.corenative.support does not exist
 import com.breadwallet.corenative.support.BRCryptoSecret;
                                          ^
 /home/triguntu/breadwallet-core/Java/corenative/src/main/java/com/breadwallet/corenative/crypto/BRCryptoWalletManager.java:41: error: cannot find symbol
                                                          BRCryptoClient client,
                                                          ^
   symbol:   class BRCryptoClient
   location: class BRCryptoWalletManager
 /home/triguntu/breadwallet-core/Java/corenative/src/main/java/com/breadwallet/corenative/crypto/BRCryptoWalletManager.java:44: error: cannot find symbol
                                                          BRCryptoSyncMode mode,
                                                          ^
   symbol:   class BRCryptoSyncMode
   location: class BRCryptoWalletManager
 /home/triguntu/breadwallet-core/Java/corenative/src/main/java/com/breadwallet/corenative/crypto/BRCryptoWalletManager.java:133: error: cannot find symbol
     public BRCryptoSyncMode getMode() {
            ^
   symbol:   class BRCryptoSyncMode
   location: class BRCryptoWalletManager
 /home/triguntu/breadwallet-core/Java/corenative/src/main/java/com/breadwallet/corenative/crypto/BRCryptoWalletManager.java:139: error: cannot find symbol
     public void setMode(BRCryptoSyncMode mode) {
                         ^
   symbol:   class BRCryptoSyncMode
   location: class BRCryptoWalletManager
 /home/triguntu/breadwallet-core/Java/corenative/src/main/java/com/breadwallet/corenative/crypto/BRCryptoWalletManager.java:193: error: cannot find symbol
     public void syncToDepth(BRCryptoSyncDepth depth) {
                             ^
   symbol:   class BRCryptoSyncDepth
   location: class BRCryptoWalletManager
 /home/triguntu/breadwallet-core/Java/corenative/src/main/java/com/breadwallet/corenative/crypto/BRCryptoWalletManager.java:326: error: cannot find symbol
     public void announceGetBlockNumberSuccess(BRCryptoClientCallbackState callbackState, UnsignedLong blockNumber) {
                                               ^
   symbol:   class BRCryptoClientCallbackState
   location: class BRCryptoWalletManager
 /home/triguntu/breadwallet-core/Java/corenative/src/main/java/com/breadwallet/corenative/crypto/BRCryptoWalletManager.java:332: error: cannot find symbol
     public void announceGetBlockNumberSuccess(BRCryptoClientCallbackState callbackState, String blockNumber) {
                                               ^
   symbol:   class BRCryptoClientCallbackState
   location: class BRCryptoWalletManager
 /home/triguntu/breadwallet-core/Java/corenative/src/main/java/com/breadwallet/corenative/crypto/BRCryptoWalletManager.java:338: error: cannot find symbol
     public void announceGetBlockNumberFailure(BRCryptoClientCallbackState callbackState) {
                                               ^
   symbol:   class BRCryptoClientCallbackState
   location: class BRCryptoWalletManager
 /home/triguntu/breadwallet-core/Java/corenative/src/main/java/com/breadwallet/corenative/crypto/BRCryptoWalletManager.java:344: error: cannot find symbol
     public void announceGetTransactionsItem(BRCryptoClientCallbackState callbackState, BRCryptoTransferStateType status, byte[] transaction, UnsignedLong timestamp,
                                             ^
   symbol:   class BRCryptoClientCallbackState
   location: class BRCryptoWalletManager
 /home/triguntu/breadwallet-core/Java/corenative/src/main/java/com/breadwallet/corenative/crypto/BRCryptoWalletManager.java:352: error: cannot find symbol
     public void announceGetTransactionsItemEth(BRCryptoClientCallbackState callbackState, String hash, String sourceAddr,
                                                ^
   symbol:   class BRCryptoClientCallbackState
   location: class BRCryptoWalletManager
 /home/triguntu/breadwallet-core/Java/corenative/src/main/java/com/breadwallet/corenative/crypto/BRCryptoWalletManager.java:364: error: cannot find symbol
     public void announceGetTransactionsComplete(BRCryptoClientCallbackState callbackState, boolean success) {
                                                 ^
   symbol:   class BRCryptoClientCallbackState
   location: class BRCryptoWalletManager
 /home/triguntu/breadwallet-core/Java/corenative/src/main/java/com/breadwallet/corenative/crypto/BRCryptoWalletManager.java:371: error: cannot find symbol
     public void announceGetTransfersItemGen(BRCryptoClientCallbackState callbackState,
                                             ^
   symbol:   class BRCryptoClientCallbackState
   location: class BRCryptoWalletManager
 /home/triguntu/breadwallet-core/Java/corenative/src/main/java/com/breadwallet/corenative/crypto/BRCryptoWalletManager.java:407: error: cannot find symbol
     public void announceGetTransfersComplete(BRCryptoClientCallbackState callbackState, boolean success) {
                                              ^
   symbol:   class BRCryptoClientCallbackState
   location: class BRCryptoWalletManager
 /home/triguntu/breadwallet-core/Java/corenative/src/main/java/com/breadwallet/corenative/crypto/BRCryptoWalletManager.java:414: error: cannot find symbol
     public void announceSubmitTransferSuccess(BRCryptoClientCallbackState callbackState) {
                                               ^
   symbol:   class BRCryptoClientCallbackState
   location: class BRCryptoWalletManager
 /home/triguntu/breadwallet-core/Java/corenative/src/main/java/com/breadwallet/corenative/crypto/BRCryptoWalletManager.java:420: error: cannot find symbol
     public void announceSubmitTransferSuccess(BRCryptoClientCallbackState callbackState, String hash) {
                                               ^
   symbol:   class BRCryptoClientCallbackState
   location: class BRCryptoWalletManager
 /home/triguntu/breadwallet-core/Java/corenative/src/main/java/com/breadwallet/corenative/crypto/BRCryptoWalletManager.java:426: error: cannot find symbol
     public void announceSubmitTransferFailure(BRCryptoClientCallbackState callbackState) {
                                               ^
   symbol:   class BRCryptoClientCallbackState
   location: class BRCryptoWalletManager
 /home/triguntu/breadwallet-core/Java/corenative/src/main/java/com/breadwallet/corenative/crypto/BRCryptoWalletManager.java:432: error: cannot find symbol
     public void announceGetBalanceSuccess(BRCryptoClientCallbackState callbackState, String balance) {
                                           ^
   symbol:   class BRCryptoClientCallbackState
   location: class BRCryptoWalletManager
 /home/triguntu/breadwallet-core/Java/corenative/src/main/java/com/breadwallet/corenative/crypto/BRCryptoWalletManager.java:438: error: cannot find symbol
     public void announceGetBalanceFailure(BRCryptoClientCallbackState callbackState) {
                                           ^
   symbol:   class BRCryptoClientCallbackState
   location: class BRCryptoWalletManager
 /home/triguntu/breadwallet-core/Java/corenative/src/main/java/com/breadwallet/corenative/crypto/BRCryptoWalletManager.java:444: error: cannot find symbol
     public void announceGetGasPriceSuccess(BRCryptoClientCallbackState callbackState, String gasPrice) {
                                            ^
   symbol:   class BRCryptoClientCallbackState
   location: class BRCryptoWalletManager
 /home/triguntu/breadwallet-core/Java/corenative/src/main/java/com/breadwallet/corenative/crypto/BRCryptoWalletManager.java:450: error: cannot find symbol
     public void announceGetGasPriceFailure(BRCryptoClientCallbackState callbackState) {
                                            ^
   symbol:   class BRCryptoClientCallbackState
   location: class BRCryptoWalletManager
 /home/triguntu/breadwallet-core/Java/corenative/src/main/java/com/breadwallet/corenative/crypto/BRCryptoWalletManager.java:456: error: cannot find symbol
     public void announceGetGasEstimateSuccess(BRCryptoClientCallbackState callbackState, String gasEstimate, String gasPrice) {
                                               ^
   symbol:   class BRCryptoClientCallbackState
   location: class BRCryptoWalletManager
 /home/triguntu/breadwallet-core/Java/corenative/src/main/java/com/breadwallet/corenative/crypto/BRCryptoWalletManager.java:462: error: cannot find symbol
     public void announceGetGasEstimateFailure(BRCryptoClientCallbackState callbackState, BRCryptoStatus status) {
                                               ^
   symbol:   class BRCryptoClientCallbackState
   location: class BRCryptoWalletManager
 /home/triguntu/breadwallet-core/Java/corenative/src/main/java/com/breadwallet/corenative/crypto/BRCryptoWalletManager.java:468: error: cannot find symbol
     public void announceGetLogsItem(BRCryptoClientCallbackState callbackState, String hash, String contract,
                                     ^
   symbol:   class BRCryptoClientCallbackState
   location: class BRCryptoWalletManager
 /home/triguntu/breadwallet-core/Java/corenative/src/main/java/com/breadwallet/corenative/crypto/BRCryptoWalletManager.java:480: error: cannot find symbol
     public void announceGetLogsComplete(BRCryptoClientCallbackState callbackState, boolean success) {
                                         ^
   symbol:   class BRCryptoClientCallbackState
   location: class BRCryptoWalletManager
 /home/triguntu/breadwallet-core/Java/corenative/src/main/java/com/breadwallet/corenative/crypto/BRCryptoWalletManager.java:487: error: cannot find symbol
     public void announceGetBlocksSuccess(BRCryptoClientCallbackState callbackState, List<UnsignedLong blocks) {
                                          ^
   symbol:   class BRCryptoClientCallbackState
   location: class BRCryptoWalletManager
 /home/triguntu/breadwallet-core/Java/corenative/src/main/java/com/breadwallet/corenative/crypto/BRCryptoWalletManager.java:496: error: cannot find symbol
     public void announceGetBlocksFailure(BRCryptoClientCallbackState callbackState) {
                                          ^
   symbol:   class BRCryptoClientCallbackState
   location: class BRCryptoWalletManager
 /home/triguntu/breadwallet-core/Java/corenative/src/main/java/com/breadwallet/corenative/crypto/BRCryptoWalletManager.java:502: error: cannot find symbol
     public void announceGetTokensItem(BRCryptoClientCallbackState callbackState, String address, String symbol, String name,
                                       ^
   symbol:   class BRCryptoClientCallbackState
   location: class BRCryptoWalletManager
 /home/triguntu/breadwallet-core/Java/corenative/src/main/java/com/breadwallet/corenative/crypto/BRCryptoWalletManager.java:510: error: cannot find symbol
     public void announceGetTokensComplete(BRCryptoClientCallbackState callbackState, boolean success) {
                                           ^
   symbol:   class BRCryptoClientCallbackState
   location: class BRCryptoWalletManager
 /home/triguntu/breadwallet-core/Java/corenative/src/main/java/com/breadwallet/corenative/crypto/BRCryptoWalletManager.java:517: error: cannot find symbol
     public void announceGetNonceSuccess(BRCryptoClientCallbackState callbackState, String address, String nonce) {
                                         ^
   symbol:   class BRCryptoClientCallbackState
   location: class BRCryptoWalletManager
 /home/triguntu/breadwallet-core/Java/corenative/src/main/java/com/breadwallet/corenative/crypto/BRCryptoWalletManager.java:523: error: cannot find symbol
     public void announceGetNonceFailure(BRCryptoClientCallbackState callbackState) {
                                         ^
   symbol:   class BRCryptoClientCallbackState
   location: class BRCryptoWalletManager
 /home/triguntu/breadwallet-core/Java/corenative/src/main/java/com/breadwallet/corenative/crypto/BRCryptoWalletManagerEvent.java:174: error: cannot find symbol
             public BRCryptoSyncDepth depth() {
                    ^
   symbol:   class BRCryptoSyncDepth
   location: class syncRecommended_struct
 /home/triguntu/breadwallet-core/Java/corenative/src/main/java/com/breadwallet/corenative/crypto/BRCryptoWalletManagerEvent.java:125: error: cannot find symbol
             public BRCryptoSyncStoppedReason reason;
                    ^
   symbol:   class BRCryptoSyncStoppedReason
   location: class syncStopped_struct
 /home/triguntu/breadwallet-core/Java/corenative/src/main/java/com/breadwallet/corenative/crypto/BRCryptoWalletManagerEvent.java:135: error: cannot find symbol
             public syncStopped_struct(BRCryptoSyncStoppedReason reason) {
                                       ^
   symbol:   class BRCryptoSyncStoppedReason
   location: class syncStopped_struct
 /home/triguntu/breadwallet-core/Java/corenative/src/main/java/com/breadwallet/corenative/crypto/BRCryptoTransferState.java:64: error: cannot find symbol
             public BRCryptoTransferSubmitError error;
                    ^
   symbol:   class BRCryptoTransferSubmitError
   location: class errored_struct
 /home/triguntu/breadwallet-core/Java/corenative/src/main/java/com/breadwallet/corenative/crypto/BRCryptoTransferState.java:74: error: cannot find symbol
             public errored_struct(BRCryptoTransferSubmitError error) {
                                   ^
   symbol:   class BRCryptoTransferSubmitError
   location: class errored_struct
 /home/triguntu/breadwallet-core/Java/corenative/src/main/java/com/breadwallet/corenative/CryptoLibraryIndirect.java:11: error: cannot find symbol
 import com.breadwallet.corenative.crypto.BRCryptoTransferAttribute;
                                         ^
   symbol:   class BRCryptoTransferAttribute
   location: package com.breadwallet.corenative.crypto
 /home/triguntu/breadwallet-core/Java/corenative/src/main/java/com/breadwallet/corenative/CryptoLibraryIndirect.java:33: error: cannot find symbol
     public static Pointer cryptoWalletCreateTransfer(Pointer wallet, Pointer target, Pointer amount, Pointer feeBasis, SizeT attributesCount, BRCryptoTransferAttribute[] attributes) {
                                                                                                                                               ^
   symbol:   class BRCryptoTransferAttribute
   location: class CryptoLibraryIndirect
 /home/triguntu/breadwallet-core/Java/corenative/src/main/java/com/breadwallet/corenative/CryptoLibraryIndirect.java:38: error: cannot find symbol
     public static int cryptoWalletValidateTransferAttributes(Pointer wallet, SizeT countOfAttributes, BRCryptoTransferAttribute[] attributes, IntByReference validates) {
                                                                                                       ^
   symbol:   class BRCryptoTransferAttribute
   location: class CryptoLibraryIndirect
 /home/triguntu/breadwallet-core/Java/corenative/src/main/java/com/breadwallet/corenative/CryptoLibraryIndirect.java:65: error: cannot find symbol
         Pointer cryptoWalletCreateTransfer(Pointer wallet, Pointer target, Pointer amount, Pointer feeBasis, SizeT attributesCount, BRCryptoTransferAttribute[] attributes);
                                                                                                                                     ^
   symbol:   class BRCryptoTransferAttribute
   location: interface LibraryInterface
 /home/triguntu/breadwallet-core/Java/corenative/src/main/java/com/breadwallet/corenative/CryptoLibraryIndirect.java:66: error: cannot find symbol
         int cryptoWalletValidateTransferAttributes(Pointer wallet, SizeT countOfAttributes, BRCryptoTransferAttribute[] attributes, IntByReference validates);
                                                                                             ^
   symbol:   class BRCryptoTransferAttribute
   location: interface LibraryInterface
 /home/triguntu/breadwallet-core/Java/corenative/src/main/java/com/breadwallet/corenative/crypto/BRCryptoWalletManager.java:136: error: cannot find symbol
         return BRCryptoSyncMode.fromCore(CryptoLibraryDirect.cryptoWalletManagerGetMode(thisPtr));
                ^
   symbol:   variable BRCryptoSyncMode
   location: class BRCryptoWalletManager
 /home/triguntu/breadwallet-core/Java/corenative/src/main/java/com/breadwallet/corenative/crypto/BRCryptoWallet.java:108: error: cannot find symbol
         ).transform(BRCryptoTransferAttribute::new);
                     ^
   symbol:   class BRCryptoTransferAttribute
   location: class BRCryptoWallet
 /home/triguntu/breadwallet-core/Java/corenative/src/main/java/com/breadwallet/corenative/crypto/BRCryptoWallet.java:116: error: cannot find symbol
         BRCryptoTransferAttributeValidationError error = BRCryptoTransferAttributeValidationError.fromCore(
         ^
   symbol:   class BRCryptoTransferAttributeValidationError
   location: class BRCryptoWallet
 /home/triguntu/breadwallet-core/Java/corenative/src/main/java/com/breadwallet/corenative/crypto/BRCryptoWallet.java:116: error: cannot find symbol
         BRCryptoTransferAttributeValidationError error = BRCryptoTransferAttributeValidationError.fromCore(
                                                          ^
   symbol:   variable BRCryptoTransferAttributeValidationError
   location: class BRCryptoWallet
 /home/triguntu/breadwallet-core/Java/corenative/src/main/java/com/breadwallet/corenative/crypto/BRCryptoWallet.java:134: error: cannot find symbol
         BRCryptoTransferAttribute[] attributeRefs = new BRCryptoTransferAttribute[attributesCount];
         ^
   symbol:   class BRCryptoTransferAttribute
   location: class BRCryptoWallet
 /home/triguntu/breadwallet-core/Java/corenative/src/main/java/com/breadwallet/corenative/crypto/BRCryptoWallet.java:134: error: cannot find symbol
         BRCryptoTransferAttribute[] attributeRefs = new BRCryptoTransferAttribute[attributesCount];
                                                         ^
   symbol:   class BRCryptoTransferAttribute
   location: class BRCryptoWallet
 /home/triguntu/breadwallet-core/Java/corenative/src/main/java/com/breadwallet/corenative/crypto/BRCryptoWallet.java:137: error: cannot find symbol
         BRCryptoTransferAttributeValidationError error = BRCryptoTransferAttributeValidationError.fromCore(
         ^
   symbol:   class BRCryptoTransferAttributeValidationError
   location: class BRCryptoWallet
 /home/triguntu/breadwallet-core/Java/corenative/src/main/java/com/breadwallet/corenative/crypto/BRCryptoWallet.java:137: error: cannot find symbol
         BRCryptoTransferAttributeValidationError error = BRCryptoTransferAttributeValidationError.fromCore(
                                                          ^
   symbol:   variable BRCryptoTransferAttributeValidationError
   location: class BRCryptoWallet
 /home/triguntu/breadwallet-core/Java/corenative/src/main/java/com/breadwallet/corenative/crypto/BRCryptoWallet.java:205: error: cannot find symbol
         BRCryptoTransferAttribute[] attributeRefs = new BRCryptoTransferAttribute[attributesCount];
         ^
   symbol:   class BRCryptoTransferAttribute
   location: class BRCryptoWallet
 /home/triguntu/breadwallet-core/Java/corenative/src/main/java/com/breadwallet/corenative/crypto/BRCryptoWallet.java:205: error: cannot find symbol
         BRCryptoTransferAttribute[] attributeRefs = new BRCryptoTransferAttribute[attributesCount];
                                                         ^
   symbol:   class BRCryptoTransferAttribute
   location: class BRCryptoWallet
 /home/triguntu/breadwallet-core/Java/corenative/src/main/java/com/breadwallet/corenative/crypto/BRCryptoTransfer.java:119: error: cannot find symbol
         ).transform(BRCryptoTransferAttribute::new);
                     ^
   symbol:   class BRCryptoTransferAttribute
   location: class BRCryptoTransfer
 /home/triguntu/breadwallet-core/Java/corenative/src/main/java/com/breadwallet/corenative/crypto/BRCryptoNetwork.java:63: error: cannot find symbol
         return BRCryptoNetworkCanonicalType.fromCore(
                ^
   symbol:   variable BRCryptoNetworkCanonicalType
   location: class BRCryptoNetwork
 /home/triguntu/breadwallet-core/Java/corenative/src/main/java/com/breadwallet/corenative/crypto/BRCryptoNetwork.java:297: error: cannot find symbol
         return BRCryptoSyncMode.fromCore(
                ^
   symbol:   variable BRCryptoSyncMode
   location: class BRCryptoNetwork
 /home/triguntu/breadwallet-core/Java/corenative/src/main/java/com/breadwallet/corenative/crypto/BRCryptoNetwork.java:306: error: cannot find symbol
         List<BRCryptoSyncMode modes = new ArrayList<();
              ^
   symbol:   class BRCryptoSyncMode
   location: class BRCryptoNetwork
 /home/triguntu/breadwallet-core/Java/corenative/src/main/java/com/breadwallet/corenative/crypto/BRCryptoNetwork.java:313: error: cannot find symbol
                     modes.add(BRCryptoSyncMode.fromCore(modeInt));
                               ^
   symbol:   variable BRCryptoSyncMode
   location: class BRCryptoNetwork
 /home/triguntu/breadwallet-core/Java/corenative/src/main/java/com/breadwallet/corenative/crypto/BRCryptoKey.java:222: error: cannot find symbol
                         new BRCryptoSecret(secret).toByValue()
                             ^
   symbol:   class BRCryptoSecret
   location: class BRCryptoKey
 /home/triguntu/breadwallet-core/Java/corenative/src/main/java/com/breadwallet/corenative/crypto/BRCryptoWalletManagerEvent.java:175: error: cannot find symbol
                 return BRCryptoSyncDepth.fromCore(depthEnum);
                        ^
   symbol:   variable BRCryptoSyncDepth
   location: class syncRecommended_struct
 82 errors
 
 FAILURE: Build failed with an exception.
 
 * What went wrong:
 Execution failed for task ':corenative-android:compileDebugJavaWithJavac'.
  Compilation failed; see the compiler error output for details.
 
 * Try:
 Run with --stacktrace option to get the stack trace. Run with --info or --debug option to get more log output. Run with --scan to get full insights.
 
 * Get more help at https://help.gradle.org
 
 Deprecated Gradle features were used in this build, making it incompatible with Gradle 7.0.
 Use '--warning-mode all' to show the individual deprecation warnings.
 See https://docs.gradle.org/6.8/userguide/command_line_interface.html#sec:command_line_warnings
 
 BUILD FAILED in 2s
 27 actionable tasks: 21 executed, 6 up-to-date

Can you help me with those issues ? thanks

@kmarionchanlon
Copy link

After switching to master branch, this error is corrected. But we have a new issue :

See file:///home/triguntu/breadwallet-core/Java/corenative-jre/build/tmp/compileCorecryptoSharedLibraryCorecryptoC/output.txt for all output for compileCorecryptoSharedLibraryCorecryptoC.
compiling BRBCashAddr.c successful.
In file included from /home/triguntu/breadwallet-core/Java/corenative/src/main/cpp/core/bcash/BRBCashAddr.c:27:
/home/triguntu/breadwallet-core/Java/corenative/src/main/cpp/core/support/BRAddress.h:167:9: warning: implicit declaration of function 'strlcpy' is invalid in C99 [-Wimplicit-function-declaration]
        strlcpy (address.s, string, 75);
        ^
1 warning generated.

compiling BRBloomFilter.c successful.
In file included from /home/triguntu/breadwallet-core/Java/corenative/src/main/cpp/core/bitcoin/BRBloomFilter.c:27:
/home/triguntu/breadwallet-core/Java/corenative/src/main/cpp/core/support/BRAddress.h:167:9: warning: implicit declaration of function 'strlcpy' is invalid in C99 [-Wimplicit-function-declaration]
        strlcpy (address.s, string, 75);
        ^
1 warning generated.

compiling BRWalletManagerEvent.c failed.
In file included from /home/triguntu/breadwallet-core/Java/corenative/src/main/cpp/core/bitcoin/BRWalletManagerEvent.c:13:
In file included from /home/triguntu/breadwallet-core/Java/corenative/src/main/cpp/core/bitcoin/BRWalletManager.h:16:
/home/triguntu/breadwallet-core/Java/corenative/src/main/cpp/core/support/BRFileService.h:64:10: error: expected ';' after struct
        } unix;
         ^
         ;
/home/triguntu/breadwallet-core/Java/corenative/src/main/cpp/core/support/BRFileService.h:64:11: error: type name requires a specifier or qualifier
        } unix;
          ^
<built-in>:329:14: note: expanded from here
#define unix 1
             ^
In file included from /home/triguntu/breadwallet-core/Java/corenative/src/main/cpp/core/bitcoin/BRWalletManagerEvent.c:13:
In file included from /home/triguntu/breadwallet-core/Java/corenative/src/main/cpp/core/bitcoin/BRWalletManager.h:16:
/home/triguntu/breadwallet-core/Java/corenative/src/main/cpp/core/support/BRFileService.h:64:11: error: expected member name or ';' after declaration specifiers
<built-in>:329:14: note: expanded from here
#define unix 1
             ^
In file included from /home/triguntu/breadwallet-core/Java/corenative/src/main/cpp/core/bitcoin/BRWalletManagerEvent.c:13:
In file included from /home/triguntu/breadwallet-core/Java/corenative/src/main/cpp/core/bitcoin/BRWalletManager.h:16:
/home/triguntu/breadwallet-core/Java/corenative/src/main/cpp/core/support/BRFileService.h:64:15: error: expected ';' at end of declaration list
        } unix;
              ^
              ;
In file included from /home/triguntu/breadwallet-core/Java/corenative/src/main/cpp/core/bitcoin/BRWalletManagerEvent.c:13:
In file included from /home/triguntu/breadwallet-core/Java/corenative/src/main/cpp/core/bitcoin/BRWalletManager.h:18:
In file included from /home/triguntu/breadwallet-core/Java/corenative/src/main/cpp/core/support/BRBIP32Sequence.h:28:
In file included from /home/triguntu/breadwallet-core/Java/corenative/src/main/cpp/core/support/BRKey.h:28:
/home/triguntu/breadwallet-core/Java/corenative/src/main/cpp/core/support/BRAddress.h:167:9: warning: implicit declaration of function 'strlcpy' is invalid in C99 [-Wimplicit-function-declaration]
        strlcpy (address.s, string, 75);
        ^
1 warning and 4 errors generated.

compiling BRPaymentProtocol.c successful.
In file included from /home/triguntu/breadwallet-core/Java/corenative/src/main/cpp/core/bitcoin/BRPaymentProtocol.c:25:
In file included from /home/triguntu/breadwallet-core/Java/corenative/src/main/cpp/core/bitcoin/BRPaymentProtocol.h:28:
In file included from /home/triguntu/breadwallet-core/Java/corenative/src/main/cpp/core/bitcoin/BRTransaction.h:28:
In file included from /home/triguntu/breadwallet-core/Java/corenative/src/main/cpp/core/support/BRKey.h:28:
/home/triguntu/breadwallet-core/Java/corenative/src/main/cpp/core/support/BRAddress.h:167:9: warning: implicit declaration of function 'strlcpy' is invalid in C99 [-Wimplicit-function-declaration]
        strlcpy (address.s, string, 75);
        ^
1 warning generated.

compiling BRTransaction.c successful.
In file included from /home/triguntu/breadwallet-core/Java/corenative/src/main/cpp/core/bitcoin/BRTransaction.c:25:
In file included from /home/triguntu/breadwallet-core/Java/corenative/src/main/cpp/core/bitcoin/BRTransaction.h:28:
In file included from /home/triguntu/breadwallet-core/Java/corenative/src/main/cpp/core/support/BRKey.h:28:
/home/triguntu/breadwallet-core/Java/corenative/src/main/cpp/core/support/BRAddress.h:167:9: warning: implicit declaration of function 'strlcpy' is invalid in C99 [-Wimplicit-function-declaration]
        strlcpy (address.s, string, 75);
        ^
1 warning generated.

compiling BRMerkleBlock.c successful.
In file included from /home/triguntu/breadwallet-core/Java/corenative/src/main/cpp/core/bitcoin/BRMerkleBlock.c:27:
/home/triguntu/breadwallet-core/Java/corenative/src/main/cpp/core/support/BRAddress.h:167:9: warning: implicit declaration of function 'strlcpy' is invalid in C99 [-Wimplicit-function-declaration]
        strlcpy (address.s, string, 75);
        ^
1 warning generated.

compiling BRWalletManager.c failed.
In file included from /home/triguntu/breadwallet-core/Java/corenative/src/main/cpp/core/bitcoin/BRWalletManager.c:18:
In file included from /home/triguntu/breadwallet-core/Java/corenative/src/main/cpp/core/bitcoin/BRWalletManager.h:16:
/home/triguntu/breadwallet-core/Java/corenative/src/main/cpp/core/support/BRFileService.h:64:10: error: expected ';' after struct
        } unix;
         ^
         ;
/home/triguntu/breadwallet-core/Java/corenative/src/main/cpp/core/support/BRFileService.h:64:11: error: type name requires a specifier or qualifier
        } unix;
          ^
<built-in>:329:14: note: expanded from here
#define unix 1
             ^
In file included from /home/triguntu/breadwallet-core/Java/corenative/src/main/cpp/core/bitcoin/BRWalletManager.c:18:
In file included from /home/triguntu/breadwallet-core/Java/corenative/src/main/cpp/core/bitcoin/BRWalletManager.h:16:
/home/triguntu/breadwallet-core/Java/corenative/src/main/cpp/core/support/BRFileService.h:64:11: error: expected member name or ';' after declaration specifiers
<built-in>:329:14: note: expanded from here
#define unix 1
             ^
In file included from /home/triguntu/breadwallet-core/Java/corenative/src/main/cpp/core/bitcoin/BRWalletManager.c:18:
In file included from /home/triguntu/breadwallet-core/Java/corenative/src/main/cpp/core/bitcoin/BRWalletManager.h:16:
/home/triguntu/breadwallet-core/Java/corenative/src/main/cpp/core/support/BRFileService.h:64:15: error: expected ';' at end of declaration list
        } unix;
              ^
              ;
In file included from /home/triguntu/breadwallet-core/Java/corenative/src/main/cpp/core/bitcoin/BRWalletManager.c:18:
In file included from /home/triguntu/breadwallet-core/Java/corenative/src/main/cpp/core/bitcoin/BRWalletManager.h:18:
In file included from /home/triguntu/breadwallet-core/Java/corenative/src/main/cpp/core/support/BRBIP32Sequence.h:28:
In file included from /home/triguntu/breadwallet-core/Java/corenative/src/main/cpp/core/support/BRKey.h:28:
/home/triguntu/breadwallet-core/Java/corenative/src/main/cpp/core/support/BRAddress.h:167:9: warning: implicit declaration of function 'strlcpy' is invalid in C99 [-Wimplicit-function-declaration]
        strlcpy (address.s, string, 75);
        ^
/home/triguntu/breadwallet-core/Java/corenative/src/main/cpp/core/bitcoin/BRWalletManager.c:881:77: error: expected identifier
            _peer_log ("BWM: FileService Error: UNIX: %s", strerror(error.u.unix.error));
                                                                            ^
<built-in>:329:14: note: expanded from here
#define unix 1
             ^
1 warning and 5 errors generated.

compiling BRCryptoCoder.c successful.

compiling BRBIP38Key.c successful.
In file included from /home/triguntu/breadwallet-core/Java/corenative/src/main/cpp/core/bitcoin/BRBIP38Key.c:25:
In file included from /home/triguntu/breadwallet-core/Java/corenative/src/main/cpp/core/bitcoin/BRBIP38Key.h:28:
In file included from /home/triguntu/breadwallet-core/Java/corenative/src/main/cpp/core/support/BRKey.h:28:
/home/triguntu/breadwallet-core/Java/corenative/src/main/cpp/core/support/BRAddress.h:167:9: warning: implicit declaration of function 'strlcpy' is invalid in C99 [-Wimplicit-function-declaration]
        strlcpy (address.s, string, 75);
        ^
1 warning generated.

compiling BRSyncManager.c successful.
In file included from /home/triguntu/breadwallet-core/Java/corenative/src/main/cpp/core/bitcoin/BRSyncManager.c:19:
/home/triguntu/breadwallet-core/Java/corenative/src/main/cpp/core/support/BRAddress.h:167:9: warning: implicit declaration of function 'strlcpy' is invalid in C99 [-Wimplicit-function-declaration]
        strlcpy (address.s, string, 75);
        ^
1 warning generated.

compiling BRCryptoWalletManager.c failed.
In file included from /home/triguntu/breadwallet-core/Java/corenative/src/main/cpp/core/crypto/BRCryptoWalletManager.c:16:
In file included from /home/triguntu/breadwallet-core/Java/corenative/src/main/cpp/core/crypto/BRCryptoKeyP.h:15:
In file included from /home/triguntu/breadwallet-core/Java/corenative/src/main/cpp/core/support/BRKey.h:28:
/home/triguntu/breadwallet-core/Java/corenative/src/main/cpp/core/support/BRAddress.h:167:9: warning: implicit declaration of function 'strlcpy' is invalid in C99 [-Wimplicit-function-declaration]
        strlcpy (address.s, string, 75);
        ^
In file included from /home/triguntu/breadwallet-core/Java/corenative/src/main/cpp/core/crypto/BRCryptoWalletManager.c:17:
In file included from /home/triguntu/breadwallet-core/Java/corenative/src/main/cpp/core/crypto/BRCryptoAccountP.h:20:
In file included from /home/triguntu/breadwallet-core/Java/corenative/src/main/cpp/core/generic/BRGeneric.h:18:
/home/triguntu/breadwallet-core/Java/corenative/src/main/cpp/core/generic/BRGenericBase.h:180:13: warning: implicit declaration of function 'strlcpy' is invalid in C99 [-Wimplicit-function-declaration]
            strlcpy (result.u.included.error,
            ^
In file included from /home/triguntu/breadwallet-core/Java/corenative/src/main/cpp/core/crypto/BRCryptoWalletManager.c:23:
In file included from /home/triguntu/breadwallet-core/Java/corenative/src/main/cpp/core/crypto/BRCryptoWalletP.h:20:
In file included from /home/triguntu/breadwallet-core/Java/corenative/src/main/cpp/core/bitcoin/BRWalletManager.h:16:
/home/triguntu/breadwallet-core/Java/corenative/src/main/cpp/core/support/BRFileService.h:64:10: error: expected ';' after struct
        } unix;
         ^
         ;
/home/triguntu/breadwallet-core/Java/corenative/src/main/cpp/core/support/BRFileService.h:64:11: error: type name requires a specifier or qualifier
        } unix;
          ^
<built-in>:329:14: note: expanded from here
#define unix 1
             ^
In file included from /home/triguntu/breadwallet-core/Java/corenative/src/main/cpp/core/crypto/BRCryptoWalletManager.c:23:
In file included from /home/triguntu/breadwallet-core/Java/corenative/src/main/cpp/core/crypto/BRCryptoWalletP.h:20:
In file included from /home/triguntu/breadwallet-core/Java/corenative/src/main/cpp/core/bitcoin/BRWalletManager.h:16:
/home/triguntu/breadwallet-core/Java/corenative/src/main/cpp/core/support/BRFileService.h:64:11: error: expected member name or ';' after declaration specifiers
<built-in>:329:14: note: expanded from here
#define unix 1
             ^
In file included from /home/triguntu/breadwallet-core/Java/corenative/src/main/cpp/core/crypto/BRCryptoWalletManager.c:23:
In file included from /home/triguntu/breadwallet-core/Java/corenative/src/main/cpp/core/crypto/BRCryptoWalletP.h:20:
In file included from /home/triguntu/breadwallet-core/Java/corenative/src/main/cpp/core/bitcoin/BRWalletManager.h:16:
/home/triguntu/breadwallet-core/Java/corenative/src/main/cpp/core/support/BRFileService.h:64:15: error: expected ';' at end of declaration list
        } unix;
              ^
              ;
2 warnings and 4 errors generated.

compiling BRCryptoCipher.c successful.
In file included from /home/triguntu/breadwallet-core/Java/corenative/src/main/cpp/core/crypto/BRCryptoCipher.c:15:
In file included from /home/triguntu/breadwallet-core/Java/corenative/src/main/cpp/core/crypto/BRCryptoKeyP.h:15:
In file included from /home/triguntu/breadwallet-core/Java/corenative/src/main/cpp/core/support/BRKey.h:28:
/home/triguntu/breadwallet-core/Java/corenative/src/main/cpp/core/support/BRAddress.h:167:9: warning: implicit declaration of function 'strlcpy' is invalid in C99 [-Wimplicit-function-declaration]
        strlcpy (address.s, string, 75);
        ^
1 warning generated.

compiling BRWallet.c successful.
In file included from /home/triguntu/breadwallet-core/Java/corenative/src/main/cpp/core/bitcoin/BRWallet.c:25:
In file included from /home/triguntu/breadwallet-core/Java/corenative/src/main/cpp/core/bitcoin/BRWallet.h:28:
In file included from /home/triguntu/breadwallet-core/Java/corenative/src/main/cpp/core/bitcoin/BRTransaction.h:28:
In file included from /home/triguntu/breadwallet-core/Java/corenative/src/main/cpp/core/support/BRKey.h:28:
/home/triguntu/breadwallet-core/Java/corenative/src/main/cpp/core/support/BRAddress.h:167:9: warning: implicit declaration of function 'strlcpy' is invalid in C99 [-Wimplicit-function-declaration]
        strlcpy (address.s, string, 75);
        ^
1 warning generated.

compiling BRBCashParams.c successful.
In file included from /home/triguntu/breadwallet-core/Java/corenative/src/main/cpp/core/bcash/BRBCashParams.c:28:
In file included from /home/triguntu/breadwallet-core/Java/corenative/src/main/cpp/core/bitcoin/BRPeer.h:28:
In file included from /home/triguntu/breadwallet-core/Java/corenative/src/main/cpp/core/bitcoin/BRTransaction.h:28:
In file included from /home/triguntu/breadwallet-core/Java/corenative/src/main/cpp/core/support/BRKey.h:28:
/home/triguntu/breadwallet-core/Java/corenative/src/main/cpp/core/support/BRAddress.h:167:9: warning: implicit declaration of function 'strlcpy' is invalid in C99 [-Wimplicit-function-declaration]
        strlcpy (address.s, string, 75);
        ^
1 warning generated.

compiling BRCryptoHasher.c successful.

compiling BRCryptoKey.c successful.
In file included from /home/triguntu/breadwallet-core/Java/corenative/src/main/cpp/core/crypto/BRCryptoKey.c:15:
In file included from /home/triguntu/breadwallet-core/Java/corenative/src/main/cpp/core/support/BRKey.h:28:
/home/triguntu/breadwallet-core/Java/corenative/src/main/cpp/core/support/BRAddress.h:167:9: warning: implicit declaration of function 'strlcpy' is invalid in C99 [-Wimplicit-function-declaration]
        strlcpy (address.s, string, 75);
        ^
1 warning generated.

compiling BRCryptoHash.c successful.
In file included from /home/triguntu/breadwallet-core/Java/corenative/src/main/cpp/core/crypto/BRCryptoHash.c:18:
In file included from /home/triguntu/breadwallet-core/Java/corenative/src/main/cpp/core/generic/BRGeneric.h:16:
In file included from /home/triguntu/breadwallet-core/Java/corenative/src/main/cpp/core/support/BRKey.h:28:
/home/triguntu/breadwallet-core/Java/corenative/src/main/cpp/core/support/BRAddress.h:167:9: warning: implicit declaration of function 'strlcpy' is invalid in C99 [-Wimplicit-function-declaration]
        strlcpy (address.s, string, 75);
        ^
In file included from /home/triguntu/breadwallet-core/Java/corenative/src/main/cpp/core/crypto/BRCryptoHash.c:18:
In file included from /home/triguntu/breadwallet-core/Java/corenative/src/main/cpp/core/generic/BRGeneric.h:18:
/home/triguntu/breadwallet-core/Java/corenative/src/main/cpp/core/generic/BRGenericBase.h:180:13: warning: implicit declaration of function 'strlcpy' is invalid in C99 [-Wimplicit-function-declaration]
            strlcpy (result.u.included.error,
            ^
2 warnings generated.

compiling BRCryptoFeeBasis.c successful.
In file included from /home/triguntu/breadwallet-core/Java/corenative/src/main/cpp/core/crypto/BRCryptoFeeBasis.c:13:
In file included from /home/triguntu/breadwallet-core/Java/corenative/src/main/cpp/core/crypto/BRCryptoFeeBasisP.h:17:
In file included from /home/triguntu/breadwallet-core/Java/corenative/src/main/cpp/core/ethereum/BREthereum.h:14:
In file included from /home/triguntu/breadwallet-core/Java/corenative/src/main/cpp/core/ethereum/base/BREthereumBase.h:27:
In file included from /home/triguntu/breadwallet-core/Java/corenative/src/main/cpp/core/ethereum/base/BREthereumAddress.h:15:
In file included from /home/triguntu/breadwallet-core/Java/corenative/src/main/cpp/core/support/BRKey.h:28:
/home/triguntu/breadwallet-core/Java/corenative/src/main/cpp/core/support/BRAddress.h:167:9: warning: implicit declaration of function 'strlcpy' is invalid in C99 [-Wimplicit-function-declaration]
        strlcpy (address.s, string, 75);
        ^
In file included from /home/triguntu/breadwallet-core/Java/corenative/src/main/cpp/core/crypto/BRCryptoFeeBasis.c:13:
In file included from /home/triguntu/breadwallet-core/Java/corenative/src/main/cpp/core/crypto/BRCryptoFeeBasisP.h:18:
In file included from /home/triguntu/breadwallet-core/Java/corenative/src/main/cpp/core/generic/BRGeneric.h:18:
/home/triguntu/breadwallet-core/Java/corenative/src/main/cpp/core/generic/BRGenericBase.h:180:13: warning: implicit declaration of function 'strlcpy' is invalid in C99 [-Wimplicit-function-declaration]
            strlcpy (result.u.included.error,
            ^
2 warnings generated.

compiling BRCryptoNetwork.c successful.
In file included from /home/triguntu/breadwallet-core/Java/corenative/src/main/cpp/core/crypto/BRCryptoNetwork.c:11:
In file included from /home/triguntu/breadwallet-core/Java/corenative/src/main/cpp/core/crypto/BRCryptoNetworkP.h:19:
In file included from /home/triguntu/breadwallet-core/Java/corenative/src/main/cpp/core/bitcoin/BRChainParams.h:30:
In file included from /home/triguntu/breadwallet-core/Java/corenative/src/main/cpp/core/bitcoin/BRPeer.h:28:
In file included from /home/triguntu/breadwallet-core/Java/corenative/src/main/cpp/core/bitcoin/BRTransaction.h:28:
In file included from /home/triguntu/breadwallet-core/Java/corenative/src/main/cpp/core/support/BRKey.h:28:
/home/triguntu/breadwallet-core/Java/corenative/src/main/cpp/core/support/BRAddress.h:167:9: warning: implicit declaration of function 'strlcpy' is invalid in C99 [-Wimplicit-function-declaration]
        strlcpy (address.s, string, 75);
        ^
In file included from /home/triguntu/breadwallet-core/Java/corenative/src/main/cpp/core/crypto/BRCryptoNetwork.c:11:
In file included from /home/triguntu/breadwallet-core/Java/corenative/src/main/cpp/core/crypto/BRCryptoNetworkP.h:22:
In file included from /home/triguntu/breadwallet-core/Java/corenative/src/main/cpp/core/generic/BRGeneric.h:18:
/home/triguntu/breadwallet-core/Java/corenative/src/main/cpp/core/generic/BRGenericBase.h:180:13: warning: implicit declaration of function 'strlcpy' is invalid in C99 [-Wimplicit-function-declaration]
            strlcpy (result.u.included.error,
            ^
2 warnings generated.

compiling BRCryptoCurrency.c successful.

compiling BRChainParams.c successful.
In file included from /home/triguntu/breadwallet-core/Java/corenative/src/main/cpp/core/bitcoin/BRChainParams.c:26:
In file included from /home/triguntu/breadwallet-core/Java/corenative/src/main/cpp/core/bitcoin/BRChainParams.h:30:
In file included from /home/triguntu/breadwallet-core/Java/corenative/src/main/cpp/core/bitcoin/BRPeer.h:28:
In file included from /home/triguntu/breadwallet-core/Java/corenative/src/main/cpp/core/bitcoin/BRTransaction.h:28:
In file included from /home/triguntu/breadwallet-core/Java/corenative/src/main/cpp/core/support/BRKey.h:28:
/home/triguntu/breadwallet-core/Java/corenative/src/main/cpp/core/support/BRAddress.h:167:9: warning: implicit declaration of function 'strlcpy' is invalid in C99 [-Wimplicit-function-declaration]
        strlcpy (address.s, string, 75);
        ^
1 warning generated.

compiling BRCryptoAccount.c failed.
In file included from /home/triguntu/breadwallet-core/Java/corenative/src/main/cpp/core/crypto/BRCryptoAccount.c:12:
In file included from /home/triguntu/breadwallet-core/Java/corenative/src/main/cpp/core/crypto/BRCryptoAccountP.h:16:
In file included from /home/triguntu/breadwallet-core/Java/corenative/src/main/cpp/core/support/BRBIP32Sequence.h:28:
In file included from /home/triguntu/breadwallet-core/Java/corenative/src/main/cpp/core/support/BRKey.h:28:
/home/triguntu/breadwallet-core/Java/corenative/src/main/cpp/core/support/BRAddress.h:167:9: warning: implicit declaration of function 'strlcpy' is invalid in C99 [-Wimplicit-function-declaration]
        strlcpy (address.s, string, 75);
        ^
In file included from /home/triguntu/breadwallet-core/Java/corenative/src/main/cpp/core/crypto/BRCryptoAccount.c:12:
In file included from /home/triguntu/breadwallet-core/Java/corenative/src/main/cpp/core/crypto/BRCryptoAccountP.h:20:
In file included from /home/triguntu/breadwallet-core/Java/corenative/src/main/cpp/core/generic/BRGeneric.h:18:
/home/triguntu/breadwallet-core/Java/corenative/src/main/cpp/core/generic/BRGenericBase.h:180:13: warning: implicit declaration of function 'strlcpy' is invalid in C99 [-Wimplicit-function-declaration]
            strlcpy (result.u.included.error,
            ^
In file included from /home/triguntu/breadwallet-core/Java/corenative/src/main/cpp/core/crypto/BRCryptoAccount.c:13:
In file included from /home/triguntu/breadwallet-core/Java/corenative/src/main/cpp/core/generic/BRGenericHandlers.h:17:
/home/triguntu/breadwallet-core/Java/corenative/src/main/cpp/core/support/BRFileService.h:64:10: error: expected ';' after struct
        } unix;
         ^
         ;
/home/triguntu/breadwallet-core/Java/corenative/src/main/cpp/core/support/BRFileService.h:64:11: error: type name requires a specifier or qualifier
        } unix;
          ^
<built-in>:329:14: note: expanded from here
#define unix 1
             ^
In file included from /home/triguntu/breadwallet-core/Java/corenative/src/main/cpp/core/crypto/BRCryptoAccount.c:13:
In file included from /home/triguntu/breadwallet-core/Java/corenative/src/main/cpp/core/generic/BRGenericHandlers.h:17:
/home/triguntu/breadwallet-core/Java/corenative/src/main/cpp/core/support/BRFileService.h:64:11: error: expected member name or ';' after declaration specifiers
<built-in>:329:14: note: expanded from here
#define unix 1
             ^
In file included from /home/triguntu/breadwallet-core/Java/corenative/src/main/cpp/core/crypto/BRCryptoAccount.c:13:
In file included from /home/triguntu/breadwallet-core/Java/corenative/src/main/cpp/core/generic/BRGenericHandlers.h:17:
/home/triguntu/breadwallet-core/Java/corenative/src/main/cpp/core/support/BRFileService.h:64:15: error: expected ';' at end of declaration list
        } unix;
              ^
              ;
/home/triguntu/breadwallet-core/Java/corenative/src/main/cpp/core/crypto/BRCryptoAccount.c:416:5: warning: implicit declaration of function 'arc4random_buf' is invalid in C99 [-Wimplicit-function-declaration]
    arc4random_buf (bytes, bytesCount);
    ^
3 warnings and 4 errors generated.

compiling BRCryptoPeer.c successful.

compiling BRCryptoStatus.c successful.
In file included from /home/triguntu/breadwallet-core/Java/corenative/src/main/cpp/core/crypto/BRCryptoStatus.c:11:
In file included from /home/triguntu/breadwallet-core/Java/corenative/src/main/cpp/core/crypto/BRCryptoStatusP.h:15:
In file included from /home/triguntu/breadwallet-core/Java/corenative/src/main/cpp/core/ethereum/BREthereum.h:14:
In file included from /home/triguntu/breadwallet-core/Java/corenative/src/main/cpp/core/ethereum/base/BREthereumBase.h:27:
In file included from /home/triguntu/breadwallet-core/Java/corenative/src/main/cpp/core/ethereum/base/BREthereumAddress.h:15:
In file included from /home/triguntu/breadwallet-core/Java/corenative/src/main/cpp/core/support/BRKey.h:28:
/home/triguntu/breadwallet-core/Java/corenative/src/main/cpp/core/support/BRAddress.h:167:9: warning: implicit declaration of function 'strlcpy' is invalid in C99 [-Wimplicit-function-declaration]
        strlcpy (address.s, string, 75);
        ^
1 warning generated.

compiling BRCryptoAddress.c successful.
In file included from /home/triguntu/breadwallet-core/Java/corenative/src/main/cpp/core/crypto/BRCryptoAddress.c:11:
In file included from /home/triguntu/breadwallet-core/Java/corenative/src/main/cpp/core/crypto/BRCryptoAddressP.h:18:
/home/triguntu/breadwallet-core/Java/corenative/src/main/cpp/core/support/BRAddress.h:167:9: warning: implicit declaration of function 'strlcpy' is invalid in C99 [-Wimplicit-function-declaration]
        strlcpy (address.s, string, 75);
        ^
In file included from /home/triguntu/breadwallet-core/Java/corenative/src/main/cpp/core/crypto/BRCryptoAddress.c:11:
In file included from /home/triguntu/breadwallet-core/Java/corenative/src/main/cpp/core/crypto/BRCryptoAddressP.h:20:
In file included from /home/triguntu/breadwallet-core/Java/corenative/src/main/cpp/core/generic/BRGeneric.h:18:
/home/triguntu/breadwallet-core/Java/corenative/src/main/cpp/core/generic/BRGenericBase.h:180:13: warning: implicit declaration of function 'strlcpy' is invalid in C99 [-Wimplicit-function-declaration]
            strlcpy (result.u.included.error,
            ^
2 warnings generated.

compiling BRCryptoWalletManagerClient.c failed.
In file included from /home/triguntu/breadwallet-core/Java/corenative/src/main/cpp/core/crypto/BRCryptoWalletManagerClient.c:15:
In file included from /home/triguntu/breadwallet-core/Java/corenative/src/main/cpp/core/crypto/BRCryptoStatusP.h:15:
In file included from /home/triguntu/breadwallet-core/Java/corenative/src/main/cpp/core/ethereum/BREthereum.h:14:
In file included from /home/triguntu/breadwallet-core/Java/corenative/src/main/cpp/core/ethereum/base/BREthereumBase.h:27:
In file included from /home/triguntu/breadwallet-core/Java/corenative/src/main/cpp/core/ethereum/base/BREthereumAddress.h:15:
In file included from /home/triguntu/breadwallet-core/Java/corenative/src/main/cpp/core/support/BRKey.h:28:
/home/triguntu/breadwallet-core/Java/corenative/src/main/cpp/core/support/BRAddress.h:167:9: warning: implicit declaration of function 'strlcpy' is invalid in C99 [-Wimplicit-function-declaration]
        strlcpy (address.s, string, 75);
        ^
In file included from /home/triguntu/breadwallet-core/Java/corenative/src/main/cpp/core/crypto/BRCryptoWalletManagerClient.c:16:
In file included from /home/triguntu/breadwallet-core/Java/corenative/src/main/cpp/core/crypto/BRCryptoNetworkP.h:22:
In file included from /home/triguntu/breadwallet-core/Java/corenative/src/main/cpp/core/generic/BRGeneric.h:18:
/home/triguntu/breadwallet-core/Java/corenative/src/main/cpp/core/generic/BRGenericBase.h:180:13: warning: implicit declaration of function 'strlcpy' is invalid in C99 [-Wimplicit-function-declaration]
            strlcpy (result.u.included.error,
            ^
In file included from /home/triguntu/breadwallet-core/Java/corenative/src/main/cpp/core/crypto/BRCryptoWalletManagerClient.c:20:
In file included from /home/triguntu/breadwallet-core/Java/corenative/src/main/cpp/core/crypto/BRCryptoWalletP.h:20:
In file included from /home/triguntu/breadwallet-core/Java/corenative/src/main/cpp/core/bitcoin/BRWalletManager.h:16:
/home/triguntu/breadwallet-core/Java/corenative/src/main/cpp/core/support/BRFileService.h:64:10: error: expected ';' after struct
        } unix;
         ^
         ;
/home/triguntu/breadwallet-core/Java/corenative/src/main/cpp/core/support/BRFileService.h:64:11: error: type name requires a specifier or qualifier
        } unix;
          ^
<built-in>:329:14: note: expanded from here
#define unix 1
             ^
In file included from /home/triguntu/breadwallet-core/Java/corenative/src/main/cpp/core/crypto/BRCryptoWalletManagerClient.c:20:
In file included from /home/triguntu/breadwallet-core/Java/corenative/src/main/cpp/core/crypto/BRCryptoWalletP.h:20:
In file included from /home/triguntu/breadwallet-core/Java/corenative/src/main/cpp/core/bitcoin/BRWalletManager.h:16:
/home/triguntu/breadwallet-core/Java/corenative/src/main/cpp/core/support/BRFileService.h:64:11: error: expected member name or ';' after declaration specifiers
<built-in>:329:14: note: expanded from here
#define unix 1
             ^
In file included from /home/triguntu/breadwallet-core/Java/corenative/src/main/cpp/core/crypto/BRCryptoWalletManagerClient.c:20:
In file included from /home/triguntu/breadwallet-core/Java/corenative/src/main/cpp/core/crypto/BRCryptoWalletP.h:20:
In file included from /home/triguntu/breadwallet-core/Java/corenative/src/main/cpp/core/bitcoin/BRWalletManager.h:16:
/home/triguntu/breadwallet-core/Java/corenative/src/main/cpp/core/support/BRFileService.h:64:15: error: expected ';' at end of declaration list
        } unix;
              ^
              ;
2 warnings and 4 errors generated.

compiling BRCryptoUnit.c successful.

compiling BRCryptoSigner.c successful.
In file included from /home/triguntu/breadwallet-core/Java/corenative/src/main/cpp/core/crypto/BRCryptoSigner.c:15:
In file included from /home/triguntu/breadwallet-core/Java/corenative/src/main/cpp/core/crypto/BRCryptoKeyP.h:15:
In file included from /home/triguntu/breadwallet-core/Java/corenative/src/main/cpp/core/support/BRKey.h:28:
/home/triguntu/breadwallet-core/Java/corenative/src/main/cpp/core/support/BRAddress.h:167:9: warning: implicit declaration of function 'strlcpy' is invalid in C99 [-Wimplicit-function-declaration]
        strlcpy (address.s, string, 75);
        ^
1 warning generated.

compiling BRCryptoTransfer.c successful.
In file included from /home/triguntu/breadwallet-core/Java/corenative/src/main/cpp/core/crypto/BRCryptoTransfer.c:11:
In file included from /home/triguntu/breadwallet-core/Java/corenative/src/main/cpp/core/crypto/BRCryptoTransferP.h:19:
In file included from /home/triguntu/breadwallet-core/Java/corenative/src/main/cpp/core/bitcoin/BRWallet.h:28:
In file included from /home/triguntu/breadwallet-core/Java/corenative/src/main/cpp/core/bitcoin/BRTransaction.h:28:
In file included from /home/triguntu/breadwallet-core/Java/corenative/src/main/cpp/core/support/BRKey.h:28:
/home/triguntu/breadwallet-core/Java/corenative/src/main/cpp/core/support/BRAddress.h:167:9: warning: implicit declaration of function 'strlcpy' is invalid in C99 [-Wimplicit-function-declaration]
        strlcpy (address.s, string, 75);
        ^
In file included from /home/triguntu/breadwallet-core/Java/corenative/src/main/cpp/core/crypto/BRCryptoTransfer.c:11:
In file included from /home/triguntu/breadwallet-core/Java/corenative/src/main/cpp/core/crypto/BRCryptoTransferP.h:22:
In file included from /home/triguntu/breadwallet-core/Java/corenative/src/main/cpp/core/generic/BRGeneric.h:18:
/home/triguntu/breadwallet-core/Java/corenative/src/main/cpp/core/generic/BRGenericBase.h:180:13: warning: implicit declaration of function 'strlcpy' is invalid in C99 [-Wimplicit-function-declaration]
            strlcpy (result.u.included.error,
            ^
/home/triguntu/breadwallet-core/Java/corenative/src/main/cpp/core/crypto/BRCryptoTransfer.c:895:9: warning: implicit declaration of function 'strlcpy' is invalid in C99 [-Wimplicit-function-declaration]
        strlcpy (result.u.included.error,
        ^
3 warnings generated.

compiling BRCryptoAmount.c successful.

compiling BREthereumToken.c successful.
In file included from /home/triguntu/breadwallet-core/Java/corenative/src/main/cpp/core/ethereum/contract/BREthereumToken.c:14:
In file included from /home/triguntu/breadwallet-core/Java/corenative/src/main/cpp/core/ethereum/contract/BREthereumToken.h:14:
In file included from /home/triguntu/breadwallet-core/Java/corenative/src/main/cpp/core/ethereum/base/BREthereumBase.h:27:
In file included from /home/triguntu/breadwallet-core/Java/corenative/src/main/cpp/core/ethereum/base/BREthereumAddress.h:15:
In file included from /home/triguntu/breadwallet-core/Java/corenative/src/main/cpp/core/support/BRKey.h:28:
/home/triguntu/breadwallet-core/Java/corenative/src/main/cpp/core/support/BRAddress.h:167:9: warning: implicit declaration of function 'strlcpy' is invalid in C99 [-Wimplicit-function-declaration]
        strlcpy (address.s, string, 75);
        ^
1 warning generated.

compiling BRCryptoPayment.c failed.
In file included from /home/triguntu/breadwallet-core/Java/corenative/src/main/cpp/core/crypto/BRCryptoPayment.c:18:
In file included from /home/triguntu/breadwallet-core/Java/corenative/src/main/cpp/core/crypto/BRCryptoNetworkP.h:19:
In file included from /home/triguntu/breadwallet-core/Java/corenative/src/main/cpp/core/bitcoin/BRChainParams.h:30:
In file included from /home/triguntu/breadwallet-core/Java/corenative/src/main/cpp/core/bitcoin/BRPeer.h:28:
In file included from /home/triguntu/breadwallet-core/Java/corenative/src/main/cpp/core/bitcoin/BRTransaction.h:28:
In file included from /home/triguntu/breadwallet-core/Java/corenative/src/main/cpp/core/support/BRKey.h:28:
/home/triguntu/breadwallet-core/Java/corenative/src/main/cpp/core/support/BRAddress.h:167:9: warning: implicit declaration of function 'strlcpy' is invalid in C99 [-Wimplicit-function-declaration]
        strlcpy (address.s, string, 75);
        ^
In file included from /home/triguntu/breadwallet-core/Java/corenative/src/main/cpp/core/crypto/BRCryptoPayment.c:18:
In file included from /home/triguntu/breadwallet-core/Java/corenative/src/main/cpp/core/crypto/BRCryptoNetworkP.h:22:
In file included from /home/triguntu/breadwallet-core/Java/corenative/src/main/cpp/core/generic/BRGeneric.h:18:
/home/triguntu/breadwallet-core/Java/corenative/src/main/cpp/core/generic/BRGenericBase.h:180:13: warning: implicit declaration of function 'strlcpy' is invalid in C99 [-Wimplicit-function-declaration]
            strlcpy (result.u.included.error,
            ^
In file included from /home/triguntu/breadwallet-core/Java/corenative/src/main/cpp/core/crypto/BRCryptoPayment.c:22:
In file included from /home/triguntu/breadwallet-core/Java/corenative/src/main/cpp/core/crypto/BRCryptoWalletP.h:20:
In file included from /home/triguntu/breadwallet-core/Java/corenative/src/main/cpp/core/bitcoin/BRWalletManager.h:16:
/home/triguntu/breadwallet-core/Java/corenative/src/main/cpp/core/support/BRFileService.h:64:10: error: expected ';' after struct
        } unix;
         ^
         ;
/home/triguntu/breadwallet-core/Java/corenative/src/main/cpp/core/support/BRFileService.h:64:11: error: type name requires a specifier or qualifier
        } unix;
          ^
<built-in>:329:14: note: expanded from here
#define unix 1
             ^
In file included from /home/triguntu/breadwallet-core/Java/corenative/src/main/cpp/core/crypto/BRCryptoPayment.c:22:
In file included from /home/triguntu/breadwallet-core/Java/corenative/src/main/cpp/core/crypto/BRCryptoWalletP.h:20:
In file included from /home/triguntu/breadwallet-core/Java/corenative/src/main/cpp/core/bitcoin/BRWalletManager.h:16:
/home/triguntu/breadwallet-core/Java/corenative/src/main/cpp/core/support/BRFileService.h:64:11: error: expected member name or ';' after declaration specifiers
<built-in>:329:14: note: expanded from here
#define unix 1
             ^
In file included from /home/triguntu/breadwallet-core/Java/corenative/src/main/cpp/core/crypto/BRCryptoPayment.c:22:
In file included from /home/triguntu/breadwallet-core/Java/corenative/src/main/cpp/core/crypto/BRCryptoWalletP.h:20:
In file included from /home/triguntu/breadwallet-core/Java/corenative/src/main/cpp/core/bitcoin/BRWalletManager.h:16:
/home/triguntu/breadwallet-core/Java/corenative/src/main/cpp/core/support/BRFileService.h:64:15: error: expected ';' at end of declaration list
        } unix;
              ^
              ;
2 warnings and 4 errors generated.

compiling BREthereumContract.c successful.
In file included from /home/triguntu/breadwallet-core/Java/corenative/src/main/cpp/core/ethereum/contract/BREthereumContract.c:15:
In file included from /home/triguntu/breadwallet-core/Java/corenative/src/main/cpp/core/ethereum/base/BREthereumBase.h:27:
In file included from /home/triguntu/breadwallet-core/Java/corenative/src/main/cpp/core/ethereum/base/BREthereumAddress.h:15:
In file included from /home/triguntu/breadwallet-core/Java/corenative/src/main/cpp/core/support/BRKey.h:28:
/home/triguntu/breadwallet-core/Java/corenative/src/main/cpp/core/support/BRAddress.h:167:9: warning: implicit declaration of function 'strlcpy' is invalid in C99 [-Wimplicit-function-declaration]
        strlcpy (address.s, string, 75);
        ^
1 warning generated.

compiling BREthereumGas.c successful.

compiling BRCryptoWallet.c failed.
In file included from /home/triguntu/breadwallet-core/Java/corenative/src/main/cpp/core/crypto/BRCryptoWallet.c:11:
In file included from /home/triguntu/breadwallet-core/Java/corenative/src/main/cpp/core/crypto/BRCryptoWalletP.h:19:
In file included from /home/triguntu/breadwallet-core/Java/corenative/src/main/cpp/core/bitcoin/BRWallet.h:28:
In file included from /home/triguntu/breadwallet-core/Java/corenative/src/main/cpp/core/bitcoin/BRTransaction.h:28:
In file included from /home/triguntu/breadwallet-core/Java/corenative/src/main/cpp/core/support/BRKey.h:28:
/home/triguntu/breadwallet-core/Java/corenative/src/main/cpp/core/support/BRAddress.h:167:9: warning: implicit declaration of function 'strlcpy' is invalid in C99 [-Wimplicit-function-declaration]
        strlcpy (address.s, string, 75);
        ^
In file included from /home/triguntu/breadwallet-core/Java/corenative/src/main/cpp/core/crypto/BRCryptoWallet.c:11:
In file included from /home/triguntu/breadwallet-core/Java/corenative/src/main/cpp/core/crypto/BRCryptoWalletP.h:20:
In file included from /home/triguntu/breadwallet-core/Java/corenative/src/main/cpp/core/bitcoin/BRWalletManager.h:16:
/home/triguntu/breadwallet-core/Java/corenative/src/main/cpp/core/support/BRFileService.h:64:10: error: expected ';' after struct
        } unix;
         ^
         ;
/home/triguntu/breadwallet-core/Java/corenative/src/main/cpp/core/support/BRFileService.h:64:11: error: type name requires a specifier or qualifier
        } unix;
          ^
<built-in>:329:14: note: expanded from here
#define unix 1
             ^
In file included from /home/triguntu/breadwallet-core/Java/corenative/src/main/cpp/core/crypto/BRCryptoWallet.c:11:
In file included from /home/triguntu/breadwallet-core/Java/corenative/src/main/cpp/core/crypto/BRCryptoWalletP.h:20:
In file included from /home/triguntu/breadwallet-core/Java/corenative/src/main/cpp/core/bitcoin/BRWalletManager.h:16:
/home/triguntu/breadwallet-core/Java/corenative/src/main/cpp/core/support/BRFileService.h:64:11: error: expected member name or ';' after declaration specifiers
<built-in>:329:14: note: expanded from here
#define unix 1
             ^
In file included from /home/triguntu/breadwallet-core/Java/corenative/src/main/cpp/core/crypto/BRCryptoWallet.c:11:
In file included from /home/triguntu/breadwallet-core/Java/corenative/src/main/cpp/core/crypto/BRCryptoWalletP.h:20:
In file included from /home/triguntu/breadwallet-core/Java/corenative/src/main/cpp/core/bitcoin/BRWalletManager.h:16:
/home/triguntu/breadwallet-core/Java/corenative/src/main/cpp/core/support/BRFileService.h:64:15: error: expected ';' at end of declaration list
        } unix;
              ^
              ;
In file included from /home/triguntu/breadwallet-core/Java/corenative/src/main/cpp/core/crypto/BRCryptoWallet.c:11:
In file included from /home/triguntu/breadwallet-core/Java/corenative/src/main/cpp/core/crypto/BRCryptoWalletP.h:23:
In file included from /home/triguntu/breadwallet-core/Java/corenative/src/main/cpp/core/generic/BRGeneric.h:18:
/home/triguntu/breadwallet-core/Java/corenative/src/main/cpp/core/generic/BRGenericBase.h:180:13: warning: implicit declaration of function 'strlcpy' is invalid in C99 [-Wimplicit-function-declaration]
            strlcpy (result.u.included.error,
            ^
2 warnings and 4 errors generated.

compiling BREthereumAddress.c successful.
In file included from /home/triguntu/breadwallet-core/Java/corenative/src/main/cpp/core/ethereum/base/BREthereumAddress.c:16:
In file included from /home/triguntu/breadwallet-core/Java/corenative/src/main/cpp/core/ethereum/base/BREthereumBase.h:27:
In file included from /home/triguntu/breadwallet-core/Java/corenative/src/main/cpp/core/ethereum/base/BREthereumAddress.h:15:
In file included from /home/triguntu/breadwallet-core/Java/corenative/src/main/cpp/core/support/BRKey.h:28:
/home/triguntu/breadwallet-core/Java/corenative/src/main/cpp/core/support/BRAddress.h:167:9: warning: implicit declaration of function 'strlcpy' is invalid in C99 [-Wimplicit-function-declaration]
        strlcpy (address.s, string, 75);
        ^
1 warning generated.

compiling BREthereumData.c successful.

compiling BREthereumSignature.c successful.
In file included from /home/triguntu/breadwallet-core/Java/corenative/src/main/cpp/core/ethereum/base/BREthereumSignature.c:13:
In file included from /home/triguntu/breadwallet-core/Java/corenative/src/main/cpp/core/ethereum/base/BREthereumSignature.h:16:
In file included from /home/triguntu/breadwallet-core/Java/corenative/src/main/cpp/core/ethereum/base/BREthereumAddress.h:15:
In file included from /home/triguntu/breadwallet-core/Java/corenative/src/main/cpp/core/support/BRKey.h:28:
/home/triguntu/breadwallet-core/Java/corenative/src/main/cpp/core/support/BRAddress.h:167:9: warning: implicit declaration of function 'strlcpy' is invalid in C99 [-Wimplicit-function-declaration]
        strlcpy (address.s, string, 75);
        ^
1 warning generated.

compiling BREthereumFeeBasis.c successful.

compiling BREthereumHash.c successful.

compiling BREthereumTransactionStatus.c successful.
In file included from /home/triguntu/breadwallet-core/Java/corenative/src/main/cpp/core/ethereum/blockchain/BREthereumTransactionStatus.c:13:
In file included from /home/triguntu/breadwallet-core/Java/corenative/src/main/cpp/core/ethereum/blockchain/BREthereumTransactionStatus.h:14:
In file included from /home/triguntu/breadwallet-core/Java/corenative/src/main/cpp/core/ethereum/base/BREthereumBase.h:27:
In file included from /home/triguntu/breadwallet-core/Java/corenative/src/main/cpp/core/ethereum/base/BREthereumAddress.h:15:
In file included from /home/triguntu/breadwallet-core/Java/corenative/src/main/cpp/core/support/BRKey.h:28:
/home/triguntu/breadwallet-core/Java/corenative/src/main/cpp/core/support/BRAddress.h:167:9: warning: implicit declaration of function 'strlcpy' is invalid in C99 [-Wimplicit-function-declaration]
        strlcpy (address.s, string, 75);
        ^
/home/triguntu/breadwallet-core/Java/corenative/src/main/cpp/core/ethereum/blockchain/BREthereumTransactionStatus.c:62:5: warning: implicit declaration of function 'strlcpy' is invalid in C99 [-Wimplicit-function-declaration]
    strlcpy (status.u.errored.detail, detail, TRANSACTION_STATUS_DETAIL_BYTES);
    ^
2 warnings generated.

compiling BREthereumEther.c successful.

compiling BREthereumAccountState.c successful.
In file included from /home/triguntu/breadwallet-core/Java/corenative/src/main/cpp/core/ethereum/blockchain/BREthereumAccountState.c:13:
In file included from /home/triguntu/breadwallet-core/Java/corenative/src/main/cpp/core/ethereum/blockchain/BREthereumAccountState.h:14:
In file included from /home/triguntu/breadwallet-core/Java/corenative/src/main/cpp/core/ethereum/base/BREthereumBase.h:27:
In file included from /home/triguntu/breadwallet-core/Java/corenative/src/main/cpp/core/ethereum/base/BREthereumAddress.h:15:
In file included from /home/triguntu/breadwallet-core/Java/corenative/src/main/cpp/core/support/BRKey.h:28:
/home/triguntu/breadwallet-core/Java/corenative/src/main/cpp/core/support/BRAddress.h:167:9: warning: implicit declaration of function 'strlcpy' is invalid in C99 [-Wimplicit-function-declaration]
        strlcpy (address.s, string, 75);
        ^
1 warning generated.

compiling BREthereumTransactionReceipt.c successful.
In file included from /home/triguntu/breadwallet-core/Java/corenative/src/main/cpp/core/ethereum/blockchain/BREthereumTransactionReceipt.c:14:
In file included from /home/triguntu/breadwallet-core/Java/corenative/src/main/cpp/core/ethereum/blockchain/BREthereumLog.h:14:
In file included from /home/triguntu/breadwallet-core/Java/corenative/src/main/cpp/core/ethereum/base/BREthereumBase.h:27:
In file included from /home/triguntu/breadwallet-core/Java/corenative/src/main/cpp/core/ethereum/base/BREthereumAddress.h:15:
In file included from /home/triguntu/breadwallet-core/Java/corenative/src/main/cpp/core/support/BRKey.h:28:
/home/triguntu/breadwallet-core/Java/corenative/src/main/cpp/core/support/BRAddress.h:167:9: warning: implicit declaration of function 'strlcpy' is invalid in C99 [-Wimplicit-function-declaration]
        strlcpy (address.s, string, 75);
        ^
1 warning generated.

compiling BREthereumTransaction.c successful.
In file included from /home/triguntu/breadwallet-core/Java/corenative/src/main/cpp/core/ethereum/blockchain/BREthereumTransaction.c:14:
In file included from /home/triguntu/breadwallet-core/Java/corenative/src/main/cpp/core/ethereum/blockchain/BREthereumTransaction.h:14:
In file included from /home/triguntu/breadwallet-core/Java/corenative/src/main/cpp/core/ethereum/base/BREthereumBase.h:27:
In file included from /home/triguntu/breadwallet-core/Java/corenative/src/main/cpp/core/ethereum/base/BREthereumAddress.h:15:
In file included from /home/triguntu/breadwallet-core/Java/corenative/src/main/cpp/core/support/BRKey.h:28:
/home/triguntu/breadwallet-core/Java/corenative/src/main/cpp/core/support/BRAddress.h:167:9: warning: implicit declaration of function 'strlcpy' is invalid in C99 [-Wimplicit-function-declaration]
        strlcpy (address.s, string, 75);
        ^
1 warning generated.

compiling BREthereumBloomFilter.c successful.
In file included from /home/triguntu/breadwallet-core/Java/corenative/src/main/cpp/core/ethereum/blockchain/BREthereumBloomFilter.c:13:
In file included from /home/triguntu/breadwallet-core/Java/corenative/src/main/cpp/core/ethereum/blockchain/BREthereumBloomFilter.h:14:
In file included from /home/triguntu/breadwallet-core/Java/corenative/src/main/cpp/core/ethereum/base/BREthereumBase.h:27:
In file included from /home/triguntu/breadwallet-core/Java/corenative/src/main/cpp/core/ethereum/base/BREthereumAddress.h:15:
In file included from /home/triguntu/breadwallet-core/Java/corenative/src/main/cpp/core/support/BRKey.h:28:
/home/triguntu/breadwallet-core/Java/corenative/src/main/cpp/core/support/BRAddress.h:167:9: warning: implicit declaration of function 'strlcpy' is invalid in C99 [-Wimplicit-function-declaration]
        strlcpy (address.s, string, 75);
        ^
1 warning generated.

compiling BREthereumNetwork.c successful.

compiling BREthereumLog.c successful.
In file included from /home/triguntu/breadwallet-core/Java/corenative/src/main/cpp/core/ethereum/blockchain/BREthereumLog.c:12:
In file included from /home/triguntu/breadwallet-core/Java/corenative/src/main/cpp/core/ethereum/blockchain/BREthereumLog.h:14:
In file included from /home/triguntu/breadwallet-core/Java/corenative/src/main/cpp/core/ethereum/base/BREthereumBase.h:27:
In file included from /home/triguntu/breadwallet-core/Java/corenative/src/main/cpp/core/ethereum/base/BREthereumAddress.h:15:
In file included from /home/triguntu/breadwallet-core/Java/corenative/src/main/cpp/core/support/BRKey.h:28:
/home/triguntu/breadwallet-core/Java/corenative/src/main/cpp/core/support/BRAddress.h:167:9: warning: implicit declaration of function 'strlcpy' is invalid in C99 [-Wimplicit-function-declaration]
        strlcpy (address.s, string, 75);
        ^
1 warning generated.

compiling BREthereumMPT.c successful.

compiling BREthereumProofOfWork.c successful.
In file included from /home/triguntu/breadwallet-core/Java/corenative/src/main/cpp/core/ethereum/blockchain/BREthereumProofOfWork.c:16:
In file included from /home/triguntu/breadwallet-core/Java/corenative/src/main/cpp/core/ethereum/blockchain/BREthereumBlock.h:15:
In file included from /home/triguntu/breadwallet-core/Java/corenative/src/main/cpp/core/ethereum/base/BREthereumBase.h:27:
In file included from /home/triguntu/breadwallet-core/Java/corenative/src/main/cpp/core/ethereum/base/BREthereumAddress.h:15:
In file included from /home/triguntu/breadwallet-core/Java/corenative/src/main/cpp/core/support/BRKey.h:28:
/home/triguntu/breadwallet-core/Java/corenative/src/main/cpp/core/support/BRAddress.h:167:9: warning: implicit declaration of function 'strlcpy' is invalid in C99 [-Wimplicit-function-declaration]
        strlcpy (address.s, string, 75);
        ^
1 warning generated.

compiling BRUtilMathParse.c successful.

compiling BRKeccak.c successful.

compiling BRUtilHex.c successful.

compiling BRUtilMath.c successful.

compiling BREthereumBCSEvent.c successful.
In file included from /home/triguntu/breadwallet-core/Java/corenative/src/main/cpp/core/ethereum/bcs/BREthereumBCSEvent.c:12:
In file included from /home/triguntu/breadwallet-core/Java/corenative/src/main/cpp/core/ethereum/bcs/BREthereumBCSPrivate.h:14:
In file included from /home/triguntu/breadwallet-core/Java/corenative/src/main/cpp/core/ethereum/blockchain/BREthereumBlockChain.h:15:
In file included from /home/triguntu/breadwallet-core/Java/corenative/src/main/cpp/core/ethereum/blockchain/BREthereumAccountState.h:14:
In file included from /home/triguntu/breadwallet-core/Java/corenative/src/main/cpp/core/ethereum/base/BREthereumBase.h:27:
In file included from /home/triguntu/breadwallet-core/Java/corenative/src/main/cpp/core/ethereum/base/BREthereumAddress.h:15:
In file included from /home/triguntu/breadwallet-core/Java/corenative/src/main/cpp/core/support/BRKey.h:28:
/home/triguntu/breadwallet-core/Java/corenative/src/main/cpp/core/support/BRAddress.h:167:9: warning: implicit declaration of function 'strlcpy' is invalid in C99 [-Wimplicit-function-declaration]
        strlcpy (address.s, string, 75);
        ^
1 warning generated.

compiling BRRlpCoder.c successful.

compiling BREthereumBCSSync.c successful.
In file included from /home/triguntu/breadwallet-core/Java/corenative/src/main/cpp/core/ethereum/bcs/BREthereumBCSSync.c:12:
In file included from /home/triguntu/breadwallet-core/Java/corenative/src/main/cpp/core/ethereum/les/BREthereumLES.h:16:
In file included from /home/triguntu/breadwallet-core/Java/corenative/src/main/cpp/core/support/BRKey.h:28:
/home/triguntu/breadwallet-core/Java/corenative/src/main/cpp/core/support/BRAddress.h:167:9: warning: implicit declaration of function 'strlcpy' is invalid in C99 [-Wimplicit-function-declaration]
        strlcpy (address.s, string, 75);
        ^
1 warning generated.

compiling BREthereumLESFrameCoder.c successful.
In file included from /home/triguntu/breadwallet-core/Java/corenative/src/main/cpp/core/ethereum/les/BREthereumLESFrameCoder.c:14:
In file included from /home/triguntu/breadwallet-core/Java/corenative/src/main/cpp/core/support/BRKey.h:28:
/home/triguntu/breadwallet-core/Java/corenative/src/main/cpp/core/support/BRAddress.h:167:9: warning: implicit declaration of function 'strlcpy' is invalid in C99 [-Wimplicit-function-declaration]
        strlcpy (address.s, string, 75);
        ^
1 warning generated.

compiling BREthereumMessagePIP.c successful.
In file included from /home/triguntu/breadwallet-core/Java/corenative/src/main/cpp/core/ethereum/les/msg/BREthereumMessagePIP.c:13:
In file included from /home/triguntu/breadwallet-core/Java/corenative/src/main/cpp/core/ethereum/les/msg/BREthereumMessagePIP.h:14:
In file included from /home/triguntu/breadwallet-core/Java/corenative/src/main/cpp/core/ethereum/blockchain/BREthereumBlockChain.h:15:
In file included from /home/triguntu/breadwallet-core/Java/corenative/src/main/cpp/core/ethereum/blockchain/BREthereumAccountState.h:14:
In file included from /home/triguntu/breadwallet-core/Java/corenative/src/main/cpp/core/ethereum/base/BREthereumBase.h:27:
In file included from /home/triguntu/breadwallet-core/Java/corenative/src/main/cpp/core/ethereum/base/BREthereumAddress.h:15:
In file included from /home/triguntu/breadwallet-core/Java/corenative/src/main/cpp/core/support/BRKey.h:28:
/home/triguntu/breadwallet-core/Java/corenative/src/main/cpp/core/support/BRAddress.h:167:9: warning: implicit declaration of function 'strlcpy' is invalid in C99 [-Wimplicit-function-declaration]
        strlcpy (address.s, string, 75);
        ^
1 warning generated.

compiling BREthereumBlock.c successful.
In file included from /home/triguntu/breadwallet-core/Java/corenative/src/main/cpp/core/ethereum/blockchain/BREthereumBlock.c:16:
In file included from /home/triguntu/breadwallet-core/Java/corenative/src/main/cpp/core/ethereum/blockchain/BREthereumBlock.h:15:
In file included from /home/triguntu/breadwallet-core/Java/corenative/src/main/cpp/core/ethereum/base/BREthereumBase.h:27:
In file included from /home/triguntu/breadwallet-core/Java/corenative/src/main/cpp/core/ethereum/base/BREthereumAddress.h:15:
In file included from /home/triguntu/breadwallet-core/Java/corenative/src/main/cpp/core/support/BRKey.h:28:
/home/triguntu/breadwallet-core/Java/corenative/src/main/cpp/core/support/BRAddress.h:167:9: warning: implicit declaration of function 'strlcpy' is invalid in C99 [-Wimplicit-function-declaration]
        strlcpy (address.s, string, 75);
        ^
1 warning generated.

compiling BREthereumMessageLES.c successful.
In file included from /home/triguntu/breadwallet-core/Java/corenative/src/main/cpp/core/ethereum/les/msg/BREthereumMessageLES.c:12:
In file included from /home/triguntu/breadwallet-core/Java/corenative/src/main/cpp/core/ethereum/blockchain/BREthereumBlockChain.h:15:
In file included from /home/triguntu/breadwallet-core/Java/corenative/src/main/cpp/core/ethereum/blockchain/BREthereumAccountState.h:14:
In file included from /home/triguntu/breadwallet-core/Java/corenative/src/main/cpp/core/ethereum/base/BREthereumBase.h:27:
In file included from /home/triguntu/breadwallet-core/Java/corenative/src/main/cpp/core/ethereum/base/BREthereumAddress.h:15:
In file included from /home/triguntu/breadwallet-core/Java/corenative/src/main/cpp/core/support/BRKey.h:28:
/home/triguntu/breadwallet-core/Java/corenative/src/main/cpp/core/support/BRAddress.h:167:9: warning: implicit declaration of function 'strlcpy' is invalid in C99 [-Wimplicit-function-declaration]
        strlcpy (address.s, string, 75);
        ^
1 warning generated.

compiling BREthereumNodeEndpoint.c successful.
In file included from /home/triguntu/breadwallet-core/Java/corenative/src/main/cpp/core/ethereum/les/BREthereumNodeEndpoint.c:24:
In file included from /home/triguntu/breadwallet-core/Java/corenative/src/main/cpp/core/ethereum/les/BREthereumNodeEndpoint.h:16:
In file included from /home/triguntu/breadwallet-core/Java/corenative/src/main/cpp/core/support/BRKey.h:28:
/home/triguntu/breadwallet-core/Java/corenative/src/main/cpp/core/support/BRAddress.h:167:9: warning: implicit declaration of function 'strlcpy' is invalid in C99 [-Wimplicit-function-declaration]
        strlcpy (address.s, string, 75);
        ^
1 warning generated.

compiling BREthereumBCS.c successful.
In file included from /home/triguntu/breadwallet-core/Java/corenative/src/main/cpp/core/ethereum/bcs/BREthereumBCS.c:15:
In file included from /home/triguntu/breadwallet-core/Java/corenative/src/main/cpp/core/ethereum/bcs/BREthereumBCSPrivate.h:14:
In file included from /home/triguntu/breadwallet-core/Java/corenative/src/main/cpp/core/ethereum/blockchain/BREthereumBlockChain.h:15:
In file included from /home/triguntu/breadwallet-core/Java/corenative/src/main/cpp/core/ethereum/blockchain/BREthereumAccountState.h:14:
In file included from /home/triguntu/breadwallet-core/Java/corenative/src/main/cpp/core/ethereum/base/BREthereumBase.h:27:
In file included from /home/triguntu/breadwallet-core/Java/corenative/src/main/cpp/core/ethereum/base/BREthereumAddress.h:15:
In file included from /home/triguntu/breadwallet-core/Java/corenative/src/main/cpp/core/support/BRKey.h:28:
/home/triguntu/breadwallet-core/Java/corenative/src/main/cpp/core/support/BRAddress.h:167:9: warning: implicit declaration of function 'strlcpy' is invalid in C99 [-Wimplicit-function-declaration]
        strlcpy (address.s, string, 75);
        ^
1 warning generated.

compiling BREthereumMessageP2P.c successful.

compiling BREthereumMessageDIS.c successful.
In file included from /home/triguntu/breadwallet-core/Java/corenative/src/main/cpp/core/ethereum/les/msg/BREthereumMessageDIS.c:13:
In file included from /home/triguntu/breadwallet-core/Java/corenative/src/main/cpp/core/support/BRKey.h:28:
/home/triguntu/breadwallet-core/Java/corenative/src/main/cpp/core/support/BRAddress.h:167:9: warning: implicit declaration of function 'strlcpy' is invalid in C99 [-Wimplicit-function-declaration]
        strlcpy (address.s, string, 75);
        ^
1 warning generated.

compiling BREthereumLESRandom.c successful.
In file included from /home/triguntu/breadwallet-core/Java/corenative/src/main/cpp/core/ethereum/les/BREthereumLESRandom.c:17:
In file included from /home/triguntu/breadwallet-core/Java/corenative/src/main/cpp/core/ethereum/les/BREthereumLESRandom.h:15:
In file included from /home/triguntu/breadwallet-core/Java/corenative/src/main/cpp/core/support/BRKey.h:28:
/home/triguntu/breadwallet-core/Java/corenative/src/main/cpp/core/support/BRAddress.h:167:9: warning: implicit declaration of function 'strlcpy' is invalid in C99 [-Wimplicit-function-declaration]
        strlcpy (address.s, string, 75);
        ^
1 warning generated.

compiling BREthereumMessage.c successful.
In file included from /home/triguntu/breadwallet-core/Java/corenative/src/main/cpp/core/ethereum/les/BREthereumMessage.c:13:
In file included from /home/triguntu/breadwallet-core/Java/corenative/src/main/cpp/core/ethereum/les/BREthereumMessage.h:16:
In file included from /home/triguntu/breadwallet-core/Java/corenative/src/main/cpp/core/ethereum/les/msg/BREthereumMessageDIS.h:14:
In file included from /home/triguntu/breadwallet-core/Java/corenative/src/main/cpp/core/support/BRKey.h:28:
/home/triguntu/breadwallet-core/Java/corenative/src/main/cpp/core/support/BRAddress.h:167:9: warning: implicit declaration of function 'strlcpy' is invalid in C99 [-Wimplicit-function-declaration]
        strlcpy (address.s, string, 75);
        ^
1 warning generated.

compiling BREventQueue.c successful.

compiling BREvent.c successful.
/home/triguntu/breadwallet-core/Java/corenative/src/main/cpp/core/ethereum/event/BREvent.c:92:5: warning: implicit declaration of function 'strlcpy' is invalid in C99 [-Wimplicit-function-declaration]
    strlcpy (handler->name, name, PTHREAD_NAME_SIZE);
    ^
/home/triguntu/breadwallet-core/Java/corenative/src/main/cpp/core/ethereum/event/BREvent.c:151:5: warning: implicit declaration of function 'pthread_setname_np' is invalid in C99 [-Wimplicit-function-declaration]
    pthread_setname_np (pthread_self(), handler->name);
    ^
2 warnings generated.

compiling BREthereumNode.c failed.
In file included from /home/triguntu/breadwallet-core/Java/corenative/src/main/cpp/core/ethereum/les/BREthereumNode.c:19:
In file included from /home/triguntu/breadwallet-core/Java/corenative/src/main/cpp/core/support/BRKeyECIES.h:28:
In file included from /home/triguntu/breadwallet-core/Java/corenative/src/main/cpp/core/support/BRKey.h:28:
/home/triguntu/breadwallet-core/Java/corenative/src/main/cpp/core/support/BRAddress.h:167:9: warning: implicit declaration of function 'strlcpy' is invalid in C99 [-Wimplicit-function-declaration]
        strlcpy (address.s, string, 75);
        ^
In file included from /home/triguntu/breadwallet-core/Java/corenative/src/main/cpp/core/ethereum/les/BREthereumNode.c:21:
/home/triguntu/breadwallet-core/Java/corenative/src/main/cpp/core/ethereum/les/BREthereumNode.h:169:21: error: expected member name or ';' after declaration specifiers
                int unix;
                ~~~ ^
<built-in>:329:14: note: expanded from here
#define unix 1
             ^
In file included from /home/triguntu/breadwallet-core/Java/corenative/src/main/cpp/core/ethereum/les/BREthereumNode.c:21:
/home/triguntu/breadwallet-core/Java/corenative/src/main/cpp/core/ethereum/les/BREthereumNode.h:169:20: error: expected ';' at end of declaration list
                int unix;
                   ^
                   ;
/home/triguntu/breadwallet-core/Java/corenative/src/main/cpp/core/ethereum/les/BREthereumNode.c:127:16: error: expected a field designator, such as '.field = 4'
            { .unix = error }}}
               ^
<built-in>:329:14: note: expanded from here
#define unix 1
             ^
/home/triguntu/breadwallet-core/Java/corenative/src/main/cpp/core/ethereum/les/BREthereumNode.c:204:63: error: expected identifier
                                   strerror (state->u.error.u.unix));
                                                              ^
<built-in>:329:14: note: expanded from here
#define unix 1
             ^
/home/triguntu/breadwallet-core/Java/corenative/src/main/cpp/core/ethereum/les/BREthereumNode.c:230:74: error: expected identifier
                    reasonItem = rlpEncodeUInt64(coder, state->u.error.u.unix, 1);
                                                                         ^
<built-in>:329:14: note: expanded from here
#define unix 1
             ^
1 warning and 5 errors generated.

compiling BREthereumLES.c failed.
In file included from /home/triguntu/breadwallet-core/Java/corenative/src/main/cpp/core/ethereum/les/BREthereumLES.c:24:
In file included from /home/triguntu/breadwallet-core/Java/corenative/src/main/cpp/core/ethereum/base/BREthereumBase.h:27:
In file included from /home/triguntu/breadwallet-core/Java/corenative/src/main/cpp/core/ethereum/base/BREthereumAddress.h:15:
In file included from /home/triguntu/breadwallet-core/Java/corenative/src/main/cpp/core/support/BRKey.h:28:
/home/triguntu/breadwallet-core/Java/corenative/src/main/cpp/core/support/BRAddress.h:167:9: warning: implicit declaration of function 'strlcpy' is invalid in C99 [-Wimplicit-function-declaration]
        strlcpy (address.s, string, 75);
        ^
In file included from /home/triguntu/breadwallet-core/Java/corenative/src/main/cpp/core/ethereum/les/BREthereumLES.c:28:
/home/triguntu/breadwallet-core/Java/corenative/src/main/cpp/core/ethereum/les/BREthereumNode.h:169:21: error: expected member name or ';' after declaration specifiers
                int unix;
                ~~~ ^
<built-in>:329:14: note: expanded from here
#define unix 1
             ^
In file included from /home/triguntu/breadwallet-core/Java/corenative/src/main/cpp/core/ethereum/les/BREthereumLES.c:28:
/home/triguntu/breadwallet-core/Java/corenative/src/main/cpp/core/ethereum/les/BREthereumNode.h:169:20: error: expected ';' at end of declaration list
                int unix;
                   ^
                   ;
/home/triguntu/breadwallet-core/Java/corenative/src/main/cpp/core/ethereum/les/BREthereumLES.c:534:5: warning: implicit declaration of function 'arc4random_buf' is invalid in C99 [-Wimplicit-function-declaration]
    arc4random_buf(secret.u64, sizeof (secret));
    ^
/home/triguntu/breadwallet-core/Java/corenative/src/main/cpp/core/ethereum/les/BREthereumLES.c:1147:5: warning: implicit declaration of function 'pthread_setname_np' is invalid in C99 [-Wimplicit-function-declaration]
    pthread_setname_np (les->thread, LES_THREAD_NAME);
    ^
3 warnings and 2 errors generated.

compiling BREventAlarm.c successful.
/home/triguntu/breadwallet-core/Java/corenative/src/main/cpp/core/ethereum/event/BREventAlarm.c:269:5: warning: implicit declaration of function 'pthread_setname_np' is invalid in C99 [-Wimplicit-function-declaration]
    pthread_setname_np(clock->thread, "Core Ethereum Alarm Clock");
    ^
1 warning generated.

compiling BREthereumAmount.c successful.
In file included from /home/triguntu/breadwallet-core/Java/corenative/src/main/cpp/core/ethereum/ewm/BREthereumAmount.c:13:
In file included from /home/triguntu/breadwallet-core/Java/corenative/src/main/cpp/core/ethereum/ewm/BREthereumAmount.h:14:
In file included from /home/triguntu/breadwallet-core/Java/corenative/src/main/cpp/core/ethereum/base/BREthereumBase.h:27:
In file included from /home/triguntu/breadwallet-core/Java/corenative/src/main/cpp/core/ethereum/base/BREthereumAddress.h:15:
In file included from /home/triguntu/breadwallet-core/Java/corenative/src/main/cpp/core/support/BRKey.h:28:
/home/triguntu/breadwallet-core/Java/corenative/src/main/cpp/core/support/BRAddress.h:167:9: warning: implicit declaration of function 'strlcpy' is invalid in C99 [-Wimplicit-function-declaration]
        strlcpy (address.s, string, 75);
        ^
1 warning generated.

compiling BREthereumTransfer.c successful.
In file included from /home/triguntu/breadwallet-core/Java/corenative/src/main/cpp/core/ethereum/ewm/BREthereumTransfer.c:13:
In file included from /home/triguntu/breadwallet-core/Java/corenative/src/main/cpp/core/ethereum/blockchain/BREthereumTransaction.h:14:
In file included from /home/triguntu/breadwallet-core/Java/corenative/src/main/cpp/core/ethereum/base/BREthereumBase.h:27:
In file included from /home/triguntu/breadwallet-core/Java/corenative/src/main/cpp/core/ethereum/base/BREthereumAddress.h:15:
In file included from /home/triguntu/breadwallet-core/Java/corenative/src/main/cpp/core/support/BRKey.h:28:
/home/triguntu/breadwallet-core/Java/corenative/src/main/cpp/core/support/BRAddress.h:167:9: warning: implicit declaration of function 'strlcpy' is invalid in C99 [-Wimplicit-function-declaration]
        strlcpy (address.s, string, 75);
        ^
1 warning generated.

compiling BREthereumEWMPersist.c failed.
In file included from /home/triguntu/breadwallet-core/Java/corenative/src/main/cpp/core/ethereum/ewm/BREthereumEWMPersist.c:12:
In file included from /home/triguntu/breadwallet-core/Java/corenative/src/main/cpp/core/ethereum/ewm/BREthereumEWMPrivate.h:16:
/home/triguntu/breadwallet-core/Java/corenative/src/main/cpp/core/support/BRFileService.h:64:10: error: expected ';' after struct
        } unix;
         ^
         ;
/home/triguntu/breadwallet-core/Java/corenative/src/main/cpp/core/support/BRFileService.h:64:11: error: type name requires a specifier or qualifier
        } unix;
          ^
<built-in>:329:14: note: expanded from here
#define unix 1
             ^
In file included from /home/triguntu/breadwallet-core/Java/corenative/src/main/cpp/core/ethereum/ewm/BREthereumEWMPersist.c:12:
In file included from /home/triguntu/breadwallet-core/Java/corenative/src/main/cpp/core/ethereum/ewm/BREthereumEWMPrivate.h:16:
/home/triguntu/breadwallet-core/Java/corenative/src/main/cpp/core/support/BRFileService.h:64:11: error: expected member name or ';' after declaration specifiers
<built-in>:329:14: note: expanded from here
#define unix 1
             ^
In file included from /home/triguntu/breadwallet-core/Java/corenative/src/main/cpp/core/ethereum/ewm/BREthereumEWMPersist.c:12:
In file included from /home/triguntu/breadwallet-core/Java/corenative/src/main/cpp/core/ethereum/ewm/BREthereumEWMPrivate.h:16:
/home/triguntu/breadwallet-core/Java/corenative/src/main/cpp/core/support/BRFileService.h:64:15: error: expected ';' at end of declaration list
        } unix;
              ^
              ;
In file included from /home/triguntu/breadwallet-core/Java/corenative/src/main/cpp/core/ethereum/ewm/BREthereumEWMPersist.c:12:
In file included from /home/triguntu/breadwallet-core/Java/corenative/src/main/cpp/core/ethereum/ewm/BREthereumEWMPrivate.h:17:
In file included from /home/triguntu/breadwallet-core/Java/corenative/src/main/cpp/core/ethereum/blockchain/BREthereumBlockChain.h:15:
In file included from /home/triguntu/breadwallet-core/Java/corenative/src/main/cpp/core/ethereum/blockchain/BREthereumAccountState.h:14:
In file included from /home/triguntu/breadwallet-core/Java/corenative/src/main/cpp/core/ethereum/base/BREthereumBase.h:27:
In file included from /home/triguntu/breadwallet-core/Java/corenative/src/main/cpp/core/ethereum/base/BREthereumAddress.h:15:
In file included from /home/triguntu/breadwallet-core/Java/corenative/src/main/cpp/core/support/BRKey.h:28:
/home/triguntu/breadwallet-core/Java/corenative/src/main/cpp/core/support/BRAddress.h:167:9: warning: implicit declaration of function 'strlcpy' is invalid in C99 [-Wimplicit-function-declaration]
        strlcpy (address.s, string, 75);
        ^
1 warning and 4 errors generated.

compiling BREthereumAccount.c successful.
In file included from /home/triguntu/breadwallet-core/Java/corenative/src/main/cpp/core/ethereum/ewm/BREthereumAccount.c:15:
In file included from /home/triguntu/breadwallet-core/Java/corenative/src/main/cpp/core/support/BRKey.h:28:
/home/triguntu/breadwallet-core/Java/corenative/src/main/cpp/core/support/BRAddress.h:167:9: warning: implicit declaration of function 'strlcpy' is invalid in C99 [-Wimplicit-function-declaration]
        strlcpy (address.s, string, 75);
        ^
1 warning generated.

compiling BREthereumProvision.c successful.
In file included from /home/triguntu/breadwallet-core/Java/corenative/src/main/cpp/core/ethereum/les/BREthereumProvision.c:12:
In file included from /home/triguntu/breadwallet-core/Java/corenative/src/main/cpp/core/ethereum/les/BREthereumProvision.h:14:
In file included from /home/triguntu/breadwallet-core/Java/corenative/src/main/cpp/core/ethereum/les/BREthereumMessage.h:16:
In file included from /home/triguntu/breadwallet-core/Java/corenative/src/main/cpp/core/ethereum/les/msg/BREthereumMessageDIS.h:14:
In file included from /home/triguntu/breadwallet-core/Java/corenative/src/main/cpp/core/support/BRKey.h:28:
/home/triguntu/breadwallet-core/Java/corenative/src/main/cpp/core/support/BRAddress.h:167:9: warning: implicit declaration of function 'strlcpy' is invalid in C99 [-Wimplicit-function-declaration]
        strlcpy (address.s, string, 75);
        ^
1 warning generated.

compiling BREthereumEWMEvent.c failed.
In file included from /home/triguntu/breadwallet-core/Java/corenative/src/main/cpp/core/ethereum/ewm/BREthereumEWMEvent.c:12:
In file included from /home/triguntu/breadwallet-core/Java/corenative/src/main/cpp/core/ethereum/ewm/BREthereumEWMPrivate.h:16:
/home/triguntu/breadwallet-core/Java/corenative/src/main/cpp/core/support/BRFileService.h:64:10: error: expected ';' after struct
        } unix;
         ^
         ;
/home/triguntu/breadwallet-core/Java/corenative/src/main/cpp/core/support/BRFileService.h:64:11: error: type name requires a specifier or qualifier
        } unix;
          ^
<built-in>:329:14: note: expanded from here
#define unix 1
             ^
In file included from /home/triguntu/breadwallet-core/Java/corenative/src/main/cpp/core/ethereum/ewm/BREthereumEWMEvent.c:12:
In file included from /home/triguntu/breadwallet-core/Java/corenative/src/main/cpp/core/ethereum/ewm/BREthereumEWMPrivate.h:16:
/home/triguntu/breadwallet-core/Java/corenative/src/main/cpp/core/support/BRFileService.h:64:11: error: expected member name or ';' after declaration specifiers
<built-in>:329:14: note: expanded from here
#define unix 1
             ^
In file included from /home/triguntu/breadwallet-core/Java/corenative/src/main/cpp/core/ethereum/ewm/BREthereumEWMEvent.c:12:
In file included from /home/triguntu/breadwallet-core/Java/corenative/src/main/cpp/core/ethereum/ewm/BREthereumEWMPrivate.h:16:
/home/triguntu/breadwallet-core/Java/corenative/src/main/cpp/core/support/BRFileService.h:64:15: error: expected ';' at end of declaration list
        } unix;
              ^
              ;
In file included from /home/triguntu/breadwallet-core/Java/corenative/src/main/cpp/core/ethereum/ewm/BREthereumEWMEvent.c:12:
In file included from /home/triguntu/breadwallet-core/Java/corenative/src/main/cpp/core/ethereum/ewm/BREthereumEWMPrivate.h:17:
In file included from /home/triguntu/breadwallet-core/Java/corenative/src/main/cpp/core/ethereum/blockchain/BREthereumBlockChain.h:15:
In file included from /home/triguntu/breadwallet-core/Java/corenative/src/main/cpp/core/ethereum/blockchain/BREthereumAccountState.h:14:
In file included from /home/triguntu/breadwallet-core/Java/corenative/src/main/cpp/core/ethereum/base/BREthereumBase.h:27:
In file included from /home/triguntu/breadwallet-core/Java/corenative/src/main/cpp/core/ethereum/base/BREthereumAddress.h:15:
In file included from /home/triguntu/breadwallet-core/Java/corenative/src/main/cpp/core/support/BRKey.h:28:
/home/triguntu/breadwallet-core/Java/corenative/src/main/cpp/core/support/BRAddress.h:167:9: warning: implicit declaration of function 'strlcpy' is invalid in C99 [-Wimplicit-function-declaration]
        strlcpy (address.s, string, 75);
        ^
1 warning and 4 errors generated.

compiling BREthereumWallet.c successful.
In file included from /home/triguntu/breadwallet-core/Java/corenative/src/main/cpp/core/ethereum/ewm/BREthereumWallet.c:15:
In file included from /home/triguntu/breadwallet-core/Java/corenative/src/main/cpp/core/ethereum/ewm/BREthereumWallet.h:14:
In file included from /home/triguntu/breadwallet-core/Java/corenative/src/main/cpp/core/ethereum/blockchain/BREthereumBlockChain.h:15:
In file included from /home/triguntu/breadwallet-core/Java/corenative/src/main/cpp/core/ethereum/blockchain/BREthereumAccountState.h:14:
In file included from /home/triguntu/breadwallet-core/Java/corenative/src/main/cpp/core/ethereum/base/BREthereumBase.h:27:
In file included from /home/triguntu/breadwallet-core/Java/corenative/src/main/cpp/core/ethereum/base/BREthereumAddress.h:15:
In file included from /home/triguntu/breadwallet-core/Java/corenative/src/main/cpp/core/support/BRKey.h:28:
/home/triguntu/breadwallet-core/Java/corenative/src/main/cpp/core/support/BRAddress.h:167:9: warning: implicit declaration of function 'strlcpy' is invalid in C99 [-Wimplicit-function-declaration]
        strlcpy (address.s, string, 75);
        ^
1 warning generated.

compiling BREthereumEWM.c failed.
In file included from /home/triguntu/breadwallet-core/Java/corenative/src/main/cpp/core/ethereum/ewm/BREthereumEWM.c:26:
In file included from /home/triguntu/breadwallet-core/Java/corenative/src/main/cpp/core/ethereum/ewm/BREthereumEWMPrivate.h:16:
/home/triguntu/breadwallet-core/Java/corenative/src/main/cpp/core/support/BRFileService.h:64:10: error: expected ';' after struct
        } unix;
         ^
         ;
/home/triguntu/breadwallet-core/Java/corenative/src/main/cpp/core/support/BRFileService.h:64:11: error: type name requires a specifier or qualifier
        } unix;
          ^
<built-in>:329:14: note: expanded from here
#define unix 1
             ^
In file included from /home/triguntu/breadwallet-core/Java/corenative/src/main/cpp/core/ethereum/ewm/BREthereumEWM.c:26:
In file included from /home/triguntu/breadwallet-core/Java/corenative/src/main/cpp/core/ethereum/ewm/BREthereumEWMPrivate.h:16:
/home/triguntu/breadwallet-core/Java/corenative/src/main/cpp/core/support/BRFileService.h:64:11: error: expected member name or ';' after declaration specifiers
<built-in>:329:14: note: expanded from here
#define unix 1
             ^
In file included from /home/triguntu/breadwallet-core/Java/corenative/src/main/cpp/core/ethereum/ewm/BREthereumEWM.c:26:
In file included from /home/triguntu/breadwallet-core/Java/corenative/src/main/cpp/core/ethereum/ewm/BREthereumEWMPrivate.h:16:
/home/triguntu/breadwallet-core/Java/corenative/src/main/cpp/core/support/BRFileService.h:64:15: error: expected ';' at end of declaration list
        } unix;
              ^
              ;
In file included from /home/triguntu/breadwallet-core/Java/corenative/src/main/cpp/core/ethereum/ewm/BREthereumEWM.c:26:
In file included from /home/triguntu/breadwallet-core/Java/corenative/src/main/cpp/core/ethereum/ewm/BREthereumEWMPrivate.h:17:
In file included from /home/triguntu/breadwallet-core/Java/corenative/src/main/cpp/core/ethereum/blockchain/BREthereumBlockChain.h:15:
In file included from /home/triguntu/breadwallet-core/Java/corenative/src/main/cpp/core/ethereum/blockchain/BREthereumAccountState.h:14:
In file included from /home/triguntu/breadwallet-core/Java/corenative/src/main/cpp/core/ethereum/base/BREthereumBase.h:27:
In file included from /home/triguntu/breadwallet-core/Java/corenative/src/main/cpp/core/ethereum/base/BREthereumAddress.h:15:
In file included from /home/triguntu/breadwallet-core/Java/corenative/src/main/cpp/core/support/BRKey.h:28:
/home/triguntu/breadwallet-core/Java/corenative/src/main/cpp/core/support/BRAddress.h:167:9: warning: implicit declaration of function 'strlcpy' is invalid in C99 [-Wimplicit-function-declaration]
        strlcpy (address.s, string, 75);
        ^
/home/triguntu/breadwallet-core/Java/corenative/src/main/cpp/core/ethereum/ewm/BREthereumEWM.c:135:77: error: expected identifier
            eth_log ("EWM", "FileService Error: UNIX: %s", strerror(error.u.unix.error));
                                                                            ^
<built-in>:329:14: note: expanded from here
#define unix 1
             ^
1 warning and 5 errors generated.

compiling BRGenericClient.c successful.
In file included from /home/triguntu/breadwallet-core/Java/corenative/src/main/cpp/core/generic/BRGenericClient.c:11:
In file included from /home/triguntu/breadwallet-core/Java/corenative/src/main/cpp/core/generic/BRGenericClient.h:15:
/home/triguntu/breadwallet-core/Java/corenative/src/main/cpp/core/generic/BRGenericBase.h:180:13: warning: implicit declaration of function 'strlcpy' is invalid in C99 [-Wimplicit-function-declaration]
            strlcpy (result.u.included.error,
            ^
1 warning generated.

compiling BREthereumEWMClient.c failed.
In file included from /home/triguntu/breadwallet-core/Java/corenative/src/main/cpp/core/ethereum/ewm/BREthereumEWMClient.c:17:
In file included from /home/triguntu/breadwallet-core/Java/corenative/src/main/cpp/core/ethereum/ewm/BREthereumEWMPrivate.h:16:
/home/triguntu/breadwallet-core/Java/corenative/src/main/cpp/core/support/BRFileService.h:64:10: error: expected ';' after struct
        } unix;
         ^
         ;
/home/triguntu/breadwallet-core/Java/corenative/src/main/cpp/core/support/BRFileService.h:64:11: error: type name requires a specifier or qualifier
        } unix;
          ^
<built-in>:329:14: note: expanded from here
#define unix 1
             ^
In file included from /home/triguntu/breadwallet-core/Java/corenative/src/main/cpp/core/ethereum/ewm/BREthereumEWMClient.c:17:
In file included from /home/triguntu/breadwallet-core/Java/corenative/src/main/cpp/core/ethereum/ewm/BREthereumEWMPrivate.h:16:
/home/triguntu/breadwallet-core/Java/corenative/src/main/cpp/core/support/BRFileService.h:64:11: error: expected member name or ';' after declaration specifiers
<built-in>:329:14: note: expanded from here
#define unix 1
             ^
In file included from /home/triguntu/breadwallet-core/Java/corenative/src/main/cpp/core/ethereum/ewm/BREthereumEWMClient.c:17:
In file included from /home/triguntu/breadwallet-core/Java/corenative/src/main/cpp/core/ethereum/ewm/BREthereumEWMPrivate.h:16:
/home/triguntu/breadwallet-core/Java/corenative/src/main/cpp/core/support/BRFileService.h:64:15: error: expected ';' at end of declaration list
        } unix;
              ^
              ;
In file included from /home/triguntu/breadwallet-core/Java/corenative/src/main/cpp/core/ethereum/ewm/BREthereumEWMClient.c:17:
In file included from /home/triguntu/breadwallet-core/Java/corenative/src/main/cpp/core/ethereum/ewm/BREthereumEWMPrivate.h:17:
In file included from /home/triguntu/breadwallet-core/Java/corenative/src/main/cpp/core/ethereum/blockchain/BREthereumBlockChain.h:15:
In file included from /home/triguntu/breadwallet-core/Java/corenative/src/main/cpp/core/ethereum/blockchain/BREthereumAccountState.h:14:
In file included from /home/triguntu/breadwallet-core/Java/corenative/src/main/cpp/core/ethereum/base/BREthereumBase.h:27:
In file included from /home/triguntu/breadwallet-core/Java/corenative/src/main/cpp/core/ethereum/base/BREthereumAddress.h:15:
In file included from /home/triguntu/breadwallet-core/Java/corenative/src/main/cpp/core/support/BRKey.h:28:
/home/triguntu/breadwallet-core/Java/corenative/src/main/cpp/core/support/BRAddress.h:167:9: warning: implicit declaration of function 'strlcpy' is invalid in C99 [-Wimplicit-function-declaration]
        strlcpy (address.s, string, 75);
        ^
/home/triguntu/breadwallet-core/Java/corenative/src/main/cpp/core/ethereum/ewm/BREthereumEWMClient.c:25:9: warning: implicit declaration of function 'strlcpy' is invalid in C99 [-Wimplicit-function-declaration]
        strlcpy (event.errorDescription, errorDescription, sizeof (event.errorDescription));
        ^
/home/triguntu/breadwallet-core/Java/corenative/src/main/cpp/core/ethereum/ewm/BREthereumEWMClient.c:35:9: warning: implicit declaration of function 'strlcpy' is invalid in C99 [-Wimplicit-function-declaration]
        strlcpy (event.errorDescription, errorDescription, sizeof (event.errorDescription));
        ^
/home/triguntu/breadwallet-core/Java/corenative/src/main/cpp/core/ethereum/ewm/BREthereumEWMClient.c:45:9: warning: implicit declaration of function 'strlcpy' is invalid in C99 [-Wimplicit-function-declaration]
        strlcpy (event.errorDescription, errorDescription, sizeof (event.errorDescription));
        ^
4 warnings and 4 errors generated.

compiling BRGenericRipple.c failed.
In file included from /home/triguntu/breadwallet-core/Java/corenative/src/main/cpp/core/generic/BRGenericRipple.c:11:
In file included from /home/triguntu/breadwallet-core/Java/corenative/src/main/cpp/core/generic/BRGenericRipple.h:14:
In file included from /home/triguntu/breadwallet-core/Java/corenative/src/main/cpp/core/generic/BRGenericHandlers.h:16:
In file included from /home/triguntu/breadwallet-core/Java/corenative/src/main/cpp/core/support/BRKey.h:28:
/home/triguntu/breadwallet-core/Java/corenative/src/main/cpp/core/support/BRAddress.h:167:9: warning: implicit declaration of function 'strlcpy' is invalid in C99 [-Wimplicit-function-declaration]
        strlcpy (address.s, string, 75);
        ^
In file included from /home/triguntu/breadwallet-core/Java/corenative/src/main/cpp/core/generic/BRGenericRipple.c:11:
In file included from /home/triguntu/breadwallet-core/Java/corenative/src/main/cpp/core/generic/BRGenericRipple.h:14:
In file included from /home/triguntu/breadwallet-core/Java/corenative/src/main/cpp/core/generic/BRGenericHandlers.h:17:
/home/triguntu/breadwallet-core/Java/corenative/src/main/cpp/core/support/BRFileService.h:64:10: error: expected ';' after struct
        } unix;
         ^
         ;
/home/triguntu/breadwallet-core/Java/corenative/src/main/cpp/core/support/BRFileService.h:64:11: error: type name requires a specifier or qualifier
        } unix;
          ^
<built-in>:329:14: note: expanded from here
#define unix 1
             ^
In file included from /home/triguntu/breadwallet-core/Java/corenative/src/main/cpp/core/generic/BRGenericRipple.c:11:
In file included from /home/triguntu/breadwallet-core/Java/corenative/src/main/cpp/core/generic/BRGenericRipple.h:14:
In file included from /home/triguntu/breadwallet-core/Java/corenative/src/main/cpp/core/generic/BRGenericHandlers.h:17:
/home/triguntu/breadwallet-core/Java/corenative/src/main/cpp/core/support/BRFileService.h:64:11: error: expected member name or ';' after declaration specifiers
<built-in>:329:14: note: expanded from here
#define unix 1
             ^
In file included from /home/triguntu/breadwallet-core/Java/corenative/src/main/cpp/core/generic/BRGenericRipple.c:11:
In file included from /home/triguntu/breadwallet-core/Java/corenative/src/main/cpp/core/generic/BRGenericRipple.h:14:
In file included from /home/triguntu/breadwallet-core/Java/corenative/src/main/cpp/core/generic/BRGenericHandlers.h:17:
/home/triguntu/breadwallet-core/Java/corenative/src/main/cpp/core/support/BRFileService.h:64:15: error: expected ';' at end of declaration list
        } unix;
              ^
              ;
In file included from /home/triguntu/breadwallet-core/Java/corenative/src/main/cpp/core/generic/BRGenericRipple.c:11:
In file included from /home/triguntu/breadwallet-core/Java/corenative/src/main/cpp/core/generic/BRGenericRipple.h:14:
In file included from /home/triguntu/breadwallet-core/Java/corenative/src/main/cpp/core/generic/BRGenericHandlers.h:18:
/home/triguntu/breadwallet-core/Java/corenative/src/main/cpp/core/generic/BRGenericBase.h:180:13: warning: implicit declaration of function 'strlcpy' is invalid in C99 [-Wimplicit-function-declaration]
            strlcpy (result.u.included.error,
            ^
/home/triguntu/breadwallet-core/Java/corenative/src/main/cpp/core/generic/BRGenericRipple.c:396:28: warning: format specifies type 'unsigned long long *' but the argument has type 'BRRippleUnitDrops *' (aka 'unsigned long *') [-Wformat]
    sscanf(amount, "%llu", &amountDrops);
                    ~~~~   ^~~~~~~~~~~~
                    %lu
/home/triguntu/breadwallet-core/Java/corenative/src/main/cpp/core/generic/BRGenericRipple.c:397:45: warning: format specifies type 'unsigned long long *' but the argument has type 'BRRippleUnitDrops *' (aka 'unsigned long *') [-Wformat]
    if (NULL != fee) sscanf(fee,    "%llu", &feeDrops);
                                     ~~~~   ^~~~~~~~~
                                     %lu
4 warnings and 4 errors generated.

compiling BRRippleBase58.c successful.

compiling BRGeneric.c failed.
In file included from /home/triguntu/breadwallet-core/Java/corenative/src/main/cpp/core/generic/BRGeneric.c:15:
In file included from /home/triguntu/breadwallet-core/Java/corenative/src/main/cpp/core/generic/BRGenericPrivate.h:15:
In file included from /home/triguntu/breadwallet-core/Java/corenative/src/main/cpp/core/generic/BRGeneric.h:16:
In file included from /home/triguntu/breadwallet-core/Java/corenative/src/main/cpp/core/support/BRKey.h:28:
/home/triguntu/breadwallet-core/Java/corenative/src/main/cpp/core/support/BRAddress.h:167:9: warning: implicit declaration of function 'strlcpy' is invalid in C99 [-Wimplicit-function-declaration]
        strlcpy (address.s, string, 75);
        ^
In file included from /home/triguntu/breadwallet-core/Java/corenative/src/main/cpp/core/generic/BRGeneric.c:15:
In file included from /home/triguntu/breadwallet-core/Java/corenative/src/main/cpp/core/generic/BRGenericPrivate.h:15:
In file included from /home/triguntu/breadwallet-core/Java/corenative/src/main/cpp/core/generic/BRGeneric.h:18:
/home/triguntu/breadwallet-core/Java/corenative/src/main/cpp/core/generic/BRGenericBase.h:180:13: warning: implicit declaration of function 'strlcpy' is invalid in C99 [-Wimplicit-function-declaration]
            strlcpy (result.u.included.error,
            ^
In file included from /home/triguntu/breadwallet-core/Java/corenative/src/main/cpp/core/generic/BRGeneric.c:15:
In file included from /home/triguntu/breadwallet-core/Java/corenative/src/main/cpp/core/generic/BRGenericPrivate.h:16:
In file included from /home/triguntu/breadwallet-core/Java/corenative/src/main/cpp/core/generic/BRGenericHandlers.h:17:
/home/triguntu/breadwallet-core/Java/corenative/src/main/cpp/core/support/BRFileService.h:64:10: error: expected ';' after struct
        } unix;
         ^
         ;
/home/triguntu/breadwallet-core/Java/corenative/src/main/cpp/core/support/BRFileService.h:64:11: error: type name requires a specifier or qualifier
        } unix;
          ^
<built-in>:329:14: note: expanded from here
#define unix 1
             ^
In file included from /home/triguntu/breadwallet-core/Java/corenative/src/main/cpp/core/generic/BRGeneric.c:15:
In file included from /home/triguntu/breadwallet-core/Java/corenative/src/main/cpp/core/generic/BRGenericPrivate.h:16:
In file included from /home/triguntu/breadwallet-core/Java/corenative/src/main/cpp/core/generic/BRGenericHandlers.h:17:
/home/triguntu/breadwallet-core/Java/corenative/src/main/cpp/core/support/BRFileService.h:64:11: error: expected member name or ';' after declaration specifiers
<built-in>:329:14: note: expanded from here
#define unix 1
             ^
In file included from /home/triguntu/breadwallet-core/Java/corenative/src/main/cpp/core/generic/BRGeneric.c:15:
In file included from /home/triguntu/breadwallet-core/Java/corenative/src/main/cpp/core/generic/BRGenericPrivate.h:16:
In file included from /home/triguntu/breadwallet-core/Java/corenative/src/main/cpp/core/generic/BRGenericHandlers.h:17:
/home/triguntu/breadwallet-core/Java/corenative/src/main/cpp/core/support/BRFileService.h:64:15: error: expected ';' at end of declaration list
        } unix;
              ^
              ;
2 warnings and 4 errors generated.

compiling BRRippleWallet.c successful.
In file included from /home/triguntu/breadwallet-core/Java/corenative/src/main/cpp/core/ripple/BRRippleWallet.c:13:
In file included from /home/triguntu/breadwallet-core/Java/corenative/src/main/cpp/core/ripple/BRRippleWallet.h:15:
In file included from /home/triguntu/breadwallet-core/Java/corenative/src/main/cpp/core/ripple/BRRippleAccount.h:14:
In file included from /home/triguntu/breadwallet-core/Java/corenative/src/main/cpp/core/ripple/BRRippleTransaction.h:16:
In file included from /home/triguntu/breadwallet-core/Java/corenative/src/main/cpp/core/support/BRKey.h:28:
/home/triguntu/breadwallet-core/Java/corenative/src/main/cpp/core/support/BRAddress.h:167:9: warning: implicit declaration of function 'strlcpy' is invalid in C99 [-Wimplicit-function-declaration]
        strlcpy (address.s, string, 75);
        ^
1 warning generated.

compiling BRRippleAccount.c successful.
In file included from /home/triguntu/breadwallet-core/Java/corenative/src/main/cpp/core/ripple/BRRippleAccount.c:17:
In file included from /home/triguntu/breadwallet-core/Java/corenative/src/main/cpp/core/support/BRKey.h:28:
/home/triguntu/breadwallet-core/Java/corenative/src/main/cpp/core/support/BRAddress.h:167:9: warning: implicit declaration of function 'strlcpy' is invalid in C99 [-Wimplicit-function-declaration]
        strlcpy (address.s, string, 75);
        ^
1 warning generated.

compiling BRRippleSignature.c successful.
In file included from /home/triguntu/breadwallet-core/Java/corenative/src/main/cpp/core/ripple/BRRippleSignature.c:15:
In file included from /home/triguntu/breadwallet-core/Java/corenative/src/main/cpp/core/ripple/BRRipple.h:15:
In file included from /home/triguntu/breadwallet-core/Java/corenative/src/main/cpp/core/ripple/BRRippleAccount.h:14:
In file included from /home/triguntu/breadwallet-core/Java/corenative/src/main/cpp/core/ripple/BRRippleTransaction.h:16:
In file included from /home/triguntu/breadwallet-core/Java/corenative/src/main/cpp/core/support/BRKey.h:28:
/home/triguntu/breadwallet-core/Java/corenative/src/main/cpp/core/support/BRAddress.h:167:9: warning: implicit declaration of function 'strlcpy' is invalid in C99 [-Wimplicit-function-declaration]
        strlcpy (address.s, string, 75);
        ^
1 warning generated.

compiling BRGenericHandlers.c failed.
In file included from /home/triguntu/breadwallet-core/Java/corenative/src/main/cpp/core/generic/BRGenericHandlers.c:13:
In file included from /home/triguntu/breadwallet-core/Java/corenative/src/main/cpp/core/generic/BRGenericHandlers.h:16:
In file included from /home/triguntu/breadwallet-core/Java/corenative/src/main/cpp/core/support/BRKey.h:28:
/home/triguntu/breadwallet-core/Java/corenative/src/main/cpp/core/support/BRAddress.h:167:9: warning: implicit declaration of function 'strlcpy' is invalid in C99 [-Wimplicit-function-declaration]
        strlcpy (address.s, string, 75);
        ^
In file included from /home/triguntu/breadwallet-core/Java/corenative/src/main/cpp/core/generic/BRGenericHandlers.c:13:
In file included from /home/triguntu/breadwallet-core/Java/corenative/src/main/cpp/core/generic/BRGenericHandlers.h:17:
/home/triguntu/breadwallet-core/Java/corenative/src/main/cpp/core/support/BRFileService.h:64:10: error: expected ';' after struct
        } unix;
         ^
         ;
/home/triguntu/breadwallet-core/Java/corenative/src/main/cpp/core/support/BRFileService.h:64:11: error: type name requires a specifier or qualifier
        } unix;
          ^
<built-in>:329:14: note: expanded from here
#define unix 1
             ^
In file included from /home/triguntu/breadwallet-core/Java/corenative/src/main/cpp/core/generic/BRGenericHandlers.c:13:
In file included from /home/triguntu/breadwallet-core/Java/corenative/src/main/cpp/core/generic/BRGenericHandlers.h:17:
/home/triguntu/breadwallet-core/Java/corenative/src/main/cpp/core/support/BRFileService.h:64:11: error: expected member name or ';' after declaration specifiers
<built-in>:329:14: note: expanded from here
#define unix 1
             ^
In file included from /home/triguntu/breadwallet-core/Java/corenative/src/main/cpp/core/generic/BRGenericHandlers.c:13:
In file included from /home/triguntu/breadwallet-core/Java/corenative/src/main/cpp/core/generic/BRGenericHandlers.h:17:
/home/triguntu/breadwallet-core/Java/corenative/src/main/cpp/core/support/BRFileService.h:64:15: error: expected ';' at end of declaration list
        } unix;
              ^
              ;
In file included from /home/triguntu/breadwallet-core/Java/corenative/src/main/cpp/core/generic/BRGenericHandlers.c:13:
In file included from /home/triguntu/breadwallet-core/Java/corenative/src/main/cpp/core/generic/BRGenericHandlers.h:18:
/home/triguntu/breadwallet-core/Java/corenative/src/main/cpp/core/generic/BRGenericBase.h:180:13: warning: implicit declaration of function 'strlcpy' is invalid in C99 [-Wimplicit-function-declaration]
            strlcpy (result.u.included.error,
            ^
2 warnings and 4 errors generated.

compiling BRGenericManager.c failed.
In file included from /home/triguntu/breadwallet-core/Java/corenative/src/main/cpp/core/generic/BRGenericManager.c:16:
In file included from /home/triguntu/breadwallet-core/Java/corenative/src/main/cpp/core/generic/BRGenericPrivate.h:15:
In file included from /home/triguntu/breadwallet-core/Java/corenative/src/main/cpp/core/generic/BRGeneric.h:16:
In file included from /home/triguntu/breadwallet-core/Java/corenative/src/main/cpp/core/support/BRKey.h:28:
/home/triguntu/breadwallet-core/Java/corenative/src/main/cpp/core/support/BRAddress.h:167:9: warning: implicit declaration of function 'strlcpy' is invalid in C99 [-Wimplicit-function-declaration]
        strlcpy (address.s, string, 75);
        ^
In file included from /home/triguntu/breadwallet-core/Java/corenative/src/main/cpp/core/generic/BRGenericManager.c:16:
In file included from /home/triguntu/breadwallet-core/Java/corenative/src/main/cpp/core/generic/BRGenericPrivate.h:15:
In file included from /home/triguntu/breadwallet-core/Java/corenative/src/main/cpp/core/generic/BRGeneric.h:18:
/home/triguntu/breadwallet-core/Java/corenative/src/main/cpp/core/generic/BRGenericBase.h:180:13: warning: implicit declaration of function 'strlcpy' is invalid in C99 [-Wimplicit-function-declaration]
            strlcpy (result.u.included.error,
            ^
In file included from /home/triguntu/breadwallet-core/Java/corenative/src/main/cpp/core/generic/BRGenericManager.c:16:
In file included from /home/triguntu/breadwallet-core/Java/corenative/src/main/cpp/core/generic/BRGenericPrivate.h:16:
In file included from /home/triguntu/breadwallet-core/Java/corenative/src/main/cpp/core/generic/BRGenericHandlers.h:17:
/home/triguntu/breadwallet-core/Java/corenative/src/main/cpp/core/support/BRFileService.h:64:10: error: expected ';' after struct
        } unix;
         ^
         ;
/home/triguntu/breadwallet-core/Java/corenative/src/main/cpp/core/support/BRFileService.h:64:11: error: type name requires a specifier or qualifier
        } unix;
          ^
<built-in>:329:14: note: expanded from here
#define unix 1
             ^
In file included from /home/triguntu/breadwallet-core/Java/corenative/src/main/cpp/core/generic/BRGenericManager.c:16:
In file included from /home/triguntu/breadwallet-core/Java/corenative/src/main/cpp/core/generic/BRGenericPrivate.h:16:
In file included from /home/triguntu/breadwallet-core/Java/corenative/src/main/cpp/core/generic/BRGenericHandlers.h:17:
/home/triguntu/breadwallet-core/Java/corenative/src/main/cpp/core/support/BRFileService.h:64:11: error: expected member name or ';' after declaration specifiers
<built-in>:329:14: note: expanded from here
#define unix 1
             ^
In file included from /home/triguntu/breadwallet-core/Java/corenative/src/main/cpp/core/generic/BRGenericManager.c:16:
In file included from /home/triguntu/breadwallet-core/Java/corenative/src/main/cpp/core/generic/BRGenericPrivate.h:16:
In file included from /home/triguntu/breadwallet-core/Java/corenative/src/main/cpp/core/generic/BRGenericHandlers.h:17:
/home/triguntu/breadwallet-core/Java/corenative/src/main/cpp/core/support/BRFileService.h:64:15: error: expected ';' at end of declaration list
        } unix;
              ^
              ;
/home/triguntu/breadwallet-core/Java/corenative/src/main/cpp/core/generic/BRGenericManager.c:811:17: warning: implicit declaration of function 'strlcpy' is invalid in C99 [-Wimplicit-function-declaration]
                strlcpy (state.u.included.error, error, sizeof(state.u.included.error));
                ^
3 warnings and 4 errors generated.

compiling BRRippleTransaction.c successful.
In file included from /home/triguntu/breadwallet-core/Java/corenative/src/main/cpp/core/ripple/BRRippleTransaction.c:15:
In file included from /home/triguntu/breadwallet-core/Java/corenative/src/main/cpp/core/ripple/BRRipple.h:15:
In file included from /home/triguntu/breadwallet-core/Java/corenative/src/main/cpp/core/ripple/BRRippleAccount.h:14:
In file included from /home/triguntu/breadwallet-core/Java/corenative/src/main/cpp/core/ripple/BRRippleTransaction.h:16:
In file included from /home/triguntu/breadwallet-core/Java/corenative/src/main/cpp/core/support/BRKey.h:28:
/home/triguntu/breadwallet-core/Java/corenative/src/main/cpp/core/support/BRAddress.h:167:9: warning: implicit declaration of function 'strlcpy' is invalid in C99 [-Wimplicit-function-declaration]
        strlcpy (address.s, string, 75);
        ^
1 warning generated.

compiling BRRippleTransfer.c successful.
In file included from /home/triguntu/breadwallet-core/Java/corenative/src/main/cpp/core/ripple/BRRippleTransfer.c:12:
In file included from /home/triguntu/breadwallet-core/Java/corenative/src/main/cpp/core/ripple/BRRippleTransfer.h:15:
In file included from /home/triguntu/breadwallet-core/Java/corenative/src/main/cpp/core/ripple/BRRippleTransaction.h:16:
In file included from /home/triguntu/breadwallet-core/Java/corenative/src/main/cpp/core/support/BRKey.h:28:
/home/triguntu/breadwallet-core/Java/corenative/src/main/cpp/core/support/BRAddress.h:167:9: warning: implicit declaration of function 'strlcpy' is invalid in C99 [-Wimplicit-function-declaration]
        strlcpy (address.s, string, 75);
        ^
1 warning generated.

compiling BRRippleFeeBasis.c successful.

compiling BRRippleUtils.c successful.
/home/triguntu/breadwallet-core/Java/corenative/src/main/cpp/core/ripple/BRRippleUtils.c:51:27: warning: format specifies type 'unsigned long long *' but the argument has type 'BRRippleUnitDrops *' (aka 'unsigned long *') [-Wformat]
    sscanf(value, "%llu", &drops);
                   ~~~~   ^~~~~~
                   %lu
1 warning generated.

compiling BRRippleSerialize.c successful.
In file included from /home/triguntu/breadwallet-core/Java/corenative/src/main/cpp/core/ripple/BRRippleSerialize.c:18:
In file included from /home/triguntu/breadwallet-core/Java/corenative/src/main/cpp/core/ripple/BRRipple.h:15:
In file included from /home/triguntu/breadwallet-core/Java/corenative/src/main/cpp/core/ripple/BRRippleAccount.h:14:
In file included from /home/triguntu/breadwallet-core/Java/corenative/src/main/cpp/core/ripple/BRRippleTransaction.h:16:
In file included from /home/triguntu/breadwallet-core/Java/corenative/src/main/cpp/core/support/BRKey.h:28:
/home/triguntu/breadwallet-core/Java/corenative/src/main/cpp/core/support/BRAddress.h:167:9: warning: implicit declaration of function 'strlcpy' is invalid in C99 [-Wimplicit-function-declaration]
        strlcpy (address.s, string, 75);
        ^
1 warning generated.

compiling BRBase58.c successful.

compiling BRKeyECIES.c successful.
In file included from /home/triguntu/breadwallet-core/Java/corenative/src/main/cpp/core/support/BRKeyECIES.c:25:
In file included from /home/triguntu/breadwallet-core/Java/corenative/src/main/cpp/core/support/BRKeyECIES.h:28:
In file included from /home/triguntu/breadwallet-core/Java/corenative/src/main/cpp/core/support/BRKey.h:28:
/home/triguntu/breadwallet-core/Java/corenative/src/main/cpp/core/support/BRAddress.h:167:9: warning: implicit declaration of function 'strlcpy' is invalid in C99 [-Wimplicit-function-declaration]
        strlcpy (address.s, string, 75);
        ^
1 warning generated.

compiling BRBIP39Mnemonic.c successful.

compiling BRFileService.c failed.
In file included from /home/triguntu/breadwallet-core/Java/corenative/src/main/cpp/core/support/BRFileService.c:26:
/home/triguntu/breadwallet-core/Java/corenative/src/main/cpp/core/support/BRFileService.h:64:10: error: expected ';' after struct
        } unix;
         ^
         ;
/home/triguntu/breadwallet-core/Java/corenative/src/main/cpp/core/support/BRFileService.h:64:11: error: type name requires a specifier or qualifier
        } unix;
          ^
<built-in>:329:14: note: expanded from here
#define unix 1
             ^
In file included from /home/triguntu/breadwallet-core/Java/corenative/src/main/cpp/core/support/BRFileService.c:26:
/home/triguntu/breadwallet-core/Java/corenative/src/main/cpp/core/support/BRFileService.h:64:11: error: expected member name or ';' after declaration specifiers
<built-in>:329:14: note: expanded from here
#define unix 1
             ^
In file included from /home/triguntu/breadwallet-core/Java/corenative/src/main/cpp/core/support/BRFileService.c:26:
/home/triguntu/breadwallet-core/Java/corenative/src/main/cpp/core/support/BRFileService.h:64:15: error: expected ';' at end of declaration list
        } unix;
              ^
              ;
/home/triguntu/breadwallet-core/Java/corenative/src/main/cpp/core/support/BRFileService.c:504:46: error: expected a field designator, such as '.field = 4'
                                          { .unix = { error }}
                                             ^
<built-in>:329:14: note: expanded from here
#define unix 1
             ^
5 errors generated.

compiling BRBIP32Sequence.c successful.
In file included from /home/triguntu/breadwallet-core/Java/corenative/src/main/cpp/core/support/BRBIP32Sequence.c:25:
In file included from /home/triguntu/breadwallet-core/Java/corenative/src/main/cpp/core/support/BRBIP32Sequence.h:28:
In file included from /home/triguntu/breadwallet-core/Java/corenative/src/main/cpp/core/support/BRKey.h:28:
/home/triguntu/breadwallet-core/Java/corenative/src/main/cpp/core/support/BRAddress.h:167:9: warning: implicit declaration of function 'strlcpy' is invalid in C99 [-Wimplicit-function-declaration]
        strlcpy (address.s, string, 75);
        ^
1 warning generated.

compiling BRRippleAddress.c successful.
In file included from /home/triguntu/breadwallet-core/Java/corenative/src/main/cpp/core/ripple/BRRippleAddress.c:12:
In file included from /home/triguntu/breadwallet-core/Java/corenative/src/main/cpp/core/ripple/BRRippleAddress.h:14:
In file included from /home/triguntu/breadwallet-core/Java/corenative/src/main/cpp/core/support/BRKey.h:28:
/home/triguntu/breadwallet-core/Java/corenative/src/main/cpp/core/support/BRAddress.h:167:9: warning: implicit declaration of function 'strlcpy' is invalid in C99 [-Wimplicit-function-declaration]
        strlcpy (address.s, string, 75);
        ^
1 warning generated.

compiling BRBech32.c successful.
In file included from /home/triguntu/breadwallet-core/Java/corenative/src/main/cpp/core/support/BRBech32.c:27:
/home/triguntu/breadwallet-core/Java/corenative/src/main/cpp/core/support/BRAddress.h:167:9: warning: implicit declaration of function 'strlcpy' is invalid in C99 [-Wimplicit-function-declaration]
        strlcpy (address.s, string, 75);
        ^
1 warning generated.

compiling BRSet.c successful.

compiling BRAssert.c successful.
/home/triguntu/breadwallet-core/Java/corenative/src/main/cpp/core/support/BRAssert.c:137:5: warning: implicit declaration of function 'pthread_setname_np' is invalid in C99 [-Wimplicit-function-declaration]
    pthread_setname_np (context->thread, ASSERT_THREAD_NAME);
    ^
1 warning generated.

compiling BRCrypto.c successful.

compiling BRAddress.c successful.
In file included from /home/triguntu/breadwallet-core/Java/corenative/src/main/cpp/core/support/BRAddress.c:25:
/home/triguntu/breadwallet-core/Java/corenative/src/main/cpp/core/support/BRAddress.h:167:9: warning: implicit declaration of function 'strlcpy' is invalid in C99 [-Wimplicit-function-declaration]
        strlcpy (address.s, string, 75);
        ^
1 warning generated.

compiling BRPeer.c successful.
In file included from /home/triguntu/breadwallet-core/Java/corenative/src/main/cpp/core/bitcoin/BRPeer.c:25:
In file included from /home/triguntu/breadwallet-core/Java/corenative/src/main/cpp/core/bitcoin/BRPeer.h:28:
In file included from /home/triguntu/breadwallet-core/Java/corenative/src/main/cpp/core/bitcoin/BRTransaction.h:28:
In file included from /home/triguntu/breadwallet-core/Java/corenative/src/main/cpp/core/support/BRKey.h:28:
/home/triguntu/breadwallet-core/Java/corenative/src/main/cpp/core/support/BRAddress.h:167:9: warning: implicit declaration of function 'strlcpy' is invalid in C99 [-Wimplicit-function-declaration]
        strlcpy (address.s, string, 75);
        ^
1 warning generated.

compiling BRPeerManager.c successful.
In file included from /home/triguntu/breadwallet-core/Java/corenative/src/main/cpp/core/bitcoin/BRPeerManager.c:25:
In file included from /home/triguntu/breadwallet-core/Java/corenative/src/main/cpp/core/bitcoin/BRPeerManager.h:28:
In file included from /home/triguntu/breadwallet-core/Java/corenative/src/main/cpp/core/bitcoin/BRPeer.h:28:
In file included from /home/triguntu/breadwallet-core/Java/corenative/src/main/cpp/core/bitcoin/BRTransaction.h:28:
In file included from /home/triguntu/breadwallet-core/Java/corenative/src/main/cpp/core/support/BRKey.h:28:
/home/triguntu/breadwallet-core/Java/corenative/src/main/cpp/core/support/BRAddress.h:167:9: warning: implicit declaration of function 'strlcpy' is invalid in C99 [-Wimplicit-function-declaration]
        strlcpy (address.s, string, 75);
        ^
1 warning generated.

compiling BRKey.c successful.
In file included from /home/triguntu/breadwallet-core/Java/corenative/src/main/cpp/core/support/BRKey.c:25:
In file included from /home/triguntu/breadwallet-core/Java/corenative/src/main/cpp/core/support/BRKey.h:28:
/home/triguntu/breadwallet-core/Java/corenative/src/main/cpp/core/support/BRAddress.h:167:9: warning: implicit declaration of function 'strlcpy' is invalid in C99 [-Wimplicit-function-declaration]
        strlcpy (address.s, string, 75);
        ^
1 warning generated.

Finished compileCorecryptoSharedLibraryCorecryptoC, see full log file:///home/triguntu/breadwallet-core/Java/corenative-jre/build/tmp/compileCorecryptoSharedLibraryCorecryptoC/output.txt.

Any idea? Thanks a lot!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants