I'm trying to compile and run tcpdump on RH 7.0 and am running in to
errors. I've included them in the attached  Linux text file. I'm willing
to beta any changes you might make to get this running.
You can send either a patch or instructions on changes, if they are
basic.
Please keep in mind that I'm a Perl programmer, not a C programer.

Thanks

Andrew Lawton


Linux swan 2.2.17 #2 Mon Nov 27 14:49:36 EST 2000 i686 unknown
Reading specs from /usr/lib/gcc-lib/i386-redhat-linux/2.96/specs
gcc version 2.96 20000731 (Red Hat Linux 7.0)
gcc -O2 -DHAVE_CONFIG_H -I. -I../libpcap-0.5  -I./missing -I/usr/include 
-I/usr/include/openssl -c ./tcpdump.c
./tcpdump.c:110: `DLT_ATM_CLIP' undeclared here (not in a function)
./tcpdump.c:110: initializer element is not constant
./tcpdump.c:110: (near initialization for `printers[2].type')
./tcpdump.c:119: `DLT_C_HDLC' undeclared here (not in a function)
./tcpdump.c:119: initializer element is not constant
./tcpdump.c:119: (near initialization for `printers[11].type')
./tcpdump.c:120: `DLT_PPP_SERIAL' undeclared here (not in a function)
./tcpdump.c:120: initializer element is not constant
./tcpdump.c:120: (near initialization for `printers[12].type')
make: *** [tcpdump.o] Error 1

Reply via email to