Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 173436 - =net-analyzer/ettercap-0.7.3-r2 fails to build
Summary: =net-analyzer/ettercap-0.7.3-r2 fails to build
Status: RESOLVED INVALID
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Gentoo Netmon project
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2007-04-05 07:46 UTC by Wolfram Schlich (RETIRED)
Modified: 2007-04-07 14:24 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Wolfram Schlich (RETIRED) gentoo-dev 2007-04-05 07:46:14 UTC
--8<--
[...]
i686-pc-linux-gnu-gcc -march=pentium3 -O2 -pipe -pthread -o ettercap ettercap-ec_capture.o ettercap-ec_checksum.o ettercap-ec_conf.o ettercap-ec_connbuf.o ettercap-ec_conntrack.o ettercap-ec_debug.o ettercap-ec_decode.o ettercap-ec_dispatcher.o ettercap-ec_dissect.o ettercap-ec_error.o ettercap-ec_file.o ettercap-ec_filter.o ettercap-ec_fingerprint.o ettercap-ec_format.o ettercap-ec_globals.o ettercap-ec_hash.o ettercap-ec_hook.o ettercap-ec_inet.o ettercap-ec_inject.o ettercap-ec_interfaces.o ettercap-ec_log.o ettercap-ec_main.o ettercap-ec_manuf.o ettercap-ec_mitm.o ettercap-ec_packet.o ettercap-ec_parser.o ettercap-ec_passive.o ettercap-ec_plugins.o ettercap-ec_poll.o ettercap-ec_profiles.o ettercap-ec_resolv.o ettercap-ec_scan.o ettercap-ec_send.o ettercap-ec_services.o ettercap-ec_session.o ettercap-ec_signals.o ettercap-ec_socket.o ettercap-ec_sniff.o ettercap-ec_sniff_bridge.o ettercap-ec_sniff_unified.o ettercap-ec_sslwrap.o ettercap-ec_stats.o ettercap-ec_streambuf.o ettercap-ec_strings.o ettercap-ec_threads.o ettercap-ec_ui.o ettercap-ec_update.o ettercap-ec_arp_poisoning.o ettercap-ec_dhcp_spoofing.o ettercap-ec_icmp_redirect.o ettercap-ec_port_stealing.o ettercap-ec_arp.o ettercap-ec_eth.o ettercap-ec_fddi.o ettercap-ec_cooked.o ettercap-ec_gre.o ettercap-ec_icmp.o ettercap-ec_ip.o ettercap-ec_ip6.o ettercap-ec_ppp.o ettercap-ec_prism.o ettercap-ec_rawip.o ettercap-ec_tcp.o ettercap-ec_tr.o ettercap-ec_vlan.o ettercap-ec_udp.o ettercap-ec_wifi.o ettercap-ec_bgp.o ettercap-ec_cvs.o ettercap-ec_dhcp.o ettercap-ec_dns.o ettercap-ec_ftp.o ettercap-ec_http.o ettercap-ec_imap.o ettercap-ec_icq.o ettercap-ec_irc.o ettercap-ec_ldap.o ettercap-ec_mountd.o ettercap-ec_msn.o ettercap-ec_mysql.o ettercap-ec_napster.o ettercap-ec_nntp.o ettercap-ec_ospf.o ettercap-ec_pop.o ettercap-ec_portmap.o ettercap-ec_rcon.o ettercap-ec_rip.o ettercap-ec_rlogin.o ettercap-ec_smb.o ettercap-ec_smtp.o ettercap-ec_snmp.o ettercap-ec_ssh.o ettercap-ec_socks.o ettercap-ec_telnet.o ettercap-ec_vnc.o ettercap-ec_vrrp.o ettercap-ec_x11.o ettercap-ec_ymsg.o missing/strlcpy.o missing/strlcat.o -Wl,--export-dynamic  os/libec_os.a interfaces/daemon/libec_daemon.a interfaces/text/libec_text.a interfaces/curses/libec_curses.a -lpcap /usr/lib/libnet.so -L/usr/lib -lssl -lcrypto /usr/lib/libpcre.so -lpanel -lmenu -lform -lncurses -lz -lpthread /usr/lib/libltdl.so -ldl
ettercap-ec_dns.o: In function `dissector_dns':
ec_dns.c:(.text+0x95): undefined reference to `__dn_expand'
ec_dns.c:(.text+0x133): undefined reference to `__dn_expand'
ec_dns.c:(.text+0x1ed): undefined reference to `__dn_expand'
collect2: ld returned 1 exit status
make[2]: *** [ettercap] Error 1
make[2]: Leaving directory `/var/tmp/portage/net-analyzer/ettercap-0.7.3-r2/work/ettercap-NG-0.7.3/src'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/var/tmp/portage/net-analyzer/ettercap-0.7.3-r2/work/ettercap-NG-0.7.3/src'
make: *** [all-recursive] Error 1

!!! ERROR: net-analyzer/ettercap-0.7.3-r2 failed.
Call stack:
  ebuild.sh, line 1614:   Called dyn_compile
  ebuild.sh, line 971:   Called qa_call 'src_compile'
  ebuild.sh, line 44:   Called src_compile
  ettercap-0.7.3-r2.ebuild, line 58:   Called die

!!! emake failed
!!! If you need support, post the topmost build error, and the call stack if relevant.
!!! A complete build log is located at '/var/log/portage/net-analyzer:ettercap-0.7.3-r2:20070404-225438.log'.
--8<--

--8<--[ emerge --info ]--8<--
Portage 2.1.2.3 (default-linux/x86/2006.0, gcc-4.1.1, glibc-2.5-r0, 2.6.20-gentoo-r4-1 i686)
=================================================================
System uname: 2.6.20-gentoo-r4-1 i686 Pentium III (Katmai)
Gentoo Base System version 1.12.4
Timestamp of tree: Thu, 05 Apr 2007 00:50:01 +0000
distcc 2.18.3 i686-pc-linux-gnu (protocols 1 and 2) (default port 3632) [disabled]
ccache version 2.3 [enabled]
dev-lang/python:     2.4.3-r4
dev-python/pycrypto: 2.0.1-r5
dev-util/ccache:     2.3
dev-util/confcache:  0.4.2-r1
sys-apps/sandbox:    1.2.17
sys-devel/autoconf:  2.13, 2.61
sys-devel/automake:  1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r2, 1.10
sys-devel/binutils:  2.16.1-r3
sys-devel/gcc-config: 1.3.14
sys-devel/libtool:   1.4.3-r4, 1.5.22
virtual/os-headers:  2.6.17-r2
ACCEPT_KEYWORDS="x86"
AUTOCLEAN="yes"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-march=pentium3 -O2 -pipe"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc /lib/modules /usr/lib/AntiVir/hbedv.key /var/bind"
CONFIG_PROTECT_MASK="/etc/env.d /etc/gconf /etc/revdep-rebuild /etc/terminfo"
CXXFLAGS="-march=pentium3 -O2 -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="buildpkg candy ccache confcache distlocks metadata-transfer parallel-fetch sandbox sfperms strict userfetch userpriv usersandbox"
GENTOO_MIRRORS="        http://linux.rz.ruhr-uni-bochum.de/download/gentoo-mirror       http://sunsite.cnlab-switch.ch/ftp/mirror/gentoo        http://gentoo.inode.at  http://ftp.ussg.iu.edu/linux/gentoo   http://gentoo.oregonstate.edu   http://distro.ibiblio.org/pub/linux/distributions/gentoo"
INSTALL_MASK=" /etc/apache2/modules.d/*.default-vhost.conf /etc/apache2/vhosts.d/*_default_vhost.conf /etc/portage/saslpass /etc/cron.monthly/update-pciids"
LANG="en_US.utf8"
MAKEOPTS="-j2"
PKGDIR="/usr/portage/packages"
PORTAGE_RSYNC_EXTRA_OPTS="--timeout=60"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --delete-after --stats --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages --filter=H_**/files/digest-*"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/portage /local/portage/layman/wschlich"
SYNC="rsync://rsync.de.gentoo.org/gentoo-portage"
USE="X509 aalib acl autofs bash-completion berkdb bzip2 bzlib cap caps chroot cli cracklib crypt curl ecc examples extensions fam fax finger gdbm gpgme hardened hostap-noplx hpn idea idn imap innodb ipv6 isdn isdnlog kerberos lmtp logrotate maildir mailwrapper mbox md5sum memlimit mmap mmx mysqli ncurses nis nls nocardbus nptl nptlonly oav offensive openssh pam pam_chroot pam_console pam_timestamp parse-clocks pcap pcntl pcre perl pic pie pop posix postfix pppd prelude procmail pthreads pwdb python quotas radius readline recode roundrobin rpc rrdtool sample sasl sensord serial session sftplogging shaper shared simplexml skey smime soap sockets socks5 softquota spl sse ssl sysfs sysvipc tcpd tcsim threads trusted udev unicode uptimed usb userlocales uudeview vda vhosts vim virus-scan x86 xinetd xml xmlrpc xsl xslt zlib" ALSA_CARDS="ali5451 als4000 atiixp atiixp-modem bt87x ca0106 cmipci emu10k1 emu10k1x ens1370 ens1371 es1938 es1968 fm801 hda-intel intel8x0 intel8x0m maestro3 trident usb-audio via82xx via82xx-modem ymfpci" ALSA_PCM_PLUGINS="adpcm alaw asym copy dmix dshare dsnoop empty extplug file hooks iec958 ioplug ladspa lfloat linear meter mulaw multi null plug rate route share shm softvol" ELIBC="glibc" FRITZCAPI_CARDS="fcpci fcclassic fcpnp" INPUT_DEVICES="keyboard mouse evdev" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" MISDN_CARDS="avmfritz" USERLAND="GNU" VIDEO_CARDS="apm ark ati chips cirrus cyrix dummy fbdev glint i128 i740 i810 imstt mga neomagic nsc nv rendition s3 s3virge savage siliconmotion sis sisusb tdfx tga trident tseng v4l vesa vga via vmware voodoo"
Unset:  CTARGET, EMERGE_DEFAULT_OPTS, LC_ALL, LDFLAGS, LINGUAS, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS
--8<--
Comment 1 Markus Ullmann (RETIRED) gentoo-dev 2007-04-07 14:24:33 UTC
there is an error with configure detecting your resolv lib... should inject -lresolv

Please check your config log for it, it's a local hickup on your box