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:message-id:subject:from:to:date:in-reply-to :references:content-type:mime-version:content-transfer-encoding; q=dns; s=default; b=ARGw6Cne0t9SFDqyysJK1VKEk2yQ7tULpxzdf13xlEL jE5Kkfc/VlvEAGEF2TNww8qGjgI4MXBmt3u/Jqh11BMwBE3Hg9lEw1os4H7m3lsG PHh6YbSLh0IiUSHP563JuO01yqaCLkCnoEAKpFwQkPW+lZ6ph5NdciAqyhPnVbOI = 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:message-id:subject:from:to:date:in-reply-to :references:content-type:mime-version:content-transfer-encoding; s=default; bh=pKzMjEvDAG0uEgXLwGB63btObvc=; b=s+RUCKUMeV/sSPbeI zju/b2e2XU2IqfdGPQ81W2WAd2L2yeRVJ4b0/6bAuQ2KWdy9LSLEYLkZrNU2vJBz AhmsuU93lRnzcuaj6mhVxjMZuM61H8e50mvlwp6LDVndDAIt5iBnlKdeiHkq2kEj Bo+Kr0L2yNw77RvH5n2n/1rm3U= Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , 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=-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 Message-ID: <1513279960.3099.6.camel@gmx.net> Subject: Re: libnet on cygwin: how to deal with libpcap? From: Gianpaolo Pedrazza To: Brian DOT Inglis AT SystematicSw DOT ab DOT ca, cygwin AT cygwin DOT com Date: Thu, 14 Dec 2017 20:32:40 +0100 In-Reply-To: <4fc60018-3b9b-1695-9975-2c2e9c8af8f5@SystematicSw.ab.ca> References: <4fc60018-3b9b-1695-9975-2c2e9c8af8f5 AT SystematicSw DOT ab DOT ca> Content-Type: text/plain; charset="UTF-8" Mime-Version: 1.0 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 Content-Transfer-Encoding: 8bit X-MIME-Autoconverted: from quoted-printable to 8bit by delorie.com id vBEJWj5X007688 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 http://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