pavilion ~ # emerge --info Portage 2.0.54 (default-linux/x86/2005.1, gcc-3.4.4, glibc-2.3.5-r2, 2.6.15-gentoo-r1 i686) ================================================================= System uname: 2.6.15-gentoo-r1 i686 Intel(R) Pentium(R) 4 CPU 3.20GHz Gentoo Base System version 1.6.14 distcc 2.18.3 i686-pc-linux-gnu (protocols 1 and 2) (default port 3632) [disabled] ccache version 2.3 [disabled] dev-lang/python: 2.3.5-r2, 2.4.2 sys-apps/sandbox: 1.2.12 sys-devel/autoconf: 2.13, 2.59-r6 sys-devel/automake: 1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r1 sys-devel/binutils: 2.16.1 sys-devel/libtool: 1.5.22 virtual/os-headers: 2.6.11-r2 ACCEPT_KEYWORDS="x86" AUTOCLEAN="yes" CBUILD="i686-pc-linux-gnu" CFLAGS="-O3 -march=pentium4 -pipe -fomit-frame-pointer" CHOST="i686-pc-linux-gnu" CONFIG_PROTECT="/etc /usr/kde/2/share/config /usr/kde/3.4/env /usr/kde/3.4/share/config /usr/kde/3.4/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="-O3 -march=pentium4 -pipe -fomit-frame-pointer" DISTDIR="/usr/portage/distfiles" FEATURES="autoconfig buildpkg distlocks fixpackages sandbox sfperms strict" GENTOO_MIRRORS="http://localhost/gentoo/source ftp://gentoo.inode.at/source ftp://gd.tuwien.ac.at/pub/linux/gentoo" LANG="german" LC_ALL="de_AT.utf8" LINGUAS="de cs" MAKEOPTS="-j2" PKGDIR="/usr/portage/packages" PORTAGE_TMPDIR="/var/tmp" PORTDIR="/usr/portage" PORTDIR_OVERLAY="/usr/local/portage" SYNC="rsync://rsync.gentoo.org/gentoo-portage" USE="x86 X a52 aac aalib acl acpi alsa apache2 apic apm arts asf audiofile avi berkdb bitmap-fonts bluetooth bonobo bootsplash bzip2 cdda cddb cdio cdparanoia cdr cdrom chroot clamav cli crypt cups curl dba debug dga directfb divx4linux doc dts dv dvd dvdr dvdread eds emboss encode esd ethereal examples exif expat fam fbcon ffmpeg flac font-server foomaticdb fortran gd gdbm geoip gg ggi gif glut gmp gnome gnutls gphoto2 gpm gstreamer gtk gtk2 gtkhtml guile hal icq idn ieee1394 imagemagick imap imlib ipv6 ithreads jack java javascript jpeg jpeg2k junit kde lcms ldap libcaca libclamav libg++ libwww lirc live logrotate lzo mad maildir mailwrapper math mbox mhash mikmod milter ming mmx mng motif mozilla mp3 mpeg msn mysql nas ncurses network nfs nls nntp nptl nsplugin nvidia oav ogg oggvorbis openal opengl oscar oss pam pascal passfile password pcmcia pcre pda pdf pdflib perl php physfs pic png pnp postgres povray procmail python qemu-fast qt quicktime quotas quotes rar rdesktop readline real recode reiserfs remote rplay rtc ruby samba sasl scanner screen sdk sdl sftp silc skey slang smime smp sms sndfile snmp sockets socks5 softmmu sox spamassassin speech speex spell spl sql sqlite sse sse2 ssh ssl stats stream streamzap subject-rewrite subtitles svg svga sysfs tcltk tcpd tetex theora threads tiff timidity toolbar truetype truetype-fonts type1-fonts udev unicode uptimed usb userlocales utf8 v4l v4l2 vcd vcdimager vdr vidix virus-scan vlm vorbis wifi win32codecs winbind wma123 xanim xface xfs xine xinerama xml xml2 xmms xosd xprint xscreensaver xv xvid xvmc yahoo yv12 zlib linguas_de linguas_cs userland_GNU kernel_linux elibc_glibc" Unset: ASFLAGS, CTARGET, LDFLAGS pavilion ~ # equery list wxGTK-2.4 [ Searching for package 'wxGTK' in all categories among: ] * installed packages [I--] [ ] x11-libs/wxGTK-2.4.2-r4 (2.4) pavilion ~ # equery list gtk+-2 [ Searching for package 'gtk+' in all categories among: ] * installed packages [I--] [ ] x11-libs/gtk+-2.8.8 (2) pavilion ~ # emerge -pv =x11-libs/wxGTK-2.4.2-r4 These are the packages that I would merge, in order: Calculating dependencies ...done! [ebuild R ] x11-libs/wxGTK-2.4.2-r4 +debug +gtk2 -odbc +opengl -unicode -wxgtk1 0 kB /usr/lib/gcc/i686-pc-linux-gnu/3.4.4/../../../libwx_gtk2d-2.4.so: undefined reference to `vtable for wxFileProto' collect2: ld returned 1 exit status make[1]: *** [../audacity] Error 1 make[1]: Leaving directory `/var/tmp/portage/audacity-1.2.1/work/audacity-src-1.2.1/src' make: *** [audacity] Error 2 !!! ERROR: media-sound/audacity-1.2.1 failed. /usr/lib/gcc/i686-pc-linux-gnu/3.4.4/../../../libwx_gtk2d-2.4.so: undefined reference to `vtable for wxFileProto' collect2: ld returned 1 exit status make[2]: *** [dvdstyler] Error 1 make[2]: Leaving directory `/var/tmp/portage/dvdstyler-1.4/work/DVDStyler-1.4/src' make[1]: *** [all-recursive] Error 1 make[1]: Leaving directory `/var/tmp/portage/dvdstyler-1.4/work/DVDStyler-1.4/src' make: *** [all-recursive] Error 1 !!! ERROR: media-video/dvdstyler-1.4 failed. and any other wx apps re-emerge of x11-libs/wxGTK-2.4.2-r4 doesn't resolve this problem
The wxhaskell-0.8 and 0.9 ebuilds are running into this problem too. emerging the 'stable' wxhaskell and then trying to load the package in ghci gives: $ ghci -package wx Loading package wxcore ... ghc-6.2.2: can't load .so/.DLL for: wxc-gtk2.4.2-0.8 (/usr/lib/libwx_gtk2-2.4.so: undefined symbol: _ZTV11wxFileProto) I think that _ZTV11wxFileProto is just the unmagled name for the wxFileProto vtable.
red hat seem to have a patch problem: https://bugzilla.redhat.com/bugzilla/show_bug.cgi?id=154958#c3 the patch: https://bugzilla.redhat.com/bugzilla/attachment.cgi?id=113274
Oh, that patch is already included in wxGTK-2.4.2-r4. And yet we're still getting the linking bug. That patch seemed to fix it for the RedHat people. I'm confused now.
wxhaskell-0.8-r1 and wxhaskell-0.9 will be p.masked until this bug can be fixed.
I got the following for any version of rapidsvn I tried to compile last night: /usr/lib/libwx_gtk2-2.4.so: undefined reference to `vtable for wxFileProto' collect2: ld returned 1 exit status make[2]: *** [rapidsvn] Error 1
Hello, I've got the same problem with dvdstyler-1.4. i686-pc-linux-gnu-g++ -DPACKAGE_NAME=\"DVDStyler\" -DPACKAGE_TARNAME=\"dvdstyler\" -DPACKAGE_VERSION=\"1.0\" -DPACKAGE_STRING=\"DVDStyler\ 1.0\" -DPACKAGE_BUGREPORT=\"dvdstyler-users@lists.sourceforge.net\" -DPACKAGE=\"dvdstyler\" -DVERSION=\"1.0\" -I. -I. -march=athlon-xp -O2 -pipe -fomit-frame-pointer -I/usr/lib/wx/include/gtk2u-2.4 -DGTK_NO_CHECK_CASTS -D__WXGTK__ -D_FILE_OFFSET_BITS=64 -D_LARGE_FILES -DGNOME2 -DDATADIR=\"/usr/share/dvdstyler\" -I.. -c -o TitleThumbnails.o `test -f 'TitleThumbnails.cpp' || echo './'`TitleThumbnails.cpp i686-pc-linux-gnu-g++ -march=athlon-xp -O2 -pipe -fomit-frame-pointer -I/usr/lib/wx/include/gtk2u-2.4 -DGTK_NO_CHECK_CASTS -D__WXGTK__ -D_FILE_OFFSET_BITS=64 -D_LARGE_FILES -DGNOME2 -DDATADIR=\"/usr/share/dvdstyler\" -I.. -o dvdstyler About.o AVPropDlg.o BurnDlg.o ButtonPropDlg.o Config.o DVD.o DVDPropDlg.o dvdstyler.o hyperlink.o Languages.o MainWin.o Menu.o MenuBox.o MenuPropDlg.o MPEG.o ProgressDlg.o SettingsDlg.o TextPropDlg.o TitlePropDlg.o TitleThumbnails.o ../wxVillaLib/libwxvilla.a ../wxXML/libwxxml.a -pthread -lwx_gtk2u-2.4 -lpangox-1.0 -Wl,--export-dynamic -pthread -lgnomeui-2 -lSM -lICE -lbonoboui-2 -lgnome-keyring -lxml2 -lz -lgnomecanvas-2 -lgnome-2 -lpopt -lart_lgpl_2 -lpangoft2-1.0 -lgtk-x11-2.0 -lgdk-x11-2.0 -latk-1.0 -lgdk_pixbuf-2.0 -lpangocairo-1.0 -lpango-1.0 -lcairo -lgnomevfs-2 -lbonobo-2 -lgconf-2 -lgobject-2.0 -lbonobo-activation -lORBit-2 -lm -lgmodule-2.0 -ldl -lgthread-2.0 -lglib-2.0 /usr/lib/gcc/i686-pc-linux-gnu/3.4.4/../../../libwx_gtk2u-2.4.so: r
Hello, I've got the same problem with dvdstyler-1.4. i686-pc-linux-gnu-g++ -DPACKAGE_NAME=\"DVDStyler\" -DPACKAGE_TARNAME=\"dvdstyler\" -DPACKAGE_VERSION=\"1.0\" -DPACKAGE_STRING=\"DVDStyler\ 1.0\" -DPACKAGE_BUGREPORT=\"dvdstyler-users@lists.sourceforge.net\" -DPACKAGE=\"dvdstyler\" -DVERSION=\"1.0\" -I. -I. -march=athlon-xp -O2 -pipe -fomit-frame-pointer -I/usr/lib/wx/include/gtk2u-2.4 -DGTK_NO_CHECK_CASTS -D__WXGTK__ -D_FILE_OFFSET_BITS=64 -D_LARGE_FILES -DGNOME2 -DDATADIR=\"/usr/share/dvdstyler\" -I.. -c -o TitleThumbnails.o `test -f 'TitleThumbnails.cpp' || echo './'`TitleThumbnails.cpp i686-pc-linux-gnu-g++ -march=athlon-xp -O2 -pipe -fomit-frame-pointer -I/usr/lib/wx/include/gtk2u-2.4 -DGTK_NO_CHECK_CASTS -D__WXGTK__ -D_FILE_OFFSET_BITS=64 -D_LARGE_FILES -DGNOME2 -DDATADIR=\"/usr/share/dvdstyler\" -I.. -o dvdstyler About.o AVPropDlg.o BurnDlg.o ButtonPropDlg.o Config.o DVD.o DVDPropDlg.o dvdstyler.o hyperlink.o Languages.o MainWin.o Menu.o MenuBox.o MenuPropDlg.o MPEG.o ProgressDlg.o SettingsDlg.o TextPropDlg.o TitlePropDlg.o TitleThumbnails.o ../wxVillaLib/libwxvilla.a ../wxXML/libwxxml.a -pthread -lwx_gtk2u-2.4 -lpangox-1.0 -Wl,--export-dynamic -pthread -lgnomeui-2 -lSM -lICE -lbonoboui-2 -lgnome-keyring -lxml2 -lz -lgnomecanvas-2 -lgnome-2 -lpopt -lart_lgpl_2 -lpangoft2-1.0 -lgtk-x11-2.0 -lgdk-x11-2.0 -latk-1.0 -lgdk_pixbuf-2.0 -lpangocairo-1.0 -lpango-1.0 -lcairo -lgnomevfs-2 -lbonobo-2 -lgconf-2 -lgobject-2.0 -lbonobo-activation -lORBit-2 -lm -lgmodule-2.0 -ldl -lgthread-2.0 -lglib-2.0 /usr/lib/gcc/i686-pc-linux-gnu/3.4.4/../../../libwx_gtk2u-2.4.so: référence indéfinie vers « vtable for wxFileProto» collect2: ld a retourné 1 code d'état d'exécution make[2]: *** [dvdstyler] Erreur 1 make[2]: Leaving directory `/var/tmp/portage/dvdstyler-1.4/work/DVDStyler-1.4/src' make[1]: *** [all-recursive] Erreur 1 make[1]: Leaving directory `/var/tmp/portage/dvdstyler-1.4/work/DVDStyler-1.4/src' make: *** [all-recursive] Erreur 1 !!! ERROR: media-video/dvdstyler-1.4 failed. !!! Function src_compile, Line 566, Exitcode 2 !!! emake failed !!! If you need support, post the topmost build error, NOT this status message.
Hi, when I got the same error compiling ardour: /usr/lib/gcc/i686-pc-linux-gnu/3.4.4/../../../libwx_gtk2-2.4.so: undefined reference to `vtable for wxFileProto' collect2: ld returned 1 exit status make[1]: *** [../audacity] Error 1 make[1]: Leaving directory `/var/tmp/portage/audacity-1.2.4b-r1/work/audacity-src-1.2.4b/src' make: *** [audacity] Error 2 I use gentoos i686-pc-linux-gnu-3.4.4 on x86 for compiling and tried different use-settings for wxGTK (-unicode -gtk2 wxgtk1) in various combinations but it didn't work. (In reply to comment #0) > pavilion ~ # emerge --info > Portage 2.0.54 (default-linux/x86/2005.1, gcc-3.4.4, glibc-2.3.5-r2, > 2.6.15-gentoo-r1 i686) > ================================================================= > System uname: 2.6.15-gentoo-r1 i686 Intel(R) Pentium(R) 4 CPU 3.20GHz > Gentoo Base System version 1.6.14 > distcc 2.18.3 i686-pc-linux-gnu (protocols 1 and 2) (default port 3632) > [disabled] > ccache version 2.3 [disabled] > dev-lang/python: 2.3.5-r2, 2.4.2 > sys-apps/sandbox: 1.2.12 > sys-devel/autoconf: 2.13, 2.59-r6 > sys-devel/automake: 1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r1 > sys-devel/binutils: 2.16.1 > sys-devel/libtool: 1.5.22 > virtual/os-headers: 2.6.11-r2 > ACCEPT_KEYWORDS="x86" > AUTOCLEAN="yes" > CBUILD="i686-pc-linux-gnu" > CFLAGS="-O3 -march=pentium4 -pipe -fomit-frame-pointer" > CHOST="i686-pc-linux-gnu" > CONFIG_PROTECT="/etc /usr/kde/2/share/config /usr/kde/3.4/env > /usr/kde/3.4/share/config /usr/kde/3.4/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="-O3 -march=pentium4 -pipe -fomit-frame-pointer" > DISTDIR="/usr/portage/distfiles" > FEATURES="autoconfig buildpkg distlocks fixpackages sandbox sfperms strict" > GENTOO_MIRRORS="http://localhost/gentoo/source ftp://gentoo.inode.at/source > ftp://gd.tuwien.ac.at/pub/linux/gentoo" > LANG="german" > LC_ALL="de_AT.utf8" > LINGUAS="de cs" > MAKEOPTS="-j2" > PKGDIR="/usr/portage/packages" > PORTAGE_TMPDIR="/var/tmp" > PORTDIR="/usr/portage" > PORTDIR_OVERLAY="/usr/local/portage" > SYNC="rsync://rsync.gentoo.org/gentoo-portage" > USE="x86 X a52 aac aalib acl acpi alsa apache2 apic apm arts asf audiofile avi > berkdb bitmap-fonts bluetooth bonobo bootsplash bzip2 cdda cddb cdio cdparanoia > cdr cdrom chroot clamav cli crypt cups curl dba debug dga directfb divx4linux > doc dts dv dvd dvdr dvdread eds emboss encode esd ethereal examples exif expat > fam fbcon ffmpeg flac font-server foomaticdb fortran gd gdbm geoip gg ggi gif > glut gmp gnome gnutls gphoto2 gpm gstreamer gtk gtk2 gtkhtml guile hal icq idn > ieee1394 imagemagick imap imlib ipv6 ithreads jack java javascript jpeg jpeg2k > junit kde lcms ldap libcaca libclamav libg++ libwww lirc live logrotate lzo mad > maildir mailwrapper math mbox mhash mikmod milter ming mmx mng motif mozilla > mp3 mpeg msn mysql nas ncurses network nfs nls nntp nptl nsplugin nvidia oav > ogg oggvorbis openal opengl oscar oss pam pascal passfile password pcmcia pcre > pda pdf pdflib perl php physfs pic png pnp postgres povray procmail python > qemu-fast qt quicktime quotas quotes rar rdesktop readline real recode reiserfs > remote rplay rtc ruby samba sasl scanner screen sdk sdl sftp silc skey slang > smime smp sms sndfile snmp sockets socks5 softmmu sox spamassassin speech speex > spell spl sql sqlite sse sse2 ssh ssl stats stream streamzap subject-rewrite > subtitles svg svga sysfs tcltk tcpd tetex theora threads tiff timidity toolbar > truetype truetype-fonts type1-fonts udev unicode uptimed usb userlocales utf8 > v4l v4l2 vcd vcdimager vdr vidix virus-scan vlm vorbis wifi win32codecs winbind > wma123 xanim xface xfs xine xinerama xml xml2 xmms xosd xprint xscreensaver xv > xvid xvmc yahoo yv12 zlib linguas_de linguas_cs userland_GNU kernel_linux > elibc_glibc" > Unset: ASFLAGS, CTARGET, LDFLAGS > > pavilion ~ # equery list wxGTK-2.4 > [ Searching for package 'wxGTK' in all categories among: ] > * installed packages > [I--] [ ] x11-libs/wxGTK-2.4.2-r4 (2.4) > > pavilion ~ # equery list gtk+-2 > [ Searching for package 'gtk+' in all categories among: ] > * installed packages > [I--] [ ] x11-libs/gtk+-2.8.8 (2) > > pavilion ~ # emerge -pv =x11-libs/wxGTK-2.4.2-r4 > > These are the packages that I would merge, in order: > > Calculating dependencies ...done! > [ebuild R ] x11-libs/wxGTK-2.4.2-r4 +debug +gtk2 -odbc +opengl -unicode > -wxgtk1 0 kB > > /usr/lib/gcc/i686-pc-linux-gnu/3.4.4/../../../libwx_gtk2d-2.4.so: undefined > reference to `vtable for wxFileProto' > collect2: ld returned 1 exit status > make[1]: *** [../audacity] Error 1 > make[1]: Leaving directory > `/var/tmp/portage/audacity-1.2.1/work/audacity-src-1.2.1/src' > make: *** [audacity] Error 2 > > !!! ERROR: media-sound/audacity-1.2.1 failed. > > /usr/lib/gcc/i686-pc-linux-gnu/3.4.4/../../../libwx_gtk2d-2.4.so: undefined > reference to `vtable for wxFileProto' > collect2: ld returned 1 exit status > make[2]: *** [dvdstyler] Error 1 > make[2]: Leaving directory > `/var/tmp/portage/dvdstyler-1.4/work/DVDStyler-1.4/src' > make[1]: *** [all-recursive] Error 1 > make[1]: Leaving directory > `/var/tmp/portage/dvdstyler-1.4/work/DVDStyler-1.4/src' > make: *** [all-recursive] Error 1 > > !!! ERROR: media-video/dvdstyler-1.4 failed. > > and any other wx apps > > re-emerge of x11-libs/wxGTK-2.4.2-r4 doesn't resolve this problem > (In reply to comment #0) > pavilion ~ # emerge --info > Portage 2.0.54 (default-linux/x86/2005.1, gcc-3.4.4, glibc-2.3.5-r2, > 2.6.15-gentoo-r1 i686) > ================================================================= > System uname: 2.6.15-gentoo-r1 i686 Intel(R) Pentium(R) 4 CPU 3.20GHz > Gentoo Base System version 1.6.14 > distcc 2.18.3 i686-pc-linux-gnu (protocols 1 and 2) (default port 3632) > [disabled] > ccache version 2.3 [disabled] > dev-lang/python: 2.3.5-r2, 2.4.2 > sys-apps/sandbox: 1.2.12 > sys-devel/autoconf: 2.13, 2.59-r6 > sys-devel/automake: 1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r1 > sys-devel/binutils: 2.16.1 > sys-devel/libtool: 1.5.22 > virtual/os-headers: 2.6.11-r2 > ACCEPT_KEYWORDS="x86" > AUTOCLEAN="yes" > CBUILD="i686-pc-linux-gnu" > CFLAGS="-O3 -march=pentium4 -pipe -fomit-frame-pointer" > CHOST="i686-pc-linux-gnu" > CONFIG_PROTECT="/etc /usr/kde/2/share/config /usr/kde/3.4/env > /usr/kde/3.4/share/config /usr/kde/3.4/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="-O3 -march=pentium4 -pipe -fomit-frame-pointer" > DISTDIR="/usr/portage/distfiles" > FEATURES="autoconfig buildpkg distlocks fixpackages sandbox sfperms strict" > GENTOO_MIRRORS="http://localhost/gentoo/source ftp://gentoo.inode.at/source > ftp://gd.tuwien.ac.at/pub/linux/gentoo" > LANG="german" > LC_ALL="de_AT.utf8" > LINGUAS="de cs" > MAKEOPTS="-j2" > PKGDIR="/usr/portage/packages" > PORTAGE_TMPDIR="/var/tmp" > PORTDIR="/usr/portage" > PORTDIR_OVERLAY="/usr/local/portage" > SYNC="rsync://rsync.gentoo.org/gentoo-portage" > USE="x86 X a52 aac aalib acl acpi alsa apache2 apic apm arts asf audiofile avi > berkdb bitmap-fonts bluetooth bonobo bootsplash bzip2 cdda cddb cdio cdparanoia > cdr cdrom chroot clamav cli crypt cups curl dba debug dga directfb divx4linux > doc dts dv dvd dvdr dvdread eds emboss encode esd ethereal examples exif expat > fam fbcon ffmpeg flac font-server foomaticdb fortran gd gdbm geoip gg ggi gif > glut gmp gnome gnutls gphoto2 gpm gstreamer gtk gtk2 gtkhtml guile hal icq idn > ieee1394 imagemagick imap imlib ipv6 ithreads jack java javascript jpeg jpeg2k > junit kde lcms ldap libcaca libclamav libg++ libwww lirc live logrotate lzo mad > maildir mailwrapper math mbox mhash mikmod milter ming mmx mng motif mozilla > mp3 mpeg msn mysql nas ncurses network nfs nls nntp nptl nsplugin nvidia oav > ogg oggvorbis openal opengl oscar oss pam pascal passfile password pcmcia pcre > pda pdf pdflib perl php physfs pic png pnp postgres povray procmail python > qemu-fast qt quicktime quotas quotes rar rdesktop readline real recode reiserfs > remote rplay rtc ruby samba sasl scanner screen sdk sdl sftp silc skey slang > smime smp sms sndfile snmp sockets socks5 softmmu sox spamassassin speech speex > spell spl sql sqlite sse sse2 ssh ssl stats stream streamzap subject-rewrite > subtitles svg svga sysfs tcltk tcpd tetex theora threads tiff timidity toolbar > truetype truetype-fonts type1-fonts udev unicode uptimed usb userlocales utf8 > v4l v4l2 vcd vcdimager vdr vidix virus-scan vlm vorbis wifi win32codecs winbind > wma123 xanim xface xfs xine xinerama xml xml2 xmms xosd xprint xscreensaver xv > xvid xvmc yahoo yv12 zlib linguas_de linguas_cs userland_GNU kernel_linux > elibc_glibc" > Unset: ASFLAGS, CTARGET, LDFLAGS > > pavilion ~ # equery list wxGTK-2.4 > [ Searching for package 'wxGTK' in all categories among: ] > * installed packages > [I--] [ ] x11-libs/wxGTK-2.4.2-r4 (2.4) > > pavilion ~ # equery list gtk+-2 > [ Searching for package 'gtk+' in all categories among: ] > * installed packages > [I--] [ ] x11-libs/gtk+-2.8.8 (2) > > pavilion ~ # emerge -pv =x11-libs/wxGTK-2.4.2-r4 > > These are the packages that I would merge, in order: > > Calculating dependencies ...done! > [ebuild R ] x11-libs/wxGTK-2.4.2-r4 +debug +gtk2 -odbc +opengl -unicode > -wxgtk1 0 kB > > /usr/lib/gcc/i686-pc-linux-gnu/3.4.4/../../../libwx_gtk2d-2.4.so: undefined > reference to `vtable for wxFileProto' > collect2: ld returned 1 exit status > make[1]: *** [../audacity] Error 1 > make[1]: Leaving directory > `/var/tmp/portage/audacity-1.2.1/work/audacity-src-1.2.1/src' > make: *** [audacity] Error 2 > > !!! ERROR: media-sound/audacity-1.2.1 failed. > > /usr/lib/gcc/i686-pc-linux-gnu/3.4.4/../../../libwx_gtk2d-2.4.so: undefined > reference to `vtable for wxFileProto' > collect2: ld returned 1 exit status > make[2]: *** [dvdstyler] Error 1 > make[2]: Leaving directory > `/var/tmp/portage/dvdstyler-1.4/work/DVDStyler-1.4/src' > make[1]: *** [all-recursive] Error 1 > make[1]: Leaving directory > `/var/tmp/portage/dvdstyler-1.4/work/DVDStyler-1.4/src' > make: *** [all-recursive] Error 1 > > !!! ERROR: media-video/dvdstyler-1.4 failed. > > and any other wx apps > > re-emerge of x11-libs/wxGTK-2.4.2-r4 doesn't resolve this problem >
I think I've got a fix -- at least it worked for building audacity. The gcc4 patch needs one more little tweak, because it left wxFileProto with "#pragma implementation" and "#pragma interface" statements that didn't match. Can you guys try out the following updated gcc4 patch?
Created attachment 80816 [details, diff] updated wxGTK-2.4.2-gcc4.patch appended a new little section that updates "#pragma interface" in file.h to match "#pragma implementation" in sckfile.cpp
Yes, it works! At least with audacity audacity-1.2.4b-r1 and gcc-3.4.4 on x86. I did the following steps: # emerge --unmerge wxGTK # cp wxGTK-2.4.2-gcc4.patch /usr/portage/x11-libs/wxGTK/files/wxGTK-2.4.2-gcc4.patch # cd /usr/portage/x11-libs/wxGTK # ebuild wxGTK-2.4.2-r4.ebuild digest # emerge audacity Thanks for the fast bug-fix.
the patch solved my problem thanks!!
The patch works for me too. I had a problem compiling dvdstyler. The problem went away after applying the patch.
(In reply to comment #9) > Created an attachment (id=80816) [edit] > updated wxGTK-2.4.2-gcc4.patch > > appended a new little section that updates "#pragma interface" in file.h to > match "#pragma implementation" in sckfile.cpp > thank you all libwx_gtk2d-2.4.so depenced ebuilds can be emerged this bug entry can be set as FIXED when the patch is in the official portage
ok, patch seems to work... one of you wxwindows devs want to take a look at committing it (or give me permission to commit it)? It should probably be pushed upstream as well
I've done as suggested, I did the following steps: # emerge --unmerge wxGTK # cp wxGTK-2.4.2-gcc4.patch /usr/portage/x11-libs/wxGTK/files/wxGTK-2.4.2-gcc4.patch # cd /usr/portage/x11-libs/wxGTK # ebuild wxGTK-2.4.2-r4.ebuild digest # emerge =wxGTK-2.4.2-r4 Compilation went well, but when I start the security module for my homebanking application I get the following error: $ ./HBSecurity HBSecGUI: symbol lookup error: HBSecGUI: undefined symbol: _9wxAppBase.m_appInitFn
Patch WORKSFORME I would be very glad if the patch could be addad to portage soon.
I had same problem in amd64 arch and gcc v.3.4.4: NEVYL files # objdump -T /usr/lib/libwx_gtk2-2.4.so | grep wxFileProto 00000000003b9c10 g DF .text 0000000000000048 WXGTK2_2.4 _Z27wxConstructorForwxFileProtov 00000000003b9ce0 g DF .text 0000000000000053 WXGTK2_2.4 _ZN11wxFileProto14GetInputStreamERK8wxString 000000000064c188 g DO .data 0000000000000001 WXGTK2_2.4 wxProtocolUsewxFileProto 00000000003b9ca0 g DF .text 000000000000001c WXGTK2_2.4 _ZN11wxFileProtoD1Ev 0000000000666440 g DO .bss 0000000000000040 WXGTK2_2.4 _ZN11wxFileProto19sm_classwxFileProtoE 0000000000666400 g DO .bss 0000000000000040 WXGTK2_2.4 _ZN11wxFileProto19g_proto_wxFileProtoE 00000000003b9bf0 g DF .text 0000000000000019 WXGTK2_2.4 _ZN11wxFileProtoC1Ev 00000000003b9cc0 g DF .text 0000000000000020 WXGTK2_2.4 _ZN11wxFileProtoD0Ev 00000000003b9c60 g DF .text 0000000000000019 WXGTK2_2.4 _ZN11wxFileProtoC2Ev 00000000003b9c80 g DF .text 000000000000001c WXGTK2_2.4 _ZN11wxFileProtoD2Ev 0000000000000000 D *UND* 0000000000000000 _ZTV11wxFileProto I removed gcc4 patch and now works. NEVYL wxGTK # objdump -T /usr/lib/libwx_gtk2-2.4.so | grep wxFileProto 00000000003b8670 w DF .text 0000000000000008 WXGTK2_2.4 _ZNK11wxFileProto12GetClassInfoEv 00000000003b8690 w DF .text 0000000000000006 WXGTK2_2.4 _ZN11wxFileProto5AbortEv 000000000045c663 w DO .rodata 000000000000000e WXGTK2_2.4 _ZTS11wxFileProto 00000000003b83c0 g DF .text 0000000000000048 WXGTK2_2.4 _Z27wxConstructorForwxFileProtov 00000000003b8490 g DF .text 0000000000000053 WXGTK2_2.4 _ZN11wxFileProto14GetInputStreamERK8wxString 00000000006480c8 g DO .data 0000000000000001 WXGTK2_2.4 wxProtocolUsewxFileProto 00000000003b8450 g DF .text 000000000000001c WXGTK2_2.4 _ZN11wxFileProtoD1Ev 0000000000661540 g DO .bss 0000000000000040 WXGTK2_2.4 _ZN11wxFileProto19sm_classwxFileProtoE 0000000000661500 g DO .bss 0000000000000040 WXGTK2_2.4 _ZN11wxFileProto19g_proto_wxFileProtoE 00000000003b83a0 g DF .text 0000000000000019 WXGTK2_2.4 _ZN11wxFileProtoC1Ev 00000000003b8470 g DF .text 0000000000000020 WXGTK2_2.4 _ZN11wxFileProtoD0Ev 00000000003b8410 g DF .text 0000000000000019 WXGTK2_2.4 _ZN11wxFileProtoC2Ev 0000000000648180 w DO .data 0000000000000018 WXGTK2_2.4 _ZTI11wxFileProto 00000000003b8680 w DF .text 0000000000000007 WXGTK2_2.4 _ZN11wxFileProto8GetErrorEv 00000000003b8430 g DF .text 000000000000001c WXGTK2_2.4 _ZN11wxFileProtoD2Ev 00000000006480e0 w DO .data 0000000000000098 WXGTK2_2.4 _ZTV11wxFileProto
*** Bug 125113 has been marked as a duplicate of this bug. ***
(In reply to comment #9) This patch, following procedure in comment #10, works for me too.
Hi ! THe patch in wxGTK-2.4.2-r4 helped to correct the audacity-1.2.1 merge error. Just a very curious thing : the active gcc compiler is in version 3.3.6. I have not seen in the /var/log/portage/*wxGTK* anything about using the GCC4 compiler. So it's curious the GCC4 patch correct the problem. Cordially, Fabienne
Hi again, it almost worked ... audacity failed after reboot. Nohup outputs : audacity: symbol lookup error: /usr/lib/libwx_gtk2-2.4.so: undefined symbol: _ZTV11wxFileProto Remerging wxGTK-2.4.2-r4 and audacity didn't solve the problem. Switching to GCC4 ...
In reply to <a href="http://bugs.gentoo.org/show_bug.cgi?id=123323#c15">comment 15</a> about ING Home Bank: I encountered the same problem, and I was not able to fix wxGTK, but you can run ./HBSecurity -t to launch it in text mode, then 'm' to get a menu and '2' if you need to create your key file. I hope this helps.
cc'ing gcc-porting people since this is at least somewhat related to gcc4 and so far we've not had any luck with finding someone with the authority and time to commit the patch.
I also had success with the patch in comment #9, except on mine I changed both #pragmas to 'protocol/file.h'.
Halcy0n, with Wormo's updated gcc4 patch to wxGTK-2.4.2-r4, wxhaskell-0.8-r1 and wxhaskell-0.9 now build fine.
Fixed, thanks.
*** Bug 127941 has been marked as a duplicate of this bug. ***
This fixes the error when compiling mkvtoolnix with USE="wxwindows" for me, thanks!