X-Recipient: archive-cygwin@delorie.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 <dave.korn.cygwin@googlemail.com>
User-Agent: Thunderbird 2.0.0.17 (Windows/20080914)
MIME-Version: 1.0
To: cygwin@cygwin.com
Subject: Re: including file
References: <26079764.post@talk.nabble.com> <4AE718B9.2050004@cygwin.com> <26082915.post@talk.nabble.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@cygwin.com; run by ezmlm
List-Id: <cygwin.cygwin.com>
List-Subscribe: <mailto:cygwin-subscribe@cygwin.com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin@cygwin.com>
List-Help: <mailto:cygwin-help@cygwin.com>, <http://sourceware.org/ml/#faqs>
Sender: cygwin-owner@cygwin.com
Mail-Followup-To: cygwin@cygwin.com
Delivered-To: mailing list cygwin@cygwin.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

