bug-gnulib
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Failure of IPv6 detection for BSD.


From: Mats Erik Andersson
Subject: Re: Failure of IPv6 detection for BSD.
Date: Sat, 18 Sep 2010 17:09:51 +0200
User-agent: Mutt/1.5.18 (2008-05-17)

Dear Bruno,

lördag den 18 september 2010 klockan 16:45 skrev Bruno Haible detta:
> Hello Mats,
> 
> > ...
> 
> All uses of <netinet/in.h> in gnulib's *.m4 files and module descriptions are
> preceded with an include of <sys/types.h>. So, either you must be using an
> outdated gnulib, or the .m4 file with the configure test that you mention must
> come from outside gnulib.

Well, "bootstrap" was run for GNU Inetutils on Debian GNU/Linux Squeeze
two days ago, then the resulting tree was moved to OpenBSD 4.6 where
the configure script was included. The versions of the Autotools are
too old in OpenBSD, so I need to go via GNU/Linux to generate the
configure script.

Today I wanted to now why GNU Inetutils did not want to build Ping6
on OpenBSD, while is did so very nicely in GNU/Linux. My analysis
led me this find. In particular, config.log from GNU/Linux contains

    #define IPV6 1

while the corresponding statement is missing in OpenBSD.

The failing test is

    configure:31699: checking for struct sockaddr_in6

and it fails with 23 [sic] complaints if the kind

        error: syntax error before "in_addr_t", "u_int8_t", etcetera,

which is obviously caused by the lacking <sys/types.h>.

To be honest, I can not tell if the shortcoming is due to Autotools
or due to bootstrap/GNUlib. You are much better equipped to decide
that than I will ever be.


Best regards,
Mats E A



reply via email to

[Prev in Thread] Current Thread [Next in Thread]