Re: Android question (for porting EQL5 to that platform)

PR <[email protected]>
Newsgroups gmane.lisp.ecl.general
Message-ID <CAOJeB-Bcc2-4h59KT7OdY2TxKKuBA5wB+piJKY-Y68WK3RYRxg@mail.gmail.com>
2017-06-25 18:20 GMT+02:00, PR <[email protected]>:
> - building ECL for android only works with NDK r9 (which is really old
> already)

Providing more info: attached you find the point where it's bailing
out trying to build with NDK r15.
ECL-android-NDK-r15-error.txt (text/plain, 2.4 KB)
;;;   Invoking external command:
;;;   arm-linux-androideabi-gcc -I. -I/home/polos/ecl/ecl-android/build/ --sysroot=/home/polos/android/android-ndk-r15/platforms/android-9/arch-arm -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -DPLATFORM_ANDROID -DUSE_GET_STACKBASE_FOR_MAIN -DIGNORE_DYNAMIC_LOADING -g -O2 -fPIC -D_THREAD_SAFE -Dandroid -I/home/polos/ecl/ecl-android/src/c -c eclinitLGazpj.c -o eclinitLGazpj.o 
;;; Note:
;;;   Invoking external command:
;;;   arm-linux-androideabi-gcc -o bin/ecl -L/home/polos/ecl/ecl-android/build/ /home/polos/ecl/ecl-android/build/eclinitLGazpj.o -L./ -Wl,--rpath,/home/polos/ecl/ecl-android/ecl-android/lib/ --sysroot=/home/polos/android/android-ndk-r15/platforms/android-9/arch-arm libecl.so -ldl -lm 
Condition of type: SIMPLE-ERROR
Error code 1 when executing
(SI:RUN-PROGRAM-INNER "arm-linux-androideabi-gcc" ("-o" "bin/ecl" "-L/home/polos/ecl/ecl-android/build/" "/home/polos/ecl/ecl-android/build/eclinitLGazpj.o" "-L./" "-Wl,--rpath,/home/polos/ecl/ecl-android/ecl-android/lib/" "--sysroot=/home/polos/android/android-ndk-r15/platforms/android-9/arch-arm" "libecl.so" "-ldl" "-lm") NIL)

Available restarts:

1. (CONTINUE) Continues anyway.

Top level in: #<process TOP-LEVEL>.
> :c

(#P"package-locks.asd" #P"package-locks.fas" #P"libpackage-locks.a" #P"rt.asd" #P"rt.fas" #P"librt.a" #P"ecl-quicklisp.asd" #P"ecl-quicklisp.fas" #P"libecl-quicklisp.a" #P"deflate.asd" #P"deflate.fas" #P"libdeflate.a" #P"ql-minitar.asd" #P"ql-minitar.fas" #P"libql-minitar.a" #P"ecl-curl.asd" #P"ecl-curl.fas" #P"libecl-curl.a" #P"serve-event.asd" #P"serve-event.fas" #P"libserve-event.a" #P"sb-bsd-sockets.asd" #P"sb-bsd-sockets.fas" #P"libsb-bsd-sockets.a" #P"sockets.asd" #P"sockets.fas" #P"libsockets.a" #P"profile.asd" #P"profile.fas" #P"libprofile.a" #P"prebuilt-asdf.asd" #P"asdf.fas" #P"libasdf.a" #P"defsystem.asd" #P"defsystem.fas" #P"libdefsystem.a" #P"ecl-help.asd" #P"ecl-help.fas" #P"libecl-help.a" #P"ecl-cdb.asd" #P"ecl-cdb.fas" #P"libecl-cdb.a" #P"cmp.asd" #P"cmp.fas" #P"libcmp.a") make[1]: Leaving directory '/home/polos/ecl/ecl-android/build'
cd build; make install
make[1]: Entering directory '/home/polos/ecl/ecl-android/build'
/usr/bin/install: cannot stat 'bin/ecl': No such file or directory
Makefile:188: recipe for target 'install' failed
make[1]: *** [install] Error 1
make[1]: Leaving directory '/home/polos/ecl/ecl-android/build'
Makefile:86: recipe for target 'install' failed
make: *** [install] Error 2
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.