Forums

Skip to content

Advanced search
  • Quick links
    • Unanswered topics
    • Active topics
    • Search
  • FAQ
  • Login
  • Register
  • Board index Assistance Multimedia
  • Search

audacity fails to compile: "vtable for wxFileProto'

Help with creation, editing, or playback of sounds, images, or video. Amarok, audacious, mplayer, grip, cdparanoia and anything else that makes a sound or plays a video.
Post Reply
Advanced search
17 posts • Page 1 of 1
Author
Message
agrypa1
Apprentice
Apprentice
User avatar
Posts: 244
Joined: Thu Mar 31, 2005 2:17 pm

audacity fails to compile: "vtable for wxFileProto'

  • Quote

Post by agrypa1 » Fri Feb 17, 2006 10:44 am

HI,
I am trying to compile audacity 1.2.1 on an i686 machine. Audacity ebuild failed on firrst run because wxGTK had unicode support compiled in. After removal of the flag from wxGTK it audacity started to compile but stopped right here:

Code: Select all

/Filter.o obj/effects/Invert.o obj/effects/Noise.o obj/effects/NoiseRemoval.o obj/effects/Normalize.o obj/effects/Phaser.o obj/effects/Repeat.o obj/effects/Reverse.o obj/effects/Silence.o obj/effects/ToneGen.o obj/effects/Wahwah.o obj/export/Export.o obj/export/ExportMP3.o obj/export/ExportOGG.o obj/export/ExportPCM.o obj/export/ExportCL.o obj/import/Import.o obj/import/ImportLOF.o obj/import/ImportMIDI.o obj/import/ImportMP3.o obj/import/ImportOGG.o obj/import/ImportPCM.o obj/import/ImportRaw.o obj/import/RawAudioGuess.o obj/prefs/PrefsDialog.o obj/prefs/AudioIOPrefs.o obj/prefs/QualityPrefs.o obj/prefs/FileFormatPrefs.o obj/prefs/DirectoriesPrefs.o obj/prefs/GUIPrefs.o obj/prefs/KeyConfigPrefs.o obj/prefs/MousePrefs.o obj/prefs/SpectrumPrefs.o obj/widgets/AButton.o obj/widgets/ASlider.o obj/widgets/Ruler.o obj/widgets/Warning.o obj/xml/XMLFileReader.o obj/xml/XMLTagHandler.o  obj/effects/nyquist/Nyquist.o obj/effects/nyquist/LoadNyquist.o obj/effects/ladspa/LoadLadspa.o obj/effects/ladspa/LadspaEffect.o ../lib-src/expat/expat.a ../lib-src/allegro/allegro.a ../lib-src/soundtouch/soundtouch.a ../lib-src/libnyquist/libnyquist.a ../lib-src/libresample/libresample.a ../lib-src/portaudio/pa_unix_oss/portaudio.a ../lib-src/portmixer/px_unix_oss/portmixer.a libaudacity.a -lsndfile -lmad -lvorbisenc -lvorbisfile -lvorbis -logg -lid3tag -lFLAC -lFLAC++  -pthread    -lwx_gtk2-2.4  -lpangox-1.0 
/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.1/work/audacity-src-1.2.1/src'
make: *** [audacity] Error 2
Does my machine lack anything to finish compiling audacity?

thanks for giving out a helping hand...
Agryppa
The first successor of Saint Peter was Linus (a.d. 68-79) - whose namesake became the creator of Linux in our time. Torvalds' middle name is Benedict - the name assumed by the previous Pope who resigned from office.
Top
alemarca
n00b
n00b
User avatar
Posts: 5
Joined: Tue Dec 30, 2003 3:17 pm
Location: Italy

audacity fails to compile: 'vtable for wxFileProto'

  • Quote

Post by alemarca » Fri Feb 17, 2006 11:21 am

I found in redhat's bugzilla.

https://bugzilla.redhat.com/bugzilla/sh ... ?id=154958

They say that is wxGTK2 GCC4 error and post a fix

https://bugzilla.redhat.com/bugzilla/at ... ?id=113274

I'm trying it.
GnuPG Key ID: 0x212FEB13
Top
ebray187
Tux's lil' helper
Tux's lil' helper
User avatar
Posts: 123
Joined: Wed Mar 02, 2005 9:55 pm
Location: Al otro lado de la pantalla

  • Quote

Post by ebray187 » Sat Feb 18, 2006 11:24 pm

Same problem here. I'm using GCC-3.4.4.
# emerge -C world >> 9/8
A flower?!
Top
Odd_Bloke
n00b
n00b
Posts: 26
Joined: Mon Feb 06, 2006 5:04 am

  • Quote

Post by Odd_Bloke » Sun Feb 19, 2006 12:51 am

Exactly the same problem here and I'm using GCC 3.4.4. I'd also note that the RedHat fix is for wxGTK-2.4.2 whereas the current Gentoo stable version is wxGTK-2.6.2 in addition to the fact that it is several months old.

In additon, the Audacity forums note that 1.2.x versions require wxGTK-2.4.2 (which is probably worth checking).
Top
cdauth
n00b
n00b
Posts: 12
Joined: Sun Feb 19, 2006 7:08 pm

  • Quote

Post by cdauth » Sun Feb 19, 2006 7:21 pm

Having the same problem here. According to http://groups.google.de/group/linux.gen ... um=1&hl=de, wxGTK should be emerged with the USE flags “-gtk2 -unicode wxgtk1”. Gonna try this now.

EDIT:
Didn’t work for me.
Top
techyoda
n00b
n00b
Posts: 6
Joined: Fri Dec 26, 2003 6:07 pm
Location: Fond du Lac, WI

Same here

  • Quote

Post by techyoda » Tue Feb 21, 2006 7:51 pm

Any luck anyone? I am having the exact same problem. Strangely, Audacity would compile before I re-emerged wxGTK with the -gtk2 wxgtk1 use flags... But then I had problems with menus in Audacity. What's the deal?
Top
zaxor
n00b
n00b
Posts: 9
Joined: Fri Jun 03, 2005 9:03 am

  • Quote

Post by zaxor » Tue Feb 21, 2006 9:33 pm

I have the same errors too, with gtk2 -unicode, and with -gtk2 -unicode too
Top
richiefrich
n00b
n00b
User avatar
Posts: 27
Joined: Fri Feb 17, 2006 9:20 pm
Location: PA, USA
Contact:
Contact richiefrich
Website

Same

  • Quote

Post by richiefrich » Tue Feb 21, 2006 11:26 pm

I have the same error with audacity and dvdstyler, if someone that has this same problem just try to (emerge dvdstyler) I bet you'll get the same result
--=The Box said XP or better so I installed Linux=--

http://penguinslair.org

IRC channel
server --> irc.oftc.net
channel --> #penguinslair
Top
ebray187
Tux's lil' helper
Tux's lil' helper
User avatar
Posts: 123
Joined: Wed Mar 02, 2005 9:55 pm
Location: Al otro lado de la pantalla

  • Quote

Post by ebray187 » Wed Feb 22, 2006 12:55 am

Some weeks ago I made a packages cd, audacity and wxGTK have the same USE flags (-unicode -gtk2 wxgtk1). But then it could compile without problems. So I emerge wxGTK from the binary (emerge -k).
Then I compile audacity and works fine! So I think its something with wxGTK.
Somebody reported this to bugzilla?

(Sorry for my bad english)
# emerge -C world >> 9/8
A flower?!
Top
richiefrich
n00b
n00b
User avatar
Posts: 27
Joined: Fri Feb 17, 2006 9:20 pm
Location: PA, USA
Contact:
Contact richiefrich
Website

tried

  • Quote

Post by richiefrich » Wed Feb 22, 2006 10:07 pm

I tried what ebray187 said still didn't work for me anyway

USE="-unicode -gtk2 wxgtk1" emerge -k wxGTK
emerge audacity
--=The Box said XP or better so I installed Linux=--

http://penguinslair.org

IRC channel
server --> irc.oftc.net
channel --> #penguinslair
Top
Cintra
Advocate
Advocate
User avatar
Posts: 2111
Joined: Sat Apr 03, 2004 3:49 pm
Location: Norway

  • Quote

Post by Cintra » Thu Feb 23, 2006 5:34 am

no problems with audacity here with these versions/flags on intel P4

Code: Select all

media-sound/audacity-1.2.4b-r1
HAS THESE DEPENDENCIES:
        * app-arch/zip-2.3-r4
        * media-libs/libid3tag-0.15.1b
        * media-libs/libmad-0.15.1b
        * media-libs/libsndfile-1.0.11
        * media-libs/libvorbis-1.1.0
        * media-sound/lame-3.96.1
        * sys-devel/patch-2.5.9 (S)
        * x11-libs/wxGTK-2.4.2-r4 (W)

* ENTRY IN WORLD FILE


p4pe ~ # eq uses wxGTK
[ Searching for packages matching wxGTK... ]
[ Colour Code : set unset ]
[ Legend        : Left column  (U) - USE flags from make.conf                     ]
[                  : Right column (I) - USE flags packages was installed with ]
[ Found these USE variables for x11-libs/wxGTK-2.4.2-r4 ]
 U I
 - - debug   : Tells configure and the makefiles to build for debugging. Effects vary across packages, but generally it will at least add -g to CFLAGS. Remember to set FEATURES=nostrip too
 + + gtk2    : Use gtk+-2.0.0 over gtk+-1.2 in cases where a program supports both.
 - - odbc    : Adds ODBC Support (Open DataBase Connectivity)
 + + opengl  : Adds support for OpenGL (3D graphics)
 + + unicode : Adds support for Unicode
 + + wxgtk1  : Add gtk1 support in addition to optional gtk2ansi and gtk2unicode
"I am not bound to please thee with my answers" W.S.
Top
pivertd
Apprentice
Apprentice
User avatar
Posts: 185
Joined: Sun Feb 08, 2004 1:10 pm
Location: Arlon, Belgium

  • Quote

Post by pivertd » Thu Feb 23, 2006 7:34 pm

Same problem here with rapidsvn

Code: Select all

i686-pc-linux-gnu-g++ -O2 -mcpu=i686 -pipe -Wall -g -fexceptions -I/usr/lib/wx/include/gtk2-2.4 -DGTK_NO_CHECK_CASTS -D__WXGTK__ -D_FILE_OFFSET_BITS=64 -D_LARGE_FILES -o .libs/rapidsvn about_dlg.o action.o add_action.o auth_dlg.o bookmarks.o cert_dlg.o checkout_action.o checkout_dlg.o cleanup_action.o commit_action.o commit_dlg.o delete_action.o delete_dlg.o destination_dlg.o diff_action.o diff_dlg.o exceptions.o external_program_action.o filelist_ctrl.o file_info.o folder_browser.o folder_item_data.o get_action.o import_action.o import_dlg.o listed_dlg.o listener.o log_action.o log_dlg.o merge_action.o merge_dlg.o mkdir_action.o move_action.o preferences.o preferences_dlg.o property_action.o property_dlg.o proportional_splitter.o rapidsvn_app.o rapidsvn_frame.o report_dlg.o resolve_action.o revert_action.o simple_worker.o switch_action.o threaded_worker.o tracer.o trace_update.o update_action.o update_dlg.o utils.o verblist.o view_action.o  -L/var/tmp/portage/rapidsvn-0.7.1/work/rapidsvn-0.7.1/src/svncpp /var/tmp/portage/rapidsvn-0.7.1/work/rapidsvn-0.7.1/src/svncpp/.libs/libsvncpp.so -L/usr/lib /usr/lib/libsvn_client-1.so /usr/lib/libsvn_wc-1.so /usr/lib/libsvn_ra-1.so /usr/lib/libsvn_delta-1.so /usr/lib/libsvn_subr-1.so /usr/lib/libneon.so -lz -lssl -lcrypto /usr/lib/libapr-0.so -lrt -lm -lcrypt -lnsl -lpthread -ldl /usr/lib/libaprutil-0.so /usr/lib/libldap.so /usr/lib/liblber.so /usr/lib/libgdbm.so /usr/lib/libdb-4.2.so /usr/lib/libexpat.so -pthread -lwx_gtk2-2.4 /usr/lib/libpangox-1.0.so
/usr/lib/libwx_gtk2-2.4.so: undefined reference to `vtable for wxFileProto'
collect2: ld returned 1 exit status
make[2]: *** [rapidsvn] Error 1
I noticed that many other people are having a similar problem.
Some are telling to remove gtk2 or unicode from USE.
A patch exists, but it's already used by gentoo since wxGTK2.2.4-r3

There is a text message when you install wxGTK:

Code: Select all

 * New in >=wxGTK-2.4.2-r2:
 * ------------------------
 * You can now have gtk, gtk2 and unicode versions installed
 * simultaneously. Use wxgtk1 if you would like a gtk1 lib.
 * Put gtk2 and unicode in your USE flags to get those
 * additional versions.
 * NOTE:
 * You can also get debug versions of any of those, but not debug
 * and normal installed at the same time.
So I tried with wxgtk instead of gtk2 :

Code: Select all

USE="-unicode -gtk2 wxgtk1" emerge =x11-libs/wxGTK-2.4.2-r4
But without success.

Any idea ?
Top
Section_8
l33t
l33t
User avatar
Posts: 637
Joined: Sat May 22, 2004 5:20 am

  • Quote

Post by Section_8 » Tue Feb 28, 2006 12:06 pm

I applied the patch from this bug:
http://bugs.gentoo.org/show_bug.cgi?id=123323
and that fixed it on my box.
Top
halfgaar
l33t
l33t
User avatar
Posts: 781
Joined: Sun Feb 22, 2004 1:50 pm
Location: Netherlands
Contact:
Contact halfgaar
Website

  • Quote

Post by halfgaar » Tue Feb 28, 2006 11:08 pm

Same problem here for audacity. First it complained about wxGTK being compiled with unicode (which I had to do for some other package BTW, I believe it was some other wx-something package that insisted on it). After disabling it, and setting audacity to -gtk2, I got this compile error. Is there a fix that doesn't involve manual patching? The bug-tracker is down right now, so I can't even check what the fix is, but I suspect it involves patching things manually, which I don't like. Perhaps one of the unstable versions of audacity works? It's not as if the current stable is very stable...

Since my long-overdue upgrade session, which included upgrading to GCC 3.4, nothing is going smoothly anymore. One package after another fails for some reason or other. I'm beginning to get very annoyed by this.
Top
richiefrich
n00b
n00b
User avatar
Posts: 27
Joined: Fri Feb 17, 2006 9:20 pm
Location: PA, USA
Contact:
Contact richiefrich
Website

  • Quote

Post by richiefrich » Sat Mar 04, 2006 11:39 pm

Section_8 got it man
Thank, that patch worked on my box as well.

Thanks
--=The Box said XP or better so I installed Linux=--

http://penguinslair.org

IRC channel
server --> irc.oftc.net
channel --> #penguinslair
Top
mointrigue
n00b
n00b
User avatar
Posts: 57
Joined: Tue Mar 07, 2006 4:46 am
Location: Madison, WI USA
Contact:
Contact mointrigue
Website

Thanks Man!

  • Quote

Post by mointrigue » Tue Mar 07, 2006 5:01 am

Oh man, thanks so much for pointing the way to this patch, Section8! I just installed Gentoo about a week ago and this bug was driving me up the wall. :D
Top
richardash1981
Tux's lil' helper
Tux's lil' helper
Posts: 94
Joined: Fri Apr 08, 2005 5:26 pm
Location: England

  • Quote

Post by richardash1981 » Mon Jul 10, 2006 8:42 pm

So to summaries, if audacity or any other wx app fails with a compile error, then try re-building wxGTK first - it's very sensitive to GTK+ changes in a way that revdep-rebuild doesn't seem to pick up.
Top
Post Reply

17 posts • Page 1 of 1

Return to “Multimedia”

Jump to
  • Assistance
  • ↳   News & Announcements
  • ↳   Frequently Asked Questions
  • ↳   Installing Gentoo
  • ↳   Multimedia
  • ↳   Desktop Environments
  • ↳   Networking & Security
  • ↳   Kernel & Hardware
  • ↳   Portage & Programming
  • ↳   Gamers & Players
  • ↳   Other Things Gentoo
  • ↳   Unsupported Software
  • Discussion & Documentation
  • ↳   Documentation, Tips & Tricks
  • ↳   Gentoo Chat
  • ↳   Gentoo Forums Feedback
  • ↳   Duplicate Threads
  • International Gentoo Users
  • ↳   中文 (Chinese)
  • ↳   Dutch
  • ↳   Finnish
  • ↳   French
  • ↳   Deutsches Forum (German)
  • ↳   Diskussionsforum
  • ↳   Deutsche Dokumentation
  • ↳   Greek
  • ↳   Forum italiano (Italian)
  • ↳   Forum di discussione italiano
  • ↳   Risorse italiane (documentazione e tools)
  • ↳   Polskie forum (Polish)
  • ↳   Instalacja i sprzęt
  • ↳   Polish OTW
  • ↳   Portuguese
  • ↳   Documentação, Ferramentas e Dicas
  • ↳   Russian
  • ↳   Scandinavian
  • ↳   Spanish
  • ↳   Other Languages
  • Architectures & Platforms
  • ↳   Gentoo on ARM
  • ↳   Gentoo on PPC
  • ↳   Gentoo on Sparc
  • ↳   Gentoo on Alternative Architectures
  • ↳   Gentoo on AMD64
  • ↳   Gentoo for Mac OS X (Portage for Mac OS X)
  • Board index
  • All times are UTC
  • Delete cookies

© 2001–2026 Gentoo Foundation, Inc.

Powered by phpBB® Forum Software © phpBB Limited

Privacy Policy

 

 

magic