delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2002/05/06/08:04:52

Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sources.redhat.com/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sources.redhat.com/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: <3CD670C4.A992C240@wapme-systems.de>
Date: Mon, 06 May 2002 14:02:12 +0200
From: Stipe Tolj <tolj AT wapme-systems DOT de>
Organization: Wapme Systems AG
X-Accept-Language: de
MIME-Version: 1.0
To: "Gerrit P. Haase" <freeweb AT nyckelpiga DOT de>
CC: cygwin AT cygwin DOT com
Subject: Re: Apache with CYGWIN_WINSOCK bug
References: <8455925626 DOT 20020417161150 AT familiehaase DOT de>

"Gerrit P. Haase" wrote:
> 
> Hallo cygwin,
> 
> from <cygwin/os.h>
> /*
>  * Define winsock.h and winsock2.h stuff taken from Win32 API in case we
>  * want to do socket communication in Win32 native way rather then using
>  * Cygwin's POSIX wrapper to the native ones. These are needed for
>  * main/buff.c and main/http_main.c. They are linked against libwsock32.a
>  * for the import declarations of the corresponding Win32 native DLLs.
>  */
> #ifdef CYGWIN_WINSOCK
> #define WSAEWOULDBLOCK (10035)
> #define SOCKET_ERROR (-1)
> 
> #define WIN32API_IMPORT(type)  __declspec(dllimport) type __stdcall
> 
> WIN32API_IMPORT(int) WSAGetLastError(void);
> WIN32API_IMPORT(int) WSASetLastError(int);
> WIN32API_IMPORT(int) ioctlsocket(unsigned int, long, unsigned long *);
> WIN32API_IMPORT(void) Sleep(unsigned int);
> #endif /* CYGWIN_WINSOCK */    <-----------LINE 108
> 
> I'm getting this error several times during compilation with
> CYGWIN_WINSOCK defined:
> 
>   In file included from ../../include/ap_config.h:1132,
>                    from mod_ssl.h:130,
>                    from ssl_engine_config.c:65:
>   /usr/include/sys/ioctl.h:26: conflicting types for `ioctl'
>   ../../os/cygwin/os.h:106: previous declaration of `ioctl'

you're obviously not compiling the standard module set here Gerrit, at
least 1.3.x does not contain mod_ssl?!

Stipe

tolj AT wapme-systems DOT de
-------------------------------------------------------------------
Wapme Systems AG

Münsterstr. 248
40470 Düsseldorf

Tel: +49-211-74845-0
Fax: +49-211-74845-299

E-Mail: info AT wapme-systems DOT de
Internet: http://www.wapme-systems.de
-------------------------------------------------------------------
wapme.net - wherever you are

--
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
Bug reporting:         http://cygwin.com/bugs.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