Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 108391 - can't emerge net-analyzer/tcpdump-3.9.3
Summary: can't emerge net-analyzer/tcpdump-3.9.3
Status: RESOLVED FIXED
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: 2005-10-07 08:30 UTC by Chris Smith
Modified: 2005-10-09 03:03 UTC (History)
0 users

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


Attachments
/tcpdump-3.9.3.patch (tcpdump-3.9.3.patch,334 bytes, patch)
2005-10-08 07:43 UTC, Marcin Kryczek (RETIRED)
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Chris Smith 2005-10-07 08:30:09 UTC
emerge of net-analyzer/tcpdump-3.9.3 fails

Reproducible: Always
Steps to Reproduce:
1.emerge =net-analyzer/tcpdump-3.9.3
2.
3.

Actual Results:  
print-dhcp6.o:print-dhcp6.c:(.text+0x883): more undefined references to
`__ntohs' follow
print-dhcp6.o: In function `dhcp6opt_print':
print-dhcp6.c:(.text+0x986): undefined reference to `__ntohl'
print-dhcp6.c:(.text+0x9d6): undefined reference to `__ntohl'
print-dhcp6.c:(.text+0xa96): undefined reference to `__ntohl'
print-dhcp6.c:(.text+0xd59): undefined reference to `__ntohl'
print-dhcp6.c:(.text+0xde7): undefined reference to `__ntohs'
print-dhcp6.c:(.text+0xe5a): undefined reference to `__ntohl'
print-dhcp6.c:(.text+0xe6a): undefined reference to `__ntohl'
print-dhcp6.c:(.text+0xe7a): undefined reference to `__ntohl'
print-dhcp6.c:(.text+0xf54): undefined reference to `__ntohl'
print-dhcp6.c:(.text+0xf64): undefined reference to `__ntohl'
print-dhcp6.o:print-dhcp6.c:(.text+0x100f): more undefined references to
`__ntohl' follow
print-smb.o: In function `nbt_tcp_print':
print-smb.c:(.text+0x1d37): undefined reference to `__ntohs'
print-smb.o: In function `nbt_udp137_print':
print-smb.c:(.text+0x229d): undefined reference to `__ntohs'
print-smb.c:(.text+0x232d): undefined reference to `__ntohs'
print-smb.c:(.text+0x2349): undefined reference to `__ntohs'
print-smb.c:(.text+0x2365): undefined reference to `__ntohs'
print-smb.o:print-smb.c:(.text+0x2381): more undefined references to `__ntohs'
follow
smbutil.o: In function `smb_fdata1':
smbutil.c:(.text+0x12af): undefined reference to `__ntohl'
smbutil.c:(.text+0x139a): undefined reference to `__ntohl'
smbutil.c:(.text+0x13d1): undefined reference to `__ntohl'
smbutil.c:(.text+0x1629): undefined reference to `__ntohl'
smbutil.c:(.text+0x16a4): undefined reference to `__ntohl'
smbutil.c:(.text+0x185b): undefined reference to `__ntohs'
smbutil.c:(.text+0x1918): undefined reference to `__ntohl'
smbutil.c:(.text+0x1aa6): undefined reference to `__ntohs'
smbutil.c:(.text+0x1b56): undefined reference to `__ntohl'
collect2: ld returned 1 exit status
make: *** [tcpdump] Error 1

!!! ERROR: net-analyzer/tcpdump-3.9.3 failed.


Expected Results:  
successful emerge

irobot ~ # emerge info
Portage 2.0.53_rc4 (default-linux/x86/2005.1, gcc-3.4.4, glibc-2.3.5-r2,
2.6.13-gentoo-r2 i686)
=================================================================
System uname: 2.6.13-gentoo-r2 i686 Intel(R) Xeon(TM) CPU 2.80GHz
Gentoo Base System version 1.12.0_pre8
distcc 2.18.3 i686-pc-linux-gnu (protocols 1 and 2) (default port 3632) [disabled]
dev-lang/python:     2.3.5, 2.4.2
sys-apps/sandbox:    1.2.13
sys-devel/autoconf:  2.13, 2.59-r7
sys-devel/automake:  1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r1
sys-devel/binutils:  2.16.1
sys-devel/libtool:   1.5.20
virtual/os-headers:  2.6.11-r2
ACCEPT_KEYWORDS="x86 ~x86"
AUTOCLEAN="yes"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-march=i686 -mtune=pentium4 -fomit-frame-pointer -pipe"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/2/share/config /usr/kde/3/share/config
/usr/share/config /var/qmail/control"
CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d"
CXXFLAGS="-march=i686 -mtune=pentium4 -fomit-frame-pointer -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoconfig candy distlocks sandbox sfperms strict"
GENTOO_MIRRORS="ftp://ftp.ussg.iu.edu/pub/linux/gentoo
ftp://ftp.gtlib.cc.gatech.edu/pub/gentoo
ftp://gentoo.netnitco.net/pub/mirrors/gentoo/source/ ftp://gentoo.ccccom.com"
LANG="en_US.utf8"
LC_ALL="en_US.utf8"
MAKEOPTS="-j3"
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 acl acpi apm bash-completion berkdb bitmap-fonts crypt cups curl eds
emboss fortran gdbm gif gstreamer imlib ipv6 ithreads jpeg ldap libg++ libwww
mad mikmod mmx mp3 ncurses nls nptl ogg pam pdflib perl png python readline
samba sdl slang snmp spell sse sse2 ssl tcpd threads tiff truetype-fonts
type1-fonts unicode vorbis xml2 zlib userland_GNU kernel_linux elibc_glibc"
Unset:  ASFLAGS, CTARGET, LDFLAGS, LINGUAS
Comment 1 Benjamin Smee (strerror) (RETIRED) gentoo-dev 2005-10-08 05:06:35 UTC
I can't reproduce this at all. 
Comment 2 Daniel Black (RETIRED) gentoo-dev 2005-10-08 06:15:37 UTC
I could reproduce - suspected linux-headers version. 
 
emerge info 
Portage 2.0.53_rc3 (hardened/x86/2.6, gcc-3.4.4, glibc-2.3.5-r1, 
2.6.12-gentoo-r6 i686) 
================================================================= 
System uname: 2.6.12-gentoo-r6 i686 AMD Athlon(tm) XP 1900+ 
Gentoo Base System version 1.6.13 
distcc 2.18.3 i686-pc-linux-gnu (protocols 1 and 2) (default port 3632) 
[disabled] 
ccache version 2.3 [disabled] 
dev-lang/python:     2.3.5-r2 
sys-apps/sandbox:    1.2.13 
sys-devel/autoconf:  2.13, 2.59-r6 
sys-devel/automake:  1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r1 
sys-devel/binutils:  2.16.1 
sys-devel/libtool:   1.5.18-r1 
virtual/os-headers:  2.6.11-r2 
 
Comment 3 Benjamin Smee (strerror) (RETIRED) gentoo-dev 2005-10-08 06:39:58 UTC
# emerge info
Portage 2.0.51.22-r3 (default-linux/x86/2005.0, gcc-3.4.4, glibc-2.3.5-r2,
2.6.13-gentoo-r2 i686)
=================================================================
System uname: 2.6.13-gentoo-r2 i686 AMD Athlon(tm) XP 2800+
Gentoo Base System version 1.6.13
ccache version 2.3 [enabled]
dev-lang/python:     2.3.5-r2
sys-apps/sandbox:    1.2.12
sys-devel/autoconf:  2.13, 2.59-r6
sys-devel/automake:  1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r1
sys-devel/binutils:  2.15.92.0.2-r10
sys-devel/libtool:   1.5.18-r1
virtual/os-headers:  2.6.11-r2
ACCEPT_KEYWORDS="x86"
AUTOCLEAN="yes"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-march=athlon-xp -fomit-frame-pointer -pipe -O3"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/2/share/config /usr/kde/3.4/env
/usr/kde/3.4/share/config /usr/kde/3.4/shutdown /usr/kde/3/share/config
/usr/lib/X11/xkb /usr/share/config /var/qmail/control"
CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d"
CXXFLAGS="-march=athlon-xp -fomit-frame-pointer -pipe -O3"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoaddcvs autoconfig ccache collision-detect cvs digest distlocks
sandbox sfperms strict userpriv"
GENTOO_MIRRORS="http://ftp-stud.fht-esslingen.de/pub/Mirrors/gentoo/
http://ftp.snt.utwente.nl/pub/os/linux/gentoo http://gentoo.tiscali.nl/gentoo
http://gentoo.osuosl.org http://www.mirror.ac.uk/sites/www.ibiblio.org/gentoo/"
LANG="en_US.utf8"
LC_ALL="en_US.utf8"
MAKEOPTS="-j3"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/opt/space/gentoo/gentoo-x86 /usr/local/portage
/usr/local/fluidportage/trunk"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="x86 3dnow 3dnowex 3dnowext X X509 aac accounting acl adns alsa apache2
async avi bash-completion bdf berkdb bidi bitmap-fonts bzip2 bzlib cap caps cddb
cdio cdparanoia cdr chroot cjk cracklib crypt cscope css cups curl dbm directfb
divx4linux dnsdb dts dvb dvd dvdr dvdread ecc edl eds encode ethereal evms2 faac
faad fam fbcon ffmpeg flac foomaticdb fortran fping freetype gd gdbm gif gmp
gpgme gpm gstreamer gtk gtk2 idea imagemagick imap imlib ipv6 jabber java
javascript jce john jpeg junit kde lcd ldap libg++ libwww live lmtp
logitech-mouse logrotate lzo mad maildir memlimit messages mha mikmod mime mmap
mmx mng mp3 mpeg mpeg4 mplayer mysql mysqli mythtv nagios-dns nagios-ntp
nagios-ping nagios-s nagios-ssh ncurses nls no-old-linux nocd nptl odbc
offensive ogg oggvorbis openal opengl pam parse-clocks pcap pcapnav pcre pda pdf
pdflib perl png posix pthreads pwdb python qt quicktime quotas radeon readline
real recode regexp ruby samba sasl sdl sftplogging sguil skey smime snmp
snortsam spell sql sqlite sse ssl subversion svga tcltk tcpd threads tiff
transcode truetype truetype-fonts ttcp type1-fonts ucs2 unicode usb utf8 vcd
vim-pager vim-with-x vorbis win32codecs wmf xanim xchattext xine xml xml2 xmms
xv xvid xvmc zlib userland_GNU kernel_linux elibc_glibc"
Unset:  ASFLAGS, CTARGET, LDFLAGS, LINGUAS
Comment 4 Marcin Kryczek (RETIRED) gentoo-dev 2005-10-08 07:42:49 UTC
(In reply to comment #2)
> I could reproduce - suspected linux-headers version. 
>  

you havn't posted your full emerge info. are you using any optymalization for 
compiling? i suspect tcpdump can't be compiled without optimalization
Comment 5 Marcin Kryczek (RETIRED) gentoo-dev 2005-10-08 07:43:39 UTC
Created attachment 70157 [details, diff]
/tcpdump-3.9.3.patch

patch for ebuild
Comment 6 Chris Smith 2005-10-08 10:14:58 UTC
patch resolves problem here 
thanks 
Comment 7 Marcin Kryczek (RETIRED) gentoo-dev 2005-10-09 03:03:25 UTC
fixed in cvs. thanks for reporting