Gentoo Archives: gentoo-user

From: Developer Edoceo <dev@××××××.com>
To: gentoo-user@l.g.o
Subject: [gentoo-user] Fwd: Building WireShark 0.99.6-r1 with gcc 4.1.
Date: Mon, 30 Jul 2007 17:44:11
Message-Id: 974fabbb0707301029n6b0b0bb7t83d569caf98852e@mail.gmail.com
In Reply to: [gentoo-user] Building WireShark 0.99.6-r1 with gcc 4.1. by Developer Edoceo
1 When trying to emerge wireshark on my system it fails with some error that
2 Google results indicate (to me anyways) that it's 64bit related. I'm on
3 32bit platform. Build proceeds for a while then dies with this:
4
5 wiretap/.libs/libwiretap.so: undefined reference to `GUINT64_SWAP_LE_BE'
6 wiretap/.libs/libwiretap.so: undefined reference to `GUINT64_FROM_LE'
7 collect2: ld returned 1 exit status
8 make[2]: *** [tshark] Error 1
9 make[2]: Leaving directory `/var/tmp/portage/net-analyzer/wireshark-
10 0.99.6-r1/work/wireshark-0.99.6'
11 make[1]: *** [all-recursive] Error 1
12 make[1]: Leaving directory `/var/tmp/portage/net-analyzer/wireshark-
13 0.99.6-r1 /work/wireshark-0.99.6'
14 make: *** [all] Error 2
15
16 !!! ERROR: net-analyzer/wireshark-0.99.6-r1 failed.
17 Call stack:
18 ebuild.sh, line 1621: Called dyn_compile
19 ebuild.sh, line 973: Called qa_call 'src_compile'
20 ebuild.sh, line 44: Called src_compile
21 wireshark-0.99.6-r1.ebuild, line 118: Called die
22
23 Output from emerge --info
24 Portage 2.1.2.9 (default-linux/x86/2007.0, gcc-4.1.2, glibc-2.5-r4,
25 2.6.20-gentoo-r7-edoceo i686)
26 =================================================================
27 System uname: 2.6.20-gentoo-r7-edoceo i686 Intel(R) Xeon(TM) CPU 2.40GHz
28 Gentoo Base System release 1.12.9
29 Timestamp of tree: Sun, 29 Jul 2007 12:00:09 +0000
30 dev-java/java-config: 1.3.7, 2.0.33-r1
31 dev-lang/python: 2.3.5-r3, 2.4.4-r4
32 dev-python/pycrypto: 2.0.1-r5
33 sys-apps/sandbox: 1.2.17
34 sys-devel/autoconf: 2.13, 2.61
35 sys-devel/automake: 1.4_p6, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r2, 1.10
36 sys-devel/binutils: 2.17
37 sys-devel/gcc-config: 1.3.16
38 sys-devel/libtool: 1.5.23b
39 virtual/os-headers: 2.6.21
40 ACCEPT_KEYWORDS="x86"
41 AUTOCLEAN="yes"
42 CBUILD="i686-pc-linux-gnu"
43 CFLAGS="-O2 -march=i686 -pipe -fomit-frame-pointer"
44 CHOST="i686-pc-linux-gnu"
45 CONFIG_PROTECT="/etc /usr/lib/fax /var/spool/fax/etc"
46 CONFIG_PROTECT_MASK="/etc/env.d /etc/env.d/java/ /etc/gconf
47 /etc/php/apache2-php5/ext-active/ /etc/php/cgi-php5/ext-active/
48 /etc/php/cli-php5/ext-active/ /etc/revdep-rebuild /etc/terminfo
49 /etc/texmf/web2c"
50 CXXFLAGS="-O2 -march=i686 -pipe -fomit-frame-pointer"
51 DISTDIR="/usr/portage/distfiles"
52 EMERGE_DEFAULT_OPTS="--alphabetical --nospinner"
53 FEATURES="confcache distlocks fixpackages getbinpkg metadata-transfer
54 notitles sandbox sfperms strict userfetch"
55 GENTOO_MIRRORS="http://distfiles.gentoo.org
56 http://distro.ibiblio.org/pub/linux/distributions/gentoo "
57 MAKEOPTS="-j6"
58 PKGDIR="/usr/portage/packages"
59 PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times
60 --compress --force --whole-file --delete --delete-after --stats
61 --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages
62 --filter=H_**/files/digest-*"
63 PORTAGE_TMPDIR="/var/tmp"
64 PORTDIR="/usr/portage"
65 SYNC="rsync://hydrogen.edoceo.com/element-i686/"
66 USE="bzip2 crypt curl jpeg ldap mmap nls nptl pam pcre perl php png readline
67 samba spell ssl tiff unicode usb x86 xml zlib" ELIBC="glibc" KERNEL="linux"
68 USERLAND="GNU"
69 Unset: CTARGET, INSTALL_MASK, LANG, LC_ALL, LDFLAGS, LINGUAS,
70 PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS,
71 PORTDIR_OVERLAY
72
73 And some of /proc/cpuinfo
74 grep -E 'processor|vendor_id|cpu family|model' /proc/cpuinfo
75 processor : 0
76 vendor_id : GenuineIntel
77 cpu family : 15
78 model : 2
79 model name : Intel(R) Xeon(TM) CPU 2.40GHz
80 processor : 1
81 vendor_id : GenuineIntel
82 cpu family : 15
83 model : 2
84 model name : Intel(R) Xeon(TM) CPU 2.40GHz
85 processor : 2
86 vendor_id : GenuineIntel
87 cpu family : 15
88 model : 2
89 model name : Intel(R) Xeon(TM) CPU 2.40GHz
90 processor : 3
91 vendor_id : GenuineIntel
92 cpu family : 15
93 model : 2
94 model name : Intel(R) Xeon(TM) CPU 2.40GHz
95
96
97 Does anyone have any ideas on what to try next? Where to look? Phrases to
98 search?