[vlc-devel] Re: WinCE Cross compile

James MacLean macleajb at ednet.ns.ca
Fri Jul 29 15:55:36 CEST 2005

Christophe Mutricy wrote:

>On Thu, Jul 28, 05 at 23:07 -0300, James MacLean wrote:
>>Hi Folks,
>>../../include/network.h:474: error: storage size of 'hints' isn't known
>>../../include/network.h:480: error: 'AI_NUMERICHOST' undeclared (first 
>>use in this function)
>>../../include/network.h:503: warning: implicit declaration of function 
>In include/network.h line ~30, try to add a #include<ws2tcpip.h>
>If it works could you let's us know so we can fix it in the SVN.
First it complained that I should use winsock2.h, not winsosk.h. So 
changed to that, now I get :

make[4]: `libaccess_directory.a' is up to date.
if arm-wince-pe-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 builtin access_udp` 
-Wsign-compare -Wall  -I/usr/local/wince/contrib-xscale/include -pipe 
-MT libaccess_udp_a-udp.o -MD -MP -MF ".deps/libaccess_udp_a-udp.Tpo" -c 
-o libaccess_udp_a-udp.o `test -f 'udp.c' || echo './'`udp.c; \
then mv -f ".deps/libaccess_udp_a-udp.Tpo" 
".deps/libaccess_udp_a-udp.Po"; else rm -f 
".deps/libaccess_udp_a-udp.Tpo"; exit 1; fi
In file included from ../../include/vlc_common.h:450,
                 from ../../include/vlc/vlc.h:149,
                 from udp.c:33:
../../include/vlc_threads.h:152: warning: '__stdcall__' attribute 
directive ignored
../../include/vlc_threads.h:153: warning: '__stdcall__' attribute 
directive ignored
In file included from ../../include/network.h:30,
                 from udp.c:36:
error: redefinition of 'struct sockaddr'
make[4]: *** [libaccess_udp_a-udp.o] Error 1
make[4]: Leaving directory 

-------------- next part --------------
A non-text attachment was scrubbed...
Name: smime.p7s
Type: application/x-pkcs7-signature
Size: 3684 bytes
Desc: S/MIME Cryptographic Signature
URL: <http://mailman.videolan.org/pipermail/vlc-devel/attachments/20050729/89e1d81f/attachment.bin>

More information about the vlc-devel mailing list