Android compile issue
Posted: 28 Oct 2016 17:57
Hello,
i rey to clone again the android git to build the updated libvlc but i get this error:
What is wrong?
I am usind ndk 13
Thank you
i rey to clone again the android git to build the updated libvlc but i get this error:
Code: Select all
make: Leaving directory `/home/pecana/Android/cloni/VLC/vlc-android/libvlc'
Android NDK: WARNING:private_libs/Android.mk:anw.10: non-system libraries in linker flags: -lhardware
Android NDK: This is likely to result in incorrect builds. Try using LOCAL_STATIC_LIBRARIES
Android NDK: or LOCAL_SHARED_LIBRARIES instead to list the library dependencies of the
Android NDK: current module
Android NDK: WARNING:private_libs/Android.mk:anw.13: non-system libraries in linker flags: -lhardware
Android NDK: This is likely to result in incorrect builds. Try using LOCAL_STATIC_LIBRARIES
Android NDK: or LOCAL_SHARED_LIBRARIES instead to list the library dependencies of the
Android NDK: current module
Android NDK: WARNING:private_libs/Android.mk:anw.14: non-system libraries in linker flags: -lhardware
Android NDK: This is likely to result in incorrect builds. Try using LOCAL_STATIC_LIBRARIES
Android NDK: or LOCAL_SHARED_LIBRARIES instead to list the library dependencies of the
Android NDK: current module
Android NDK: WARNING:private_libs/Android.mk:anw.18: non-system libraries in linker flags: -lhardware
Android NDK: This is likely to result in incorrect builds. Try using LOCAL_STATIC_LIBRARIES
Android NDK: or LOCAL_SHARED_LIBRARIES instead to list the library dependencies of the
Android NDK: current module
Android NDK: WARNING:private_libs/Android.mk:anw.21: non-system libraries in linker flags: -lhardware
Android NDK: This is likely to result in incorrect builds. Try using LOCAL_STATIC_LIBRARIES
Android NDK: or LOCAL_SHARED_LIBRARIES instead to list the library dependencies of the
Android NDK: current module
Android NDK: WARNING:private_libs/Android.mk:iomx.10: non-system libraries in linker flags: -lgcc -lstagefright -lmedia -lutils -lbinder -lcutils -lui
Android NDK: This is likely to result in incorrect builds. Try using LOCAL_STATIC_LIBRARIES
Android NDK: or LOCAL_SHARED_LIBRARIES instead to list the library dependencies of the
Android NDK: current module
Android NDK: WARNING:private_libs/Android.mk:iomx.13: non-system libraries in linker flags: -lgcc -lstagefright -lmedia -lutils -lbinder -lcutils -lui
Android NDK: This is likely to result in incorrect builds. Try using LOCAL_STATIC_LIBRARIES
Android NDK: or LOCAL_SHARED_LIBRARIES instead to list the library dependencies of the
Android NDK: current module
Android NDK: WARNING:private_libs/Android.mk:iomx.14: non-system libraries in linker flags: -lgcc -lstagefright -lmedia -lutils -lbinder -lcutils -lui
Android NDK: This is likely to result in incorrect builds. Try using LOCAL_STATIC_LIBRARIES
Android NDK: or LOCAL_SHARED_LIBRARIES instead to list the library dependencies of the
Android NDK: current module
make: Entering directory `/home/pecana/Android/cloni/VLC/vlc-android/libvlc'
[armeabi-v7a] Compile thumb : anw.10 <= nativewindowpriv.c
/bin/sh: 1: Syntax error: "(" unexpected (expecting "done")
rm -f private_libs/../../android-libs/libstagefright.c && touch private_libs/../../android-libs/libstagefright.c
clang private_libs/../../android-libs/libstagefright.c -shared -o private_libs/../../android-libs/arm-linux-androideabi/libstagefright.so
/bin/sh: 1: Syntax error: "(" unexpected (expecting "done")
rm -f private_libs/../../android-libs/libmedia.c && touch private_libs/../../android-libs/libmedia.c
clang private_libs/../../android-libs/libmedia.c -shared -o private_libs/../../android-libs/arm-linux-androideabi/libmedia.so
/bin/sh: 1: Syntax error: "(" unexpected (expecting "done")
rm -f private_libs/../../android-libs/libutils.c && touch private_libs/../../android-libs/libutils.c
clang private_libs/../../android-libs/libutils.c -shared -o private_libs/../../android-libs/arm-linux-androideabi/libutils.so
/bin/sh: 1: Syntax error: "(" unexpected (expecting "done")
rm -f private_libs/../../android-libs/libcutils.c && touch private_libs/../../android-libs/libcutils.c
clang private_libs/../../android-libs/libcutils.c -shared -o private_libs/../../android-libs/arm-linux-androideabi/libcutils.so
/bin/sh: 1: Syntax error: "(" unexpected (expecting "done")
rm -f private_libs/../../android-libs/libbinder.c && touch private_libs/../../android-libs/libbinder.c
clang private_libs/../../android-libs/libbinder.c -shared -o private_libs/../../android-libs/arm-linux-androideabi/libbinder.so
/bin/sh: 1: Syntax error: "(" unexpected (expecting "done")
rm -f private_libs/../../android-libs/libui.c && touch private_libs/../../android-libs/libui.c
clang private_libs/../../android-libs/libui.c -shared -o private_libs/../../android-libs/arm-linux-androideabi/libui.so
/bin/sh: 1: Syntax error: "(" unexpected (expecting "done")
rm -f private_libs/../../android-libs/libhardware.c && touch private_libs/../../android-libs/libhardware.c
clang private_libs/../../android-libs/libhardware.c -shared -o private_libs/../../android-libs/arm-linux-androideabi/libhardware.so
[armeabi-v7a] SharedLibrary : libanw.10.so
/home/pecana/Android/cloni/VLC/vlc-android/vlc/modules/video_output/android/nativewindowpriv.c:122: error: undefined reference to 'hw_get_module'
clang++: error: linker command failed with exit code 1 (use -v to see invocation)
make: *** [private_libs/obj/local/armeabi-v7a/libanw.10.so] Error 1
rm private_libs/../../android-libs/libmedia.c private_libs/../../android-libs/libstagefright.c private_libs/../../android-libs/libhardware.c private_libs/../../android-libs/libbinder.c private_libs/../../android-libs/libcutils.c private_libs/../../android-libs/libui.c private_libs/../../android-libs/libutils.c
make: Leaving directory `/home/pecana/Android/cloni/VLC/vlc-android/libvlc'
ndk-build failed for private libs
I am usind ndk 13
Thank you