delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2003/04/24/04:29:22

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
Date: Thu, 24 Apr 2003 10:21:43 +0200
From: Corinna Vinschen <corinna-cygwin AT cygwin DOT com>
To: cygwin AT cygwin DOT com
Subject: Re: netinet/ip.h in snapshot broken?
Message-ID: <20030424082143.GL11137@cygbert.vinschen.de>
Reply-To: cygwin AT cygwin DOT com
Mail-Followup-To: cygwin AT cygwin DOT com
References: <Pine DOT GSO DOT 4 DOT 44 DOT 0304231915001 DOT 10996-100000 AT slinky DOT cs DOT nyu DOT edu> <57201753776 DOT 20030424075844 AT familiehaase DOT de>
Mime-Version: 1.0
In-Reply-To: <57201753776.20030424075844@familiehaase.de>
User-Agent: Mutt/1.4.1i

On Thu, Apr 24, 2003 at 07:58:44AM +0200, Gerrit P. Haase wrote:
> configure:7539: checking netinet/ip.h usability
> configure:7552: gcc -c -O2 -Wall  conftest.c >&5
> In file included from configure:7613:
> /usr/include/netinet/ip.h:82: field `ip_src' has incomplete type
> /usr/include/netinet/ip.h:82: field `ip_dst' has incomplete type
> /usr/include/netinet/ip.h:167: parse error before "n_long"
> /usr/include/netinet/ip.h:169: field `ipt_addr' has incomplete type
> /usr/include/netinet/ip.h:170: parse error before "n_long"
> /usr/include/netinet/ip.h:172: parse error before '}' token
> /usr/include/netinet/ip.h:173: parse error before '}' token

Please apply the following patch to /usr/include/netinet/ip.h and try
the configure again:

Index: include/netinet/ip.h
===================================================================
RCS file: /cvs/src/src/winsup/cygwin/include/netinet/ip.h,v
retrieving revision 1.3
diff -p -u -r1.3 ip.h
--- include/netinet/ip.h	29 May 2002 07:38:54 -0000	1.3
+++ include/netinet/ip.h	24 Apr 2003 08:20:55 -0000
@@ -37,6 +37,9 @@
 #ifndef _NETINET_IP_H
 #define _NETINET_IP_H
 
+#include <sys/types.h>
+#include <netinet/in.h>
+
 /* Added by Wu Yongwei */
 #ifndef LITTLE_ENDIAN
 #define LITTLE_ENDIAN   1234


Corinna

-- 
Corinna Vinschen                  Please, send mails regarding Cygwin to
Cygwin Developer                                mailto:cygwin AT cygwin DOT com
Red Hat, Inc.

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