Subject: Re: tcpdump.org
To: None <tech-net@netbsd.org, tcpdump-workers@netbsd.org>
From: Michael Richardson <mcr@sandelman.ottawa.on.ca>
List: tech-net
Date: 10/17/1999 18:28:20
>>>>> "Ignatios" == Ignatios Souvatzis <ignatios@cs.uni-bonn.de> writes:
    Ignatios> On Fri, Oct 08, 1999 at 04:37:08AM +0200, Hubert Feyrer wrote:
    >> On Thu, 7 Oct 1999, Michael Richardson wrote:
    >> >   In other news... I finally registered tcpdump.org and set things up.
    >> 
    >> on 1.4.1/sparc, I get for libpcap:
    >> 
    >> ...
    >> gcc -O2 -I. -DHAVE_MALLOC_H=1 -DHAVE_SYS_IOCCOM_H=1 -DHAVE_SYS_SOCKIO_H=1
    >> -DHAVE
    >> _ETHER_HOSTTON=1 -DHAVE_STRERROR=1 -DHAVE_SOCKADDR_SA_LEN=1 -DLBL_ALIGN=1
    >> -c ./n
    >> ametoaddr.c
    >> ./nametoaddr.c:334: conflicting types for `ether_hostton'
    >> /usr/include/net/if_ether.h:190: previous declaration of `ether_hostton'
    >> *** Error code 1
    >> 
    >> tcpdump builds fine, but can't link with the libpcap not built. (it links
    >> fine against NetBSD's libpcap)

    Ignatios> Well, you should diff this against NetBSD's, and find out what changed in
    Ignatios> our code. E.g., if libpcap insists to declare standard functions itself, 
    Ignatios> and differently (e.g., using "char" instead of "u_int8_t") it is going to
    Ignatios> fail.

  The bad news is that the diff's are not extensive due to IPv6 patches. 
  Assar suggest just removing that prototype, which seems to work.

  The good news is that itojun has an account and wants to commit the IPv6
patches.

] Train travel features AC outlets with no take-off restrictions|  firewalls  [
]   Michael Richardson, Sandelman Software Works, Ottawa, ON    |net architect[
] mcr@sandelman.ottawa.on.ca http://www.sandelman.ottawa.on.ca/ |device driver[
] panic("Just another NetBSD/notebook using, kernel hacking, security guy");  [