[MPlayer-cygwin] Compile errors on cygwin

Thomas Plank tplank at gmx.at
Mon Jan 16 11:28:33 CET 2006


                Hi!

I used to compile mplayer on cygwin using the CVS version for about ten
months.

It always worked well, till 6th november.
Since this date, compile errors occur (I spent a lot time to locate the
error, CVS checkout from the 5th of november works fine):

In file included from cddb.c:31:
/usr/lib/../include/w32api/winsock2.h:615: error: conflicting types for 'gethost
name'
/usr/include/sys/unistd.h:206: error: previous declaration of 'gethostname' was
here
In file included from network.h:16,
                 from stream.h:53,
                 from cddb.c:54:
/usr/include/netdb.h:73: error: redefinition of 'struct hostent'
/usr/include/netdb.h:87: error: redefinition of 'struct netent'
/usr/include/netdb.h:94: error: redefinition of 'struct servent'
/usr/include/netdb.h:102: error: redefinition of 'struct protoent'
/usr/include/netdb.h:122: error: conflicting types for 'WSAGetLastError'
/usr/lib/../include/w32api/winsock2.h:574: error: previous declaration of 'WSAGe
tLastError' was here
/usr/include/netdb.h:139: error: conflicting types for 'gethostbyaddr'
/usr/lib/../include/w32api/winsock2.h:534: error: previous declaration of 'getho
stbyaddr' was here

etc...

Does this error also on mingw occur?
Thanks for your help.
-- 
mfg Thomas




More information about the MPlayer-cygwin mailing list