From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 72573 invoked by alias); 14 Dec 2017 19:32:29 -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 72209 invoked by uid 89); 14 Dec 2017 19:32:29 -0000 Authentication-Results: sourceware.org; auth=none X-Virus-Found: No X-Spam-SWARE-Status: No, score=-1.3 required=5.0 tests=AWL,BAYES_05,FREEMAIL_FROM,RCVD_IN_DNSWL_LOW,SPF_PASS,T_RP_MATCHES_RCVD autolearn=ham version=3.3.2 spammy=UD:www.win10pcap.org, wwwwin10pcaporg, UD:win10pcap.org, sk:wwwwin X-HELO: mout.gmx.net Received: from mout.gmx.net (HELO mout.gmx.net) (212.227.15.18) by sourceware.org (qpsmtpd/0.93/v0.84-503-g423c35a) with ESMTP; Thu, 14 Dec 2017 19:32:27 +0000 Received: from gianpaolo.local ([212.186.54.74]) by mail.gmx.com (mrgmx001 [212.227.17.190]) with ESMTPSA (Nemesis) id 0LhfN3-1eliei0qBt-00ms35; Thu, 14 Dec 2017 20:32:21 +0100 Message-ID: <1513279960.3099.6.camel@gmx.net> Subject: Re: libnet on cygwin: how to deal with libpcap? From: Gianpaolo Pedrazza To: Brian.Inglis@SystematicSw.ab.ca, cygwin@cygwin.com Date: Thu, 14 Dec 2017 19:57:00 -0000 In-Reply-To: <4fc60018-3b9b-1695-9975-2c2e9c8af8f5@SystematicSw.ab.ca> References: <4fc60018-3b9b-1695-9975-2c2e9c8af8f5@SystematicSw.ab.ca> Content-Type: text/plain; charset="UTF-8" Mime-Version: 1.0 Content-Transfer-Encoding: quoted-printable X-UI-Out-Filterresults: notjunk:1;V01:K0:PfDhld2g0MU=:3IcKVG5H4JnM/fz2vUzKJ+ OQWLx/wHnIY1S8PRvr8XjThL4syiNhAuL1JbIIHA4nsRKFCX3sAnZ4ElzY2aQu8D8MDHVDv3Z 7Nf5BvHLhTaL6k1uYJatX+QlmgyXhGaKEKFrdqccJY1jzuSzQiQgAqRwJCknW8EWc/lXMNA7y IPYRz0S+1/pPhJTb86EMxFyGOKRejSaZ2F612G9QR+jqYBeJyncn1MY3QHmRooKzLedIsSnlr YgM6ZDXAvJQSoz4r/qDWScY3P8a36K5okruc51noRgQ5z+W5qm0K1S/79Kt2lLEfnL8dPPojn l00iqKQRF8ew5YWVsCzGzHmF02lp3T8g5fitAWE1amzKVImPvOgH96VaO75qdfLi5d4EOzpee RacDo0M+Tfc2RVNGLn9NhV//OHG9jyZKDJMA03BAgtrs5YqaW02OUzMcQOUpx0Shce+mVUXGL 7ZKCcWaWzgbZpWiZeU8/qSxegQPsUmh9RK9mGarqzUAZ7SKU03J4RjBJVd9tTe0ntIQAQ9A6G hnI5LDsx2GVdP0Ktj3Iygn53Hu+7jlTS+Bj5C+p1jAfza70M8NiO9T0agSb0J8zvvk5D5/8+V YFzdUrwWXGh2oza8sUCEW9i26YnHHTfVdLypSMQwFJggZr93L4VsddMK2uIwIk/W5PBB9eHLY nZ+wav9U/YgMnze6cpKCvmxVLFz9KFmo7YZPpY1aYTVqyyHUC9RTHuTTZyGtCnB7+7uETjJMg a+sVttBGS2Qjm/ck9oZxIynjQuDE6aAB67t8Se0H2A+gxMcbWwLR2Q3K2lDikwOwZ7PR+1tKv wVOb9xpEd6Zdifs0yIetQxSWYDNWdFxMyONHD/591PUi5czHvlWSfaWNa2dhACLdGivsOkm X-SW-Source: 2017-12/txt/msg00140.txt.bz2 On mar, 2017-12-12 at 09:07 -0700, Brian Inglis wrote: > > I need to install libnet and I found on various sites [2][3] that > > the > > only one way to install the prerequisite libpcap is to extract the > > Developer Pack [4] into cygwin. I did it, I run all the tests and > > the > > pcap library seemed to work pretty well. So I run the configure > > file > > the latest available version of libnet and I was able to create the > > Makefile. My problem comes running the "make" command, because the > > libpcap library includes winsock2.h while libnet is based on > > socket.h. > > Is this definitely an incompatibility between the two libraries or > > there is something which can be done? Does someone know another way > > to > > install libpcap on cygwin? > Might want to look at > http://www.win10pcap.org/ or > https://github.com/nmap/npcap/ from the nmap project, or both. I had a look, but I couldn't do too much and decided to go through another way. Apparently there is a patch that can be applied to the libnet source files before compiling the library under cygwin. It was once available under=C2=A0http://mathieu.carbou.free.fr/pub/libnet/1.1.2.1/l ibnet-cygwin-diffs-1.1.2.1.zip. Is anyone here who has downloaded this zip file or knows where a copy is available on the link? Cheers, Gianpaolo -- 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