X-Recipient: archive-cygwin@delorie.com
X-SWARE-Spam-Status: No, hits=-2.5 required=5.0 	tests=AWL,BAYES_00,SPF_HELO_PASS
X-Spam-Check-By: sourceware.org
Message-ID: <4AE74506.9010901@cygwin.com>
Date: Tue, 27 Oct 2009 15:07:50 -0400
From: "Larry Hall (Cygwin)" <reply-to-list-only-lh@cygwin.com>
Reply-To: cygwin@cygwin.com
User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.8.1.21) Gecko/20090320 Remi/2.0.0.21-1.fc8.remi Lightning/0.9 Thunderbird/2.0.0.21 Mnenhy/0.7.5.0
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=UTF-8; format=flowed
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

On 10/27/2009 02:42 PM, 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)
>
> thanks in advance

OK, so if_ether.h isn't in this source.  I guess that won't be a problem.

Is there a reason you're trying to compile this for Cygwin?  It would seem 
to me
that if your goal was to build and run this on Windows, you'd be better off with
Mingw (mingw.org).  Otherwise, if you prefer to continue in the direction 
that you
started, the problem you're having, I cannot reproduce.  Seeing your command 
line
didn't offer any insights.  So I'd recommend *attaching* cygcheck output at 
least if
you want to follow up.  'gcc --version' may also help.  Seeing the output of
"ls -l /usr/include/netinet/in.h /usr/include/arpa/inet.h" might help as well.


-- 
Larry Hall                              http://www.rfk.com
RFK Partners, Inc.                      (508) 893-9779 - RFK Office
216 Dalton Rd.                          (508) 893-9889 - FAX
Holliston, MA 01746

_____________________________________________________________________

A: Yes.
 > Q: Are you sure?
 >> A: Because it reverses the logical flow of conversation.
 >>> Q: Why is top posting annoying in email?

--
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

