tcpdump-3.0.2 and libpcap-0.0.6

tcpdump-3.0.2 and libpcap-0.0.6

Post by Jeffrey Philip Mon » Tue, 26 Sep 1995 04:00:00

I recently downloaded tcpdump-3.0.2 and after reading the README found that
I needed to compile libpcap-0.0.6 first.  I also read the Linux is not
supported in the souce file I down loaded but it has recently
been ported to linux.  I was wondering if anyone knows were I can
find these patch files to compile these programs.



|Jeff Monks                             |University of Illinois |

|     |Office: 444 C&SRL      |
|                                       |        (217) 244-7176 |

Jeffrey P. Monks (Jeff)

home page:


1. BUG REPORT - tcpdump-3.0.2


I just download and compiled tcpdump-3.0.2-linux.tar.gz from

When attempting to compile tcpdump, I got lots of warnings like this:

   In file included from /usr/include/arpa/nameser.h:194,
                 from print-udp.c:40:
   /usr/include/endian.h:37: warning: `LITTLE_ENDIAN' redefined
   /usr/include/asm/byteorder.h:10: warning: this is the location of
   the previous definition

These warnings didn't seem to be a show-stoppers.  However,
this was:

   In file included from print-udp.c:48:
   /usr/include/rpc/auth_unix.h:70: parse error before `*'
   In file included from print-udp.c:49:
   /usr/include/rpc/svc.h:223: parse error before `xdrproc_t'
   make: *** [print-udp.o] Error 1

I didn't see any obvious syntax errors in print-udp.c, auth_unix.h,
or svc.h.  So, I commented out the two #include statements in
print-udp.c, after which the make proceded fine.

I got the exact same parse errors for print-nfs.c and print-sunrpc.c.
So, I again commented out the offending #includes and make proceeded OK.

Then, I got:

   util.o: undefined reference to 'altzone'

From the relevant section of util.c, it seems that the statement
(return) using 'altzone' will never by executed on a Linux system.
So, I replace 'altzone' with a '0'.  The make finally built tcpdump
and it seems to work fine for my PPP connection, but I haven't really
'stressed-tested' it.

Darin Davis

2. View Graphics on remote server

3. libpcap problem (hdr.len vs tcpdump file size)?

4. Free Unix Shells with telnet

5. libpcap and tcpdump

6. lpd problem

7. Red Hat 6.0 install errors: "Install bootloader"

8. tcpdump, libpcap

9. libpcap, tcpdump,..

10. tcpdump & libpcap

11. libpcap and tcpdump

12. tcpdump and libpcap