Slackware This Forum is for the discussion of Slackware Linux.
|
Notices |
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
Are you new to LinuxQuestions.org? Visit the following links:
Site Howto |
Site FAQ |
Sitemap |
Register Now
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
|
|
04-05-2006, 05:15 AM
|
#1
|
Senior Member
Registered: Dec 2003
Distribution: Debian
Posts: 3,178
Rep:
|
Error compiling audacity
Quote:
In file included from AudacityApp.cpp:61:
Project.h:85: error: expected class-name before '{' token
make[1]: *** [obj/AudacityApp.o] Error 1
make[1]: Leaving directory `/home/hari/packages/audacity-src-1.2.4b/src'
make: *** [audacity] Error 2
|
Strangely this seems a syntax error. I'm sure all the dependencies are met since ./configure didn't turn any errors or warnings.
|
|
|
04-05-2006, 05:17 AM
|
#2
|
Senior Member
Registered: Feb 2006
Location: Siberia
Distribution: Slackware & Slamd64. What else is there?
Posts: 1,705
Rep:
|
Someone who knows c++ will have to help. Maybe post in the programming forum or check the audacity site for bugs?
|
|
|
04-05-2006, 05:24 AM
|
#3
|
Senior Member
Registered: Dec 2003
Distribution: Debian
Posts: 3,178
Original Poster
Rep:
|
I'm using gcc version 3.4.6 from current.
|
|
|
04-05-2006, 05:31 AM
|
#4
|
Senior Member
Registered: Feb 2006
Location: Siberia
Distribution: Slackware & Slamd64. What else is there?
Posts: 1,705
Rep:
|
I'm sorry, I don't know enough to help. Maybe there are some notes on building it on the audacity site.
|
|
|
04-05-2006, 08:06 AM
|
#5
|
Member
Registered: Oct 2004
Location: Belgium
Distribution: Slackware 13.37
Posts: 512
Rep:
|
Aren't there more warnings or errors exactly before this one? Or is this the first error?
|
|
|
04-05-2006, 08:09 AM
|
#6
|
Senior Member
Registered: Dec 2003
Distribution: Debian
Posts: 3,178
Original Poster
Rep:
|
Warnings, but I believe they are unrelated, but I cannot be sure. I'm going to recompile wxWidgets and start from scratch.
The only thing I can think of is I might have to run /sbin/ldconfig before compiling audacity and after installing wxWidgets.
|
|
|
04-05-2006, 08:10 AM
|
#7
|
Senior Member
Registered: Dec 2003
Distribution: Debian
Posts: 3,178
Original Poster
Rep:
|
edit: removed double post
Last edited by vharishankar; 04-05-2006 at 08:11 AM.
|
|
|
04-05-2006, 08:15 AM
|
#8
|
Member
Registered: Oct 2004
Location: Belgium
Distribution: Slackware 13.37
Posts: 512
Rep:
|
This seems to handle the same problem, but it is in German:
http://www.audacity-forum.de/thread/1429
|
|
|
04-05-2006, 08:24 AM
|
#9
|
Senior Member
Registered: Dec 2003
Distribution: Debian
Posts: 3,178
Original Poster
Rep:
|
I think you need to compile wxwidgets without the unicode option. That's what it says in the audacity site.
I'm trying this right now
./configure --with-motif --disable-unicode
And I'll let you know how it goes. This might do it, I suspect.
|
|
|
04-05-2006, 10:31 AM
|
#10
|
Senior Member
Registered: Dec 2003
Distribution: Debian
Posts: 3,178
Original Poster
Rep:
|
No luck. Compile still halts with the exact same error message. Wonder what is required to get audacity to compile...
|
|
|
04-05-2006, 10:33 AM
|
#11
|
Member
Registered: Oct 2004
Location: Belgium
Distribution: Slackware 13.37
Posts: 512
Rep:
|
Could you post the previous warnings here?
|
|
|
04-05-2006, 10:53 AM
|
#12
|
Senior Member
Registered: Dec 2003
Distribution: Debian
Posts: 3,178
Original Poster
Rep:
|
Dearie me, I was using the Motif/X11 version of wxWidgets and ended up with the wrong version. And couldn't compile that source with the gtk option
Now I'm downloading wxGTK source and I'll compile. Hopefully will work this time.
|
|
|
04-05-2006, 11:20 AM
|
#13
|
Senior Member
Registered: Dec 2003
Distribution: Debian
Posts: 3,178
Original Poster
Rep:
|
Success. Worked with the wxGTK kit.
|
|
|
All times are GMT -5. The time now is 03:36 AM.
|
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.
|
Latest Threads
LQ News
|
|