> 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)

Well, as line 110 of the tcpdump 3.5.2 "tcpdump.c" doesn't refer to
DLT_ATM_CLIP, you're presumably compiling the current CVS version of
tcpdump, or one of the snapshots thereof. 

However, as it's referring to "../libpcap-0.5", it's getting its header
files from libpcap 0.5 (or 0.5.1 or 0.5.2), *not* from the current CVS
version of libpcap.

There's no guarantee that a given version of tcpdump will work with any
version of libpcap other than the corresponding version of libpcap; in
this particular case, in fact, it *won't* work.

Get rid of the libpcap 0.5 source you have; then, make sure that you
have the current CVS version of libpcap, or a snapshot thereof, in the
same directory as the one with the tcpdump source (i.e., in directory
XXX, there should be one subdirectory with the tcpdump source, and
another with the libpcap source), build libpcap, and then:

        cd to the tcpdump source directory;

        run "make distclean";

        re-run "configure";

        run "make".
-
This is the TCPDUMP workers list. It is archived at
http://www.tcpdump.org/lists/workers/index.html
To unsubscribe use mailto:[EMAIL PROTECTED]?body=unsubscribe

Reply via email to