Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 175724 - net-analyzer/wireshark-0.99.5 failed : undefined reference to `GUINT64_SWAP_LE_BE' and `GUINT64_FROM_LE'
Summary: net-analyzer/wireshark-0.99.5 failed : undefined reference to `GUINT64_SWAP_L...
Status: RESOLVED CANTFIX
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: x86 Linux
: High normal (vote)
Assignee: Gentoo Netmon project
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2007-04-23 16:58 UTC by Thomas Beutin
Modified: 2007-06-07 20:43 UTC (History)
2 users (show)

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 Thomas Beutin 2007-04-23 16:58:09 UTC
i686-pc-linux-gnu-gcc -DINET6 "-D_U_=__attribute__((unused))" -Wall -Wpointer-arith -W -O -march=i686 -mtune=i686 -fomit-
frame-pointer -I/usr/local/include -I/usr/include/glib-1.2 -I/usr/lib/glib/include -DNETSNMP_ENABLE_IPV6 -O2 -march=i686 
-mtune=i686 -Ulinux -Dlinux=linux -D_REENTRANT -D_GNU_SOURCE -DTHREADS_HAVE_PIDS -fno-strict-aliasing -pipe -Wdeclaration
-after-statement -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I/usr/lib/perl5/5.8.8/i686-linux-thread-multi/CORE -I. -I/us
r/include -o .libs/tshark capture-pcap-util-unix.o capture_errs.o capture-pcap-util.o capture_stop_conditions.o capture_u
i_utils.o cfile.o clopts_common.o conditions.o disabled_protos.o packet-range.o print.o ps.o pcapio.o ringbuffer.o timest
ats.o util.o version_info.o tap-afpstat.o tap-ansi_astat.o tap-bootpstat.o tap-camelcounter.o tap-camelsrt.o tap-dcerpcst
at.o tap-funnel.o tap-gsm_astat.o tap-h225counter.o tap-h225rassrt.o tap-httpstat.o tap-iostat.o tap-iousers.o tap-mgcpst
at.o tap-protocolinfo.o tap-protohierstat.o tap-radiusstat.o tap-rpcstat.o tap-rpcprogs.o tap-sctpchunkstat.o tap-sipstat
.o tap-smbsids.o tap-smbstat.o tap-stats_tree.o tap-wspstat.o capture_opts.o capture_loop.o tempfile.o tshark-tap-registe
r.o tshark.o .libs/tsharkS.o -rdynamic -Wl,--export-dynamic  -L/usr/local/lib wiretap/.libs/libwiretap.so epan/.libs/libw
ireshark.so -L/usr/lib /usr/lib/libnetsnmp.so -lwrap -lcrypto /usr/lib/libpcre.so /usr/lib/libgmodule.so /usr/lib/libglib
.so -lm -lpcap /usr/lib/libgnutls.so /usr/lib/libtasn1.so /usr/lib/libgcrypt.so /usr/lib/libgpg-error.so -lz
wiretap/.libs/libwiretap.so: undefined reference to `GUINT64_SWAP_LE_BE'
wiretap/.libs/libwiretap.so: undefined reference to `GUINT64_FROM_LE'
collect2: ld returned 1 exit status
make[2]: *** [tshark] Error 1
make[2]: Leaving directory `/var/tmp/portage/net-analyzer/wireshark-0.99.5/work/wireshark-0.99.5'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/var/tmp/portage/net-analyzer/wireshark-0.99.5/work/wireshark-0.99.5'
make: *** [all] Error 2

!!! ERROR: net-analyzer/wireshark-0.99.5 failed.
Call stack:
  ebuild.sh, line 1614:   Called dyn_compile
  ebuild.sh, line 971:   Called qa_call 'src_compile'
  environment, line 3580:   Called src_compile
  wireshark-0.99.5.ebuild, line 110:   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/tmp/portage/net-analyzer/wireshark-0.99.5/temp/build.log'.

Reproducible: Always




emerge --info
Portage 2.1.2.2 (default-linux/x86/2006.0, gcc-4.1.1, glibc-2.5-r0, 2.6.19-gentoo-r5 i686)
=================================================================
System uname: 2.6.19-gentoo-r5 i686 Pentium II (Deschutes)
Gentoo Base System release 1.12.9
Timestamp of tree: Mon, 23 Apr 2007 04:20:01 +0000
dev-lang/python:     2.3.5-r3, 2.4.3-r4
dev-python/pycrypto: 2.0.1-r5
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.15-r1
sys-devel/libtool:   1.5.22
virtual/os-headers:  2.6.17-r2
ACCEPT_KEYWORDS="x86"
AUTOCLEAN="yes"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-O2 -march=i686 -mtune=i686 -fomit-frame-pointer"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/lib/fax /usr/share/config /usr/share/texmf/dvipdfm/config/ /usr/share/texmf/dvips/config/ /usr/share/texmf/tex/generic/config/ /usr/share/texmf/tex/platex/config/ /usr/share/texmf/xdvi/ /var/bind /var/spool/fax/etc"
CONFIG_PROTECT_MASK="/etc/env.d /etc/gconf /etc/php/apache1-php5/ext-active/ /etc/php/apache2-php5/ext-active/ /etc/php/cgi-php5/ext-active/ /etc/php/cli-php5/ext-active/ /etc/revdep-rebuild /etc/terminfo"
CXXFLAGS="-O2 -march=i686 -mtune=i686 -fomit-frame-pointer"
DISTDIR="/usr/portage/distfiles"
FEATURES="buildpkg distlocks metadata-transfer sandbox sfperms strict"
GENTOO_MIRRORS="http://mirrors.sec.informatik.tu-darmstadt.de/gentoo/ http://gentoo.mirror.solnet.ch http://ftp.uni-erlangen.de/pub/mirrors/gentoo http://gentoo.ynet.sk/pub http://ftp-stud.fht-esslingen.de/pub/Mirrors/gentoo/ http://ftp.romnet.org/gentoo/ http://gentoo.ITDNet.net/gentoo http://linux.rz.ruhr-uni-bochum.de/download/gentoo-mirror/ http://gentoo.intergenia.de http://ftp.du.se/pub/os/gentoo"
LINGUAS="de en fr es pt it en_GB en_IE"
PKGDIR="/usr/portage/packages"
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"
SYNC="rsync://portage/gentoo-portage"
USE="apache2 apm bash-completion bcmath berkdb bitmap-fonts bzip2 caps cdr cgi clamd cli cracklib crypt ctype cups curl curlwrappers dri eds emboss encode ethereal exif expat ffmpeg flatfile foomaticdb fortran fpx ftp gd gdbm gif gmp graphviz gs gstreamer hardened hardenedphp iconv idled imagemagick imap imlib inifile innodb ipv6 isdnlog ithreads jbig jpeg jpeg2k lcms ldap libg++ libwww logrotate logwatch mad mhash midi mikmod milter mmap mmx mng motif mp3 mpeg mysql mysqli ncurses netpbm nls nptl nptlonly oav ogg opengl oss pam parse-clocks pcntl pcntpl pcre pdf pdflib perl php pic pie png pnp posix postgres ppds pppd python quicktime radius readline reflection ruby samba sasl sdl session sharedext simplexml slp snmp snortsam soap sockets sox speex spell spl sqlite ssl syslog sysvipc tcpd tetex theora threads tidy tiff transparent-proxy truetype truetype-fonts trusted type1-fonts unicode usb userlocales v4l vhosts virus-scan vorbis wddx wmf x86 xine xml xml2 xmlrpc xorg xpm xsl xv xvid yaz 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" INPUT_DEVICES="keyboard mouse" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LINGUAS="de en fr es pt it en_GB en_IE" USERLAND="GNU" VIDEO_CARDS="vesa"
Unset:  CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LANG, LC_ALL, LDFLAGS, MAKEOPTS, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS, PORTDIR_OVERLAY
Comment 1 Markus Ullmann (RETIRED) gentoo-dev 2007-04-23 20:38:16 UTC
please run revdep-rebuild from gentoolkit first to check if all dependent libs are sane. Should the issue still persist, please reopen
Comment 2 Thomas Beutin 2007-04-23 21:18:21 UTC
revdep-rebuild doesn't helps in this case (i tried it before i filed the bug...)
There is no problem on my other x86 system (no threads support) but only on the threads system it doesn't compile :(
Comment 3 Markus Ullmann (RETIRED) gentoo-dev 2007-05-22 19:47:14 UTC
can someone try to reproduce? all my boxes are working fine here....
Comment 4 Christian Faulhammer (RETIRED) gentoo-dev 2007-05-23 07:35:50 UTC
No problems here with USE=threads globally available.  Someone else?  ATs to the front!

Portage 2.1.2.7 (default-linux/x86/2007.0/desktop, gcc-4.1.2, glibc-2.5-r2, 2.6.21-gentoo-r1 i686)
=================================================================
System uname: 2.6.21-gentoo-r1 i686 AMD Athlon(tm) XP 2500+
Gentoo Base System release 1.12.9
Timestamp of tree: Wed, 23 May 2007 05:20:02 +0000
dev-java/java-config: 1.3.7, 2.0.31-r5
dev-lang/python:     2.3.5-r3, 2.4.4-r4
dev-python/pycrypto: 2.0.1-r5
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.16
sys-devel/libtool:   1.5.22
virtual/os-headers:  2.6.17-r2
ACCEPT_KEYWORDS="x86"
AUTOCLEAN="yes"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-O2"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc /opt/openjms/config /usr/kde/3.5/env /usr/kde/3.5/share/config /usr/kde/3.5/shutdown /usr/share/X11/xkb /usr/share/config /usr/spool/PBS /var/vpopmail/domains /var/vpopmail/etc"
CONFIG_PROTECT_MASK="/etc/env.d /etc/env.d/java/ /etc/gconf /etc/java-config/vms/ /etc/php/apache2-php4/ext-active/ /etc/php/apache2-php5/ext-active/ /etc/php/cgi-php4/ext-active/ /etc/php/cgi-php5/ext-active/ /etc/php/cli-php4/ext-active/ /etc/php/cli-php5/ext-active/ /etc/revdep-rebuild /etc/terminfo /etc/texmf/web2c"
CXXFLAGS="-O2"
DISTDIR="/usr/portage/distfiles"
FEATURES="ccache distlocks metadata-transfer parallel-fetch sandbox sfperms strict"
LANG="de_DE@euro"
LC_ALL="de_DE.utf8"
LINGUAS="de"
MAKEOPTS="-j2"
PKGDIR="/usr/portage/packages"
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"
USE="3dnow 3dnowext X Xaw3d a52 alsa apache apache2 artworkextra asf audiofile bash-completion beagle berkdb bidi bitmap-fonts bootsplash branding bzip2 cairo cdda cddb cdparanoia cdr cli cracklib crypt css cups curl custom-cflags dbus dga directfb divx4linux dts dvd dvdr dvdread dvi eds emacs emboss encode esd evo exif expat fam fat fbcon ffmpeg firefox fortran ftp gb gcj gdbm gif gnome gpm gstreamer gtk gtk2 gtkhtml hal iconv icq idn imagemagick imap isdnlog java javamail javascript jikes jpeg jpeg2k kde ldap leim libg++ mad maildir matroska mbox mhash midi mikmod mime mmx mmxext mng mono motif mp3 mpeg mpeg2 mudflap mule mysql nautilus ncurses nforce2 nls nocardbus nptl nptlonly nsplugin nvidia objc ogg opengl openmp pam pcre pdf perl plotutils pmu png ppds pppd preview-latex print python qt3 qt3support qt4 quicktime readline reflection reiserfs samba sdk session slang sockets spell spl sse ssl svg svga t1lib tcltk tcpd tetex theora threads tiff truetype truetype-fonts type1-fonts unicode usb vcd videos vorbis win32codecs wmf wxwindows x86 xine xml xorg xosd xv xvid 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" INPUT_DEVICES="mouse keyboard" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LINGUAS="de" USERLAND="GNU" VIDEO_CARDS="radeon vesa fbdev"
Comment 5 Markus Meier gentoo-dev 2007-05-23 18:56:17 UTC
(In reply to comment #0)
> Portage 2.1.2.2 (default-linux/x86/2006.0, gcc-4.1.1, glibc-2.5-r0,

can you try with latest stable glibc? your version isn't even in the tree anymore...

btw: I can't reproduce this failure on my boxes
Comment 6 Paul Varner (RETIRED) gentoo-dev 2007-05-23 19:54:48 UTC
Not reproducible here.

Portage 2.1.2.7 (default-linux/x86/2007.0/desktop, gcc-4.1.2, glibc-2.5-r2, 2.6.17-gentoo-r8 i686)
=================================================================
System uname: 2.6.17-gentoo-r8 i686 Intel(R) Pentium(R) M processor 1.86GHz
Gentoo Base System release 1.12.9
Timestamp of tree: Wed, 23 May 2007 13:30:08 +0000
ccache version 2.4 [enabled]
dev-lang/python:     2.4.4-r4
dev-python/pycrypto: 2.0.1-r5
dev-util/ccache:     2.4-r7
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.16
sys-devel/libtool:   1.5.22
virtual/os-headers:  2.6.17-r2
ACCEPT_KEYWORDS="x86"
AUTOCLEAN="yes"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-O2 -march=i686 -pipe"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/3.5/env /usr/kde/3.5/share/config /usr/kde/3.5/shutdown /usr/share/X11/xkb /usr/share/config"
CONFIG_PROTECT_MASK="/etc/env.d /etc/gconf /etc/revdep-rebuild /etc/terminfo"
CXXFLAGS="-O2 -march=i686 -pipe"
DISTDIR="/usr/portage/distfiles"
EMERGE_DEFAULT_OPTS="--with-bdeps=y"
FEATURES="autoaddcvs ccache collision-protect cvs distlocks fixpackages metadata-transfer sandbox sfperms strict userpriv usersandbox"
GENTOO_MIRRORS="http://distfiles.gentoo.org http://distro.ibiblio.org/pub/linux/distributions/gentoo"
LINGUAS="en"
PKGDIR="/usr/portage/packages"
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/portage/local/layman/sunrise /usr/local/portage"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="X acl acpi alsa apache2 arts berkdb bitmap-fonts cairo cdr cli cracklib crypt cups dbus dri dvd dvdr dvdread eds emboss encode esd evo fam firefox fortran gdbm gif gnome gpm gstreamer gtk hal iconv isdnlog jpeg kde kerberos ldap libg++ mad midi mikmod mp3 mpeg mudflap ncurses nls nptl nptlonly ogg opengl openmp oss pam pcre pdf perl png pppd python qt3 qt3support quicktime readline reflection samba sdl session spell spl ssl svg tcpd threads tiff truetype truetype-fonts type1-fonts unicode vorbis win32codecs x86 xml xorg xv 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" INPUT_DEVICES="keyboard mouse" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LINGUAS="en" USERLAND="GNU" VIDEO_CARDS="vmware vesa fbdev"
Unset:  CTARGET, INSTALL_MASK, LANG, LC_ALL, LDFLAGS, MAKEOPTS, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS
Comment 7 Christian Faulhammer (RETIRED) gentoo-dev 2007-06-06 07:51:30 UTC
(In reply to comment #3)
> can someone try to reproduce? all my boxes are working fine here....

 Jokey, I think this is a non-issue.  As Markus pointed out, it may have to do with glibc.

Comment 8 Thomas Beutin 2007-06-06 16:00:20 UTC
i emerged a new glibc short time ago:
# eix glibc$
[I] sys-libs/glibc
     Available versions:  (2.2)  [P]2.2.5-r10 [P]2.3.2-r12 2.3.5-r3 2.3.6-r4 2.3.6-r5 2.4-r4 2.5-r2 2.5-r3 **2.6
     Installed versions:  2.5-r3(2.2)(14:04:00 05/31/07)(-build -debug -glibc-compat20 -glibc-omitfp -hardened -multilib nls nptl nptlonly -profile -selinux)
     Homepage:            http://www.gnu.org/software/libc/libc.html
     Description:         GNU libc6 (also called glibc2) C library

but the problem still exists.

It seems that somebody in Russia has or had the same problem: http://www.google.de/search?hl=en&client=firefox-a&rls=org.mozilla%3Ade%3Aofficial&hs=Fix&q=%22undefined+reference+to+%60GUINT64_FROM_LE%27%22&btnG=Search
unfortunally i'm not able to see if they could solve is :(
Comment 9 Markus Ullmann (RETIRED) gentoo-dev 2007-06-07 20:43:51 UTC
the guy didn't get a response in the jabber chan either.

Although it's sad to me, without any chance to reproduce we can't fix this