View previous topic :: View next topic |
Author |
Message |
askoff Tux's lil' helper
Joined: 15 Apr 2004 Posts: 77
|
Posted: Wed Apr 28, 2004 6:19 am Post subject: Error installing Audacity |
|
|
I was insatlling Audacity, but it gives errors almost in the begining. I have gcc 3.3.3 installed, but it hasn't gave me problems before. All 7 dependencies are compiled without errors, but audacity doesn't compile. Here's the errors.
Code: | g++ -c -O2 AAFilter.cc -o AAFilter.cc.o
AAFilter.cc: In member function `virtual void AAFilter::calculateCoeffs()':
AAFilter.cc:90: error: void value not ignored as it ought to be
AAFilter.cc:91: error: void value not ignored as it ought to be
AAFilter.cc:92: error: void value not ignored as it ought to be
AAFilter.cc:93: error: void value not ignored as it ought to be
AAFilter.cc:121: error: void value not ignored as it ought to be
AAFilter.cc:124: error: void value not ignored as it ought to be
AAFilter.cc:125: error: void value not ignored as it ought to be
AAFilter.cc:126: error: void value not ignored as it ought to be
AAFilter.cc:137: error: void value not ignored as it ought to be
make[3]: *** [AAFilter.cc.o] Error 1
make[3]: Leaving directory `/var/tmp/portage/audacity-1.2.0-r1/work/audacity-src-1.2.0/lib-src/soundtouch/src'
make[2]: *** [all] Error 2
make[2]: Leaving directory `/var/tmp/portage/audacity-1.2.0-r1/work/audacity-src-1.2.0/lib-src/soundtouch'
make[1]: *** [soundtouch/soundtouch.a] Error 2
make[1]: Leaving directory `/var/tmp/portage/audacity-1.2.0-r1/work/audacity-src-1.2.0/lib-src'
make: *** [audacity] Error 2
!!! ERROR: media-sound/audacity-1.2.0-r1 failed.
!!! Function src_compile, Line 75, Exitcode 2
!!! (no error message)
|
Can anyone help me? I'll give more information if you ask. For now I don't know what to tell here. |
|
Back to top |
|
|
askoff Tux's lil' helper
Joined: 15 Apr 2004 Posts: 77
|
Posted: Wed Apr 28, 2004 11:21 am Post subject: |
|
|
I guess I got it working. It seems to me that it won't compile with gcc 3.3.3 |
|
Back to top |
|
|
devurandom n00b
Joined: 08 Jan 2004 Posts: 63
|
Posted: Thu Apr 29, 2004 9:56 am Post subject: |
|
|
So what did you do?
Installed GCC3.4 ? |
|
Back to top |
|
|
ogre2112 n00b
Joined: 30 Nov 2003 Posts: 60 Location: East Coast, USA
|
Posted: Sun May 02, 2004 3:38 pm Post subject: |
|
|
I have this same compile error. I use GCC 3.3.3-r3.
I also get a similar error in AAFilter(soundtouch) when trying to emerge Ardour. _________________ (= I smile because I have no idea what's going on =) |
|
Back to top |
|
|
popposoft Tux's lil' helper
Joined: 13 Oct 2003 Posts: 92 Location: Bologna - Italy
|
Posted: Tue May 04, 2004 11:16 am Post subject: |
|
|
I've got the same error
I'm using gcc-3.3.3-r3, but too with gcc 3.3.2
With gcc 3.4.0 it works? _________________ Poppo
Studente in informatica
Website editor http://www.popposoft.it
[edit] Powerbook 17" based from 21/10/2004 [/edit] |
|
Back to top |
|
|
ogre2112 n00b
Joined: 30 Nov 2003 Posts: 60 Location: East Coast, USA
|
Posted: Wed May 05, 2004 3:02 am Post subject: |
|
|
I found this fix on the Ardour-dev mailing list. I'm assuming it's the same thing you're running into with Audacity since it's the same Lib, and I get the same error with Ardour.
change this line in /libs/soundtouch/soundtouch/STTypes.h
#define st_assert(expr) ((expr) ? (void) 0 : throw soundtouch_exception())
to
#define st_assert(expr) ((expr) ? 0 : throw soundtouch_exception())
Then you can compile in GCC 3 (but it breaks 2.9). There is also a patch at the 2nd link below that fixes this bug for both versions of GCC. Note: The location of the string with the bug may be in a different file for Audacity - just grep for it. It's in the soundtouch directory.
(see http://lists.ardour.org/htdig.cgi/ardour-dev-ardour.org/2004-March/000203.html and
http://lists.ardour.org/htdig.cgi/ardour-dev-ardour.org/2004-April/000318.html for details) _________________ (= I smile because I have no idea what's going on =) |
|
Back to top |
|
|
ogre2112 n00b
Joined: 30 Nov 2003 Posts: 60 Location: East Coast, USA
|
Posted: Wed May 05, 2004 3:35 am Post subject: |
|
|
Just verified that it fixes Audacity as well. the file to modify is lib-src/soundtouch/src/STTypes.H _________________ (= I smile because I have no idea what's going on =) |
|
Back to top |
|
|
|