Android question (for porting EQL5 to that platform)

PR polos.ruetz at gmail.com
Sun Jun 25 17:25:10 UTC 2017


2017-06-25 18:20 GMT+02:00, PR <polos.ruetz at gmail.com>:
> - 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.
-------------- next part --------------
;;;   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



More information about the ecl-devel mailing list