[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: libobjc2 on android
From: |
Germán Arias |
Subject: |
Re: libobjc2 on android |
Date: |
Fri, 25 Sep 2015 21:17:47 -0600 |
I am not using the scripts, just guided me in the instructions they
contain. And yes, I'm using libobjc2 from github. Anyway, I found the
problem. I made a mistake when change the file
"android.toolchain.cmake". But now I have other problem when compiling
gnustep-base. I will open a new thread, because this is not related with
libobjc2.
Thanks
Germán
El vie, 25-09-2015 a las 13:23 +0100, Ivan Vučica escribió:
> Where did ${CMAKE_C_FLAGS} come from?
> There is not a single version of instructions; which ones are you
> using?
>
>
> This set of scripts has had the most recent updates in 2014:
> https://bitbucket.org/ivucica/gnustep-android
> If this is broken, you may want to try hardcoding a revision of
> GNUstep and libobjc2 near the time of the release of the instructions,
> and then incrementally update.
>
>
> Note that none of my build scripts are using libobjc2 on Github, which
> is (to my understanding -- David, please correct me if I am wrong) the
> canonical way to obtain the library these days.
>
> On Fri, Sep 25, 2015 at 2:56 AM, Germán Arias <germanandre@gmx.es>
> wrote:
> Trying to build libobjc2 on android, with Ivan Vučica
> instructions, but
> using a recent libobjc2, sdk and ndk, I get this error and
> googling
> don't help me:
>
>
> Linking C shared library libobjc.so
> /usr/local/bin/cmake -E cmake_link_script
> CMakeFiles/objc.dir/link.txt
> --verbose=y
>
> /home/german/Instalados/android-toolchains/my-android-toolchain/bin/clang36
> -fPIC -std=gnu99 -integrated-as ${CMAKE_C_FLAGS} -fexceptions
> -Wl,-allow-shlib-undefined -Wl,--gc-sections -Wl,-z,noexecstack -Wl,-z,relro
> -Wl,-z,now -shared -Wl,-soname,libobjc.so -o libobjc.so
> CMakeFiles/objc.dir/abi_version.c.o CMakeFiles/objc.dir/alias_table.c.o
> CMakeFiles/objc.dir/block_to_imp.c.o CMakeFiles/objc.dir/caps.c.o
> CMakeFiles/objc.dir/category_loader.c.o CMakeFiles/objc.dir/class_table.c.o
> CMakeFiles/objc.dir/dtable.c.o CMakeFiles/objc.dir/eh_personality.c.o
> CMakeFiles/objc.dir/encoding2.c.o CMakeFiles/objc.dir/hash_table.c.o
> CMakeFiles/objc.dir/hooks.c.o CMakeFiles/objc.dir/ivar.c.o
> CMakeFiles/objc.dir/legacy_malloc.c.o CMakeFiles/objc.dir/loader.c.o
> CMakeFiles/objc.dir/mutation.m.o CMakeFiles/objc.dir/protocol.c.o
> CMakeFiles/objc.dir/runtime.c.o CMakeFiles/objc.dir/sarray2.c.o
> CMakeFiles/objc.dir/selector_table.c.o CMakeFiles/objc.dir/sendmsg2.c.o
> CMakeFiles/objc.dir/statics_loader.c.o CMakeFiles/objc.dir/toydispatch.c.o
> CMakeFiles/objc.dir/block_trampolines.S.o
> CMakeFiles/objc.dir/objc_msgSend.S.o CMakeFiles/objc.dir/NSBlocks.m.o
> CMakeFiles/objc.dir/Protocol2.m.o CMakeFiles/objc.dir/arc.m.o
> CMakeFiles/objc.dir/associate.m.o CMakeFiles/objc.dir/blocks_runtime.m.o
> CMakeFiles/objc.dir/properties.m.o CMakeFiles/objc.dir/gc_none.c.o
> -L/home/german/Instalados/android-toolchains/gs-install/libs/armeabi
> "/home/german/Instalados/android-toolchains/my-android-toolchain/arm-linux-androideabi/lib/thumb/libsupc++.a"
> clang36: error: no such file or directory: '${CMAKE_C_FLAGS}'
> make[3]: *** [libobjc.so] Error 1
> make[3]: se sale del directorio
>
> «/home/german/Instalados/android-toolchains/source/libobjc2-master/build»
> make[2]: *** [CMakeFiles/objc.dir/all] Error 2
> make[2]: se sale del directorio
>
> «/home/german/Instalados/android-toolchains/source/libobjc2-master/build»
> make[1]: *** [CMakeFiles/objc.dir/rule] Error 2
> make[1]: se sale del directorio
>
> «/home/german/Instalados/android-toolchains/source/libobjc2-master/build»
> make: *** [objc] Error 2
>
> The path
> "/home/german/Instalados/android-toolchains/gs-install/libs/armeabi",
> don't exist. But I'm trying to install it at
> "/home/german/Instalados/android-toolchains/gs-install/".
>
> Any suggestion? Thanks
>
> Germán
>
>
>
> _______________________________________________
> Discuss-gnustep mailing list
> Discuss-gnustep@gnu.org
> https://lists.gnu.org/mailman/listinfo/discuss-gnustep
>
>