[vlc-devel] vlc port to android

张智强 zqzhanglh at gmail.com
Fri Aug 20 09:38:59 CEST 2010

 is there anyone who have ported vlc to android?
 i have setup android ndk successfully and can build ffmpeg by android ndk, but when i port vlc to android,i met a problem.
 here is the congif.sh :
PATH=/usr/win32/bin:$PATH \
PKG_CONFIG_LIBDIR=/usr/win32/lib/pkgconfig \
CPPFLAGS="-I/usr/win32/include -I/usr/win32/include/ebml" \
LDFLAGS=-L/usr/win32/lib \
CC=E:\\Android\\AndroidTraining\\android-ndk-r4b\\build\\prebuilt\\windows\\arm-eabi-4.4.0\\bin\\arm-eabi-gcc \
./configure \
  --host=arm-linux \
  --enable-nls --enable-sdl \
  --enable-avcodec --enable-avformat --enable-swscale \
  --enable-faad --enable-flac --enable-theora \
  --enable-freetype \
  --enable-fribidi \
  --disable-fluidsynth \
  --enable-live555 --with-live555-tree=/usr/win32/live.com \
  --enable-caca \
  --with-dvdnav-config-path=/usr/win32/bin \
  --disable-vcdx --enable-goom \
  --enable-twolame --enable-dvdread \
  --enable-debug --enable-dca \
  --disable-mkv --disable-taglib --disable-projectm \
  --disable-zvbi --disable-schroedinger --disable-dirac \
  --enable-mozilla --with-mozilla-sdk-path=/usr/win32/gecko-sdk
under cygwin, run ./config.sh, got :
$ ./config1.sh
configure: WARNING: if you wanted to set the --build type, don't use --host.
    If a cross compiler is detected then cross compile mode will be used
checking build system type... i686-pc-cygwin
checking host system type... arm-unknown-linux-gnu
checking for a BSD-compatible install... /usr/bin/install -c
checking whether build environment is sane... yes
checking for arm-linux-strip... no
checking for strip... strip
checking for a thread-safe mkdir -p... /usr/bin/mkdir -p
checking for gawk... gawk
checking whether make sets $(MAKE)... yes
checking how to create a ustar tar archive... gnutar
checking whether to enable maintainer-specific portions of Makefiles... yes
checking for style of include used by make... GNU
checking for arm-linux-gcc... E:\Android\AndroidTraining\android-ndk-r4b\build\p
checking whether the C compiler works... no
configure: error: in `/cygdrive/f/workspace2/Android_vlc/jni/vlc-1.1.3':
configure: error: C compiler cannot create executables
See `config.log' for more details

help ,thanks.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mailman.videolan.org/pipermail/vlc-devel/attachments/20100820/c4ea295f/attachment.html>

More information about the vlc-devel mailing list