|
|
|
Arnold Jacob Kochman
|
Gentlemen,
I have recently downloaded Audacity 1.2.6 in the form of a tarball. I have tried to build the application; the build got a long way, but eventually terminated with a compilation error. I am compiling on SuSE Linux 10.2. I would very much appreciate a helpful suggestion. Here are the messages that are reported (running make a second time): ajk@linuprod:~/downloads/audacity/audacity-src-1.2.6/src> make g++ -c -I../lib-src/portaudio/pa_common -I../lib-src/portmixer/px_common -I../lib-src/soundtouch/ -g -O2 -I../lib-src/expat -I../lib-src/allegro -I../lib-src/libnyquist/nyx -I../lib-src/libsndfile/src -I../lib-src/libresample/include -Wall -Iinclude -I/usr/local/lib/wx/include/x11univ-2.4 -D__WXUNIVERSAL__ -D__WXX11__ -D_FILE_OFFSET_BITS=64 -D_LARGE_FILES AudacityApp.cpp -o obj/AudacityApp.o xml/XMLTagHandler.h:21: warning: ‘class XMLTagHandler’ has virtual functions but non-virtual destructor AStatus.h:21: warning: ‘class AStatusListener’ has virtual functions but non-virtual destructor TrackPanel.h:46: warning: ‘class TrackPanelListener’ has virtual functions but non-virtual destructor commands/CommandManager.h:48: warning: ‘class CommandFunctor’ has virtual functions but non-virtual destructor commands/CommandManager.h: In member function ‘CommandNameHash_wxImplementation_HashTable::Node** CommandNameHash_wxImplementation_HashTable::GetNodePtr(const wxString&) const’: commands/CommandManager.h:86: warning: dereferencing type-punned pointer will break strict-aliasing rules commands/CommandManager.h: In member function ‘CommandIDHash_wxImplementation_HashTable::Node** CommandIDHash_wxImplementation_HashTable::GetNodePtr(const int&) const’: commands/CommandManager.h:87: warning: dereferencing type-punned pointer will break strict-aliasing rules Project.h: At global scope: Project.h:85: error: expected class-name before ‘{’ token make: *** [obj/AudacityApp.o] Error 1 ------------------------------------------------------------------------- This SF.net email is sponsored by: Splunk Inc. Still grepping through log files to find problems? Stop. Now Search log events and configuration files using AJAX and a browser. Download your FREE copy of Splunk now >> http://get.splunk.com/ -- Audacity-help mailing list [hidden email] https://lists.sourceforge.net/lists/listinfo/audacity-help |
||||||||||||||||
|
Richard Ash (audacity-help)
|
On Fri, 2007-09-07 at 14:35 +0300, Arnold Jacob Kochman wrote:
> I have recently downloaded Audacity 1.2.6 in the form of a tarball. I > have tried to build the application; the build got a long way, but > eventually terminated with a compilation error. I am compiling on SuSE > Linux 10.2. > > I would very much appreciate a helpful suggestion. Here are the messages > that are reported (running make a second time): > > ajk@linuprod:~/downloads/audacity/audacity-src-1.2.6/src> make > g++ -c -I../lib-src/portaudio/pa_common -I../lib-src/portmixer/px_common > -I../lib-src/soundtouch/ -g -O2 -I../lib-src/expat -I../lib-src/allegro > -I../lib-src/libnyquist/nyx -I../lib-src/libsndfile/src > -I../lib-src/libresample/include -Wall -Iinclude > -I/usr/local/lib/wx/include/x11univ-2.4 -D__WXUNIVERSAL__ -D__WXX11__ > -D_FILE_OFFSET_BITS=64 -D_LARGE_FILES AudacityApp.cpp -o > obj/AudacityApp.o > xml/XMLTagHandler.h:21: warning: ‘class XMLTagHandler’ has virtual > functions but non-virtual destructor > AStatus.h:21: warning: ‘class AStatusListener’ has virtual functions but > non-virtual destructor > TrackPanel.h:46: warning: ‘class TrackPanelListener’ has virtual > functions but non-virtual destructor > commands/CommandManager.h:48: warning: ‘class CommandFunctor’ has > virtual functions but non-virtual destructor > commands/CommandManager.h: In member function > ‘CommandNameHash_wxImplementation_HashTable::Node** > CommandNameHash_wxImplementation_HashTable::GetNodePtr(const wxString&) > const’: > commands/CommandManager.h:86: warning: dereferencing type-punned pointer > will break strict-aliasing rules > commands/CommandManager.h: In member function > ‘CommandIDHash_wxImplementation_HashTable::Node** > CommandIDHash_wxImplementation_HashTable::GetNodePtr(const int&) const’: > commands/CommandManager.h:87: warning: dereferencing type-punned pointer > will break strict-aliasing rules > Project.h: At global scope: > Project.h:85: error: expected class-name before ‘{’ token > make: *** [obj/AudacityApp.o] Error 1 Hmm, I have a sense of deja-vu. I'm fairly sure I've seen this error before, but I have no idea what it was caused by or how to fix it (not surprisingly, it builds fine for me on Gentoo). Looking back at mail archives it seems that the problem is building audacity using wxuniv rather than wxGTK, which is the X11 implementation rather than the GTK implementation. This wouldn't be a problem if wxuniv was complete, however it's quite a long way from being complete, so audacity doesn't work with it. There was at one time a patch to fix this, but it never made into main code, because a lot of things had to be disabled in order to make it compile. So in essence, get wxGTK not wxX11 and you should be rolling. Richard ------------------------------------------------------------------------- This SF.net email is sponsored by: Splunk Inc. Still grepping through log files to find problems? Stop. Now Search log events and configuration files using AJAX and a browser. Download your FREE copy of Splunk now >> http://get.splunk.com/ -- Audacity-help mailing list [hidden email] https://lists.sourceforge.net/lists/listinfo/audacity-help |
|
Arnold Jacob Kochman
|
Some javascript/style in this post has been disabled (why?)
Thank you for your advice.On Fri, 2007-09-07 at 14:35 +0300, Arnold Jacob Kochman wrote:I have recently downloaded Audacity 1.2.6 in the form of a tarball. I have tried to build the application; the build got a long way, but eventually terminated with a compilation error. I am compiling on SuSE Linux 10.2. I would very much appreciate a helpful suggestion. Here are the messages that are reported (running make a second time): [hidden email]> make g++ -c -I../lib-src/portaudio/pa_common -I../lib-src/portmixer/px_common -I../lib-src/soundtouch/ -g -O2 -I../lib-src/expat -I../lib-src/allegro -I../lib-src/libnyquist/nyx -I../lib-src/libsndfile/src -I../lib-src/libresample/include -Wall -Iinclude -I/usr/local/lib/wx/include/x11univ-2.4 -D__WXUNIVERSAL__ -D__WXX11__ -D_FILE_OFFSET_BITS=64 -D_LARGE_FILES AudacityApp.cpp -o obj/AudacityApp.o xml/XMLTagHandler.h:21: warning: ‘class XMLTagHandler’ has virtual functions but non-virtual destructor AStatus.h:21: warning: ‘class AStatusListener’ has virtual functions but non-virtual destructor TrackPanel.h:46: warning: ‘class TrackPanelListener’ has virtual functions but non-virtual destructor commands/CommandManager.h:48: warning: ‘class CommandFunctor’ has virtual functions but non-virtual destructor commands/CommandManager.h: In member function ‘CommandNameHash_wxImplementation_HashTable::Node** CommandNameHash_wxImplementation_HashTable::GetNodePtr(const wxString&) const’: commands/CommandManager.h:86: warning: dereferencing type-punned pointer will break strict-aliasing rules commands/CommandManager.h: In member function ‘CommandIDHash_wxImplementation_HashTable::Node** CommandIDHash_wxImplementation_HashTable::GetNodePtr(const int&) const’: commands/CommandManager.h:87: warning: dereferencing type-punned pointer will break strict-aliasing rules Project.h: At global scope: Project.h:85: error: expected class-name before ‘{’ token make: *** [obj/AudacityApp.o] Error 1Hmm, I have a sense of deja-vu. I'm fairly sure I've seen this error before, but I have no idea what it was caused by or how to fix it (not surprisingly, it builds fine for me on Gentoo). Looking back at mail archives it seems that the problem is building audacity using wxuniv rather than wxGTK, which is the X11 implementation rather than the GTK implementation. This wouldn't be a problem if wxuniv was complete, however it's quite a long way from being complete, so audacity doesn't work with it. There was at one time a patch to fix this, but it never made into main code, because a lot of things had to be disabled in order to make it compile. So in essence, get wxGTK not wxX11 and you should be rolling. Richard I have successfully compiled audacity 1.3.3-beta. It seemed advisable to move to this version rather than do any retrograde installation of gtk+ and other packages. I have been a user of audacity (an earlier version) on Windows for a while, and I am pleased with your improvements. Sincerely, Arnold Kochman ------------------------------------------------------------------------- This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2005. http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/ -- Audacity-help mailing list [hidden email] https://lists.sourceforge.net/lists/listinfo/audacity-help |
||||||||||||||||
| Free Embeddable Forum Powered by Nabble | Help |