Re: pcap programming
Re: pcap programming
- Subject: Re: pcap programming
- From: Rodrigo Otaviano <email@hidden>
- Date: Thu, 28 Aug 2003 10:28:52 -0700
Hi there,
Well, I've used libpcap on my machine ( OSX 10.2.6 ) and the
pcap_lookupdev function has worked well without any extra effort.
I didn't have to install it or recompile it. The library was already
there, ready to use.
Cheers,
Rodrigo Otavio Paes de Barros Otaviano
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
_______________________________________________
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.