Page 1 of 1
vlc-android build error
Posted: 18 Mar 2011 06:30
by playing
this is my error message
administrator@ubuntu:~/code/vlc-android/vlc-android/extras/package/android$ VLC_BUILD_DIR=~/code/vlc-android/vlc-android/builddir VLC_CONTRIB=~/code/vlc-android/vlc-android/extras/contrib/build make
=== Building libvlcjni ===
make[1]: Entering directory `/home/administrator/code/vlc-android/vlc-android/extras/package/android/vlc-android'
SharedLibrary : libvlcjni.so
/home/administrator/code/vlc-android/vlc-android/builddir/modules/codec/.libs/libdirac_plugin.a(libdirac_plugin_la-dirac.o): In function `CloseEncoder':
/home/administrator/code/vlc-android/vlc-android/builddir/modules/codec/../../../modules/codec/dirac.c:971: undefined reference to `dirac_encoder_close'
/home/administrator/code/vlc-android/vlc-android/builddir/modules/codec/.libs/libdirac_plugin.a(libdirac_plugin_la-dirac.o): In function `Encode':
/home/administrator/code/vlc-android/vlc-android/builddir/modules/codec/../../../modules/codec/dirac.c:844: undefined reference to `dirac_encoder_load'
/home/administrator/code/vlc-android/vlc-android/builddir/modules/codec/../../../modules/codec/dirac.c:887: undefined reference to `dirac_encoder_output'
/home/administrator/code/vlc-android/vlc-android/builddir/modules/codec/../../../modules/codec/dirac.c:798: undefined reference to `dirac_encoder_init'
/home/administrator/code/vlc-android/vlc-android/builddir/modules/codec/../../../modules/codec/dirac.c:806: undefined reference to `dirac_encoder_pts_offset'
/home/administrator/code/vlc-android/vlc-android/builddir/modules/codec/.libs/libdirac_plugin.a(libdirac_plugin_la-dirac.o): In function `OpenEncoder':
/home/administrator/code/vlc-android/vlc-android/builddir/modules/codec/../../../modules/codec/dirac.c:499: undefined reference to `dirac_encoder_context_init'
collect2: ld returned 1 exit status
make[1]: *** [/home/administrator/code/vlc-android/vlc-android/extras/package/android/vlc-android/obj/local/armeabi/libvlcjni.so] Error 1
make[1]: Leaving directory `/home/administrator/code/vlc-android/vlc-android/extras/package/android/vlc-android'
make: *** [vlc-android/libs/armeabi/libvlcjni.so] Error 2
can anyone help me ?
Re: vlc-android build error
Posted: 20 Mar 2011 12:27
by playing
i download vlc-android again, rebuild
and this error is gone
Re: vlc-android build error
Posted: 20 Mar 2011 12:44
by svmodica
Can you post your env setup for this?
I'm trying to do a build of vlc-android and I'm pointing to the 4.4.3 tools in the Android NDK.
I'm cross compiling on a mac.
I finally got bootstrap to make progress before hitting this:
arm-linux-androideabi-gcc -DHAVE_CONFIG_H -DEXEEXT=\"\" -I. -I.. -I../lib -I../intl -DDEPENDS_ON_LIBICONV=1 -DDEPENDS_ON_LIBINTL=1 -I/Users/modica/bin/android-ndk-r5b/toolchains/arm-linux-androideabi-4.4.3/include -nostdlib -I /Users/modica/bin/android-ndk-r5b/toolchains/arm-linux-androideabi-4.4.3/prebuilt/darwin-x86/lib/gcc/arm-linux-androideabi/4.4.3/include-fixed -I /Volumes/SamsungOTG/MESHdroid/bionic/libc/include -I /Volumes/SamsungOTG/MESHdroid/bionic/libc/arch-arm/include -I /Volumes/SamsungOTG/MESHdroid/bionic/libc/kernel/common -I /Volumes/SamsungOTG/MESHdroid/bionic/libc/kernel/arch-arm -DNDEBUG -isystem /Users/modica/bin/android-ndk-r5b/toolchains/arm-linux-androideabi-4.4.3/include -I/Users/modica/bin/android-ndk-r5b/toolchains/arm-linux-androideabi-4.4.3/include -nostdlib -I /Users/modica/bin/android-ndk-r5b/toolchains/arm-linux-androideabi-4.4.3/prebuilt/darwin-x86/lib/gcc/arm-linux-androideabi/4.4.3/include-fixed -I /Volumes/SamsungOTG/MESHdroid/bionic/libc/include -I /Volumes/SamsungOTG/MESHdroid/bionic/libc/arch-arm/include -I /Volumes/SamsungOTG/MESHdroid/bionic/libc/kernel/common -I /Volumes/SamsungOTG/MESHdroid/bionic/libc/kernel/arch-arm -DNDEBUG -isystem /Users/modica/bin/android-ndk-r5b/toolchains/arm-linux-androideabi-4.4.3/include -c areadlink.c
In file included from /Volumes/SamsungOTG/MESHdroid/bionic/libc/include/sys/time.h:33,
from /Volumes/SamsungOTG/MESHdroid/bionic/libc/include/time.h:32,
from /Volumes/SamsungOTG/MESHdroid/bionic/libc/include/wchar.h:39,
from ./stdint.h:483,
from /Volumes/SamsungOTG/MESHdroid/bionic/libc/include/sys/types.h:34,
from areadlink.c:30:
/Volumes/SamsungOTG/MESHdroid/bionic/libc/kernel/common/linux/time.h:20: error: expected specifier-qualifier-list before 'time_t'
/Volumes/SamsungOTG/MESHdroid/bionic/libc/kernel/common/linux/time.h:26: error: expected specifier-qualifier-list before 'time_t'
I'm pretty sure I just have my env wrong. From what I can see, the android stuff doesn't want to be "arm-linux-androideabi". Maybe I'm mixing environments incorrectly?
I'm hoping someone has a "how to" that actually describes the setup in some more detail. I've been looking but I finally had to try rolling my own.
Steve
Re: vlc-android build error
Posted: 20 Mar 2011 16:37
by playing
my os is ubuntu,ndk is android-ndk-r5b, android-sdk is 2.2
this is my build step:
1.cd ~/code
2.git clone git://git.videolan.org/vlc/vlc-android.git
3.cd vlc-android/extras/contrib/
4.export ANDROID_NDK=/usr/local/android-ndk-r5b
5../bootstrap -t arm-eabi -d android
6.make sure those tools is installed:
sudo apt-get install wget
sudo apt-get install autoconf
sudo apt-get install libtool
sudo apt-get install subversion
7.make
8.cd ~/code/vlc-android
9../bootstrap
10.mkdir builddir
11.cd builddir
12.../extras/package/android/configure.sh
13../compile -k
14.cd ~/code/vlc-android/extras/package/android
15.export ANDROID_SDK=/usr/local/android-sdk
16.VLC_BUILD_DIR=~/code/vlc-android/builddir VLC_CONTRIB=~/code/vlc-android/extras/contrib/build make
that is all
Re: vlc-android build error
Posted: 20 Mar 2011 17:11
by svmodica
Thanks! These steps got me going.
I'm building on mac os x 10.6.6.
I needed to load those same libraries and tools using ports. (they exist for mac)
Then I needed to do this before step 5:
export PATH="$PATH":"$ANDROID_NDK"/toolchains/arm-linux-androideabi-4.4.3/prebuilt/darwin-x86/bin
Now it appears to be happy and building away!
Re: vlc-android build error
Posted: 20 Mar 2011 18:20
by svmodica
My extras/contrib build completed with no errors and I was able to execute step 12 (configure.sh), however the script wanted to look in linux-86 for my tool chain compiler rather than darwin-86. I had to manually edit that.
When config.sh completed, it showed this:
libvlc configuration
--------------------
version : 1.2.0-git
system : linux
architecture : arm
build flavour : debug
build vlc executable : no
plugins/bindings :
I think I'm OK, but I noticed that one of the PKG_CONFIG settings was:
PKG_CONFIG_LIBDIR="$VLC_SOURCEDIR/extras/contrib/hosts/arm-eabi/lib/pkgconfig" \
sh ../configure --host=arm-eabi-linux --build=x86_64-unknown-linux \
Not sure if that should be darwin or not.
Re: vlc-android build error
Posted: 20 Mar 2011 18:33
by svmodica
One last issue with building on my mac.
After completing step 13, I went on to set the SDK and VLC variables and did "make"
That failed like so:
/Volumes/SamsungOTG/vlc/vlc-android/builddir/modules/access/.libs/libaccess_attachment_plugin.a: could not read symbols: Archive has no index; run ranlib to add one
collect2: ld returned 1 exit status
I'm sure this is because several libraries were missing earlier:
MAKE : media_library
MAKE : packetizer
ranlib: warning for library: .libs/libpacketizer_mpegvideo_plugin.a the table of contents is empty (no object file members in the library define global symbols)
ranlib: warning for library: .libs/libpacketizer_mpeg4video_plugin.a the table of contents is empty (no object file members in the library define global symbols)
ranlib: warning for library: .libs/libpacketizer_mpeg4audio_plugin.a the table of contents is empty (no object file members in the library define global symbols)
So I imagine I need to have the rest of the vlc stuff somewhere with these libraries built, yes? Maybe pull the entire tree into the ~/code directory and build that first?
Steve
Re: vlc-android build error
Posted: 21 Mar 2011 02:15
by playing
Actually i don't know, i am sorry
Re: vlc-android build error
Posted: 21 Mar 2011 11:08
by vlc120
hi.
i think you should use ndk-Crystax (
http://www.crystax.net/android/ndk-r4.php#download) instead ndk. i think it work. Can you post the detail steps to compile source code vlc by ndk?
Re: vlc-android build error
Posted: 25 Mar 2011 03:22
by android.andjoy
Dear Playing,
I met the same issue ans you posted on Fri Mar 18, 2011 6:30 am . but i am not lucky, the same error happens again and again even i rebuild the project. would you please tell me the building environment in details?
Thanks,
Best Regards,
D.Y
Re: vlc-android build error
Posted: 28 Mar 2011 03:12
by playing
hey android.andjoy :
my os is ubuntu,ndk is android-ndk-r5b, android-sdk is 2.2
i download vlc-android again, rebuild
i have not chanage the building environment, is the same when i receive that error
Re: vlc-android build error
Posted: 28 Mar 2011 04:19
by android.andjoy
HI Playing, My ubuntu is ubuntu 10.10 i386 32bit OS, not 64bit OS. i build again, but the following errors happen.
root@ubuntu:/home/david/code/vlc-android/extras/package/android# VLC_BUILD_DIR=/home/david/code/vlc-android/builddir VLC_CONTRIB=/home/david/code/vlc-android/extras/contrib/build make
=== Building libvlcjni ===
make[1]: Entering directory `/home/david/code/vlc-android/extras/package/android/vlc-android'
SharedLibrary : libvlcjni.so
/home/david/code/vlc-android/builddir/modules/misc/dummy/.libs/libdummy_plugin.a(libdummy_plugin_la-decoder.o): In function `CloseDecoder':
/home/david/code/vlc-android/builddir/modules/misc/dummy/../../../../modules/misc/dummy/decoder.c:159: multiple definition of `CloseDecoder'
/home/david/code/vlc-android/builddir/modules/misc/stats/.libs/libstats_plugin.a(libstats_plugin_la-decoder.o):/home/david/code/vlc-android/builddir/modules/misc/stats/../../../../modules/misc/stats/decoder.c:106: first defined here
/home/david/code/vlc-android/builddir/modules/misc/dummy/.libs/libdummy_plugin.a(libdummy_plugin_la-decoder.o): In function `OpenDecoder':
/home/david/code/vlc-android/builddir/modules/misc/dummy/../../../../modules/misc/dummy/decoder.c:120: multiple definition of `OpenDecoder'
/home/david/code/vlc-android/builddir/modules/misc/stats/.libs/libstats_plugin.a(libstats_plugin_la-decoder.o):/home/david/code/vlc-android/builddir/modules/misc/stats/../../../../modules/misc/stats/decoder.c:45: first defined here
collect2: ld returned 1 exit status
make[1]: *** [/home/david/code/vlc-android/extras/package/android/vlc-android/obj/local/armeabi/libvlcjni.so] Error 1
make[1]: Leaving directory `/home/david/code/vlc-android/extras/package/android/vlc-android'
make: *** [vlc-android/libs/armeabi/libvlcjni.so] Error 2
Re: vlc-android build error
Posted: 28 Mar 2011 11:02
by playing
hey android.andjoy :
my building environment is the same
see this url
viewtopic.php?f=13&t=87301&p=288940&hil ... er#p288940
modifing the libvlcjni.h
Re: vlc-android build error
Posted: 28 Mar 2011 19:56
by pgjensen
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
Re: vlc-android build error
Posted: 29 Mar 2011 03:56
by playing
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
that is ok, just import use eclipse,and delete @Override in SurfaceCallback.java
Re: vlc-android build error
Posted: 19 Apr 2011 01:17
by mochipoo
svmodica,
I had the same error message while building in Mac.
I fixed it by changing following line in extra/package/android/configure.sh
From--> sh ../configure --host=arm-eabi-linux --build=x86_64-unknown-linux \
To--> sh ../configure --host=arm-eabi --build=i686-apple-darwin10 \
Hope that helps,
Grace
Re: vlc-android build error
Posted: 22 Apr 2011 00:50
by mtgeekman
Having a problem once I get to step 7 in playing's post.
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
Any help is much appreciated!
Thanks
Re: vlc-android build error
Posted: 22 Apr 2011 01:34
by mochipoo
mtgeekman, Do you have subversion installed?
Re: vlc-android build error
Posted: 22 Apr 2011 02:22
by mtgeekman
it was a fresh install of ubuntu 11.04 with all updates applied.
following through the steps, in step 6 was too install some tools that would be needed one of them being subversion.
is there anything else that I would have needed to do besides installing it?
I am going to try on a different machine now. will edit this post with my results.
[edit]
ok after one more problem I managed to fix and then finish building vlc. was hoping it would work on my gtablet running cyanogenmod but no luck, force close when I try to open an avi file.
will give it a try on my droid 2 sometime tomorrow.
Re: vlc-android build error
Posted: 22 Apr 2011 19:23
by mtgeekman
Works great on my droid 2.
as for my Viewsonic G tablet, I am guessing that it doesn't work because it is running the nVidia Tegra 2 cpu instead of the standard arm processor...
From what I can see I need to change the target to something that is compatible with the Tegra 2 cpu.
Re: vlc-android build error
Posted: 05 May 2011 00:37
by theseeker
Could someone post an .apk so that others can try VLC on Android as well?
Re: vlc-android build error
Posted: 07 May 2011 18:33
by grondinm
so i am trying to build VLC-ANDROID on ubuntu 10.04 and i get to Build the JNI interface for libvlc but this is what i get:
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
i tried to delete my everything and start over but i got the same results. i am able to build the regular vlc with no issues i am unsure what i am doing wrong. i so want to see VLC on my samsung galaxy fascinate.
Re: vlc-android build error
Posted: 14 Sep 2011 23:03
by ting
I do not seem to get around my errors when building.
I try to follow the
http://git.videolan.org/?p=vlc/vlc-andr ... roid/HOWTO and it seems to be the same as
http://wiki.videolan.org/AndroidCompile ... I do this on Ubuntu 11.04 (64-bit).
I've had several issue, and I have started over again like 10 times now, but this one I cannot get to figure out ...
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$
So any ideas how to move along?
My phone is Samsung Galaxy SII with Android 2.3.4 btw, and "ARCH=armel" vs "ARCH=arm" ... what are the differences?