From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 76826 invoked by alias); 12 Dec 2017 16:07:58 -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 76072 invoked by uid 89); 12 Dec 2017 16:07:57 -0000 Authentication-Results: sourceware.org; auth=none X-Virus-Found: No X-Spam-SWARE-Status: No, score=0.5 required=5.0 tests=AWL,BAYES_50,KAM_LAZY_DOMAIN_SECURITY,RCVD_IN_DNSWL_LOW autolearn=no version=3.3.2 spammy=calgary, Calgary, H*R:D*ca, alberta X-HELO: smtp-out-no.shaw.ca Received: from smtp-out-no.shaw.ca (HELO smtp-out-no.shaw.ca) (64.59.134.12) by sourceware.org (qpsmtpd/0.93/v0.84-503-g423c35a) with ESMTP; Tue, 12 Dec 2017 16:07:51 +0000 Received: from [192.168.1.100] ([24.64.240.204]) by shaw.ca with SMTP id On5weqaWnp2osOn5xeHvIR; Tue, 12 Dec 2017 09:07:49 -0700 X-Authority-Analysis: v=2.2 cv=KLEqNBNo c=1 sm=1 tr=0 a=MVEHjbUiAHxQW0jfcDq5EA==:117 a=MVEHjbUiAHxQW0jfcDq5EA==:17 a=N659UExz7-8A:10 a=Fz5TlhHwAAAA:8 a=NEAV23lmAAAA:8 a=GjNARIowPpH1fc6jtgAA:9 a=pILNOxqGKmIA:10 a=jAOcdigjkLkwuy-0K7Rs:22 From: Brian Inglis Subject: Re: libnet on cygwin: how to deal with libpcap? Reply-To: Brian.Inglis@SystematicSw.ab.ca To: cygwin@cygwin.com References: <1513061645.3889.0.camel@gmx.net> Message-ID: <4fc60018-3b9b-1695-9975-2c2e9c8af8f5@SystematicSw.ab.ca> Date: Tue, 12 Dec 2017 19:42:00 -0000 User-Agent: Mozilla/5.0 (Windows NT 10.0; WOW64; rv:52.0) Gecko/20100101 Thunderbird/52.5.0 MIME-Version: 1.0 In-Reply-To: <1513061645.3889.0.camel@gmx.net> Content-Type: text/plain; charset=windows-1252 Content-Transfer-Encoding: 7bit X-CMAE-Envelope: MS4wfMTN9Uk6GRctikUtRAkRnclQZ9JpkA7wKfTJFChfG+1+ULtR7T7tyRrFn6VJd47vGcrIS/JFenXUvRRdkB/s+xoxBLpXGBh2Vuo9F9S0SJG/ETS8auNE Ox6Riicqt2xa9BZSaoGzgrsinP73fNJvXfeMmb4IXZt7B6yD/j0zCimQaBFUMCf9RO7NoLgNm9GLwQ== X-IsSubscribed: yes X-SW-Source: 2017-12/txt/msg00113.txt.bz2 On 2017-12-11 23:54, Gianpaolo Pedrazza 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. -- Take care. Thanks, Brian Inglis, Calgary, Alberta, Canada -- 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