X-Recipient: archive-cygwin AT delorie DOT com X-SWARE-Spam-Status: No, hits=-2.5 required=5.0 tests=AWL,BAYES_00,SPF_PASS X-Spam-Check-By: sourceware.org Message-ID: <4AE748F6.2040006@gmail.com> Date: Tue, 27 Oct 2009 19:24:38 +0000 From: Dave Korn User-Agent: Thunderbird 2.0.0.17 (Windows/20080914) MIME-Version: 1.0 To: cygwin AT cygwin DOT com Subject: Re: including file References: <26079764 DOT post AT talk DOT nabble DOT com> <4AE718B9 DOT 2050004 AT cygwin DOT com> <26082915 DOT post AT talk DOT nabble DOT com> In-Reply-To: <26082915.post@talk.nabble.com> Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit 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 Mar11 wrote: > > thanks alot for your respons. > > you can view the code form this website: > > http://www.mirrorservice.org/sites/ftp.wiretapped.net/pub/security/packet-capture/winpcap/docs/docs_40_2/html/group__wpcap__tut2.html > > > the used compile flag is: > > gcc -o testprog testprog.c -lpcap (if assumed that the file name is > testprog.c) I don't think winpcap has been ported to compile under cygwin yet, and it's one of those things where there's a lot of very OS-specific stuff that can't be emulated by cygwin. I think it *might* work if you use the native windows binaries, headers and link-libs in a cygwin application, it would be worth trying, but as for compiling winpcap/libpcap from source under cygwin, forget about it unless you're ready to put in probably a month or two's hard work. cheers, DaveK -- 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