-
Notifications
You must be signed in to change notification settings - Fork 143
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
Compiling Problem #232
Comments
This may be related to Ubuntu bug #1939379 (I assume you're using Ubuntu here). Can you try modifying the makefile for the native libraries to pass diff --git a/src/main/c/Makefile b/src/main/c/Makefile
index d7c5a39..56b2b82 100644
--- a/src/main/c/Makefile
+++ b/src/main/c/Makefile
@@ -164,8 +164,8 @@ arm32v7:
# Requires gcc-arm-linux-gnueabihf.
arm32v7HF: export CC := arm-linux-gnueabihf-gcc
-arm32v7HF: export CFLAGS += $(LINUX_CFLAGS) -march=armv7-a
-arm32v7HF: export LDFLAGS += -march=armv7-a
+arm32v7HF: export CFLAGS += $(LINUX_CFLAGS) -march=armv7-a+fp
+arm32v7HF: export LDFLAGS += -march=armv7-a+fp
arm32v7HF: export platform := linux/ARM_32
arm32v7HF: export variant := v7_HF
arm32v7HF: |
thank you very much for the advice, yes , exactly , I have kubuntu 22.10, I did as you said and now it continues without that error, but it gives another one.
|
I tried, searching on the internet, to modify
with
now continues but |
You probably need to add nrjavaserial/src/main/c/Makefile Lines 194 to 195 in e897e39
|
I had already tried -march=armv8-a+fp and it gave me error, so after searching on the web I put arm32v8HF: export LDFLAGS += -with-arch=armv8-a+fp and it worked. |
|
i solved, i had java 17 , i put java 11 and all went well. |
The text was updated successfully, but these errors were encountered: