Ethereal-users: [Ethereal-users] solaris/snmp make probs

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

From: Emil Obermayr <Emil.Obermayr@xxxxxxxxxxxxxxx>
Date: Wed, 7 Mar 2001 14:17:12 +0100
Hi,

since 0.8.15 ethereal won't compile with the following error:

gcc -Wall -g -O2 -I. -I./wiretap -I./epan -I/usr/local/include -I/usr/local/lib/glib/include -I/usr/local/include -I/usr/openwin/include -L/usr/local/lib -o ethereal 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-bgp.o packet-bootp.o packet-bootparams.o packet-bpdu.o packet-bxxp.o packet-cdp.o packet-cgmp.o packet-clip.o packet-clnp.o packet-cops.o packet-data.o packet-ddtp.o packet-dec-bpdu.o packet-diameter.o packet-dns.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-gre.o packet-gvrp.o packet-h1.o packet-h261.o packet-hclnfsd.o packet-hsrp.o packet-http.o packet-icmpv6.o packet-icp.o packet-icq.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-ieee80211.o packet-ieee8023.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-iua.o packet-kerberos.o packet-l2tp.o packet-lapb.o packet-lapbether.o packet-lapd.o packet-ldap.o packet-ldp.o packet-llc.o packet-lpd.o packet-m3ua.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-ncp2222.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-quake.o packet-radius.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-rx.o packet-sap.o packet-sctp.o packet-sdp.o packet-sip.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-smtp.o packet-sna.o packet-snmp.o packet-socks.o packet-srvloc.o packet-sscop.o packet-stat.o packet-sual.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-udp.o packet-v120.o packet-vines.o packet-vlan.o packet-vrrp.o packet-vtp.o packet-wccp.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-ypserv.o packet-ypxfr.o packet-zebra.o asn1.o column.o follow.o in_cksum.o ipproto.o prefs.o print.o ps.o ptvcursor.o register.o util.o xdlc.o capture.o file.o filters.o summary.o wiretap/libwiretap.a gtk/libui.a epan/libethereal.a epan/ftypes/libftypes.a epan/dfilter/libdfilter.a -lsnmp .libs/etherealS.o -lpcap -L/usr/local/lib -L/usr/openwin/lib -lgtk -lgdk -lgmodule -lglib -lXext -lX11 -lsocket -lnsl -lm -lpcap -L/usr/local/lib -L/usr/openwin/lib -lgtk -lgdk -lgmodule -lglib -lXext -lX11 -lsocket -lnsl -lm -lz -Wl,--export-dynamic -Wl,--rpath -Wl,/usr/local/lib -Wl,--rpath -Wl,/usr/openwin/lib -Wl,--rpath -Wl,/usr/local/lib:/usr/local/lib:/usr/openwin/lib:/usr/lib:/usr/dt/lib:/opt/tools/sun5/lib:/usr/ucblib -Wl,--rpath -Wl,/usr/local/lib -Wl,--rpath -Wl,/usr/openwin/lib -Wl,--rpath -Wl,/usr/local/lib:/usr/local/lib:/usr/openwin/lib:/usr/lib:/usr/dt/lib:/opt/tools/sun5/lib:/usr/ucblib
packet-snmp.o: In function `proto_register_snmp':
/usr/local/src/ethereal-0.8.16/packet-snmp.c:2265: undefined reference to `snmp_set_suffix_only'
collect2: ld returned 1 exit status
rm -f .libs/etherealS.o
make[2]: *** [ethereal] Error 1
make[2]: Leaving directory `/usr/local/src/ethereal-0.8.16'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/usr/local/src/ethereal-0.8.16'
make: *** [all-recursive-am] Error 2

I have CMU and UCD libs installed. Can this result in such trouble? How can I fix this?

Thanks in advance

Bye

-- 
   _/ _/ _/  Emil Obermayr  QEDEMOB @ EED/E/P/L
  _/ _/ _/   fone +49-5121-707-356  fax: -170
 _/ _/ _/    http://www.ericsson.de/ecc/fue/standort.html#hildeshm
_/ _/ _/     Ericsson Eurolab Deutschland GmbH,  Hildesheim,  Germany