When I try to update ethereal the make process died with following output: gcc -DINET6 "-D_U_=__attribute__((unused))" -Wall -W -O3 -march=pentium3 -mcpu=pentium3 -funroll-loops -pipe -fomit-frame-pointer -I/usr/include/gtk-2.0 -I/usr/lib/gtk-2.0/include -I/usr/include/atk-1.0 -I/usr/include/pango-1.0 -I/usr/X11R6/include -I/usr/include/freetype2 -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -DINET6 -O3 -march=pentium3 -mcpu=pentium3 -funroll-loops -pipe -fomit-frame-pointer -Dlinux -fno-strict-aliasing -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I/usr/lib/perl5/5.8.2/i686-linux/CORE -I. -I/usr/include -o ethereal packet-aarp.o packet-acap.o packet-afp.o packet-afs.o packet-aim.o packet-ajp13.o packet-alcap.o packet-ans.o packet-ansi_a.o packet-ansi_637.o packet-ansi_683.o packet-ansi_map.o packet-aodv.o packet-arcnet.o packet-arp.o packet-asap.o packet-ascend.o packet-asf.o packet-atalk.o packet-atm.o packet-auto_rp.o packet-bacapp.o packet-bacnet.o packet-beep.o packet-bfd.o packet-bgp.o packet-bofl.o packet-bootp.o packet-bootparams.o packet-bpdu.o packet-brdwlk.o packet-bssap.o packet-bssgp.o packet-bvlc.o packet-ccsds.o packet-cdp.o packet-cgmp.o packet-chdlc.o packet-cisco-oui.o packet-clearcase.o packet-clip.o packet-clnp.o packet-cops.o packet-cosine.o packet-cpfi.o packet-cpha.o packet-cups.o packet-data.o packet-dccp.o packet-dcerpc.o packet-dcerpc-afs4int.o packet-dcerpc-atsvc.o packet-dcerpc-bossvr.o packet-dcerpc-browser.o packet-dcerpc-budb.o packet-dcerpc-butc.o packet-dcerpc-cds_clerkserver.o packet-dcerpc-cds_solicit.o packet-dcerpc-conv.o packet-dcerpc-cprpc_server.o packet-dcerpc-dce122.o packet-dcerpc-dfs.o packet-dcerpc-dnsserver.o packet-dcerpc-drsuapi.o packet-dcerpc-dtsprovider.o packet-dcerpc-dtsstime_req.o packet-dcerpc-epm.o packet-dcerpc-epm4.o packet-dcerpc-fldb.o packet-dcerpc-ftserver.o packet-dcerpc-icl_rpc.o packet-dcerpc-initshutdown.o packet-dcerpc-krb5rpc.o packet-dcerpc-lsa.o packet-dcerpc-lsa-ds.o packet-dcerpc-mapi.o packet-dcerpc-messenger.o packet-dcerpc-mgmt.o packet-dcerpc-ndr.o packet-dcerpc-netlogon.o packet-dcerpc-nspi.o packet-dcerpc-oxid.o packet-dcerpc-reg.o packet-dcerpc-remact.o packet-dcerpc-rep_proc.o packet-dcerpc-roverride.o packet-dcerpc-rpriv.o packet-dcerpc-rs_acct.o packet-dcerpc-rs_attr.o packet-dcerpc-rs_bind.o packet-dcerpc-rs_misc.o packet-dcerpc-rs_plcy.o packet-dcerpc-rs_pgo.o packet-dcerpc-rs_prop_acct.o packet-dcerpc-rs_repadm.o packet-dcerpc-rs_replist.o packet-dcerpc-rs_unix.o packet-dcerpc-rsec_login.o packet-dcerpc-samr.o packet-dcerpc-secidmap.o packet-dcerpc-spoolss.o packet-dcerpc-srvsvc.o packet-dcerpc-svcctl.o packet-dcerpc-tapi.o packet-dcerpc-tkn4int.o packet-dcerpc-ubikdisk.o packet-dcerpc-ubikvote.o packet-dcerpc-update.o packet-dcerpc-wkssvc.o packet-ddtp.o packet-dec-bpdu.o packet-dhcpv6.o packet-diameter.o packet-diffserv-mpls-common.o packet-distcc.o packet-dlsw.o packet-dns.o packet-dsi.o packet-dvmrp.o packet-eap.o packet-eapol.o packet-echo.o packet-edonkey.o packet-eigrp.o packet-enc.o packet-enip.o packet-esis.o packet-eth.o packet-etherip.o packet-ethertype.o packet-fc.o packet-fcct.o packet-fcdns.o packet-fcels.o packet-fcfcs.o packet-fcfzs.o packet-fcip.o packet-fclctl.o packet-fcp.o packet-fcsb3.o packet-fcsp.o packet-fcswils.o packet-fddi.o packet-fix.o packet-fr.o packet-frame.o packet-ftp.o packet-fw1.o packet-giop.o packet-gmrp.o packet-gnutella.o packet-gprs-ns.o packet-gre.o packet-gsm_a.o packet-gsm_map.o packet-gsm_sms.o packet-gssapi.o packet-gtp.o packet-gvrp.o packet-h1.o packet-h225.o packet-h245.o packet-h261.o packet-h263.o packet-h450.o packet-hclnfsd.o packet-hpext.o packet-hsrp.o packet-http.o packet-hyperscsi.o packet-iapp.o packet-ib.o packet-icap.o packet-icmpv6.o packet-icp.o packet-icq.o packet-ieee80211.o packet-ieee8023.o packet-igap.o packet-igmp.o packet-igrp.o packet-imap.o packet-ip.o packet-ipfc.o packet-ipmi.o packet-ipp.o packet-ipsec.o packet-ipsec-udp.o packet-ipv6.o packet-ipx.o packet-ipxwan.o packet-irc.o packet-isakmp.o packet-iscsi.o packet-isdn.o packet-isis.o packet-isis-clv.o packet-isis-hello.o packet-isis-lsp.o packet-isis-snp.o packet-isl.o packet-isns.o packet-isup.o packet-iua.o packet-jabber.o packet-kadm5.o packet-kerberos.o packet-klm.o packet-kpasswd.o packet-l2tp.o packet-lapb.o packet-lapbether.o packet-lapd.o packet-laplink.o packet-ldap.o packet-ldp.o packet-llc.o packet-lmi.o packet-lmp.o packet-lpd.o packet-lwapp.o packet-m2pa.o packet-m2tp.o packet-m2ua.o packet-m3ua.o packet-mbtcp.o packet-mdshdr.o packet-mip.o packet-mip6.o packet-mmse.o packet-mount.o packet-mpeg1.o packet-mpls.o packet-mrdisc.o packet-msdp.o packet-msn-messenger.o packet-msnip.o packet-msproxy.o packet-mtp2.o packet-mtp3.o packet-mtp3mg.o packet-mysql.o packet-nbipx.o packet-nbns.o packet-ncp.o packet-ncp2222.o packet-ndmp.o packet-ndps.o packet-netbios.o packet-netflow.o packet-nfs.o packet-nfsacl.o packet-nfsauth.o packet-nisplus.o packet-nlm.o packet-nlsp.o packet-nntp.o packet-nt-oui.o packet-nt-sonmp.o packet-nt-tpcp.o packet-ntlmssp.o packet-ntp.o packet-null.o packet-osi.o packet-osi-options.o packet-ospf.o packet-pcnfsd.o packet-per.o packet-pflog.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-q933.o packet-qllc.o packet-quake.o packet-quake2.o packet-quake3.o packet-quakeworld.o packet-radius.o packet-ranap.o packet-raw.o packet-rip.o packet-ripng.o packet-rlogin.o packet-rmcp.o packet-rmi.o packet-rmp.o packet-rpc.o packet-rpl.o packet-rquota.o packet-rsh.o packet-rstat.o packet-rsvp.o packet-rsync.o packet-rtcp.o packet-rtp.o packet-rtp-events.o packet-rtsp.o packet-rwall.o packet-rx.o packet-sadmind.o packet-sap.o packet-sccp.o packet-sccpmg.o packet-scsi.o packet-sctp.o packet-sdlc.o packet-sdp.o packet-sebek.o packet-ses.o packet-sflow.o packet-sip.o packet-skinny.o packet-slimp3.o packet-sll.o packet-slowprotocols.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-smb-sidsnooping.o packet-smpp.o packet-smtp.o packet-sna.o packet-snaeth.o packet-snmp.o packet-socks.o packet-spnego.o packet-spray.o packet-srvloc.o packet-sscop.o packet-ssh.o packet-ssl.o packet-stat.o packet-stat-notify.o packet-stun.o packet-sua.o packet-syslog.o packet-t38.o packet-tacacs.o packet-tcap.o packet-tcp.o packet-tds.o packet-telnet.o packet-teredo.o packet-tftp.o packet-time.o packet-tns.o packet-tpkt.o packet-tr.o packet-trmac.o packet-tsp.o packet-tzsp.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-wap.o packet-wbxml.o packet-wccp.o packet-wcp.o packet-wfleet-hdlc.o packet-who.o packet-wlancap.o packet-wsp.o packet-wtls.o packet-wtp.o packet-x11.o packet-x25.o packet-x29.o packet-xdmcp.o packet-xot.o packet-xyplex.o packet-yhoo.o packet-ymsg.o packet-ypbind.o packet-yppasswd.o packet-ypserv.o packet-ypxfr.o packet-zebra.o adler32.o afn.o asn1.o capture_stop_conditions.o cfile.o column.o conditions.o crc32.o crypt-des.o crypt-md4.o crypt-md5.o crypt-rc4.o disabled_protos.o follow.o g711.o h225-persistentdata.o in_cksum.o ipproto.o packet-dcerpc-nt.o pcap-util.o pcap-util-unix.o prefs.o print.o ps.o ptvcursor.o reassemble.o ringbuffer.o t35.o tap.o timestats.o util.o xdlc.o xmlstub.o register.o capture.o file.o filters.o proto_hier_stats.o summary.o .libs/etherealS.o -Wl,--export-dynamic -Wl,--export-dynamic -L/usr/local/lib wiretap/libwiretap.a gtk/libui.a epan/libethereal.a epan/ftypes/libftypes.a epan/dfilter/libdfilter.a -L/usr/lib /usr/lib/libnetsnmp.so -lelf -lcrypto /usr/lib/libpcre.so -lpcap /usr/lib/libgtk-x11-2.0.so /usr/lib/libgdk-x11-2.0.so /usr/lib/libatk-1.0.so /usr/lib/libgdk_pixbuf-2.0.so -lm /usr/lib/libpangoxft-1.0.so /usr/lib/libpangox-1.0.so /usr/lib/libpango-1.0.so /usr/lib/libgobject-2.0.so /usr/lib/libgmodule-2.0.so -ldl /usr/lib/libgthread-2.0.so -lpthread /usr/lib/libglib-2.0.so -lz /usr/lib/gcc-lib/i686-pc-linux-gnu/3.3.2/../../../../i686-pc-linux-gnu/bin/ld: cannot find -lelf collect2: ld returned 1 exit status rm -f .libs/tetherealS.o make[2]: *** [tethereal] Error 1 make[2]: *** Waiting for unfinished jobs.... /usr/lib/gcc-lib/i686-pc-linux-gnu/3.3.2/../../../../i686-pc-linux-gnu/bin/ld: cannot find -lelf collect2: ld returned 1 exit status rm -f .libs/etherealS.o make[2]: *** [ethereal] Error 1 make[2]: Leaving directory `/var/tmp/portage/ethereal-0.10.0a/work/ethereal-0.10.0a' make[1]: *** [all-recursive] Error 1 make[1]: Leaving directory `/var/tmp/portage/ethereal-0.10.0a/work/ethereal-0.10.0a' make: *** [all] Error 2 !!! ERROR: net-analyzer/ethereal-0.10.0a failed. !!! Function src_compile, Line 79, Exitcode 2 !!! compile problem Reproducible: Always Steps to Reproduce: 1.emerge -vuD net-analyzer/ethereal 2. 3. Actual Results: make process died with following message: cannot find -lelf Expected Results: merge my ethereal ;) Portage 2.0.50_pre16 (default-x86-1.4, gcc-3.3.2, glibc-2.3.3_pre20040117-r0,2.3.3_pre20031222-r0, 2.6.0) ================================================================= System uname: 2.6.0 i686 Intel(R) Pentium(R) M processor 1300MHz Gentoo Base System version 1.4.3.12 Autoconf: sys-devel/autoconf-2.59 Automake: sys-devel/automake-1.7.8 ACCEPT_KEYWORDS="x86 ~x86" AUTOCLEAN="yes" CFLAGS="-O3 -march=pentium3 -mcpu=pentium3 -funroll-loops -pipe -fomit-frame-pointer" CHOST="i686-pc-linux-gnu" COMPILER="gcc3" CONFIG_PROTECT="/etc /usr/X11R6/lib/X11/xkb /usr/kde/2/share/config /usr/kde/3.1/share/config /usr/kde/3/share/config /usr/share/config /var/qmail/control" CONFIG_PROTECT_MASK="/etc/gconf /etc/env.d" CXXFLAGS="-O3 -march=pentium3 -mcpu=pentium3 -funroll-loops -pipe -fomit-frame-pointer" DISTDIR="/usr/portage/distfiles" FEATURES="autoaddcvs ccache sandbox" GENTOO_MIRRORS="ftp://ftp.tu-clausthal.de/pub/linux/gentoo/ ftp://sunsite.informatik.rwth-aachen.de/pub/Linux/gentoo rsync://rsync.fhh.opensource-mirror.de/gentoo http://linux.rz.ruhr-uni-bochum.de/download/gentoo-mirror/ ftp://linux.rz.ruhr-uni-bochum.de/gentoo-mirror/ rsync://linux.rz.ruhr-uni-bochum.de/gentoo/ http://mirrors.sec.informatik.tu-darmstadt.de/gentoo rsync://mirrors.sec.informatik.tu-darmstadt.de/gentoo http://ftp.uni-erlangen.de/pub/mirrors/gentoo ftp://ftp.uni-erlangen.de/pub/mirrors/gentoo ftp://ftp.join.uni-muenster.de/pub/linux/distributions/gentoo rsync://ftp.join.uni-muenster.de/gentoo/" MAKEOPTS="-j2" PKGDIR="/usr/portage/packages" PORTAGE_TMPDIR="/var/tmp" PORTDIR="/usr/portage" PORTDIR_OVERLAY="" SYNC="rsync://rsync.gentoo.org/gentoo-portage" USE="X X509 aalib acpi alsa arts autofs avi berkdb cdr cgi crypt cups dga encode esd ethereal fbcon ffmpeg foomaticdb gdbm gif gnome gphoto2 gpm gstreamer gtk gtk2 imap imlib ipv6 irda irmc java javascript jpeg kde lcd ldap libg++ libwww mad maildir md5sum mikmod mmx motif mozcalendar mozilla mpeg ncurses nls oav oggvorbis opengl oss pam pcmcia pdflib perl png pnp python qt quicktime readline samba sdl slang snmp socks5 spell ssl svga tcltk tcpd transcode transparent-proxy truetype unicode usb vim-with-x wavelan wmf x86 xml2 xmms xv zlib" processor : 0 vendor_id : GenuineIntel cpu family : 6 model : 9 model name : Intel(R) Pentium(R) M processor 1300MHz stepping : 5 cpu MHz : 1296.979 cache size : 1024 KB fdiv_bug : no hlt_bug : no f00f_bug : no coma_bug : no fpu : yes fpu_exception : yes cpuid level : 2 wp : yes flags : fpu vme de pse tsc msr mce cx8 apic sep mtrr pge mca cmov pat clflush dts acpi mmx fxsr sse sse2 tm pbe tm2 est bogomips : 2564.09
have you tried remerging elfutils?
Try emerging elfutils and then re-emerging ethereal. I had the same problem building 0.9.15 once upon a time. :)
Yes it works, elfutils isn't in the depency tree of ethereal, should be fixed. Thanks.