tcpdump mailing list archives
Re: missing/wrong headers when building libpcap under Linux 2.4.22 and glibc 2.3.2
From: Guy Harris <guy () alum mit edu>
Date: Fri, 10 Oct 2003 02:57:51 -0700
On Thu, Oct 09, 2003 at 11:41:06PM -0700, Jeremy C. Reed wrote:
So here is the problem. My /usr/include/net/raw.h says: "An implementation of the TCP/IP protocol suite for the LINUX ..." and "Version: @(#)raw.h 1.0.2 05/07/93".
That was fixed in revision 1.97 of configure.in: revision 1.97 date: 2002/09/04 20:31:33; author: guy; state: Exp; lines: +4 -4 Red Hat Linux 7.2 appears to have a <net/raw.h> file, which causes the configure script to think it's IRIX, so test for "/usr/include/linux/socket.h" before testing for "/usr/include/net/raw.h" (which is done before testing for "/usr/include/sys/dlpi.h"; hopefully no future IRIX release, or future release of Solaris/HP-UX/AIX/other OS that supports DLPI, will add "/usr/include/linux/socket.h" as a "helpful" header file for Linux compatibility). so it'll be fixed in the next release. - This is the TCPDUMP workers list. It is archived at http://www.tcpdump.org/lists/workers/index.html To unsubscribe use mailto:tcpdump-workers-request () tcpdump org?body=unsubscribe
Current thread:
- missing/wrong headers when building libpcap under Linux 2.4.22 and glibc 2.3.2 Jeremy C. Reed (Oct 07)
- Re: missing/wrong headers when building libpcap under Linux 2.4.22 and glibc 2.3.2 Guy Harris (Oct 07)
- Re: missing/wrong headers when building libpcap under Linux 2.4.22 and glibc 2.3.2 Jeremy C. Reed (Oct 09)
- Re: missing/wrong headers when building libpcap under Linux 2.4.22 and glibc 2.3.2 Guy Harris (Oct 10)
- Re: missing/wrong headers when building libpcap under Linux 2.4.22 and glibc 2.3.2 Jeremy C. Reed (Oct 09)
- Re: missing/wrong headers when building libpcap under Linux 2.4.22 and glibc 2.3.2 Guy Harris (Oct 07)