But I'm getting some errors I cannot find solutions.
When I try to compile (./compile.sh) after following every step i get an error:
Code: Select all
configure: creating ./config.status
config.status: creating Makefile
config.status: creating sqlite3.pc
config.status: executing depfiles commands
config.status: executing libtool commands
make: Nothing to be done for `all'.
-e \e[1m\e[36mCFLAGS: \e[0m
-e \e[1m\e[36mEXTRA_CFLAGS: -march=armv7-a -mfpu=vfpv3-d16 -mcpu=cortex-a8 -mthumb -mfloat-abi=softfp -MMD -MP -fpic -ffunction-sections -funwind-tables -fstack-protector-strong -Wno-invalid-command-line-argument -Wno-unused-command-line-argument -no-canonical-prefixes -fno-integrated-as\e[0m
-e \e[1m\e[32mBuilding medialibrary\e[0m
make all-am
make[1]: Entering directory `/home/trungth/Desktop/vlc-android/medialibrary/medialibrary/build-android-armeabi-v7a'
make[1]: Leaving directory `/home/trungth/Desktop/vlc-android/medialibrary/medialibrary/build-android-armeabi-v7a'
-e ndk-build medialibrary
Android NDK: WARNING:jni/Android.mk:mla: non-system libraries in linker flags: -lmedialibrary -lvlc -ljpeg -lsqlite3
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/trungth/Desktop/vlc-android/medialibrary'
[armeabi-v7a] Gdbserver : [arm-linux-androideabi] libs/armeabi-v7a/gdbserver
[armeabi-v7a] Gdbsetup : libs/armeabi-v7a/gdb.setup
[armeabi-v7a] SharedLibrary : libmla.so
/home/trungth/Android/Sdk/ndk-bundle/toolchains/arm-linux-androideabi-4.9/prebuilt/linux-x86_64/lib/gcc/arm-linux-androideabi/4.9.x/../../../../arm-linux-androideabi/bin/ld: error: cannot find -lmedialibrary
jni/AndroidMediaLibrary.cpp:26: error: undefined reference to 'NewMediaLibrary'
clang++: error: linker command failed with exit code 1 (use -v to see invocation)
make: *** [jni/obj/local/armeabi-v7a/libmla.so] Error 1
make: Leaving directory `/home/trungth/Desktop/vlc-android/medialibrary'
ndk-build failed