Compile error with android 1.11.2 and NDK 13

Abu Abdullah falcon.sheep at gmail.com
Mon Mar 13 13:34:09 UTC 2017


after few attempts to solve the issue (ndk14 with version 1.11.2),
apparently the issue with "arm-linux-androideabi-gcc: error:
CreateProcess" is solved by just making sure that the NDK path is as
short as possible !

the error with "invalid linker name in argument '-fuse-ld=gold'" is
solved by replacing gold with gold.exe

another error appears after that:
Error:  E:/t/gstreamer-1.11.2/armv7/lib/libgstgl-1.0.a(libgstgl_1.0_la-gstglutils.o):
multiple definition of 'gst_gl_get_affine_transformation_meta_as_ndc'

adding "-Wl,--allow-multiple-definition" in the gstreamer-1.0.mk and
this issue disappeared as well.

another issue appears after that:
E:/t/ndk-r14/build//../toolchains/arm-linux-androideabi-4.9/prebuilt/windows-x86_64/lib/gcc/arm-linux-androideabi/4.9.x/../../../../arm-linux-androideabi/bin\ld.gold.exe:
error: conditional branch to PLT in THUMB-2 not supported yet.
libswresample/arm/audio_convert_neon.S:137: error: unexpected opcode
while processing relocation R_ARM_THM_JUMP19
clang.exe: error: linker command failed with exit code 1 (use -v to
see invocation)
make: *** [buildsharedlibrary_armeabi-v7a] Error 1

any advice is appreciated

On Thu, Mar 9, 2017 at 8:55 PM, Abu Abdullah <falcon.sheep at gmail.com> wrote:
> Hi,
>
> i have an issue with compiling
> gstreamer-1.0-android-universal-1.11.2/armv7   with NDK-13 in Windows
>
>
> clang.exe: error: invalid linker name in argument '-fuse-ld=gold'
> make: *** [buildsharedlibrary_armeabi-v7a] Error 1
>
>
> the last working environment for me was
> gstreamer-1.0-android-armv7-1.9.1 with NDK-12b
>
> i tried to compile 1.11.2 with NDK-12b but another error is thrown:
>
> arm-linux-androideabi-gcc: error: CreateProcess: No such file or directory
> make: *** [buildsharedlibrary_armeabi-v7a] Error 1
>
> the default compiler for NDK 13 and above is clang


More information about the gstreamer-devel mailing list