delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2011/03/16/06:10:05

X-Recipient: archive-cygwin AT delorie DOT com
X-Spam-Check-By: sourceware.org
Date: Wed, 16 Mar 2011 11:09:37 +0100
From: Corinna Vinschen <corinna-cygwin AT cygwin DOT com>
To: cygwin AT cygwin DOT com
Subject: Re: mtr compilation problem
Message-ID: <20110316100937.GB26391@calimero.vinschen.de>
Reply-To: cygwin AT cygwin DOT com
Mail-Followup-To: cygwin AT cygwin DOT com
References: <ilokcn$ut5$1 AT dough DOT gmane DOT org>
MIME-Version: 1.0
In-Reply-To: <ilokcn$ut5$1@dough.gmane.org>
User-Agent: Mutt/1.5.21 (2010-09-15)
Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Id: <cygwin.cygwin.com>
List-Unsubscribe: <mailto:cygwin-unsubscribe-archive-cygwin=delorie DOT com AT cygwin DOT com>
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

On Mar 15 22:07, Olivier Lefevre wrote:
> I am trying to compile mtr-0.80. configure completed without
> errors but make puts:
> 
> net.h:25:25: error: netinet/ip6.h: No such file or directory
> net.h:26:27: error: netinet/icmp6.h: No such file or directory
> 
> I couldn't find what additional packages I should download to
> get IPv6 headers (which I assume are IPv6).

These headers don't exist in Cygwin.  IPv6 works, but only if
you use the standard headers like netinet/in.h or netinet/ip.h.

The in6.h and icmp6.h headers define internals of the V6 packet
structure which are usually not available to the application.  You can't
use the ping functionality of mtr on Cygwin as a normal user anyway,
given restrictions in the usage of RAW sockets in Windows.

Still, if you think you can make use of the tool anyway, try to fetch
the netinet/ip6.h and netinet/icmp6.h headers from FreeBSD.  Both
headers are pretty much self-contained, except for the usage of some
base types like u_int_16, etc., which are defined in sys/types.h anyway.
And most of the structures and macros defined in these files should be
only protocol dependent, not system dependent.  No guarantees here,
though.


Corinna

-- 
Corinna Vinschen                  Please, send mails regarding Cygwin to
Cygwin Project Co-Leader          cygwin AT cygwin DOT com
Red Hat

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

- Raw text -


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