./compile.sh getting erro in ubuntu 16.04 version
Android NDK: current module make: Entering directory
/home/nikhil/vlc-android/libvlc'
[armeabi-v7a] Gdbserver : [arm-linux-androideabi] libs/armeabi-v7a/gdbserver
[armeabi-v7a] Gdbsetup : libs/armeabi-v7a/gdb.setup
[armeabi-v7a] Compile thumb : vlc <= libvlcjni-modules.c
[armeabi-v7a] Compile thumb : vlc <= libvlcjni-symbols.c
[armeabi-v7a] Compile++ thumb: vlc <= dummy.cpp
[armeabi-v7a] Prebuilt : libc++_shared.so <= /sources/cxx-stl/llvm-libc++/libs/armeabi-v7a/
[armeabi-v7a] SharedLibrary : libvlc.so
[armeabi-v7a] Install : libvlc.so => libs/armeabi-v7a/libvlc.so
[armeabi-v7a] Compile thumb : vlcjni <= libvlcjni.c
[armeabi-v7a] Compile thumb : vlcjni <= libvlcjni-mediaplayer.c
[armeabi-v7a] Compile thumb : vlcjni <= libvlcjni-vlcobject.c
[armeabi-v7a] Compile thumb : vlcjni <= libvlcjni-media.c
[armeabi-v7a] Compile thumb : vlcjni <= libvlcjni-medialist.c
[armeabi-v7a] Compile thumb : vlcjni <= libvlcjni-mediadiscoverer.c
[armeabi-v7a] Compile thumb : vlcjni <= libvlcjni-dialog.c
[armeabi-v7a] Compile thumb : vlcjni <= thumbnailer.c
[armeabi-v7a] Compile thumb : vlcjni <= std_logger.c
[armeabi-v7a] SharedLibrary : libvlcjni.so
[armeabi-v7a] Install : libvlcjni.so => libs/armeabi-v7a/libvlcjni.so
[armeabi-v7a] Install : libc++_shared.so => libs/armeabi-v7a/libc++_shared.so
make: Leaving directory /home/nikhil/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/nikhil/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/nikhil/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/libcutils.c private_libs/../../android-libs/libui.c private_libs/../../android-libs/libbinder.c private_libs/../../android-libs/libutils.c
make: Leaving directory /home/nikhil/vlc-android/libvlc' ndk-build failed for private libs