LinuxQuestions.org
Support LQ: Use code LQ3 and save $3 on Domain Registration
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
 
LinkBack Search this Thread
Old 04-05-2006, 04:15 AM   #1
vharishankar
Senior Member
 
Registered: Dec 2003
Distribution: Debian wheezy/sid, PC-BSD
Posts: 3,000
Blog Entries: 4

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

Rep: Reputation: 54
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, 04:24 AM   #3
vharishankar
Senior Member
 
Registered: Dec 2003
Distribution: Debian wheezy/sid, PC-BSD
Posts: 3,000
Blog Entries: 4

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

Rep: Reputation: 54
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, 07: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, 07:09 AM   #6
vharishankar
Senior Member
 
Registered: Dec 2003
Distribution: Debian wheezy/sid, PC-BSD
Posts: 3,000
Blog Entries: 4

Original Poster
Rep: Reputation: 88
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, 07:10 AM   #7
vharishankar
Senior Member
 
Registered: Dec 2003
Distribution: Debian wheezy/sid, PC-BSD
Posts: 3,000
Blog Entries: 4

Original Poster
Rep: Reputation: 88
edit: removed double post

Last edited by vharishankar; 04-05-2006 at 07:11 AM.
 
Old 04-05-2006, 07: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, 07:24 AM   #9
vharishankar
Senior Member
 
Registered: Dec 2003
Distribution: Debian wheezy/sid, PC-BSD
Posts: 3,000
Blog Entries: 4

Original Poster
Rep: Reputation: 88
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, 09:31 AM   #10
vharishankar
Senior Member
 
Registered: Dec 2003
Distribution: Debian wheezy/sid, PC-BSD
Posts: 3,000
Blog Entries: 4

Original Poster
Rep: Reputation: 88
No luck. Compile still halts with the exact same error message. Wonder what is required to get audacity to compile...
 
Old 04-05-2006, 09: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, 09:53 AM   #12
vharishankar
Senior Member
 
Registered: Dec 2003
Distribution: Debian wheezy/sid, PC-BSD
Posts: 3,000
Blog Entries: 4

Original Poster
Rep: Reputation: 88
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, 10:20 AM   #13
vharishankar
Senior Member
 
Registered: Dec 2003
Distribution: Debian wheezy/sid, PC-BSD
Posts: 3,000
Blog Entries: 4

Original Poster
Rep: Reputation: 88
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
Trackbacks are Off
Pingbacks are On
Refbacks are 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-16-2005 11:50 PM
Why do I get compile errors while compiling audacity? pujolasdf Linux - Software 9 06-27-2005 01:02 PM
Audacity i/o error linmix Linux - Software 4 02-03-2005 09:32 AM
audacity run error jasonmcneil0 Linux - Software 4 11-12-2003 06:46 PM
audacity compile error vance Linux - Software 0 10-26-2003 10:50 PM


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

Main Menu
 
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
identi.ca: @linuxquestions
Facebook: @linuxquestions
Open Source Consulting | Domain Registration