Ethereal-dev: Re: [Ethereal-dev] Re: ethereal on Tru64

Note: This archive is from the project's previous web site, ethereal.com. This list is no longer active.

From: Laurent Deniel <deniel@xxxxxxxxxxx>
Date: Wed, 14 Mar 2001 06:40:13 +0100
Guy Harris wrote:
> 
> > - the libpcap distribution is buggy :
> >   it uses the snprintf implementation of tcpdump but does not include the
> >   object file in the resulting libpcap library (so linking of tcpdump works,
> >   but linking of any other programs fails).
> >   You can add the snprintf.o (I do not remember exactly the file name) from
> >   the tcpdump distribution to the libpcap library then, configure should
> >   work
> 
> But Ethereal has its own snprintf - why wasn't that getting used?

Because it is at configure phase not ethereal link phase, so the detection
of pcap_open_live fails (i.e. linking of a simple libpcap program ...)

> (BTW, you should probably send a note to tcpdump-workers@xxxxxxxxxxx -
> "snprintf()" should perhaps move to libpcap to handle this case for
> applications that, unlike tcpdump and Ethereal, don't use snprintf and
> don't have their own copy of it on platforms that don't have it.)
> 

Yes.

--
Laurent DENIEL        | E-mail: deniel@xxxxxxxxxxx
Paris, FRANCE         |         laurent.deniel@xxxxxxxxxxxxxxxxxxxxxxxxxxxx
                      | WWW   : http://www.worldnet.fr/~deniel
    All above opinions are personal, unless stated otherwise.