Re: pcap programming
Re: pcap programming
- Subject: Re: pcap programming
- From: Julien Guimont <email@hidden>
- Date: Thu, 28 Aug 2003 11:01:53 -0400
Hello,
Libpcap is installed in your library folder in the bsd installation of
OS X, You do not have to recompile the library. Back in 10.1 libpcap
used in OS X was missing the lookupdev function you are talking about.
Back then a software engineer from apple gave me a fully working
compiled version of the library. If you go to my web site and download
Ridge (a packet capture, network monitoring program) you can get a copy
of it from the installer. www.juggysoft.com/ridge,html .
Enjoy,
Julien Guimont
Juggy Software
www.juggysoft.com
Message: 10
Date: Thu, 28 Aug 2003 20:24:37 +1000
Subject: pcap programming
From: Syphor <email@hidden>
To: email@hidden
Hey all,
I have tried to install libpcap manuall on my MacOS X machine
(10.2.6). I have done the usual...
sudo -s
./configure ppc
make
make install
then I try to compile this simple program.
#include <stdio.h>
#include <pcap.h>
int main( int argc, char* argv )
{
char *dev;
dev = pcap_lookupdev(argv[1]);
printf("Device: %s\n", dev);
return(0);
}
and i get the following error... i have nfi whats wrong :/
ld: Undefined symbols:
_pcap_lookupdev
The version of libpcap i compiled was 0.7.1
_______________________________________________
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.