usr/local/lib/libpcap.a(scanner.o)(.text+0x310): unresolvable relocation against symbol `pcap_lval' /usr/lib/gcc-lib/i686-pc-linux-gnu/3.3.5/../../../../i686-pc-linux-gnu/bin/ld: final link failed: Nonrepresentable section on output collect2: ld returned 1 exit status make[2]: *** [ntop] Error 1 make[2]: Leaving directory `/var/tmp/portage/ntop-3.0/work/ntop-3.0' make[1]: *** [all-recursive] Error 1 make[1]: Leaving directory `/var/tmp/portage/ntop-3.0/work/ntop-3.0' make: *** [all] Error 2 !!! ERROR: net-analyzer/ntop-3.0 failed. !!! Function src_compile, Line 38, Exitcode 2 !!! compile problem !!! If you need support, post the topmost build error, NOT this status message. Reproducible: Always Steps to Reproduce: 1.emerge ntop 2. 3. Actual Results: usr/local/lib/libpcap.a(scanner.o)(.text+0x310): unresolvable relocation against symbol `pcap_lval' /usr/lib/gcc-lib/i686-pc-linux-gnu/3.3.5/../../../../i686-pc-linux-gnu/bin/ld: f inal link failed: Nonrepresentable section on output collect2: ld returned 1 exit status make[2]: *** [ntop] Error 1 make[2]: Leaving directory `/var/tmp/portage/ntop-3.0/work/ntop-3.0' make[1]: *** [all-recursive] Error 1 make[1]: Leaving directory `/var/tmp/portage/ntop-3.0/work/ntop-3.0' make: *** [all] Error 2 !!! ERROR: net-analyzer/ntop-3.0 failed. !!! Function src_compile, Line 38, Exitcode 2 !!! compile problem !!! If you need support, post the topmost build error, NOT this status message. Expected Results: working ntop Portage 2.0.51-r15 (default-linux/x86/2004.0, gcc-3.3.5, glibc-2.3.4.20040808-r1 , 2.4.25-gentoo-r15 i686) ================================================================= System uname: 2.4.25-gentoo-r15 i686 Celeron (Mendocino) Gentoo Base System version 1.4.16 Python: dev-lang/python-2.2.3-r1,dev-lang/python-2.3.4-r1 [2.3.4 (# 1, Feb 14 2005, 22:19:04)] distcc 2.16 i686-pc-linux-gnu (protocols 1 and 2) (default port 3632) [disabled] dev-lang/python: 2.2.3-r1, 2.3.4-r1 sys-devel/autoconf: 2.59-r6, 2.13 sys-devel/automake: 1.7.9-r1, 1.8.5-r3, 1.5, 1.4_p6, 1.6.3, 1.9.4 sys-devel/binutils: 2.15.92.0.2-r1 sys-devel/libtool: 1.5.10-r4 virtual/os-headers: 2.4.19-r1, 2.4.21-r1 ACCEPT_KEYWORDS="x86" AUTOCLEAN="yes" CFLAGS="-O3 -mcpu=i686 -funroll-loops -pipe -fomit-frame-pointer" CHOST="i686-pc-linux-gnu" CONFIG_PROTECT="/etc /usr/kde/2/share/config /usr/kde/3/share/config /usr/lib/fa x /usr/share/config /var/bind /var/qmail/control /var/spool/fax/etc" CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d" CXXFLAGS="-O3 -mcpu=i686 -funroll-loops -pipe -fomit-frame-pointer" DISTDIR="/usr/portage/distfiles" FEATURES="autoaddcvs autoconfig ccache distlocks sandbox sfperms" GENTOO_MIRRORS="http://distfiles.gentoo.org http://distro.ibiblio.org/pub/Linux/ distributions/gentoo" MAKEOPTS="-j2" PKGDIR="/usr/portage/packages" PORTAGE_TMPDIR="/var/tmp" PORTDIR="/usr/portage" PORTDIR_OVERLAY="/usr/local/portage" SYNC="rsync://rsync.gentoo.org/gentoo-portage" USE="x86 apache2 apm arts avi bitmap-fonts crypt cups curl emboss encode font-se rver foomaticdb fortran gd gdbm gif gpm gtk2 imagemagick imap imlib ipv6 java jp eg kerberos ldap libg++ libwww mad maildir mbox mcal mikmod mmx motif mp3 mpeg m ysql ncurses nls odbc oggvorbis opengl oss pam pdflib perl php png python quickt ime readline samba sasl sdl slang snmp spell sse ssl svga tcpd tiff truetype tru etype-fonts type1-fonts winbind xml xml2 xmms xv zlib" Unset: ASFLAGS, CBUILD, CTARGET, LANG, LC_ALL, LDFLAGS
have you tried re-emerge libpcap? btw why dont you try to update your system?
I re-emerged libpcap same error with ntop. I also have updated my system to 2005.0
*** Bug 93093 has been marked as a duplicate of this bug. ***
I have fixed it i had some old files for libpcap laying around in /usr/local