I am trying to compile vlc-0.8.6c for WinCE under cegcc. I use this configuration :
and my configure is :setenv CFLAGS "-D__stdcall= -D_OFF_T_ -D__USE_W32_SOCKETS -D__CEGCC__ -D_WIN32_WCE -DUNDER_CE -I/opt/cegcc/arm-wince-cegcc/include"
setenv LD_LIBRARY_PATH /opt/cegcc/arm-wince-cegcc/lib:$LD_LIBRARY_PATH
setenv PATH /opt/cegcc/arm-wince-cegcc/bin:$PATH
setenv LDFLAGS "-L/opt/cegcc/arm-wince-cegcc"
setenv "$LDFLAGS -L/opt/cegcc/arm-wince-cegcc"
setenv CC "gcc -mcpu=xscale"
I am quite closed to the end (hope) but I have go this error :./configure --host=arm-wince-pe --target=arm-wince-pe --build=i686-linux --prefix=/usr/local/wince --includedir=/opt/cegcc/arm-wince-cegcc/include --includedir=/home/giraulte/vlc-0.8.6c/include --disable-sdl --disable-gtk --disable-dvdnav --disable-dvdread --disable-nls --disable-sout --disable-sap --disable-vlm --disable-wxwindows --disable-a52 --disable-libmpeg2 --disable-freetype --disable-fribidi --disable-mad --disable-plugins --enable-optimize-memory --enable-tremor --disable-faad --disable-ffmpeg --disable-gnomevfs --enable-shared-libvlc
It seems weird because I cannot find any file related to wince.cpp including this header. And the error message is for me kind of mysterious...source='wince.cpp' object='libwince_a-wince.o' libtool=no \
depfile='.deps/libwince_a-wince.Po' tmpdepfile='.deps/libwince_a-wince.TPo' \
depmode=gcc3 /bin/sh ../../../autotools/depcomp \
g++ -DHAVE_CONFIG_H -I. -I. -I../../.. -D_OFF_T_ -D_off_t=long -DSYS_MINGWCE -I../../../include `top_builddir="../../.." ../../../vlc-config --cxxflags builtin pic wince` -Wsign-compare -Wall -pipe -c -o libwince_a-wince.o `test -f 'wince.cpp' || echo './'`wince.cpp
/opt/cegcc/lib/gcc/arm-wince-cegcc/4.1.0/../../../../arm-wince-cegcc/include/sys/_types.h:14: error: declaration does not declare anything
Thanks for your help !