Submit Hint Search The Forums LinksStatsPollsHeadlinesRSS
14,000 hints and counting!


Click here to return to the 'Missing libpcap headers' hint
The following comments are owned by whoever posted them. This site is not responsible for what they say.
Missing libpcap headers
Authored by: blb on Sep 14, '01 02:24:16AM
While what yuriwho posted will help speed up compile, it won't fix this particular problem. The problem is that, while Apple includes libpcap libraries, they don't include the header files. Easiest thing is to grab libpcap header files and put the included files into /usr/local/include (create if necessary) then try again. If you don't trust the header files I put out there, you can grab the complete source for libpcap at ftp://ftp.ee.lbl.gov/libpcap.tar.Z.

[ Reply to This | # ]
Missing libpcap headers
Authored by: jtrascap on Sep 17, '01 03:38:42AM

Me again - I take it by header files you mean *.h files in the raw unpack? Just copy the 8 files into the directory you mentioned, right? Or do I need to do the INTSTALL as well? (No - haven't done that, since I think this will overwrite the Apple files, and I don't want to do that)

Thanks in advance..



[ Reply to This | # ]
Re: Missing libpcap headers
Authored by: blb on Sep 18, '01 11:22:06PM

Not sure which files you are referring to when you mention "the 8 files", but the ones I linked to in pcap_inc.tar.gz has just five (ethertype.h, gencode.h, pcap-int.h, pcap-namedb.h, and pcap.h) which define stuff in the libraries under /usr/lib which Apple provided. These five should be placed under /usr/local/include then try your make again.



[ Reply to This | # ]