views:

68

answers:

0

How to fix the following error while trying to capture ICMP packets in FreeBSD 7.0-RELEASE-p3 using libpcap?

/usr/include/netinet/ip_icmp.h:71: error: expected specifier-qualifier-list before 'n_short' /usr/include/netinet/ip_icmp.h:78: error: expected specifier-qualifier-list before 'n_short' /usr/include/netinet/ip_icmp.h:100: error: expected specifier-qualifier-list before 'n_time' /usr/include/netinet/ip_icmp.h:105: error: field 'idi_ip' has incomplete type