This is the mail archive of the cygwin mailing list for the Cygwin project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: icecast


Hi Bernie,


Bernhard Janetzki wrote:


Hello,
i want to compile icecast under cygwin.
â./configureâ works fine, but it produces this warning:

â
checking winsock2.h usability... no
checking winsock2.h presence... yes
configure: WARNING: winsock2.h: present but cannot be compiled
configure: WARNING: winsock2.h: check for missing prerequisite headers?
configure: WARNING: winsock2.h: proceeding with the preprocessor's
result
configure: WARNING:     ## ------------------------------------ ##
configure: WARNING:     ## Report this to bug-autoconf@gnu.org. ##
configure: WARNING:     ## ------------------------------------ ##
checking for winsock2.h... yes

This is not an autoconf problem:


In file included from configure:19744:
/usr/include/w32api/winsock2.h:614: error: conflicting types for `gethostname'
/usr/include/sys/unistd.h:205: error: previous declaration of `gethostname'


Don't use winsock2.h when you compile a Cygwin application, comment the relevant parts in the source where winsock2.h is included and try to compile again.


Gerrit -- =^..^=

--
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
Problem reports:       http://cygwin.com/problems.html
Documentation:         http://cygwin.com/docs.html
FAQ:                   http://cygwin.com/faq/


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]