|
From: | Ivan Vučica |
Subject: | Re: libobjc2 on android |
Date: | Fri, 25 Sep 2015 13:23:10 +0100 |
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
[Prev in Thread] | Current Thread | [Next in Thread] |