-
selsta
.merge+ 3110
-
xmr-pr
Added
-
selsta
.merge+ 3111
-
xmr-pr
Added
-
selsta
.merge+ 3091
-
xmr-pr
Added
-
takel
hello
-
takel
i have some time now a unresolved error
paste.debian.net/1164813
-
takel
is happening with ndk21 for android
-
takel
if i compile with ndk17 everything work fine
-
moneromooo
Do you have such a file (generate_translations_header) ? Is it in . from wherever is tries to find it ? What is its type (file command) ?
-
moneromooo
Does it have x permissions ? What is the arch of the system running it ?
-
moneromooo
x permissions for the user running it.
-
moneromooo
The "ELF...." spam hints it's a binary not for the current arch or something like tha.
-
takel
the arch is aarch64 android
-
takel
the most strange is that with ndk 17 compiles fine
-
takel
with ndk21 spawn this error
-
takel
compile on docker
-
takel
-
takel
this is the file
-
moneromooo
No, this is most likely the source from which the file is generated.
-
moneromooo
The file has no ".c" suffix if you look well.
-
takel
is compiled and create a binary
-
takel
on makefile there is a difference about compiling this code from other monero code
-
takel
there is no cc cxx defines
-
takel
-
takel
line 130 ,131
-
takel
i checked binary created on successful compiled version and is ELF 64-bit LSB shared object, x86-64
-
takel
not arm64-v8a as other monero code is
-
takel
i'm trying to compile arm64-v8a and trying to integrate x86-64 binary
-
takel
this is the issue
-
takel
moneromooo some suggestion on what to do
-
moneromooo
Yes, look for the answer to my questions.
-
moneromooo
Permissions.
-
moneromooo
And: "the arch is aarch64 android" vs "ELF 64-bit LSB shared object, x86-64"
-
moneromooo
If you run on aarch64, it can't be x86_64.
-
takel
yes but with ndk17 everything works !
-
takel
with latest ndk21 happen all this
-
takel
any the guy that created makefile didnt define cc for translations folder
-
takel
i did a chmod -R 777 translations but didnt work
-
moneromooo
Then try with ndk17, check whether that binary is x86_64 or other.
-
takel
i told u that binary is x86_64
-
moneromooo
Sorry, I assumed it was for ndk21.
-
moneromooo
I dunno then.
-
takel
yes with ndk17 binary is x86_64
-
takel
with ndk21 is not possible
-
moneromooo
Maybe the build system just doesn't run it at all on ndk17.
-
takel
maybe because cc is not defined for translation files but only for the rest of monero code
-
takel
check 130,131 lines of makefile
-
moneromooo
cc as in C compiler ?
-
takel
yes
-
moneromooo
That sounds like a good guess, yes.
-
takel
but i cant understand how is integrated on ndk17 and not on ndk21
-
takel
i defined cc aarch64 for translation files too but still same error