Ethereal-dev: [ethereal-dev] ethereal doesn't compile.

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

From: Iwan Mouwen <iwan@xxxxxxxxxxxxxxxx>
Date: Mon, 26 Jun 2000 12:31:18 +0200
hello,
version 0.8.9 of ethereal does not compile on my system. Here's some
info:
OS: Linux 2.2.16
distribution: Suse 6.3
version of GTK+: 1.2.7
version of gcc: 2.7.2.3

output of configure:
creating cache ./config.cache
checking for a BSD compatible install... /usr/bin/install -c
checking whether build environment is sane... yes
checking whether make sets ${MAKE}... yes
checking for working aclocal... found
checking for working autoconf... found
checking for working automake... found
checking for working autoheader... found
checking for working makeinfo... found
checking host system type... i686-pc-linux-gnu
checking for gcc... gcc
checking whether the C compiler (gcc  ) works... yes
checking whether the C compiler (gcc  ) is a cross-compiler... no
checking whether we are using GNU C... yes
checking whether gcc accepts -g... yes
checking how to run the C preprocessor... gcc -E
checking for ranlib... ranlib
checking for bison... no
checking for byacc... no
checking for flex... flex
checking for flex... (cached) flex
checking for yywrap in -lfl... yes
checking lex output file root... lex.yy
checking whether yytext is a pointer... yes
checking for perl... /usr/bin/perl
checking for flex... /usr/bin/flex
checking to see if we can add '-Wall' to CFLAGS... yes
checking for platform-specific compiler flags... none needed
checking for glib-config... /usr/local/bin/glib-config
checking for GLIB - version >= 1.2.0... yes
checking for gtk-config... /usr/local/bin/gtk-config
checking for GTK - version >= 1.2.0... yes
checking for gethostbyname... yes
checking for connect... yes
checking whether to use libpcap for packet capture... yes
checking for extraneous pcap header directories... not found
checking for net/bpf.h... yes
checking for pcap.h... yes
checking for pcap_open_live in -lpcap... yes
checking whether to use zlib for reading compressed capture files... yes
checking for zlib.h... yes
checking for gzgets in -lz... yes
checking whether to enable ipv6 name resolution if available... yes
checking ipv6 stack type... unknown, none
checking whether to install ethereal setuid... no
checking for ANSI C header files... yes
checking for fcntl.h... yes
checking for sys/ioctl.h... yes
checking for sys/time.h... yes
checking for unistd.h... yes
checking for stdarg.h... yes
checking for netdb.h... yes
checking for dirent.h... yes
checking for sys/stat.h... yes
checking for sys/sockio.h... no
checking for sys/types.h... yes
checking for sys/socket.h... yes
checking for sys/wait.h... yes
checking for sys/param.h... yes
checking for netinet/in.h... yes
checking for net/if.h... yes
checking for stddef.h... yes
checking for dlfcn.h... yes
checking for arpa/inet.h... yes
checking for arpa/nameser.h... yes
checking whether to use SNMP library if available... yes
checking for ucd-snmp/snmp.h... no
checking for ucd-snmp/version.h... no
checking for snmp/snmp.h... no
checking for snmp/version.h... no
checking for sprint_objid in -lsnmp... no
checking for sprint_objid in -lsnmp... no
checking for sa_len in struct sockaddr... no
checking whether byte ordering is bigendian... no
checking whether gcc needs -traditional... no
checking for snprintf... yes
checking for strerror... yes
checking for strncasecmp... yes
checking for mkstemp... yes
checking for inet_aton... yes
checking for inet_pton... yes
checking for broken inet_pton... broken
checking for inet_ntop... yes
checking for getprotobynumber... yes
checking for gethostbyname2... yes
checking build system type... i686-pc-linux-gnu
checking for ld used by GCC... /usr/i486-linux/bin/ld
checking if the linker (/usr/i486-linux/bin/ld) is GNU ld... yes
checking for BSD-compatible nm... /usr/bin/nm -B
checking whether ln -s works... yes
updating cache ./config.cache
loading cache ./config.cache within ltconfig
checking for object suffix... o
checking for executable suffix... no
checking for gcc option to produce PIC... -fPIC
checking if gcc PIC flag -fPIC works... yes
checking if gcc supports -c -o file.o... yes
checking if gcc supports -c -o file.lo... yes
checking if gcc supports -fno-rtti -fno-exceptions ... no
checking if gcc static flag -static works... -static
checking if the linker (/usr/i486-linux/bin/ld) is GNU ld... yes
checking whether the linker (/usr/i486-linux/bin/ld) supports shared
libraries... yes
checking command to parse /usr/bin/nm -B output... ok
checking how to hardcode library paths into programs... immediate
checking for /usr/i486-linux/bin/ld option to reload object files... -r
checking dynamic linker characteristics... Linux ld.so
checking if libtool supports shared libraries... yes
checking whether to build shared libraries... yes
checking whether to build static libraries... yes
checking for objdir... .libs
checking for dlopen in -ldl... yes
checking for dlfcn.h... (cached) yes
checking whether a program can dlopen itself... yes
checking whether a statically linked program can dlopen itself... no
creating libtool
updating cache ./config.cache
loading cache ./config.cache
creating ./config.status
creating Makefile
creating ethereal.spec
creating doc/Makefile
creating doc/dfilter2pod
creating gtk/Makefile
creating plugins/Makefile
creating plugins/gryphon/Makefile
creating config.h
configuring in wiretap
running /bin/sh ./configure  --cache-file=.././config.cache --srcdir=.
loading cache .././config.cache
checking for a BSD compatible install... (cached) /usr/bin/install -c
checking whether build environment is sane... yes
checking whether make sets ${MAKE}... (cached) yes
checking for working aclocal... found
checking for working autoconf... found
checking for working automake... found
checking for working autoheader... found
checking for working makeinfo... found
checking for gcc... (cached) gcc
checking whether the C compiler (gcc  ) works... yes
checking whether the C compiler (gcc  ) is a cross-compiler... no
checking whether we are using GNU C... (cached) yes
checking whether gcc accepts -g... (cached) yes
checking how to run the C preprocessor... (cached) gcc -E
checking for bison... no
checking for byacc... no
checking for flex... (cached) flex
checking for flex... (cached) flex
checking for yywrap in -lfl... (cached) yes
checking lex output file root... (cached) lex.yy
checking whether yytext is a pointer... (cached) yes
checking for ranlib... (cached) ranlib
checking for flex... (cached) /usr/bin/flex
checking to see if we can add '-Wall' to CFLAGS... yes
checking for glib-config... (cached) /usr/local/bin/glib-config
checking for GLIB - version >= 1.1.0... yes
checking for ANSI C header files... (cached) yes
checking for sys/time.h... (cached) yes
checking for netinet/in.h... (cached) yes
checking for unistd.h... (cached) yes
checking host system type... i686-pc-linux-gnu
checking whether byte ordering is bigendian... (cached) no
checking whether to use zlib for reading compressed capture files... yes
checking for zlib.h... (cached) yes
checking for gzgets in -lz... (cached) yes
creating ./config.status
creating Makefile
creating config.h

last couple of lines from make:
gcc -Wall -g -O2 -I. -I./wiretap -I/usr/local/include
-I/usr/local/lib/glib/include -I/usr/local/include -I/usr/X11R6/include
-L/usr/local/lib -o ethereal 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-cgmp.o packet-clip.o packet-clnp.o packet-cops.o
packet-data.o packet-ddtp.o packet-dns.o packet-eigrp.o packet-esis.o
packet-eth.o packet-ethertype.o packet-fddi.o packet-ftp.o packet-giop.o
packet-gre.o packet-h1.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-irc.o packet-isakmp.o
packet-isis.o packet-isis-clv.o packet-isis-hello.o packet-isis-lsp.o
packet-isis-snp.o packet-isl.o packet-l2tp.o packet-lapb.o packet-lapd.o
packet-ldap.o packet-llc.o packet-lpd.o packet-mapi.o packet-mip.o
packet-mount.o packet-mpls.o packet-msproxy.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-osi-options.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-rlogin.o packet-rpc.o packet-rsvp.o packet-rtcp.o
packet-rtp.o packet-rtsp.o packet-rx.o packet-sap.o packet-sdp.o
packet-smb.o packet-smb-browse.o packet-smb-common.o packet-smb-logon.o
packet-smb-mailslot.o packet-smb-pipe.o packet-sna.o packet-snmp.o
packet-socks.o packet-srvloc.o packet-sscop.o packet-stat.o
packet-tacacs.o packet-tcp.o packet-telnet.o packet-tftp.o packet-time.o
packet-tns.o packet-tr.o packet-trmac.o packet-udp.o packet-v120.o
packet-vines.o packet-vlan.o packet-vrrp.o packet-vtp.o packet-wccp.o
packet-who.o packet-x25.o packet-yhoo.o packet-ypbind.o packet-ypserv.o
packet-ypxfr.o asn1.o column.o conversation.o dfilter-grammar.o
dfilter-scanner.o dfilter.o except.o follow.o ipproto.o ipv4.o packet.o
plugins.o prefs.o print.o proto.o ps.o register.o resolv.o tvbuff.o
util.o xdlc.o capture.o file.o summary.o inet_pton.o
wiretap/libwiretap.a gtk/libui.a .libs/etherealS.o -lpcap
-L/usr/local/lib -L/usr/X11R6/lib -lgtk -lgdk -rdynamic -lgmodule -lglib
-ldl -lXext -lX11 -lm -lz -Wl,--export-dynamic
wiretap/libwiretap.a(toshiba.o): In function `toshiba_check_file_type':
/home/iwan/src/ethereal-0.8.9/wiretap/toshiba.c:153: undefined reference
to `gzgets'
wiretap/libwiretap.a(toshiba.o): In function `parse_toshiba_rec_hdr':
/home/iwan/src/ethereal-0.8.9/wiretap/toshiba.c:266: undefined reference
to `gzgets'
/home/iwan/src/ethereal-0.8.9/wiretap/toshiba.c:295: undefined reference
to `gzgets'
wiretap/libwiretap.a(toshiba.o): In function `parse_toshiba_hex_dump':
/home/iwan/src/ethereal-0.8.9/wiretap/toshiba.c:353: undefined reference
to `gzgets'
rm -f .libs/etherealS.o
make[2]: *** [ethereal] Error 1
make[2]: Leaving directory `/home/iwan/src/ethereal-0.8.9'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/home/iwan/src/ethereal-0.8.9'
make: *** [all-recursive-am] Error 2

If you need more info please ask.

Iwan.