Code: Select all
make[1]: Leaving directory `/home/pgjensen/vlc-android/extras/package/android/vlc-android'
=== Building APK ==
[echo] Creating output directories if needed...
[echo] Compiling aidl files into Java classes...
[echo] Compiling RenderScript files into Java classes and RenderScript bytecode...
[echo] Generating R.java / Manifest.java from the resources...
[javac] /home/pgjensen/android-sdk/tools/ant/main_rules.xml:384: warning: 'includeantruntime' was not set, defaulting to build.sysclasspath=last; set to false for repeatable builds
[javac] /home/pgjensen/vlc-android/extras/package/android/vlc-android/src/vlc/android/SurfaceCallback.java:13: method does not override a method from its superclass
[javac] @Override
[javac] ^
[javac] /home/pgjensen/vlc-android/extras/package/android/vlc-android/src/vlc/android/SurfaceCallback.java:18: method does not override a method from its superclass
[javac] @Override
[javac] ^
[javac] /home/pgjensen/vlc-android/extras/package/android/vlc-android/src/vlc/android/SurfaceCallback.java:24: method does not override a method from its superclass
[javac] @Override
[javac] ^
[javac] Note: /home/pgjensen/vlc-android/extras/package/android/vlc-android/src/vlc/android/Vout.java uses or overrides a deprecated API.
[javac] Note: Recompile with -Xlint:deprecation for details.
[javac] 3 errors
BUILD FAILED
/home/pgjensen/android-sdk/tools/ant/main_rules.xml:384: Compile failed; see the compiler error output for details.
Total time: 1 second
make: *** [vlc-android/bin/VLC-debug.apk] Error 1
I am building this for the first time and followed the steps above, but am getting the following error
Code: Select all
make[1]: Leaving directory `/home/pgjensen/vlc-android/extras/package/android/vlc-android' === Building APK == [echo] Creating output directories if needed... [echo] Compiling aidl files into Java classes... [echo] Compiling RenderScript files into Java classes and RenderScript bytecode... [echo] Generating R.java / Manifest.java from the resources... [javac] /home/pgjensen/android-sdk/tools/ant/main_rules.xml:384: warning: 'includeantruntime' was not set, defaulting to build.sysclasspath=last; set to false for repeatable builds [javac] /home/pgjensen/vlc-android/extras/package/android/vlc-android/src/vlc/android/SurfaceCallback.java:13: method does not override a method from its superclass [javac] @Override [javac] ^ [javac] /home/pgjensen/vlc-android/extras/package/android/vlc-android/src/vlc/android/SurfaceCallback.java:18: method does not override a method from its superclass [javac] @Override [javac] ^ [javac] /home/pgjensen/vlc-android/extras/package/android/vlc-android/src/vlc/android/SurfaceCallback.java:24: method does not override a method from its superclass [javac] @Override [javac] ^ [javac] Note: /home/pgjensen/vlc-android/extras/package/android/vlc-android/src/vlc/android/Vout.java uses or overrides a deprecated API. [javac] Note: Recompile with -Xlint:deprecation for details. [javac] 3 errors BUILD FAILED /home/pgjensen/android-sdk/tools/ant/main_rules.xml:384: Compile failed; see the compiler error output for details. Total time: 1 second make: *** [vlc-android/bin/VLC-debug.apk] Error 1
any ideas? **update** commenting out the Overrides built the apk
Code: Select all
make[4]: Leaving directory `/home/mike/code/vlc-android/extras/contrib/build-src/lame'
make[3]: Leaving directory `/home/mike/code/vlc-android/extras/contrib/build-src/lame'
make[2]: Leaving directory `/home/mike/code/vlc-android/extras/contrib/build-src/lame'
touch .lame
echo "ffmpeg snapshot is too old, you MUST use subversion !"
ffmpeg snapshot is too old, you MUST use subversion !
exit -1
exit: 1: Illegal number: -1
make[1]: *** [ffmpeg-0.4.8.tar.gz] Error 2
make[1]: Leaving directory `/home/mike/code/vlc-android/extras/contrib/build-src'
make: *** [using-src] Error 2
Code: Select all
~/BUILDS/vlc-android/extras/package/android$ VLC_BUILD_DIR=../../../build VLC_CONTRIB=../../contrib make
=== Creating Android.mk ===
=== Building libvlcjni ===
make[1]: Entering directory `/home/marc/BUILDS/vlc-android/extras/package/android/vlc-android'
Compile thumb : vlcjni <= libvlcjni.c
Compile thumb : vlcjni <= vout.c
Compile thumb : vlcjni <= aout.c
Compile thumb : vlcjni <= thumbnailer.c
SharedLibrary : libvlcjni.so
../../../../build/modules/misc/dummy/.libs/libdummy_plugin.a(libdummy_plugin_la-decoder.o): In function `CloseDecoder':
/home/marc/BUILDS/vlc-android/build/modules/misc/dummy/../../../../modules/misc/dummy/decoder.c:159: multiple definition of `CloseDecoder'
../../../../build/modules/misc/stats/.libs/libstats_plugin.a(libstats_plugin_la-decoder.o):/home/marc/BUILDS/vlc-android/build/modules/misc/stats/../../../../modules/misc/stats/decoder.c:106: first defined here
../../../../build/modules/misc/dummy/.libs/libdummy_plugin.a(libdummy_plugin_la-decoder.o): In function `OpenDecoder':
/home/marc/BUILDS/vlc-android/build/modules/misc/dummy/../../../../modules/misc/dummy/decoder.c:120: multiple definition of `OpenDecoder'
../../../../build/modules/misc/stats/.libs/libstats_plugin.a(libstats_plugin_la-decoder.o):/home/marc/BUILDS/vlc-android/build/modules/misc/stats/../../../../modules/misc/stats/decoder.c:45: first defined here
/home/marc/android-ndk-r5b/toolchains/arm-linux-androideabi-4.4.3/prebuilt/linux-x86/bin/../lib/gcc/arm-linux-androideabi/4.4.3/../../../../arm-linux-androideabi/bin/ld: cannot find -logg
collect2: ld returned 1 exit status
make[1]: *** [/home/marc/BUILDS/vlc-android/extras/package/android/vlc-android/obj/local/armeabi/libvlcjni.so] Error 1
make[1]: Leaving directory `/home/marc/BUILDS/vlc-android/extras/package/android/vlc-android'
make: *** [vlc-android/libs/armeabi/libvlcjni.so] Error 2
Code: Select all
...
... (snipping the above)
...
patch -p0 < Patches/speex.patch
patching file speex/Makefile.am
patching file speex/Makefile.in
Hunk #1 succeeded at 213 (offset 19 lines).
rm -rf faad2 || true
gunzip -c faad2-2.7.tar.gz | tar xf - --exclude='[*?:<>\|]'
mv faad2-2.7 faad2 || true
touch faad2
(cd faad2; echo|arm-linux-androideabi-gcc --sysroot=/home/ting/Android/android-ndk-r5b//platforms/android-9/arch-arm -iquote . -E - || sed -i 's/-iquote /-I/' libfaad/Makefile.am; autoreconf -ivf)
/bin/sh: arm-linux-androideabi-gcc: not found
+ test yes = yes
+ automake-1.11 --foreign --add-missing --copy
autoreconf: Entering directory `.'
autoreconf: configure.in: not using Gettext
configure.ac:12: installing `.auto/config.guess'
configure.ac:12: installing `.auto/config.sub'
configure.ac:14: installing `.auto/install-sh'
configure.ac:14: installing `.auto/missing'
doc/Makefile.am: installing `.auto/depcomp'
+ rm -Rf autom4te.cache
rm -rf lame || true
gunzip -c lame-3.98.4.tar.gz | tar xf - --exclude='[*?:<>\|]'
mv lame-3.98.4 lame || true
touch lame
(cd ffmpeg; CC="arm-linux-androideabi-gcc --sysroot=/home/ting/Android/android-ndk-r5b//platforms/android-9/arch-arm" CXX="arm-linux-androideabi-g++ --sysroot=/home/ting/Android/android-ndk-r5b//platforms/android-9/arch-arm" LD="arm-linux-androideabi-ld" RANLIB="arm-linux-androideabi-ranlib" AR="arm-linux-androideabi-ar" STRIP="arm-linux-androideabi-strip" ./configure --prefix=/home/ting/Android/vlc-android/extras/contrib/hosts/arm-eabi --extra-cflags="--std=gnu99 -mfloat-abi=softfp -mfpu=neon -DHAVE_STDINT_H" --extra-ldflags="-L/home/ting/Android/vlc-android/extras/contrib/hosts/arm-eabi/lib -Wl,-rpath-link=/home/ting/Android/android-ndk-r5b//platforms/android-9/arch-arm/usr/lib,-Bdynamic,-dynamic-linker=/system/bin/linker -Wl,--no-undefined -L/home/ting/Android/android-ndk-r5b//platforms/android-9/arch-arm/usr/lib" --disable-doc --disable-decoder=libvpx --enable-cross-compile --cross-prefix=arm-linux-androideabi- --arch=armv6 --disable-encoders --disable-muxers --cc="arm-linux-androideabi-gcc --sysroot=/home/ting/Android/android-ndk-r5b//platforms/android-9/arch-arm" --target-os=linux --enable-pic --enable-pthreads --cpu=cortex-a8 --disable-debug --enable-gpl --enable-postproc --disable-ffprobe --disable-ffserver --disable-ffmpeg --disable-ffplay --disable-devices --disable-protocols --disable-avfilter --disable-network --disable-shared --enable-static && make && make install-libs install-headers)
arm-linux-androideabi-gcc --sysroot=/home/ting/Android/android-ndk-r5b//platforms/android-9/arch-arm is unable to create an executable file.
C compiler test failed.
If you think configure made a mistake, make sure you are using the latest
version from SVN. If the latest version fails, report the problem to the
ffmpeg-user@mplayerhq.hu mailing list or IRC #ffmpeg on irc.freenode.net.
Include the log file "config.log" produced by configure as this will help
solving the problem.
make[1]: *** [.ffmpeg] Error 1
make[1]: *** Waiting for unfinished jobs....
autoreconf: running: aclocal -I/home/ting/Android/vlc-android/extras/contrib/hosts/arm-eabi/share/aclocal --force
autoreconf: configure.in: tracing
autoreconf: running: libtoolize --install --copy --force
libtoolize: putting auxiliary files in AC_CONFIG_AUX_DIR, `.'.
libtoolize: copying file `./config.guess'
libtoolize: copying file `./config.sub'
libtoolize: copying file `./install-sh'
libtoolize: copying file `./ltmain.sh'
libtoolize: Consider adding `AC_CONFIG_MACRO_DIR([m4])' to configure.in and
libtoolize: rerunning libtoolize, to keep the correct libtool macros in-tree.
libtoolize: Consider adding `-I m4' to ACLOCAL_AMFLAGS in Makefile.am.
autoreconf: running: /usr/bin/autoconf --force
autoreconf: running: /usr/bin/autoheader --force
autoreconf: running: automake --add-missing --copy --force-missing
autoreconf: Leaving directory `.'
patch -p0 < Patches/faad-arm-fixed.patch
patching file faad2/libfaad/common.h
make[1]: Leaving directory `/home/ting/Android/vlc-android/extras/contrib/build-src'
make: *** [using-src] Error 2
ting@ubuntu-virtual-machine:~/Android/vlc-android/extras/contrib$
Return to “VLC media player for Linux and friends Troubleshooting”
Users browsing this forum: No registered users and 29 guests