[MPlayer-cygwin] Compile errors on cygwin

Erik Lunchpail erik_27can at yahoo.com
Mon Jan 16 21:36:30 CET 2006


--- Thomas Plank <tplank at gmx.at> wrote:

>                 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.
> -- 

Works fine in mingw. Try the attached patch and tell
me if it works again.

Regards,
Erik


	

	
		
__________________________________________________________ 
Find your next car at http://autos.yahoo.ca
-------------- next part --------------
A non-text attachment was scrubbed...
Name: cddb-fix.diff
Type: text/x-diff
Size: 305 bytes
Desc: 3368805414-cddb-fix.diff
URL: <http://lists.mplayerhq.hu/pipermail/mplayer-cygwin/attachments/20060116/1151a79f/attachment.diff>


More information about the MPlayer-cygwin mailing list