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:content-type :mime-version:content-transfer-encoding; q=dns; s=default; b=uTW QH1gDjbxzwKEQqHlVlnSZ+YMebfu3ttNguOB0nmcQ742sT4Mwnex8FJkObCJLQLN X1WlPGCtR1FCzc+5KHfD07cekjIlKss23kQlSXXOrgaYQCiLCrX9LFXAu51By7TK 7waVepS1kT26DOuIClLCAYIMVXF/lXWmekRUtAY0= 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:content-type :mime-version:content-transfer-encoding; s=default; bh=fH6S38kdo QNmJDWTJrbDl7zi9s0=; b=RlhjyhLawDYTQepTsVzIaZD49WQJd4druEdmyc5Zn Qz7VHV4wJ82bQBlHqaWBVCUeZY7EDbqfhYl9ouDeRh10Z3VvkWWC8iNfmrIur8kn RHx3VXXVxD429SBtMvnw061ctOovupUD47J0Kv0n2VliXkJnE4MuSxpSlqXIoOhF YI= 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=-2.5 required=5.0 tests=AWL,BAYES_00,FREEMAIL_FROM,RCVD_IN_DNSWL_LOW,SPF_PASS,T_RP_MATCHES_RCVD autolearn=ham version=3.3.2 spammy=Hx-languages-length:1007, dear, UD:htm X-HELO: mout.gmx.net Message-ID: <1513061645.3889.0.camel@gmx.net> Subject: libnet on cygwin: how to deal with libpcap? From: Gianpaolo Pedrazza To: cygwin AT cygwin DOT com Date: Tue, 12 Dec 2017 07:54:05 +0100 Content-Type: text/plain; charset="UTF-8" Mime-Version: 1.0 Content-Transfer-Encoding: 7bit X-UI-Out-Filterresults: notjunk:1;V01:K0:ZEXEVVGg6pc=:AuR12fM+8SM7Xu1S+yFy+3 cwtNHvnzkHPmWP27JA89WzEwpvosI5VFiAtvtF9JUEFPqNkzwUdHn/nmze0hKiXsjkrBKahTc eWnS6rX6yxw4H7DbwRlcl/gbKMaiQE6aT97QmjEkB7+7SdKGLi72DsZ8h/qYfNygAjpSQHaAn ZhWBuCPoVOsEhVIlSSnyPoqo5ANjfXZXMapeL0NKQwOvxJ3w0drc0oGXi0ACqBiXpoX6AMG4G QOXk8sBL+BSYNzhhBh0Hx/xPd6NlmbGJcHq/rWRabb4Z+ody0MKUNZbIRzRBwxvjf8UM/OAoX 80kXOnEQQAQ2MRgMU2ORxIsZ4tQiYVwFL/Ov9LHXTvV0vE/+JzjICFU/rbHX7E+/Ae3blkxDR k1tjqgCT2KzoquqJ9xuFnYoUD1SpkB2WqnW/P5dJysR2g76wYCMfj2xpmo/DwyYbnK+2lBfiv DaGqjzbfZh85aNBS+KsJrwtesiXWXpYyPSoEnSQDJ2LZoRGyxl/PDsBw93s9L1ypJiAvuwQQi kPGKqCa4zSV7CdAq/WClUSSJ/N8y40eoET9TZfuX1NfH+YJ7aAeYZyR+RjOa5ZV69wyfU34gB 0BK1Ty9qoOVr5d2rOnzllsJMyZSuQUjL/mwaqeaA4Pm99DMXih6vMaYmX+dluxr/xvCUFNT8d lNFbnhAljtWf4REYWAZ4F+Ya7F4TLnoFG2U4ZfLXZeKDsJrmuiYVj6mX1MZRweUJjo9USlQD4 Mt2O3xNiUxaadwSOVJP50v2Zznx27jSCdQ9ey2a9ZABO0VC7EN6PzndQfWwcxX9H+XraCG+vf FdgyaPPOrsiDDgRTXOK0OZnP46qvgNFTRE4UZoBK1wibC25cgw= Dear all, 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? Cheers, Gianpaolo [1] https://sourceforge.net/projects/libnet-dev/ [2] https://www.unix.com/unix-for-beginners-questions-and-answers/26518 0-installing-winpcap-configure-cygwin.html [3] https://stackoverflow.com/questions/2396251/help-installing-libpcap -on-cygwin [4] https://www.winpcap.org/devel.htm -- 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