Re: pcap programming
Re: pcap programming
- Subject: Re: pcap programming
- From: "Alastair J.Houghton" <email@hidden>
- Date: Thu, 28 Aug 2003 12:24:48 +0100
On Thursday, August 28, 2003, at 12:08 pm, Syphor wrote:
Dear Damien,
All i'm using to compile is
cc main.c -o run
./run
Thats all i do.
You actually have to tell the compiler to link with the library,
otherwise it'll never work! Try
cc main.c -lpcap -o run
(or if libpcap.a isn't in your default library search path
cc main.c -L/path/to/libpcap/ -lpcap -o run)
Kind regards,
Alastair.
_______________________________________________
cocoa-dev mailing list | email@hidden
Help/Unsubscribe/Archives:
http://www.lists.apple.com/mailman/listinfo/cocoa-dev
Do not post admin requests to the list. They will be ignored.