Ethereal-dev: [Ethereal-dev] Problems building ethereal 0.9.0 with --enable-dftest
Note: This archive is from the project's previous web site, ethereal.com. This list is no longer active.
From: Alex Huetter <ahlx@xxxxxx>
Date: Wed, 30 Jan 2002 23:10:57 +0100
I hope not to repeat an already known problem, but I didn't find anything corresponding in the mailinglists. I tried to build ethereal 0.9.0 with the --enable-dftest option on my SuSE 7.2 system. A 'make' results in the following error (after './configure --enable-dftest) : ------------------------------------------------------------------------------------------------ ....... gcc -DINET6 -Wall -W -Wno-unused -g -O2 -I. -I./wiretap -I./epan -I/usr/local/include -I/usr/include/gtk-1.2 -I/usr/include/glib-1.2 -I/usr/lib/glib/include -I/usr/X11R6/include -L/usr/local/lib -o dftest packet-aarp.o packet-afs.o packet-aim.o packet-arp.o packet-ascend.o packet-atalk.o packet-atm.o packet-auto_rp.o packet-bacapp.o packet-bacnet.o packet-beep.o packet-bgp.o packet-bootp.o packet-bootparams.o packet-bpdu.o packet-bvlc.o packet-cdp.o packet-cgmp.o packet-chdlc.o packet-clip.o packet-clnp.o packet-cops.o packet-cups.o packet-data.o packet-dcerpc.o packet-dcerpc-conv.o packet-dcerpc-dfs.o packet-dcerpc-epm.o packet-dcerpc-lsa.o packet-dcerpc-mgmt.o packet-dcerpc-ndr.o packet-dcerpc-netlogon.o packet-dcerpc-oxid.o packet-dcerpc-reg.o packet-dcerpc-remact.o packet-dcerpc-samr.o packet-dcerpc-spoolss.o packet-dcerpc-srvsvc.o packet-dcerpc-wkssvc.o packet-ddtp.o packet-dec-bpdu.o packet-diameter.o packet-dns.o packet-dsi.o packet-dvmrp.o packet-eap.o packet-eapol.o packet-eigrp.o packet-esis.o packet-eth.o packet-ethertype.o packet-fddi.o packet-fr.o packet-frame.o packet-ftp.o packet-giop.o packet-gmrp.o packet-gnutella.o packet-gre.o packet-gtp.o packet-gvrp.o packet-h1.o packet-h261.o packet-hclnfsd.o packet-hsrp.o packet-http.o packet-icap.o packet-icmpv6.o packet-icp.o packet-icq.o packet-ieee80211.o packet-ieee8023.o packet-igmp.o packet-igrp.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-iscsi.o packet-isis.o packet-isis-clv.o packet-isis-hello.o packet-isis-lsp.o packet-isis-snp.o packet-isl.o packet-isup.o packet-iua.o packet-kerberos.o packet-klm.o packet-l2tp.o packet-lapb.o packet-lapbether.o packet-lapd.o packet-ldap.o packet-ldp.o packet-llc.o packet-lmi.o packet-lpd.o packet-m2pa.o packet-m2tp.o packet-m3ua.o packet-mapi.o packet-mbtcp.o packet-mip.o packet-mmse.o packet-mount.o packet-mpeg1.o packet-mpls.o packet-mrdisc.o packet-msdp.o packet-msnip.o packet-msproxy.o packet-mtp2.o packet-mtp3.o packet-nbipx.o packet-nbns.o packet-ncp.o packet-ncp2222.o packet-ndmp.o packet-netbios.o packet-nfs.o packet-nisplus.o packet-nlm.o packet-nntp.o packet-ntp.o packet-null.o packet-osi.o packet-osi-options.o packet-ospf.o packet-pcnfsd.o packet-pgm.o packet-pim.o packet-pop.o packet-portmap.o packet-ppp.o packet-pppoe.o packet-pptp.o packet-prism.o packet-q2931.o packet-q931.o packet-qllc.o packet-quake.o packet-quakeworld.o packet-quake2.o packet-quake3.o packet-radius.o packet-ranap.o packet-raw.o packet-rip.o packet-ripng.o packet-rlogin.o packet-rpc.o packet-rquota.o packet-rsh.o packet-rsvp.o packet-rtcp.o packet-rtp.o packet-rtsp.o packet-rwall.o packet-rx.o packet-sap.o packet-sctp.o packet-sdp.o packet-sip.o packet-skinny.o packet-sll.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-smpp.o packet-smtp.o packet-sna.o packet-snmp.o packet-socks.o packet-spray.o packet-srvloc.o packet-sscop.o packet-ssl.o packet-stat.o packet-stat-notify.o packet-sua.o packet-syslog.o packet-tacacs.o packet-tcp.o packet-telnet.o packet-tftp.o packet-time.o packet-tns.o packet-tpkt.o packet-tr.o packet-trmac.o packet-ucp.o packet-udp.o packet-v120.o packet-vines.o packet-vj.o packet-vlan.o packet-vrrp.o packet-vtp.o packet-wccp.o packet-wcp.o packet-who.o packet-wap.o packet-wtls.o packet-wsp.o packet-wtp.o packet-x11.o packet-x25.o packet-xot.o packet-yhoo.o packet-ypbind.o packet-yppasswd.o packet-ypserv.o packet-ypxfr.o packet-zebra.o afn.o asn1.o column.o conditions.o capture_stop_conditions.o follow.o in_cksum.o ipproto.o packet-dcerpc-nt.o pcap-util.o prefs.o print.o ps.o ptvcursor.o reassemble.o ringbuffer.o util.o xdlc.o xmlstub.o register.o dftest.o epan/libethereal.a epan/ftypes/libftypes.a epan/dfilter/libdfilter.a -lcrypto .libs/dftestS.o -L/usr/lib -rdynamic -lgmodule -lglib -ldl -lm -lpcap -lz -Wl,--export-dynamic ringbuffer.o: In function `ringbuf_init_wtap_dump_fdopen': /opt/work/ethereal-0.9.0/ringbuffer.c:199: undefined reference to `wtap_dump_fdopen' /opt/work/ethereal-0.9.0/ringbuffer.c:213: undefined reference to `wtap_dump_file' ringbuffer.o: In function `ringbuf_switch_file': /opt/work/ethereal-0.9.0/ringbuffer.c:234: undefined reference to `wtap_dump_file' /opt/work/ethereal-0.9.0/ringbuffer.c:242: undefined reference to `wtap_dump_file' /opt/work/ethereal-0.9.0/ringbuffer.c:244: undefined reference to `wtap_set_bytes_dumped' ringbuffer.o: In function `ringbuf_wtap_dump_close': /opt/work/ethereal-0.9.0/ringbuffer.c:282: undefined reference to `wtap_dump_file' /opt/work/ethereal-0.9.0/ringbuffer.c:303: undefined reference to `wtap_dump_close' ringbuffer.o: In function `ringbuf_error_cleanup': /opt/work/ethereal-0.9.0/ringbuffer.c:374: undefined reference to `wtap_dump_close' collect2: ld returned 1 exit status rm -f .libs/dftestS.o make[2]: *** [dftest] Error 1 make[2]: Leaving directory `/opt/work/ethereal-0.9.0' make[1]: *** [all-recursive] Error 1 make[1]: Leaving directory `/opt/work/ethereal-0.9.0' make: *** [all-recursive-am] Error 2 ------------------------------------------------------------------------------------------------ It seems that 'wiretap/file.o' (resp. wiretap/libwiretap.a), where these functions are implemented, isn't linked to dftest. I suppose that 'wiretap/libwiretap.a' is missing in 'dftest_additional_libs' in the Makefile.in. When adding this lib I was able to build dftest. Alex
- Follow-Ups:
- Re: [Ethereal-dev] Problems building ethereal 0.9.0 with --enable-dftest
- From: Gilbert Ramirez
- Re: [Ethereal-dev] Problems building ethereal 0.9.0 with --enable-dftest
- Prev by Date: RE: [Ethereal-dev] bulding ethereal-0.9.0 fails on SuSE 7.3
- Next by Date: Re: [Ethereal-dev] Problems building ethereal 0.9.0 with --enable-dftest
- Previous by thread: [Ethereal-dev] Ethreal Core
- Next by thread: Re: [Ethereal-dev] Problems building ethereal 0.9.0 with --enable-dftest
- Index(es):