I'd like to compile vlc with enabled-java-bindings from source for a win32 platform. Therefore I use the mingw32 cross compiler under a Debian 3.1 distribution. I downloaded the latest vlc-trunk using svn.
Then I changed to "extras/contrib" dir and executed
Code: Select all
./bootstrap i586-mingw32msvc
Code: Select all
make src
Does anybody know this error or can tell me how to solve it?i586-mingw32msvc-gcc -DHAVE_CONFIG_H -I. -I. -I.. -I../intl -I/home/ben/Downloads/VLC/vlc-trunk/extras/ contrib/include -I/include -I/home/ben/Downloads/VLC/vlc-trunk/extras/contrib/include -I/include -D_REEN TRANT -D_THREAD_SAFE -pipe -I/home/ben/Downloads/VLC/vlc-trunk/extras/contrib/include -I/home/ben/Downlo ads/VLC/vlc-trunk/extras/contrib/include -c gai_strerror.c -o gai_strerror.o
gai_strerror.c:70: error: conflicting types for 'gai_strerrorA'
/usr/lib/gcc/i586-mingw32msvc/3.4.2/../../../../i586-mingw32msvc/include/ws2tcpip.h:301: error: previous declaration of 'gai_strerrorA' was here
gai_strerror.c:70: error: conflicting types for 'gai_strerrorA'
/usr/lib/gcc/i586-mingw32msvc/3.4.2/../../../../i586-mingw32msvc/include/ws2tcpip.h:301: error: previous declaration of 'gai_strerrorA' was here
make[3]: *** [gai_strerror.lo] Fehler 1
make[3]: Leaving directory `/home/ben/Downloads/VLC/vlc-trunk/extras/contrib/src/gnutls/gl'
make[2]: *** [all] Fehler 2
make[2]: Leaving directory `/home/ben/Downloads/VLC/vlc-trunk/extras/contrib/src/gnutls/gl'
make[1]: *** [.gnutls] Fehler 2
make[1]: Leaving directory `/home/ben/Downloads/VLC/vlc-trunk/extras/contrib/src'
make: *** [src] Fehler 2
t3010:/home/ben/Downloads/VLC/vlc-trunk/extras/contrib#
thanks in advance,
Benjamin