Trying to compile xmule a "millon" undefined reference to wx_gtk undefined reference to `wxString*::*' and so on happened. Looking on /usr/lib and emerge -p wxGTK, i discovered that since wxGTK was installed on my system, /etc/ld.so.conf didn't have any entry on /usr/lib, so the reason to undefined references. I don't know if it was a portage fault or mine, but here the problem!! Reproducible: Always Steps to Reproduce: 1.emerge xmule 2. 3. Actual Results: doesn't compile Expected Results: compilation ok Portage 2.0.51_rc6 (default-x86-2004.2, gcc-3.4.2, glibc-2.3.4.20040808-r0, 2.6.8-gentoo-r4 i686) ================================================================= System uname: 2.6.8-gentoo-r4 i686 AMD Athlon(tm) XP 2400+ Gentoo Base System version 1.5.3 ccache version 2.3 [enabled] Autoconf: sys-devel/autoconf-2.59-r4 Automake: sys-devel/automake-1.8.5-r1 Binutils: sys-devel/binutils-2.15.90.0.1.1-r3 Headers: sys-kernel/linux26-headers-2.6.8.1 Libtools: sys-devel/libtool-1.5.2-r5 ACCEPT_KEYWORDS="x86 ~x86" AUTOCLEAN="yes" CFLAGS="-O2 -mtune=athlon-xp -march=athlon-xp -pipe -fomit-frame-pointer -ftracer -fprefetch-loop-arrays -fno-crossjumping-finline-functions -fgcse -maccumulate-outgoing-args -fmove-all-movables -freduce-all-givs -fstrict-aliasing" CHOST="i686-pc-linux-gnu" COMPILER="gcc3" CONFIG_PROTECT="/etc /usr/X11R6/lib/X11/xkb /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/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/qmail/control" CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d" CXXFLAGS="-O2 -mtune=athlon-xp -march=athlon-xp -pipe -fomit-frame-pointer -ftracer -fprefetch-loop-arrays -fno-crossjumping -finline-functions -fgcse -maccumulate-outgoing-args -fmove-all-movables -freduce-all-givs -fstrict-aliasing -fvisibility-inlines-hidden" DISTDIR="/usr/portage/distfiles" FEATURES="autoaddcvs ccache distlocks sandbox" GENTOO_MIRRORS="ftp://ftp.ussg.iu.edu/pub/linux/gentoo http://csociety-ftp.ecn.purdue.edu/pub/gentoo/ ftp://mirror.iawnet.sandia.gov/pub/gentoo/ http://gentoo.oregonstate.edu http://www.ibiblio.org/pub/Linux/distributions/gentoo" MAKEOPTS="-j2" PKGDIR="/usr/portage/packages" PORTAGE_TMPDIR="/var/tmp" PORTDIR="/usr/portage" PORTDIR_OVERLAY="/usr/local/bmg-main" SYNC="rsync://rsync1.fi.gentoo.org/gentoo-portage" USE="X aalib alsa arts avi berkdb bitmap-fonts cdr crypt cups dga directfb dvd dvdr encode esd evo expat fbcon firefox flash foomaticdb gb gcc gdbm ggi gif glib glibc gnome gphoto2 gpm gtk gtk2 gtkhtml imlib innodb ipv6 jpeg kde kdevelop lcms libg++ libwww libxslt mad mikmod motif mozaccess-builtin mozctl mozilla moznoxft mozxmlterm mpeg msn mysql ncurses nls nptl odbc oggvorbis opengl oscar oss pam pda pdflib perl plotutils png python qt quicktime readline samba sdl slang slp snmp sock5 spell sse ssl svga tcltk tcpd tetex thunderbird tiff truetype usb valgrind wxwindows x86 xface xml xml2 xmms xorg xprint xv yahoo zlib" libc info: NU C Library 20040808 release version 2.3.4, by Roland McGrath et al. Copyright (C) 2004 Free Software Foundation, Inc. This is free software; see the source for copying conditions. There is NO warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. Compiled by GNU CC version 3.4.2 (Gentoo Linux 3.4.2-r2, ssp-3.4.1-1, pie-8.7.6.5). Compiled on a Linux 2.6.8 system on 2004-09-26. Available extensions: GNU libio by Per Bothner crypt add-on version 2.1 by Michael Glad and others Native POSIX Threads Library by Ulrich Drepper et al BIND-8.2.3-T5B NIS(YP)/NIS+ NSS modules 0.19 by Thorsten Kukuk Thread-local storage support included.
If a move all /usr/lib/*wx_gtk* to /usr/lib/wx and create an input in /etc/env.d/99wx: LDPATH="/usr/lib/wx" the 'undefined reference' disappears but still gets errors like: **************************** xmlparse.c xmlrole.c cp: cannot stat `obj/xmlparse.d': No such file or directory /bin/sh: obj/xmlparse.d: No such file or directory xmltok.c cp: cannot stat `obj/xmlrole.d': No such file or directory /bin/sh: obj/xmlrole.d: No such file or directory xh_bmp.cpp cp: cannot stat `obj/xmltok.d': No such file or directory /bin/sh: obj/xmltok.d: No such file or directory xh_bmpbt.cpp cp: cannot stat `obj/xh_bmp.d': No such file or directory /bin/sh: obj/xh_bmp.d: No such file or directory xh_bttn.cpp cp: cannot stat `obj/xh_bmpbt.d': No such file or directory /bin/sh: obj/xh_bmpbt.d: No such file or directory xh_cald.cpp cp: cannot stat `obj/xh_cald.d': No such file or directory /bin/sh: obj/xh_cald.d: No such file or directory cp: cannot stat `obj/xh_bttn.d': No such file or directory /bin/sh: obj/xh_bttn.d: No such file or directory xh_chckb.cpp xh_chckl.cpp cp: cannot stat `obj/xh_chckb.d': No such file or directory /bin/sh: obj/xh_chckb.d: No such file or directory xh_choic.cpp cp: cannot stat `obj/xh_chckl.d': No such file or directory /bin/sh: obj/xh_chckl.d: No such file or directory xh_combo.cpp cp: cannot stat `obj/xh_choic.d': No such file or directory /bin/sh: obj/xh_choic.d: No such file or directory xh_dlg.cpp cp: cannot stat `obj/xh_combo.d': No such file or directory /bin/sh: obj/xh_combo.d: No such file or directory xh_frame.cpp cp: cannot stat `obj/xh_dlg.d': No such file or directory /bin/sh: obj/xh_dlg.d: No such file or directory xh_gauge.cpp cp: cannot stat `obj/xh_frame.d': No such file or directory /bin/sh: obj/xh_frame.d: No such file or directory xh_gdctl.cpp cp: cannot stat `obj/xh_gauge.d': No such file or directory /bin/sh: obj/xh_gauge.d: No such file or directory xh_html.cpp cp: cannot stat `obj/xh_gdctl.d': No such file or directory /bin/sh: obj/xh_gdctl.d: No such file or directory xh_listb.cpp cp: cannot stat `obj/xh_html.d': No such file or directory /bin/sh: obj/xh_html.d: No such file or directory xh_listc.cpp cp: cannot stat `obj/xh_listb.d': No such file or directory /bin/sh: obj/xh_listb.d: No such file or directory xh_menu.cpp cp: cannot stat `obj/xh_listc.d': No such file or directory /bin/sh: obj/xh_listc.d: No such file or directory xh_notbk.cpp cp: cannot stat `obj/xh_menu.d': No such file or directory /bin/sh: obj/xh_menu.d: No such file or directory cp: cannot stat `obj/xh_notbk.d': No such file or directory /bin/sh: obj/xh_notbk.d: No such file or directory xh_panel.cpp xh_radbt.cpp cp: cannot stat `obj/xh_panel.d': No such file or directory /bin/sh: obj/xh_panel.d: No such file or directory xh_radbx.cpp cp: cannot stat `obj/xh_radbt.d': No such file or directory /bin/sh: obj/xh_radbt.d: No such file or directory xh_scrol.cpp cp: cannot stat `obj/xh_radbx.d': No such file or directory /bin/sh: obj/xh_radbx.d: No such file or directory xh_scwin.cpp cp: cannot stat `obj/xh_scrol.d': No such file or directory /bin/sh: obj/xh_scrol.d: No such file or directory xh_sizer.cpp cp: cannot stat `obj/xh_sizer.d': No such file or directory /bin/sh: obj/xh_sizer.d: No such file or directory xh_slidr.cpp cp: cannot stat `obj/xh_scwin.d': No such file or directory /bin/sh: obj/xh_scwin.d: No such file or directory xh_spin.cpp cp: cannot stat `obj/xh_slidr.d': No such file or directory /bin/sh: obj/xh_slidr.d: No such file or directory xh_split.cpp cp: cannot stat `obj/xh_spin.d': No such file or directory /bin/sh: obj/xh_spin.d: No such file or directory xh_stbmp.cpp cp: cannot stat `obj/xh_stbmp.d': No such file or directory /bin/sh: obj/xh_stbmp.d: No such file or directory xh_stbox.cpp cp: cannot stat `obj/xh_split.d': No such file or directory /bin/sh: obj/xh_split.d: No such file or directory xh_stlin.cpp ***************************************************** in /var/tmp/portage/xmule../.../work/xmule/src/obj efectively no such files i encountered. What could be??
What version of xmule? What version of wxGTK?
wxGTK-2.4.2-r3 xmule-1.9.1b portage tells me that xmule is not compatible with wxGTK 2.4 O_o
The problem was that you had a version of wxGTK compiled with unicode, it seems, but xmule does not work with unicode. The ebuild has since been changed to only use non-unicode versions of wxGTK. Since you moved all those files around, you'll probably have to re-emerge wxGTK anyways. Re-open the bug if you still have problems after re-emerging wxGTK please.