This is the mail archive of the cygwin mailing list for the Cygwin project.

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: including file

On 10/27/2009 02:42 PM, Mar11 wrote:

thanks alot for your respons.

you can view the code form this website:

the used compile flag is:

gcc -o testprog testprog.c -lpcap (if assumed that the file name is

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 ( 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 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:
Unsubscribe info:

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]