the most recent version of the git://git.videolan.org/vlc-ports/android.git source code compiles and builds the necessary JNI libs (libvlcjni.so etc.) when we set ANDROID_ABI=armeabi-v7a
Whenever we set ANDROID_ABI=x86 no JNI libs are built. No error message visible. the compile.sh Script finishes by:
Code: Select all
----------------------------------------------------------------------
Libraries have been installed in:
/Users/sappel/projects/vlc.android/android/vlc/contrib/i686-linux-android/lib
If you ever happen to want to link against installed libraries
in a given directory, LIBDIR, you must either use libtool, and
specify the full pathname of the library, or use the `-LLIBDIR'
flag during linking and do at least one of the following:
- add LIBDIR to the `LD_LIBRARY_PATH' environment variable
during execution
- add LIBDIR to the `LD_RUN_PATH' environment variable
during linking
- use the `-Wl,-rpath -Wl,LIBDIR' linker flag
See any operating system documentation about shared libraries for
more information, such as the ld(1) and ld.so(8) manual pages.
----------------------------------------------------------------------
make[3]: Nothing to be done for `install-exec-am'.
./install-sh -c -d '/Users/sappel/projects/vlc.android/android/vlc/contrib/i686-linux-android/lib/pkgconfig'
/usr/bin/install -c -m 644 libass.pc '/Users/sappel/projects/vlc.android/android/vlc/contrib/i686-linux-android/lib/pkgconfig'
touch .ass
cd libmatroska && /Applications/Xcode.app/Contents/Developer/usr/bin/make -C make/linux install_staticlib install_headers prefix="/Users/sappel/projects/vlc.android/android/vlc/contrib/i686-linux-android" CC="i686-linux-android-gcc --sysroot=/Users/sappel/android-ndk-r10c/platforms/android-9/arch-x86" CXX="i686-linux-android-g++ --sysroot=/Users/sappel/android-ndk-r10c/platforms/android-9/arch-x86" LD="i686-linux-android-ld" AR="i686-linux-android-ar" CCAS="i686-linux-android-gcc --sysroot=/Users/sappel/android-ndk-r10c/platforms/android-9/arch-x86 -c" RANLIB="i686-linux-android-ranlib" STRIP="i686-linux-android-strip" PATH="/Users/sappel/projects/vlc.android/android/vlc/contrib/i686-linux-android/bin:/Users/sappel/projects/vlc.android/android/vlc/extras/tools/build/bin:/Users/sappel/projects/vlc.android/android/vlc/extras/tools/build/bin:/Users/sappel/android-ndk-r10c/toolchains/x86-4.8/prebuilt/darwin-x86_64/bin:/sw/bin:/sw/sbin:/usr/local/bin:/usr/bin:/opt/local/bin:/opt/local/sbin:/usr/bin:/bin:/usr/sbin:/sbin:/usr/local/bin:/usr/local/mysql/bin:/opt/X11/bin:/Users/sappel/android-sdk-mac_x86/platform-tools:/Users/sappel/android-sdk-mac_x86/tools:/Users/sappel/android-ndk-r10c:/Users/sappel/projects/vlc.android/android/vlc/contrib/contrib-android-i686-linux-android/../i686-linux-android/bin" CPPFLAGS=" -g -march=pentium -m32 -O2 -I/Users/sappel/android-ndk-r10c/sources/cxx-stl/gnu-libstdc++/4.8/include -I/Users/sappel/android-ndk-r10c/sources/cxx-stl/gnu-libstdc++/4.8/libs/x86/include -I/Users/sappel/projects/vlc.android/android/vlc/contrib/i686-linux-android/include" CFLAGS=" -g -march=pentium -m32 -O2 -I/Users/sappel/android-ndk-r10c/sources/cxx-stl/gnu-libstdc++/4.8/include -I/Users/sappel/android-ndk-r10c/sources/cxx-stl/gnu-libstdc++/4.8/libs/x86/include -I/Users/sappel/projects/vlc.android/android/vlc/contrib/i686-linux-android/include -g" CXXFLAGS=" -g -march=pentium -m32 -O2 -I/Users/sappel/android-ndk-r10c/sources/cxx-stl/gnu-libstdc++/4.8/include -I/Users/sappel/android-ndk-r10c/sources/cxx-stl/gnu-libstdc++/4.8/libs/x86/include -I/Users/sappel/projects/vlc.android/android/vlc/contrib/i686-linux-android/include -g" LDFLAGS=" -L/Users/sappel/android-ndk-r10c/sources/cxx-stl/gnu-libstdc++/4.8/libs/x86 -lgnustl_static -L/Users/sappel/projects/vlc.android/android/vlc/contrib/i686-linux-android/lib"
install -m 755 -d /Users/sappel/projects/vlc.android/android/vlc/contrib/i686-linux-android/lib
install -m 644 libmatroska.a /Users/sappel/projects/vlc.android/android/vlc/contrib/i686-linux-android/lib
install -m 755 -d /Users/sappel/projects/vlc.android/android/vlc/contrib/i686-linux-android/include/matroska
for i in /Users/sappel/projects/vlc.android/android/vlc/contrib/contrib-android-i686-linux-android/libmatroska/make/linux/../../matroska/*.h; do \
install -m 644 $i /Users/sappel/projects/vlc.android/android/vlc/contrib/i686-linux-android/include/matroska ; \
done
install -m 755 -d /Users/sappel/projects/vlc.android/android/vlc/contrib/i686-linux-android/include/matroska/c
for i in /Users/sappel/projects/vlc.android/android/vlc/contrib/contrib-android-i686-linux-android/libmatroska/make/linux/../../matroska/c/*.h; do \
install -m 644 $i /Users/sappel/projects/vlc.android/android/vlc/contrib/i686-linux-android/include/matroska/c ; \
done
i686-linux-android-ranlib "/Users/sappel/projects/vlc.android/android/vlc/contrib/i686-linux-android/lib/libmatroska.a"
touch .matroska
Best regards,
Sascha