[vlc] Problem with cross-compile VLC for ARM-WinCE

George Yang george.yyj at gmail.com
Fri Oct 21 18:33:49 CEST 2005


Dear sir,
 I'm trying to build VLC from source (vlc-0.8.2.tar.bz2) for ARM-WinCE, by
following the instructions posted at
http://trac.videolan.org/vlc/file/trunk/INSTALL.wince
.
 I tried to cross-compile VLC on both Debian Linux PC (woody upgraded with
kernel 2.6.8.1 <http://2.6.8.1/>) and cygwin, but had no luck.
 - On Debian Linux:

//================================>>>
./bootstrap &&
> PATH=/usr/local/wince/cross-tools/bin:$PATH \
> CFLAGS="-D__stdcall= -D_OFF_T_ -I/usr/local/wince/cross-tools/include" \
> CFLAGS="$CFLAGS -I/usr/local/wince/contrib-xscale/include" \
> LDFLAGS="-L/usr/local/wince/cross-tools/lib" \
> LDFLAGS="-L/usr/local/wince/contrib-xscale/lib" \
> CC="arm-wince-pe-gcc -mcpu=xscale" \
> ../configure --host=arm-wince-pe --target=arm-wince-pe \
> --build=i686-linux --prefix=/usr/local/wince \
> --disable-sdl --disable-gtk --disable-dvdnav --disable-dvdread \
> --disable-nls --disable-sout --disable-vlm --disable-wxwindows \
> --disable-a52 --disable-libmpeg2 --disable-freetype --disable-fribidi \
> --disable-mad --disable-plugins --enable-optimize-memory \
> --with-freetype-config-path=/usr/local/wince-xscale/bin \
> --with-fribidi-config-path=/usr/local/wince-xscale/bin \
> --enable-tremor --enable-faad
+ AUTOMAKESUCKS=no
+ INSTALLSUCKS=no
+ ACLOCAL_ARGS=-I m4
+ test -d extras/contrib/bin
+ amvers=none
+ automake-1.8 --version
+ automake-1.9 --version
+ amvers=- 1.9
+ automake-1.6 --version
+ test -1.9 = none
+ gettextize --version
++ gettextize --version
++ sed -e '1s/[^0-9]*//' -e q
+ expr 0.14.1 '>=' 0.11.5
+ autopoint=autopoint
+ GETTEXT=yes
+ pkg-config --version
+ PKGCONFIG=yes
+ aclocal=aclocal-1.9
+ automake=automake-1.9
+ autoconf=autoconf
+ autoheader=autoheader
+ set +x
generating modules/**/Makefile.am and m4/private.m4
.................................................................... done.
+ rm -f aclocal.m4 configure config.log config.h
config.h.in<http://config.h.in/>
+ rm -Rf autom4te.cache
+ rm -f config.guess config.sub missing mkinstalldirs compile depcomp
install-sh
+ rm -Rf autotools
+ mkdir autotools
+ rm -f ltmain.sh libtool ltconfig
+ rm -f ABOUT-NLS
+ rm -Rf intl
+ rm -f m4/oldgettext.m4 stamp-pic configure.ac.in
<http://configure.ac.in/> Modules.am
<http://modules.am/>
+ rm -f stamp-builtin 'stamp-h*' mozilla/stamp-pic
+ rm -f vlc-config.in <http://vlc-config.in/>
+ printf ''
+ '[' yes '!=' yes ']'
+ autopoint -f

Copying file ABOUT-NLS
Copying file autotools/config.rpath
Creating directory intl
Copying file intl/ChangeLog
......
......
Copying file intl/ref-add.sin
Copying file intl/ref-del.sin
Copying file intl/textdomain.c
Copying file autotools/mkinstalldirs
+ aclocal-1.9 -I m4
+ autoconf
configure.ac:213 <http://configure.ac:213/>: error: possibly undefined
macro: AC_DEFINE
If this token and others are legitimate, please use m4_pattern_allow.
See the Autoconf documentation.
configure.ac:706 <http://configure.ac:706/>: error: possibly undefined
macro: AC_MSG_WARN
//================================<<<

  Then I tried to set "ulimit 20000" but didn't help.
  - On cygwin:

 //================================>>>
 ./bootstrap && \
PATH=/usr/local/wince/cross-tools/bin:$PATH \
CFLAGS="-D__stdcall= -D_OFF_T_ -I/usr/local/wince/cross-tools/include" \
CFLAGS="$CFLAGS -I/usr/local/wince/contrib-xscale/include" \
LDFLAGS="-L/usr/local/wince/cross-tools/lib" \
LDFLAGS="$LDFLAGS -L/usr/local/wince/contrib-xscale/lib" \
CC="arm-wince-pe-gcc -mcpu=xscale" \
../configure --host=arm-wince-pe --target=arm-wince-pe \
--build=i686-linux --prefix=/usr/local/wince \
--disable-sdl --disable-gtk --disable-dvdnav --disable-dvdread \
--disable-nls --disable-sout --disable-vlm --disable-wxwindows \
--enable-ffmpeg --with-ffmpeg-mp3lame --with-ffmpeg-faac \
--with-ffmpeg-zlib --enable-faad --enable-flac --enable-theora \
--with-freetype-config-path=/usr/local/wince-xscale/bin \
--with-fribidi-config-path=/usr/local/wince-xscale/bin \
--enable-debug
+ AUTOMAKESUCKS=no
+ INSTALLSUCKS=no
+ ACLOCAL_ARGS='-I m4'
+ test -d extras/contrib/bin
+ amvers=none
+ automake-1.8 --version
+ automake-1.9 --version
+ automake-1.7 --version
+ amvers=-1.7
+ automake-1.6 --version
+ test -1.7 = none
+ gettextize --version
++ gettextize --version
++ sed -e '1s/[^0-9]*//' -e q
+ expr 0.14.1 '>=' 0.11.5
+ autopoint=autopoint
+ GETTEXT=yes
+ pkg-config --version
+ PKGCONFIG=yes
+ aclocal=aclocal-1.7
+ automake=automake-1.7
+ autoconf=autoconf
+ autoheader=autoheader
+ set +x
generating modules/**/Makefile.am and m4/private.m4
.................................................................... done.
+ rm -f aclocal.m4 configure config.log config.h
config.h.in<http://config.h.in/>
+ rm -Rf autom4te.cache
+ rm -f config.guess config.sub missing mkinstalldirs compile depcomp
install-sh
+ rm -Rf autotools
+ mkdir autotools
+ rm -f ltmain.sh libtool ltconfig
+ rm -f ABOUT-NLS
+ rm -Rf intl
+ rm -f m4/oldgettext.m4 stamp-pic configure.ac.in
<http://configure.ac.in/> Modules.am
<http://modules.am/>
+ rm -f stamp-builtin 'stamp-h*' mozilla/stamp-pic
+ rm -f vlc-config.in <http://vlc-config.in/>
+ printf ''
+ '[' yes '!=' yes ']'
+ autopoint -f
tar: Skipping to next header
tar: Archive contains obsolescent base-64 headers
gzip: stdin: invalid compressed data--crc error
gzip: stdin: invalid compressed data--length error
tar: Read 479 bytes from -
tar: Error exit delayed from previous errors
Copying file ABOUT-NLS
Creating directory intl .......
......
Copying file intl/hash-string.h
Copying file intl/intl-compat.c
+ aclocal-1.7 -I m4
+ autoconf
+ autoheader
+ automake-1.7 --add-missing --copy
configure.ac <http://configure.ac/>: installing `autotools/install-sh'
configure.ac <http://configure.ac/>: installing `autotools/mkinstalldirs'
configure.ac <http://configure.ac/>: installing `autotools/missing'
configure.ac:12 <http://configure.ac:12/>: installing
`autotools/config.guess'
configure.ac:12 <http://configure.ac:12/>: installing `autotools/config.sub'
Makefile.am <http://makefile.am/>: installing `autotools/compile'
Makefile.am <http://makefile.am/>: installing `autotools/depcomp'
+ rm -f vlc-config.in <http://vlc-config.in/> vlc-config
+ rm -f src/misc/modules_builtin.h src/misc/modules_plugin.h
+ rm -f include/vlc_symbols.h
+ rm -f mozilla/vlcintf.h
+ set +x
bash: ../configure: No such file or directory
 //================================<<<

What is the preferred way to build VLC for ARM-WinCE, cygwin or Linux? How
to do it correctly?
 I appreciate any help.
 - George
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mailman.videolan.org/pipermail/vlc/attachments/20051021/5c2ff69d/attachment.html>


More information about the vlc mailing list