Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 78082 - x11-misc/xchm-0.9.7 fails compilation with undefined reference to _gtk_accel_group_attach
Summary: x11-misc/xchm-0.9.7 fails compilation with undefined reference to _gtk_accel_...
Status: RESOLVED INVALID
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Gentoo Linux bug wranglers
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2005-01-15 06:06 UTC by José Romildo Malaquias
Modified: 2005-03-20 08:54 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 José Romildo Malaquias 2005-01-15 06:06:21 UTC
# qpkg -I -i gtk+
x11-libs/gtk+-2.6.1 *
        Gimp ToolKit + [ http://www.gtk.org/ ]
x11-libs/gtk+-1.2.10-r11 *
        The GIMP Toolkit [ http://www.gtk.org/ ]

# emerge -v xchm
[...]
i686-pc-linux-gnu-g++  -march=athlon-xp -O2 -fomit-frame-pointer -pipe  -W -Wall   -o xchm  chmapp.o chmfile.o chmframe.o chmfshandler.o chminputstream.o contenttaghandler.o chmfontdialog.o chmsearchpanel.o chmhtmlwindow.o chmfinddialog.o chmindexpanel.o chmlistctrl.o -pthread -lwx_gtk2u-2.4  -lchm 
/usr/lib/gcc/i686-pc-linux-gnu/3.4.3/../../../../i686-pc-linux-gnu/bin/ld: warning: libstdc++.so.5, needed by /usr/lib/gcc/i686-pc-linux-gnu/3.4.3/../../../libwx_gtk2u-2.4.so, may conflict with libstdc++.so.6
/usr/lib/gcc/i686-pc-linux-gnu/3.4.3/../../../libwx_gtk2u-2.4.so: undefined reference to `_gtk_accel_group_detach'
/usr/lib/gcc/i686-pc-linux-gnu/3.4.3/../../../libwx_gtk2u-2.4.so: undefined reference to `_gtk_accel_group_attach'
/usr/lib/gcc/i686-pc-linux-gnu/3.4.3/../../../libwx_gtk2u-2.4.so: undefined reference to `_gtk_rc_context_get_default_font_name'
collect2: ld returned 1 exit status
make[2]: *** [xchm] Error 1
make[2]: Leaving directory `/var/tmp/portage/xchm-0.9.7/work/xchm-0.9.7/src'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/var/tmp/portage/xchm-0.9.7/work/xchm-0.9.7'
make: *** [all] Error 2

Reproducible: Always
Steps to Reproduce:




Gentoo Base System version 1.6.8
Portage 2.0.51-r12 (default-linux/x86/2004.0, gcc-3.4.3,
glibc-2.3.4.20041102-r0, 2.6.10-gentoo-r4 i686)
=================================================================
System uname: 2.6.10-gentoo-r4 i686 AMD Athlon(tm) XP 2000+
Python:              dev-lang/python-2.3.4 [2.3.4 (#1, Aug 11 2004, 16:20:21)]
dev-lang/python:     2.3.4
sys-devel/autoconf:  2.59-r6, 2.13
sys-devel/automake:  1.8.5-r2, 1.5, 1.4_p6, 1.6.3, 1.7.9, 1.9.4
sys-devel/binutils:  2.15.92.0.2-r2
sys-devel/libtool:   1.5.10-r2
virtual/os-headers:  2.6.8.1-r2
ACCEPT_KEYWORDS="x86 ~x86"
AUTOCLEAN="yes"
CFLAGS="-march=athlon-xp -O2 -fomit-frame-pointer -pipe"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/2/share/config /usr/kde/3.3/env
/usr/kde/3.3/share/config /usr/kde/3.3/shutdown /usr/kde/3/share/config
/usr/lib/X11/xkb /usr/lib/mozilla/defaults/pref /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/qmail/control"
CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d"
CXXFLAGS="-march=athlon-xp -O2 -fomit-frame-pointer -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoaddcvs autoconfig buildpkg ccache collision-protect distlocks
sandbox sfperms strict usersandbox"
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.namerica.gentoo.org/gentoo-portage"
USE="3dnow X Xaw3d aac aalib acl acpi alsa apm audiofile avi berkdb bitmap-fonts
bonobo cdr crypt cups divx4linux dvd edl emacs emacs-w3 encode esd f77 faad fam
fbcon fbdev ffmpeg flac font-server foomaticdb gcj gdbm gif gimpprint glut gnome
gpm gstreamer gtk gtk2 gtkhtml guile imagemagick imap imlib imlib2 ipv6 java
javascript jpeg kde libcaca libg++ libwww lirc lzo mad mbox md5sum mikmod mmx
mng motif mozilla mpeg ncurses neXt nls nntp nptl oggvorbis opengl pam pcre
pdflib perl png python qt quicktime readline rplay rtc samba sdl silverxp slang
spell sse ssl stroke svg svga tcltk tcpd tetex tiff truetype truetype-fonts
type1-fonts unicode v4l2 wmf x86 xface xine xml xml2 xmms xosd xv xvid zlib
linguas_en linguas_fr linguas_de"
Unset:  LDFLAGS
Comment 1 Carsten Lohrke (RETIRED) gentoo-dev 2005-01-15 10:45:03 UTC
gcc 3.3 and 3.4 compatibility issue. run `revdep-rebuild --soname libstdc++.so.5` (takes a while) and `revdep-rebuild -p` to be sure that there are no broken reverse dependencies. If it's still an issue afterwards, reopen please.
Comment 2 Vaclav Slavik 2005-01-15 11:08:09 UTC
Ad comment #1: Not true -- libstdc++ part is warning only, the important part of this report are the *errors* below it. The undefined references have obviously no relation to C++ at all; they are caused by a bug in wxGTK 2.4.x, that is already fixed in Portage since 2004-12-05 (bug #46737). 
Comment 3 José Romildo Malaquias 2005-01-15 12:34:44 UTC
In fact re-emerging wxGTK solves the problem.

But why a new release of wxGTK was not commited to portage when bug #46737 was fixed? If so, this one would not have happened.

Thanks for the help.
Comment 4 Antek Grzymała (antoszka) 2005-03-02 02:20:49 UTC
Reemerging current stable wxGTK-2.4.2-r2 does *not* help. You need to unmask wxGTK-2.4.2-r3 (it's still in ~x86), emerge it, and then emerge xchm.

Worked for me (tm).
Comment 5 Cagnulein 2005-03-20 08:54:53 UTC
emerge wxGTK xchm works for me too