This is the mail archive of the
mailing list for the Cygwin project.
Re: mtr compilation problem
- From: Corinna Vinschen <corinna-cygwin at cygwin dot com>
- To: cygwin at cygwin dot com
- Date: Wed, 16 Mar 2011 11:09:37 +0100
- Subject: Re: mtr compilation problem
- References: <email@example.com>
- Reply-to: 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,
Corinna Vinschen Please, send mails regarding Cygwin to
Cygwin Project Co-Leader cygwin AT cygwin DOT com
Problem reports: http://cygwin.com/problems.html
Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple