Page 1 of 1

Compiling VLC for Windows CE

Posted: 21 Apr 2009 20:18
by Tanthalas
Hi everybody. I am trying to get vlc for windows ce.

I follow this guide: http://wiki.videolan.org/WinCECompile. Everything works well, but when I try to compile the code (version 0.9.9a) some errors appears:
MAKE : po
MAKE : src
MAKE : .
In file included from ../config.h:1037,
from libvlc.c:36:
WARNING : ../include/vlc_fixups.h: 135: return type defaults to 'int'
../include/vlc_fixups.h: In function 'getenv':
WARNING : ../include/vlc_fixups.h: 137: return makes integer from pointer without a cast
In file included from ../include/vlc_common.h:494,
from libvlc.c:39:
../include/vlc_threads.h: In function '__vlc_mutex_lock':
ERROR : ../include/vlc_threads.h: 203: request for member 'csection' in something not a structure or union
../include/vlc_threads.h: In function '__vlc_mutex_unlock':
ERROR : ../include/vlc_threads.h: 236: request for member 'csection' in something not a structure or union
../include/vlc_threads.h: In function '__vlc_cond_wait':
ERROR : ../include/vlc_threads.h: 324: request for member 'csection' in something not a structure or union
../include/vlc_threads.h: At top level:
WARNING : ../include/vlc_threads.h: 316: unused parameter 'psz_file'
WARNING : ../include/vlc_threads.h: 316: unused parameter 'i_line'
../include/vlc_threads.h: In function '__vlc_cond_timedwait':
ERROR : ../include/vlc_threads.h: 396: request for member 'csection' in something not a structure or union
../include/vlc_threads.h: In function 'vlc_threadvar_set':
ERROR : ../include/vlc_threads.h: 457: 'EINVAL' undeclared (first use in this function)
ERROR : ../include/vlc_threads.h: 457: (Each undeclared identifier is reported only once
ERROR : ../include/vlc_threads.h: 457: for each function it appears in.)
In file included from libvlc.c:47:
In file included from ../include/vlc_network.h:40,
from stream_output/stream_output.h:35,
from libvlc.c:88:
In file included from libvlc.c:92:
libvlc.h: In function 'libvlc_priv':
WARNING : libvlc.h: 250: cast increases required alignment of target type
libvlc.c: In function 'libvlc_InternalCreate':
WARNING : libvlc.c: 217: assignment makes pointer from integer without a cast
libvlc.c: At top level:
WARNING : libvlc.c: 1907: unused parameter 'b_dofile'
make: *** [all] Error 2
The problem is related with the code or it is related with some packages on my computer? Are these errors normal ??
Does anybody solve this?

Thank you in advance

Re: Compiling VLC for Windows CE

Posted: 22 Apr 2009 17:26
by VLC_help
EINVAL should be in errno

request for member 'csection' in something not a structure or union would mean that the definition or usage of csection is done incorrectly. You could try to compile git and see if it works any better.