[vlc-devel] WINCE Build Problems
Nikolay Iontchev
NikolayI at UniqueSys.com
Wed May 25 17:09:38 CEST 2005
Hi guys,
I am trying unsuccessfully to build the WINCE version of Pocket PC on Linux
with the arm cross-compiler.
I got the latest vlc-trunk, the precompiled February contrib. lib builds and
the ARM WINCE cross-compiler. I got a lot of errors related to ffmpeg and I
modified the script to:
./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/cross-tools \
--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\
--with-ffmpeg-tree=/usr/local/wince/contrib-xscale/ \
--with-faad-tree=/usr/local/wince/contrib-xscale/ \
--with-freetype-config-path=/usr/local/wince/contrib-xscale/bin \
--with-fribidi-config-path=/usr/local/wince/contrib-xscale/bin \
--enable-tremor --enable-faad --enable-ffmpeg
I also modified configure.ac to change paths to the ffmpeg libraries from
libavcodec/libavcodec.a to lib/libavcodec.a etc.
After that the configure run well but after make I received the following
error:
ffmpeg.c:49:44: error: libpostproc/postprocess.h: No such file or directory
I defined HAVE_POSTPROC_POSTPROCESS_H which apparently fixed this problem
but at the end I got:
-lws2 -ldvbpsi modules/gui/wince/wince_rc.o -lcommctrl -lcommdlg -laygshell
Warning: .drectve `/DEFAULTLIB:"coredll.lib" /DEFAULTLIB:"corelibc.lib" '
unrecognized
Warning: .drectve `/DEFAULTLIB:"coredll.lib" /DEFAULTLIB:"corelibc.lib" '
unrecognized
Warning: .drectve `/DEFAULTLIB:"coredll.lib" /DEFAULTLIB:"corelibc.lib" '
unrecognized
/usr/local/wince/contrib-xscale/lib/libavformat.a(utils.o):utils.c:(.text+0x
534): undefined reference to `put_buffer'
/usr/local/wince/contrib-xscale/lib/libavformat.a(utils.o):utils.c:(.text+0x
108c): undefined reference to `time'
/usr/local/wince/contrib-xscale/lib/libavformat.a(utils.o):utils.c:(.text+0x
1330): undefined reference to `mktime'
/usr/local/wince/contrib-xscale/lib/libavformat.a(utils.o):utils.c:(.text+0x
1350): undefined reference to `gmtime'
/usr/local/wince/contrib-xscale/lib/libavformat.a(utils.o):utils.c:(.text+0x
13b8): undefined reference to `localtime'
/usr/local/wince/contrib-xscale/lib/libavformat.a(img2.o):img2.c:(.text+0x49
0): undefined reference to `put_buffer'
/usr/local/wince/contrib-xscale/lib/libavformat.a(img2.o):img2.c:(.text+0x49
c): undefined reference to `put_flush_packet'
And now I am stuck. How can I fix this? Which library is missing and how to
add it to the build? What am I doing wrong?
Thank you,
Nik
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mailman.videolan.org/pipermail/vlc-devel/attachments/20050525/b34de86f/attachment.html>
More information about the vlc-devel
mailing list