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

Reply via email to