I am trying to compile VLC for WinCE with cegcc. I have got all the libs and contrib and I read somewhere that cegcc was the appriopriate compiler to compile the 0.8.6c version of VLC.
But this error occurs, and I cannot find how to solve it...
The problem seems to come from several headers dependencies, and I do not know what to change to avoid such problems. maybe I also forgot to define some switches.gcc -mcpu=xscale -DHAVE_CONFIG_H -I. -I. -I.. -D_OFF_T_ -D_off_t=long -DSYS_MINGWCE -I../include `top_builddir=".." ../vlc-config --cflags vlc pic` -Wsign-compare -Wall -D__stdcall= -D_OFF_T_ -DWIN32 -DUNDER_CE -D__VLC__ -I/opt/cegcc/arm-wince-cegcc/include -pipe -c -o stream_output/libvlc_a-sap.o `test -f 'stream_output/sap.c' || echo './'`stream_output/sap.c
<command line>:1:1: warning: "__stdcall" redefined
<built-in>: warning: this is the location of the previous definitionIn file included from stream_output/sap.c:30:
/opt/cegcc/lib/gcc/arm-wince-cegcc/4.1.0/../../../../arm-wince-cegcc/lib/../include/w32api/winsock2.h:65: error: redefinition of 'struct fd_set'
/opt/cegcc/lib/gcc/arm-wince-cegcc/4.1.0/../../../../arm-wince-cegcc/lib/../include/w32api/winsock2.h:366: error: redefinition of 'struct sockaddr'