Problems to compile VLC for WinCE
Posted: 20 Feb 2009 12:25
Hello, my name is Antonio and I am trying to compile VLC in Linux to install it in WindowsCE.
I have just configured the code, but I have problems when I try to compile it because it says that there are errors on the code.
Some of the errors are the following:
"../include/vlc_fixups.h:33: error: static declaration of 'strdup' follows non-static declaration
../include/vlc_fixups.h:119: error: conflicting types for 'lldiv_t'
/usr/local/wince/cross-tools/lib/gcc/arm-wince-pe/4.1.0/../../../../arm-wince-pe/sys-include/stdlib.h:469: error: previous declaration of 'lldiv_t' was here
../include/vlc_fixups.h:122: error: conflicting types for 'lldiv'
/usr/local/wince/cross-tools/lib/gcc/arm-wince-pe/4.1.0/../../../../arm-wince-pe/sys-include/stdlib.h:471: error: previous declaration of 'lldiv' was here
../include/vlc_fixups.h:135: warning: return type defaults to 'int'
../include/vlc_fixups.h:135: error: conflicting types for 'getenv'"
I find strange that the code published by the development team had errors, so I think that maybe the problem is my compiler.
I would like to know if the problem is my compiler or everything is ok and I have to solve these errors.
Thanks a lot.
I have just configured the code, but I have problems when I try to compile it because it says that there are errors on the code.
Some of the errors are the following:
"../include/vlc_fixups.h:33: error: static declaration of 'strdup' follows non-static declaration
../include/vlc_fixups.h:119: error: conflicting types for 'lldiv_t'
/usr/local/wince/cross-tools/lib/gcc/arm-wince-pe/4.1.0/../../../../arm-wince-pe/sys-include/stdlib.h:469: error: previous declaration of 'lldiv_t' was here
../include/vlc_fixups.h:122: error: conflicting types for 'lldiv'
/usr/local/wince/cross-tools/lib/gcc/arm-wince-pe/4.1.0/../../../../arm-wince-pe/sys-include/stdlib.h:471: error: previous declaration of 'lldiv' was here
../include/vlc_fixups.h:135: warning: return type defaults to 'int'
../include/vlc_fixups.h:135: error: conflicting types for 'getenv'"
I find strange that the code published by the development team had errors, so I think that maybe the problem is my compiler.
I would like to know if the problem is my compiler or everything is ok and I have to solve these errors.
Thanks a lot.