delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2014/01/20/12:28:16

X-Recipient: archive-cygwin AT delorie DOT com
DomainKey-Signature: a=rsa-sha1; c=nofws; d=sourceware.org; h=list-id
:list-unsubscribe:list-subscribe:list-archive:list-post
:list-help:sender:date:from:to:subject:message-id:reply-to
:references:mime-version:content-type:in-reply-to; q=dns; s=
default; b=OQ6IaWn08g+9yl2JVaQuRU7Szcat53FWkUvWQ1gnhO2fbr9p4+Sdk
/a82SeMOmDUqZDp8F+LG+3xlY+Nh735ZUNHC1T+ELvTKUj+eDFvW/YgvgA3FeDww
IdxM3LGKlEBBYF44mr8eH5/301AuCA9lkjv//Vz/NHxLAr93On09Ug=
DKIM-Signature: v=1; a=rsa-sha1; c=relaxed; d=sourceware.org; h=list-id
:list-unsubscribe:list-subscribe:list-archive:list-post
:list-help:sender:date:from:to:subject:message-id:reply-to
:references:mime-version:content-type:in-reply-to; s=default;
bh=KTusFKVUeI3jFUi+etvzQh0Jb+E=; b=brbOoXvJBNohNFZJsb9S7SuaxzBp
8nGirIZBnTnnH3O07pZw1XEFXOl2IBIVx/VCVimE0ng9fBt4q01hNNJWBYrh9qCH
6AAvdHa0d2M7svv8TAI59FQ5QhnGgs9kSFpE9G2pA/1m704CVgpa4HtNl3q9/YYj
B48P0++0iChEFQg=
Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Id: <cygwin.cygwin.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
Authentication-Results: sourceware.org; auth=none
X-Virus-Found: No
X-Spam-SWARE-Status: No, score=-6.0 required=5.0 tests=AWL,BAYES_00 autolearn=ham version=3.3.2
X-HELO: calimero.vinschen.de
Date: Mon, 20 Jan 2014 18:27:58 +0100
From: Corinna Vinschen <corinna-cygwin AT cygwin DOT com>
To: cygwin AT cygwin DOT com
Subject: Re: socat with IP6 support?
Message-ID: <20140120172758.GA2357@calimero.vinschen.de>
Reply-To: cygwin AT cygwin DOT com
Mail-Followup-To: cygwin AT cygwin DOT com
References: <CAF+jOM1XK9d36w+FdRtd2q35yirEaVb0p0wNyteuWru4zTGWrA AT mail DOT gmail DOT com> <52D985D3 DOT 9070506 AT etr-usa DOT com> <CAF+jOM3X96jE+2nXBbadstJf6ehKCk0ae9est+6wvX5G1VFupg AT mail DOT gmail DOT com> <52D9A0C9 DOT 4080508 AT etr-usa DOT com> <20140117213255 DOT GA1843 AT ednor DOT casa DOT cgf DOT cx> <20140117221946 DOT GA22079 AT calimero DOT vinschen DOT de> <CAF+jOM3YUtgtae5L=kTmaChYRGQYrp6yGg9H8CbFQ3GguW5-0Q AT mail DOT gmail DOT com> <20140118114751 DOT GC22079 AT calimero DOT vinschen DOT de> <6nnpd9tm0hn3od1ch642flc0upuvr15jau AT 4ax DOT com>
MIME-Version: 1.0
In-Reply-To: <6nnpd9tm0hn3od1ch642flc0upuvr15jau@4ax.com>
User-Agent: Mutt/1.5.21 (2010-09-15)

--+HP7ph2BbKc20aGI
Content-Type: text/plain; charset=utf-8
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable

On Jan 20 03:45, Andrew Schulman wrote:
> > Thanks.  I added the ip6.h header nevertheless for the upcoming
> > Cygwin 1.7.28.
>=20
> This seems to work fine for socat, but for socat-debuginfo 2.0.0-b6, the
> build fails because IPV6_DSTOPTS is undefined.

I don't quite understand this.  socat-debuginfo is just a by-product of
building socat.  How can building socat work but building debuginfo fail?!?

> Cygwin doesn't seem to
> define IPV6_DSTOPTS.  In Ubuntu, it's defined in
> /usr/include/linux/in6.h (value 59), along with a whole bunch of other
> IPv6 socket options.
>=20
> I'm not sure what the best solution is here.  I could define it locally,
> but would it be better for Cygwin to bring in the missing definitions?

I don't think so.  I checked the available options on Windows again,
and IPV6_DSTOPTS is not supported.  I applied a small patch a few
minutes ago to add a few socket options our headers were missing,
but there are still a lot of Linux socket options not supported on
Windows which hinders CYgwin to support them.

Any chance you could tweak this piece of code to be built only
if IPV6_DSTOPTS is defined?


Corinna

--=20
Corinna Vinschen                  Please, send mails regarding Cygwin to
Cygwin Maintainer                 cygwin AT cygwin DOT com
Red Hat

--+HP7ph2BbKc20aGI
Content-Type: application/pgp-signature

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1

iQIcBAEBAgAGBQJS3VyeAAoJEPU2Bp2uRE+gtU0P/ioU5mPTl5cjCYmU5Q2h3+3U
snUFbtGV30he4qdrikn4RKA0WkGHprrrdWq47F7x8YytpV6C++MwFY9JYaAXfWRw
qGe+cSFhrxTvtBAsFcbhWdvGdQElqFsIv+EgsLfSqu0C74wErnTqGtzsT2Eo52ZO
O4jOmL3uINV1b9OlUs2V3OenrlDSlM9by+jBXWZthAAXlkbwmBj2B4+PEP/VYy4+
t33Lhtsy0D+PrPdI8/Na7k10VEE+pyuxk4Tl0lubS6Qe/Vc4lFH6+XeflnQvSn7K
uZ7dHlP+a1FLhmr/+yzmKan099rET+xG2Ko9919xExVvs7Tw34HjJzYKBN+tE9Uf
Kld1POkf/G2BP5vzCLwLBrxRWRW5Ca+cLbo16ert0DPRjpQKfBzXG0GyubIxOdWV
ylk0mS4WczGil5ILoOlkhJu5OHxa115JPbsdNmyPZpK7BaLz/OYfKQ0Qon+qVh+p
lL9ztkBduFWmzrpp7nrZkpYhS/JanfGkV8UmWDKemCBszRcMMT7WB0OHuhIeWVeJ
BPrLGUPuCUnZQXtgMo5KPR5+QhMWJ2nzIxG3aDJZAMVvCTubPscg0QWGUdFdpEma
G2z2n2++/NkgiRMB5L41Vb59a6Rj8HVK69z3eTsDkUreyAdv6FU3/Zm8kyACIuKw
cAapI4jNigmdrCkSU0Oc
=/Xna
-----END PGP SIGNATURE-----

--+HP7ph2BbKc20aGI--

- Raw text -


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