Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 141021 - wireshark 0.99.2 does not compile
Summary: wireshark 0.99.2 does not compile
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: http://bugs.wireshark.org/bugzilla/sh...
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2006-07-19 04:25 UTC by Alberto Ornaghi
Modified: 2006-07-19 14:45 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 Alberto Ornaghi 2006-07-19 04:25:18 UTC
it stops with this error:

i686-pc-linux-gnu-gcc -DINET6 "-D_U_=__attribute__((unused))" -Wall -Wpointer-arith -W -march=pentium-m -mtune=pentium-m -O -pipe -I/usr/local/include -I/usr/include/gtk-2.0 -I/usr/lib/gtk-2.0/include -I/usr/include/atk-1.0 -I/usr/include/cairo -I/usr/include/pango-1.0 -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -o .libs/tshark capture-pcap-util-unix.o capture_errs.o capture-pcap-util.o capture_stop_conditions.o capture_ui_utils.o cfile.o clopts_common.o conditions.o disabled_protos.o packet-range.o print.o ps.o pcapio.o ringbuffer.o timestats.o util.o version_info.o tap-afpstat.o tap-ansi_astat.o tap-bootpstat.o tap-dcerpcstat.o tap-funnel.o tap-gsm_astat.o tap-h225counter.o tap-h225rassrt.o tap-httpstat.o tap-iostat.o tap-iousers.o tap-mgcpstat.o tap-protocolinfo.o tap-protohierstat.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-register.o tshark.o .libs/tsharkS.o -Wl,--export-dynamic -Wl,--export-dynamic  -pthread -L/usr/local/lib wiretap/.libs/libwiretap.so epan/.libs/libwireshark.so -lcrypto /usr/lib/libpcre.so /usr/lib/libgmodule-2.0.so -ldl /usr/lib/libglib-2.0.so -lm -lpcap -lz
epan/.libs/libwireshark.so: undefined reference to `gcry_md_get_algo_dlen'
epan/.libs/libwireshark.so: undefined reference to `gcry_md_close'
epan/.libs/libwireshark.so: undefined reference to `gcry_md_read'
epan/.libs/libwireshark.so: undefined reference to `gcry_md_setkey'
epan/.libs/libwireshark.so: undefined reference to `gcry_cipher_get_algo_keylen'
epan/.libs/libwireshark.so: undefined reference to `gcry_control'
epan/.libs/libwireshark.so: undefined reference to `gcry_md_write'
epan/.libs/libwireshark.so: undefined reference to `gcry_cipher_open'
epan/.libs/libwireshark.so: undefined reference to `gcry_cipher_ctl'
epan/.libs/libwireshark.so: undefined reference to `gcry_cipher_close'
epan/.libs/libwireshark.so: undefined reference to `gcry_md_open'
epan/.libs/libwireshark.so: undefined reference to `gcry_md_algo_name'
epan/.libs/libwireshark.so: undefined reference to `gpg_strerror'
epan/.libs/libwireshark.so: undefined reference to `gcry_cipher_decrypt'
epan/.libs/libwireshark.so: undefined reference to `gcry_cipher_algo_name'
collect2: ld returned 1 exit status
make[2]: *** [tshark] Error 1


emerge --info
Portage 2.1.1_pre3-r1 (default-linux/x86/2006.0, gcc-4.1.1/hardened, glibc-2.4-r3, 2.6.17-gentoo i686)
=================================================================
System uname: 2.6.17-gentoo i686 Intel(R) Pentium(R) M processor 1.50GHz
Gentoo Base System version 1.12.1
app-admin/eselect-compiler: 2.0.0_rc2-r1
dev-lang/python:     2.4.3-r1
dev-python/pycrypto: 2.0.1-r5
dev-util/ccache:     [Not Present]
dev-util/confcache:  [Not Present]
sys-apps/sandbox:    1.2.18.1
sys-devel/autoconf:  2.13, 2.60
sys-devel/automake:  1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r2
sys-devel/binutils:  2.17
sys-devel/gcc-config: 2.0.0_rc1
sys-devel/libtool:   1.5.22
virtual/os-headers:  2.6.11-r5
ACCEPT_KEYWORDS="x86 ~x86"
AUTOCLEAN="yes"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-march=pentium-m -mtune=pentium-m -O2 -pipe"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/share/X11/xkb /var/bind"
CONFIG_PROTECT_MASK="/etc/env.d /etc/env.d/java/ /etc/eselect/compiler /etc/gconf /etc/java-config/vms/ /etc/revdep-rebuild /etc/splash /etc/terminfo /etc/texmf/web2c"
CXXFLAGS="-march=pentium-m -mtune=pentium-m -O2 -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoconfig distlocks fixpackages metadata-transfer sandbox sfperms strict"
GENTOO_MIRRORS="http://ftp.snt.utwente.nl/pub/os/linux/gentoo http://gentoo.oregonstate.edu http://www.ibiblio.org/pub/Linux/distributions/gentoo"
MAKEOPTS="-j2"
PKGDIR="/usr/portage/packages"
PORTAGE_RSYNC_EXTRA_OPTS="--progress"
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'"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/portage"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="x86 3dnow 3dnowext X aac acpi alsa apache2 apm avi berkdb bitmap-fonts bzip2 cardbus cli crypt cscope dba dga dhcp dlloader dri dvd dvdread esd fb fbcon fbdev font-server ftp gd gdbm gecko-sdk gif gpm gstreamer gtk gtk2 hardened iconv icq imap imlib innodb input_devices_keyboard input_devices_mouse input_devices_synaptics ipv6 isdnlog javascript jpeg jpeg2k kdgraphics libwww mbox md5sum mime mjpeg mmap mmx mmxext mp3 mpeg mpeg4 nagios-dns nagios-ntp nagios-ping nagios-ssh ncurses nls nptl nptlonly ntlm ogg opengl oss pam pam_console pcap pcapnav pcre pdflib perl php png pnp pppd qt3 qt4 quicktime readline reflection rtc samba sdl session sguil sockets spell spl sqlite3 sse sse2 ssl symlink sysfs tcpd tiff truetype truetype-fonts type1-fonts udev unicode userlocales v4l2 vorbis wifi win32codecs xml xmms xorg xv xvid zlib elibc_glibc kernel_linux userland_GNU video_cards_ati video_cards_fbdev video_cards_radeon video_cards_vesa"
Unset:  CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LANG, LC_ALL, LDFLAGS, LINGUAS
Comment 1 Daniel Black (RETIRED) gentoo-dev 2006-07-19 14:34:25 UTC
thanks for the bug report.

Found the error - it was missing library.

The fix should be included next time you sync.