sorry for the duplicated posts that I sent out; it was just taking
forever to show up ;)

On Tue, Jan 16, 2001 at 12:05:27PM -0800, Guy Harris wrote:
> > While trying to link tcpdump to libpcap 0.6.1 on linux, I got an error
> > that fix_program() was not defined.  Looking at pcap-linux.c, it seems
> > that SO_ATTACH_FILTER was defined in my environment but not
> > HAVE_NETPACKET_PACKET_H.
> 
> Err, umm, what particular flavor of Linux (what distribution, and what
> version) are you running?

uhh... it originally started off as slackware 3.x a couple of years
ago but now with so many upgrades, I dunno what flavor per se it is
now.  It is now running 2.2.17 with libc5 and run-time glibc2.1.
  
> But if it doesn't have "/usr/include/netpacket/packet.h", either

correct

>       2) it's using some version of libc that doesn't supply headers
>          for PF_PACKET, in which case whoever put that distribution
>          together needs to acquire a clue;

umm... i'll take the blame on this ;)  I suppose that PF_PACKET
header(s) didn't exist back then and I failed grab them during the
kernel upgrades.

So could i just fix the problem by just download the header file?  Well
i'm gonna try that and see what happens.


thanks
kaifu
-
This is the TCPDUMP workers list. It is archived at
http://www.tcpdump.org/lists/workers/index.html
To unsubscribe use mailto:[EMAIL PROTECTED]?body=unsubscribe

Reply via email to