Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Error installing Audacity
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Multimedia
View previous topic :: View next topic  
Author Message
askoff
Tux's lil' helper
Tux's lil' helper


Joined: 15 Apr 2004
Posts: 77

PostPosted: Wed Apr 28, 2004 6:19 am    Post subject: Error installing Audacity Reply with quote

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
View user's profile Send private message
askoff
Tux's lil' helper
Tux's lil' helper


Joined: 15 Apr 2004
Posts: 77

PostPosted: Wed Apr 28, 2004 11:21 am    Post subject: Reply with quote

I guess I got it working. It seems to me that it won't compile with gcc 3.3.3
Back to top
View user's profile Send private message
devurandom
n00b
n00b


Joined: 08 Jan 2004
Posts: 63

PostPosted: Thu Apr 29, 2004 9:56 am    Post subject: Reply with quote

So what did you do?
Installed GCC3.4 ?
Back to top
View user's profile Send private message
ogre2112
n00b
n00b


Joined: 30 Nov 2003
Posts: 60
Location: East Coast, USA

PostPosted: Sun May 02, 2004 3:38 pm    Post subject: Reply with quote

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
View user's profile Send private message
popposoft
Tux's lil' helper
Tux's lil' helper


Joined: 13 Oct 2003
Posts: 92
Location: Bologna - Italy

PostPosted: Tue May 04, 2004 11:16 am    Post subject: Reply with quote

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
View user's profile Send private message
ogre2112
n00b
n00b


Joined: 30 Nov 2003
Posts: 60
Location: East Coast, USA

PostPosted: Wed May 05, 2004 3:02 am    Post subject: Reply with quote

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
View user's profile Send private message
ogre2112
n00b
n00b


Joined: 30 Nov 2003
Posts: 60
Location: East Coast, USA

PostPosted: Wed May 05, 2004 3:35 am    Post subject: Reply with quote

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
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Multimedia All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum