delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2004/11/14/12:24:49

Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sourceware.org/ml/#faqs>
Sender: cygwin-owner AT cygwin DOT com
Mail-Followup-To: cygwin AT cygwin DOT com
Delivered-To: mailing list cygwin AT cygwin DOT com
Message-ID: <419794D0.1070401@familiehaase.de>
Date: Sun, 14 Nov 2004 18:24:32 +0100
From: "Gerrit P. Haase" <gp AT familiehaase DOT de>
Organization: Esse keine toten Tiere
User-Agent: Mozilla/5.0 (Windows; U; WinNT4.0; de-AT; rv:1.7.3) Gecko/20040910
MIME-Version: 1.0
To: Bernhard Janetzki <mail AT bjanetzki DOT de>
CC: cygwin AT cygwin DOT com
Subject: Re: icecast
References: <002701c4ca5b$9171de50$6364a8c0 AT bernhard>
In-Reply-To: <002701c4ca5b$9171de50$6364a8c0@bernhard>
X-IsSubscribed: yes

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 AT gnu DOT 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/

- Raw text -


  webmaster     delorie software   privacy  
  Copyright 2019   by DJ Delorie     Updated Jul 2019