From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 26587 invoked by alias); 11 May 2015 15:52:09 -0000 Mailing-List: contact cygwin-help@cygwin.com; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner@cygwin.com Mail-Followup-To: cygwin@cygwin.com Received: (qmail 26574 invoked by uid 89); 11 May 2015 15:52:09 -0000 Authentication-Results: sourceware.org; auth=none X-Virus-Found: No X-Spam-SWARE-Status: No, score=-1.4 required=5.0 tests=AWL,BAYES_00,KAM_LAZY_DOMAIN_SECURITY,RCVD_IN_DNSWL_LOW autolearn=no version=3.3.2 X-HELO: smtp5-g21.free.fr Received: from smtp5-g21.free.fr (HELO smtp5-g21.free.fr) (212.27.42.5) by sourceware.org (qpsmtpd/0.93/v0.84-503-g423c35a) with (AES256-GCM-SHA384 encrypted) ESMTPS; Mon, 11 May 2015 15:52:08 +0000 Received: from [192.168.0.12] (unknown [78.224.52.79]) by smtp5-g21.free.fr (Postfix) with ESMTPS id 58C6DD4805A; Mon, 11 May 2015 17:48:24 +0200 (CEST) From: Denis Excoffier Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: quoted-printable Date: Mon, 11 May 2015 18:07:00 -0000 Subject: cannot build cygwin-2.0.2 because of net.cc (or because of some header.h) To: The Cygwin Mailing List Message-Id: Mime-Version: 1.0 (Mac OS X Mail 8.2 \(2098\)) X-SW-Source: 2015-05/txt/msg00127.txt.bz2 Hello, In order to successfully build cygwin-2.0.2-1 (for x86, both XP and W7) i h= ad to apply the following patch (below). No such problem with cygwin-2.0.1-1. Regards, Denis Excoffier diff -uNr newlib-cygwin-o/winsup/cygwin/net.cc newlib-cygwin-p/winsup/cygwi= n/net.cc --- newlib-cygwin-o/winsup/cygwin/net.cc 2015-05-08 23:51:08.000000000 +0200 +++ newlib-cygwin-p/winsup/cygwin/net.cc 2015-05-11 10:12:57.816299800 +0200 @@ -2444,7 +2444,7 @@ return -1; } =20 -extern "C" unsigned +extern "C" NET_IFINDEX if_nametoindex (const char *name) { PIP_ADAPTER_ADDRESSES pa0 =3D NULL, pap; @@ -2478,7 +2478,7 @@ } =20 extern "C" char * -if_indextoname (unsigned ifindex, char *ifname) +if_indextoname (NET_IFINDEX ifindex, char *ifname) { PIP_ADAPTER_ADDRESSES pa0 =3D NULL, pap; char *name =3D NULL; -- 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