Subject: tcpdump.c
To: None <current-users@NetBSD.ORG>
From: Gary Timuss <gtimuss@sirius.UVic.CA>
List: current-users
Date: 10/05/1996 15:36:50
I'm getting stuck on compiling the new source tree:

/usr/src/usr.sbin/tcpdump oak7a.vlg1# make
cc -O -DCSLIP -DPPP -DFDDI -DETHER_SERVICE  -Werror  -c tcpdump.c
cc1: warnings being treated as errors
tcpdump.c: In function `main':
tcpdump.c:286: warning: passing arg 2 of `pcap_lookupnet' from incompatible pointer type
tcpdump.c:286: warning: passing arg 3 of `pcap_lookupnet' from incompatible pointer type
*** Error code 1

Stop.


It's actually something that would be really easy to hack over, but I
suspect the problem has something to do with the fact that I have a

oak7a.vlg1# l /usr/include/pcap.h
-r--r--r--  1 bin  bin  4919 Apr  4  1995 /usr/include/pcap.h

but no
oak7a.vlg1# l /usr/src/include/pcap.h
ls: /usr/src/include/pcap.h: No such file or directory

and neither does ftp.netbsd.org in the appropriate place.

At the risk of using an expression I hate, and normally find somewhat
offensive, I can hardly think of a more appropriate question than,
"What gives?"

Gary

-- 
Gary.Timuss@engr.UVic.CA
<A HREF=http://www.engr.uvic.ca/~gtimuss/>Gary's Home Page</A>