Ethereal-users: [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: "Tom Scholten" <compa@xxxxxxxxxxxxxx>
Date: Wed, 24 Nov 1999 09:23:46 +0100
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 :

----------------------------- make -----------------------------------------
make  all-recursive
make[1]: Entering directory `/usr/inst/nettools/ethereal-0.7.8'
Making all in wiretap
make[2]: Entering directory `/usr/inst/nettools/ethereal-0.7.8/wiretap'
make[2]: Leaving directory `/usr/inst/nettools/ethereal-0.7.8/wiretap'
Making all in gtk
make[2]: Entering directory `/usr/inst/nettools/ethereal-0.7.8/gtk'
make[2]: Nothing to be done for `all'.
make[2]: Leaving directory `/usr/inst/nettools/ethereal-0.7.8/gtk'
make[2]: Entering directory `/usr/inst/nettools/ethereal-0.7.8'
gcc  -Wall -g -O2 -I. -I./wiretap -I/usr/local/include -I/usr/X11R6/include 
-I/usr/local/lib/glib/include -I/usr/local/include  -o ethereal  capture.o
colors.o column.o conversation.o dfilter-grammar.o dfilter-scanner.o
dfilter.o ethertype.o file.o follow.o ipproto.o ipv4.o packet.o prefs.o
print.o proto.o ps.o register.o resolv.o summary.o util.o xdlc.o
packet-aarp.o packet-afs.o packet-arp.o packet-ascend.o packet-atalk.o
packet-atm.o packet-auto_rp.o packet-bgp.o packet-bootp.o
packet-bootparams.o packet-bpdu.o packet-cdp.o packet-clip.o packet-data.o
packet-dns.o packet-eth.o packet-fddi.o packet-ftp.o packet-giop.o
packet-gre.o packet-hsrp.o packet-http.o packet-icmpv6.o packet-icp.o
packet-icq.o packet-imap.o packet-ip.o packet-ipp.o packet-ipsec.o
packet-ipv6.o packet-ipx.o packet-isakmp.o packet-lapb.o packet-lapd.o
packet-llc.o packet-lpd.o packet-mapi.o packet-mount.o packet-nbipx.o
packet-nbns.o packet-ncp.o packet-netbios.o packet-nfs.o packet-nlm.o
packet-nntp.o packet-ntp.o packet-null.o packet-osi.o packet-ospf.o
packet-pim.o packet-pop.o packet-portmap.o packet-ppp.o packet-pppoe.o
packet-pptp.o packet-q2931.o packet-q931.o packet-radius.o packet-raw.o
packet-rip.o packet-ripng.o packet-rpc.o packet-rsvp.o packet-rtsp.o
packet-rx.o packet-sap.o packet-sdp.o packet-smb.o packet-sna.o
packet-sscop.o packet-stat.o packet-tcp.o packet-telnet.o packet-tftp.o
packet-tr.o packet-trmac.o packet-udp.o packet-vines.o packet-vlan.o
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
wiretap/libwiretap.a(ascend-scanner.o): warning: multiple common of
`pseudo_header'
wiretap/libwiretap.a(ascend-grammar.o): warning: previous common is here
wiretap/libwiretap.a(file.o): In function `wtap_def_seek_read':
/usr/inst/nettools/ethereal-0.7.8/wiretap/file.c:93: undefined reference to
`gzseek'
wiretap/libwiretap.a(iptrace.o): In function `iptrace_open':
/usr/inst/nettools/ethereal-0.7.8/wiretap/iptrace.c:58: undefined reference
to `gzseek'
wiretap/libwiretap.a(lanalyzer.o): In function `lanalyzer_open':
/usr/inst/nettools/ethereal-0.7.8/wiretap/lanalyzer.c:64: undefined
reference to `gzseek'
/usr/inst/nettools/ethereal-0.7.8/wiretap/lanalyzer.c:93: undefined
reference to `gzseek'
/usr/inst/nettools/ethereal-0.7.8/wiretap/lanalyzer.c:183: undefined
reference to `gzseek'
wiretap/libwiretap.a(libpcap.o):/usr/inst/nettools/ethereal-0.7.8/wiretap/li
bpcap.c:174: more undefined references to `gzseek' follow
wiretap/libwiretap.a(toshiba.o): In function `toshiba_seek_next_packet':
/usr/inst/nettools/ethereal-0.7.8/wiretap/toshiba.c:127: undefined reference
to `gztell'
/usr/inst/nettools/ethereal-0.7.8/wiretap/toshiba.c:132: undefined reference
to `gzgetc'
wiretap/libwiretap.a(toshiba.o): In function `toshiba_check_file_type':
/usr/inst/nettools/ethereal-0.7.8/wiretap/toshiba.c:152: undefined reference
to `gzgets'
wiretap/libwiretap.a(toshiba.o): In function `toshiba_open':
/usr/inst/nettools/ethereal-0.7.8/wiretap/toshiba.c:185: undefined reference
to `gzseek'
wiretap/libwiretap.a(toshiba.o): In function `toshiba_seek_read':
/usr/inst/nettools/ethereal-0.7.8/wiretap/toshiba.c:231: undefined reference
to `gzseek'
wiretap/libwiretap.a(toshiba.o): In function `parse_toshiba_rec_hdr':
/usr/inst/nettools/ethereal-0.7.8/wiretap/toshiba.c:266: undefined reference
to `gzgets'
/usr/inst/nettools/ethereal-0.7.8/wiretap/toshiba.c:287: undefined reference
to `gzgets'
wiretap/libwiretap.a(toshiba.o): In function `parse_toshiba_hex_dump':
/usr/inst/nettools/ethereal-0.7.8/wiretap/toshiba.c:337: undefined reference
to `gzgets'
wiretap/libwiretap.a(wtap.o): In function `wtap_strerror':
/usr/inst/nettools/ethereal-0.7.8/wiretap/wtap.c:142: undefined reference to
`zError'
wiretap/libwiretap.a(ascend.o): In function `ascend_seek':
/usr/inst/nettools/ethereal-0.7.8/wiretap/ascend.c:104: undefined reference
to `gzseek'
/usr/inst/nettools/ethereal-0.7.8/wiretap/ascend.c:105: undefined reference
to `gztell'
/usr/inst/nettools/ethereal-0.7.8/wiretap/ascend.c:113: undefined reference
to `gztell'
/usr/inst/nettools/ethereal-0.7.8/wiretap/ascend.c:121: undefined reference
to `gzseek'
/usr/inst/nettools/ethereal-0.7.8/wiretap/ascend.c:128: undefined reference
to `gzgetc'
wiretap/libwiretap.a(ascend.o): In function `ascend_open':
/usr/inst/nettools/ethereal-0.7.8/wiretap/ascend.c:137: undefined reference
to `gzseek'
wiretap/libwiretap.a(ascend.o): In function `ascend_read':
/usr/inst/nettools/ethereal-0.7.8/wiretap/ascend.c:179: undefined reference
to `gzseek'
wiretap/libwiretap.a(ascend.o): In function `ascend_seek_read':
/usr/inst/nettools/ethereal-0.7.8/wiretap/ascend.c:208: undefined reference
to `gzseek'
wiretap/libwiretap.a(ascend-scanner.o): In function `yy_get_next_buffer':
/usr/inst/nettools/ethereal-0.7.8/wiretap/./ascend-scanner.l:480: undefined
reference to `gzgetc'
collect2: ld returned 1 exit status
make[2]: *** [ethereal] Error 1
make[2]: Leaving directory `/usr/inst/nettools/ethereal-0.7.8'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/usr/inst/nettools/ethereal-0.7.8'
make: *** [all-recursive-am] Error 2
-------------------------------------------------------------------------

WTF am i doing wrong here ? Can you please help me. It's a laptop running
suse 6.1 (and a bit of a development laptop right now) which i want to
rebuild as a multi-function laptop (eg netscanner and so) ...

>From a rainy Holland i greet (and thank u in advance) ...

---
Tom Scholten                       Unix consultants      v   v
tom@xxxxxxx                         OO developers         \ /
                                 ###   ##    ##  #     >---X---<
http://snow.nl                  #     #  #  #  # #  #  #  / \
Snow B.V.                        ##   #  #  #  # #  #  # ^   ^
Tel. 0418 - 65 33 33               #  #  #  #  # #  #  #
Fax. 0418 - 65 36 66            ###   #  #   ##   ## ##