Ethereal-users: Re: [ethereal-users] Ethereal 0.7.8 compilation problem

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

From: Gilbert Ramirez <gram@xxxxxxxxxx>
Date: Wed, 24 Nov 1999 09:24:00 -0600
On Wed, Nov 24, 1999 at 03:19:55AM -0600, Tom Scholten wrote:
> 
> 
> Hi all,
> 
> I downloaded the package after the newsflash on freshmeat, had libpcap
> already installed and tried to compile. All goes well for a while ... then
> this :
> 
> packet-vrrp.o packet-x25.o packet-yhoo.o packet-ypbind.o packet-ypserv.o
> packet-ypxfr.o packet-snmp.o      inet_pton.o  wiretap/libwiretap.a
> gtk/libui.a -lsnmp -lz -lpcap  -L/usr/local/lib -L/usr/local/lib 
> -L/usr/X11R
> 6/lib -lgtk -lgdk -rdynamic -lgmodule -lglib -ldl -lXext -lX11 -lm

Here Ethereal is being linked angainst zlib (the '-lz' option above).


> wiretap/libwiretap.a(iptrace.o): In function `iptrace_open':
> /usr/inst/nettools/ethereal-0.7.8/wiretap/iptrace.c:58: undefined reference
> to `gzseek'

However, gzseek, a zlib function, is not found.

1. Does /usr/include/zlib.h exist on your system?
2. If so, what version is it? The version info should be in the
	first few lines of zlib.h
3. Do you have /usr/lib/libz.a or /usr/lib/libz.so (or libz.so.1 or
	libz.so.1.1.3) ?

--gilbert