LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Password
Slackware This Forum is for the discussion of Slackware Linux.

Notices


Reply
  Search this Thread
Old 04-05-2006, 05:15 AM   #1
vharishankar
Senior Member
 
Registered: Dec 2003
Distribution: Debian
Posts: 3,178
Blog Entries: 4

Rep: Reputation: 138Reputation: 138
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.
 
Old 04-05-2006, 05:17 AM   #2
Randux
Senior Member
 
Registered: Feb 2006
Location: Siberia
Distribution: Slackware & Slamd64. What else is there?
Posts: 1,705

Rep: Reputation: 55
Someone who knows c++ will have to help. Maybe post in the programming forum or check the audacity site for bugs?
 
Old 04-05-2006, 05:24 AM   #3
vharishankar
Senior Member
 
Registered: Dec 2003
Distribution: Debian
Posts: 3,178

Original Poster
Blog Entries: 4

Rep: Reputation: 138Reputation: 138
I'm using gcc version 3.4.6 from current.
 
Old 04-05-2006, 05:31 AM   #4
Randux
Senior Member
 
Registered: Feb 2006
Location: Siberia
Distribution: Slackware & Slamd64. What else is there?
Posts: 1,705

Rep: Reputation: 55
I'm sorry, I don't know enough to help. Maybe there are some notes on building it on the audacity site.
 
Old 04-05-2006, 08:06 AM   #5
merchtemeagle
Member
 
Registered: Oct 2004
Location: Belgium
Distribution: Slackware 13.37
Posts: 512

Rep: Reputation: 31
Aren't there more warnings or errors exactly before this one? Or is this the first error?
 
Old 04-05-2006, 08:09 AM   #6
vharishankar
Senior Member
 
Registered: Dec 2003
Distribution: Debian
Posts: 3,178

Original Poster
Blog Entries: 4

Rep: Reputation: 138Reputation: 138
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.
 
Old 04-05-2006, 08:10 AM   #7
vharishankar
Senior Member
 
Registered: Dec 2003
Distribution: Debian
Posts: 3,178

Original Poster
Blog Entries: 4

Rep: Reputation: 138Reputation: 138
edit: removed double post

Last edited by vharishankar; 04-05-2006 at 08:11 AM.
 
Old 04-05-2006, 08:15 AM   #8
merchtemeagle
Member
 
Registered: Oct 2004
Location: Belgium
Distribution: Slackware 13.37
Posts: 512

Rep: Reputation: 31
This seems to handle the same problem, but it is in German:
http://www.audacity-forum.de/thread/1429
 
Old 04-05-2006, 08:24 AM   #9
vharishankar
Senior Member
 
Registered: Dec 2003
Distribution: Debian
Posts: 3,178

Original Poster
Blog Entries: 4

Rep: Reputation: 138Reputation: 138
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.
 
Old 04-05-2006, 10:31 AM   #10
vharishankar
Senior Member
 
Registered: Dec 2003
Distribution: Debian
Posts: 3,178

Original Poster
Blog Entries: 4

Rep: Reputation: 138Reputation: 138
No luck. Compile still halts with the exact same error message. Wonder what is required to get audacity to compile...
 
Old 04-05-2006, 10:33 AM   #11
merchtemeagle
Member
 
Registered: Oct 2004
Location: Belgium
Distribution: Slackware 13.37
Posts: 512

Rep: Reputation: 31
Could you post the previous warnings here?
 
Old 04-05-2006, 10:53 AM   #12
vharishankar
Senior Member
 
Registered: Dec 2003
Distribution: Debian
Posts: 3,178

Original Poster
Blog Entries: 4

Rep: Reputation: 138Reputation: 138
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.
 
Old 04-05-2006, 11:20 AM   #13
vharishankar
Senior Member
 
Registered: Dec 2003
Distribution: Debian
Posts: 3,178

Original Poster
Blog Entries: 4

Rep: Reputation: 138Reputation: 138
Success. Worked with the wxGTK kit.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Compiling Audacity 1.2.3 in Linux Mandrake 10.1 nightrider Linux - Newbie 2 08-17-2005 12:50 AM
Why do I get compile errors while compiling audacity? pujolasdf Linux - Software 9 06-27-2005 02:02 PM
Audacity i/o error linmix Linux - Software 4 02-03-2005 10:32 AM
audacity run error jasonmcneil0 Linux - Software 4 11-12-2003 07:46 PM
audacity compile error vance Linux - Software 0 10-26-2003 11:50 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware

All times are GMT -5. The time now is 03:36 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration