tcpdump mailing list archives

patch - configure.in changes for Linux header file detection


From: Darren Reed <darren.reed () oracle com>
Date: Fri, 03 Jun 2011 20:58:38 -0700

This set of diffs is required to correct a problem when compiling
libpcap on Solaris 11 due to the assumption that the presence of
AF_PACKET implies certain header files are in certain positions.
The failure (without the patch) is demonstrated as follows:

gcc -O2 -fpic -I. -DHAVE_CONFIG_H -D_U_="__attribute__((unused))" -g -O2 -c ./fad-getad.c
./fad-getad.c:69:27: linux/types.h: No such file or directory
./fad-getad.c:70:31: linux/if_packet.h: No such file or directory


Darren

Attachment: libpcap-config.diffs
Description:

-
This is the tcpdump-workers list.
Visit https://cod.sandelman.ca/ to unsubscribe.

Current thread: