Hi,
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. The latter is required for the conditional
compilation of fix_program().
Anyway, just to get tcpdump to build, I changed
#ifdef HAVE_NETPACKET_PACKET_H
to
#if defined(HAVE_NETPACKET_PACKET_H) || defined(SO_ATTACH_FILTER)
It built fine, but of course if that's really the right solution.
Regards,
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