lubomyr / uae4arm

amiga emulator (android port)
GNU General Public License v2.0
61 stars 9 forks source link

How to compile last version #18

Closed DURANDRomain closed 5 years ago

DURANDRomain commented 5 years ago

Hi

I want to compile the last version to see if it works on AndroidTV (the emulator starts, but it waits to insert a disk, same with all amiga configurations, with adf or whd).

Im starting to set up a compilation environnent with Debian 10 (Buster), and openjdk-8 is not available, im installing openjdk-11. Do I have a chance to compile ?

Any advice on how to make UAE4ARM work on AndroidTV (pie) ?

lubomyr commented 5 years ago

Hi, Yes, can try to use any available openjdk

сб, 17 серп. 2019 о 13:40 DURANDRomain notifications@github.com пише:

Hi

I want to compile the last version to see if it works on AndroidTV (the emulator starts, but it waits to insert a disk, same with all amiga configurations, with adf or whd).

Im starting to set up a compilation environnent with Debian 10 (Buster), and openjdk-8 is not available, im installing openjdk-11. Do I have a chance to compile ?

— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/lubomyr/uae4arm/issues/18?email_source=notifications&email_token=AADSPVQ66KCHB4Y6IRU7UMDQE7ITPA5CNFSM4IMPBADKYY3PNVWWK3TUL52HS4DFUVEXG43VMWVGG33NNVSW45C7NFSM4HFYZU6Q, or mute the thread https://github.com/notifications/unsubscribe-auth/AADSPVUH77QDFUER2B6FZYTQE7ITPANCNFSM4IMPBADA .

DURANDRomain commented 5 years ago

Ok so I got:

Android NDK: ERROR:jni/../jni/charset/Android.mk:charset: LOCAL_SRC_FILES points to a missing file
Android NDK: Check that jni/../jni/charset/lib/armeabi-v7a/libcharset.so exists  or that its path is correct
/root/Android/android-ndk-r17b/build/core/prebuilt-library.mk:45: *** Android NDK: Aborting    .  Stop.

If I launch build.sh in ~/androidsdl/project/jni/charset/src I get:

checking whether the C compiler works... no
configure: error: in `/root/androidsdl/project/jni/charset/src/arm64-v8a/libiconv-1.15':
configure: error: C compiler cannot create executables
See `config.log' for more details
+ exit 1

Looking for libcharset.so:

root@androidCompilator:~/androidsdl# ls project/jni/charset/
Android.mk  src
root@androidCompilator:~/androidsdl# locate libcharset.so

I also tried:

apt-get install --reinstall build-essential apt-get install --reinstall gcc dpkg-reconfigure build-essential dpkg-reconfigure gcc

Anyway, the version that is now on playstore DO work with my low cost androidtv box. The problem seems to come from my adf files: there are ALL corrupted !!! ^^ I managed to boot from a freshly downloaded adf ! Looks like there was a problem while extracting my adf files... Thanks for the help. And thank you very much for this piece of software (and few others :D).