cannot complete compile on slackware 13

This section is now closed.
Forum rules
Audacity 1.3.x is now obsolete. Please use the current Audacity 2.x.x package for your distribution or compile Audacity from the source code.
Locked
ralfalfa
Posts: 6
Joined: Fri Nov 13, 2009 11:14 pm
Operating System: Please select

cannot complete compile on slackware 13

Post by ralfalfa » Fri Nov 13, 2009 11:20 pm

Configure goes on fine. I have wxWidgets installed, all libraries are there, but as I do make, this happens, this is the latest CVS snapshot. Any Ideas?

Code: Select all

libaudacity.a(ODDecodeBlockFile.o):ODDecodeBlockFile.cpp:(.text+0x2750): more undefined references to `wxStricmp(wchar_t const*, wchar_t const*)' follow        
libaudacity.a(XMLTagHandler.o): In function `XMLValueChecker::IsGoodString(wxString)':                                                                          
XMLTagHandler.cpp:(.text+0x3fa): undefined reference to `wxString::Find(wchar_t, bool) const'                                                                   
libaudacity.a(XMLTagHandler.o): In function `XMLValueChecker::IsGoodFileString(wxString)':                                                                      
XMLTagHandler.cpp:(.text+0x70c): undefined reference to `wxString::Find(wchar_t, bool) const'                                                                   
collect2: ld returned 1 exit status                                             
make[1]: *** [../audacity] Error 1                                              
make[1]: Leaving directory `/home/victor/audacity/src'                          
make: *** [audacity] Error 2                              

steve
Site Admin
Posts: 81627
Joined: Sat Dec 01, 2007 11:43 am
Operating System: Linux *buntu

Re: cannot complete compile on slackware 13

Post by steve » Sat Nov 14, 2009 12:14 am

What version of WxWidgets do you have? It needs to be at least version 2.8.9
9/10 questions are answered in the FREQUENTLY ASKED QUESTIONS (FAQ)

ralfalfa
Posts: 6
Joined: Fri Nov 13, 2009 11:14 pm
Operating System: Please select

Re: cannot complete compile on slackware 13

Post by ralfalfa » Sat Nov 14, 2009 6:39 am

That would be 2.8.10

Here's a uname -a , just to show you kernel version and proc.

Code: Select all

Linux dellstudio 2.6.29.6-smp #2 SMP Mon Aug 17 00:52:54 CDT 2009 i686 Intel(R) Core(TM)2 Quad CPU    Q9550  @ 2.83GHz GenuineIntel GNU/Linux

steve
Site Admin
Posts: 81627
Joined: Sat Dec 01, 2007 11:43 am
Operating System: Linux *buntu

Re: cannot complete compile on slackware 13

Post by steve » Sat Nov 14, 2009 1:59 pm

I presume that you are using the default ./configure
I'm not an expert on this, but if you have had several attempts at building it may be worth doing a "make clean" and running make again.

2.8.10 is the recommended version of WxWidgets, but I had problems getting Audacity to build with that version. I dropped back down to 2.8.9.1 and it worked straight away.
9/10 questions are answered in the FREQUENTLY ASKED QUESTIONS (FAQ)

ralfalfa
Posts: 6
Joined: Fri Nov 13, 2009 11:14 pm
Operating System: Please select

Re: cannot complete compile on slackware 13

Post by ralfalfa » Sat Nov 14, 2009 4:33 pm

That worked great, thanx for the help dude.

steve
Site Admin
Posts: 81627
Joined: Sat Dec 01, 2007 11:43 am
Operating System: Linux *buntu

Re: cannot complete compile on slackware 13

Post by steve » Sat Nov 14, 2009 4:48 pm

ralfalfa wrote:That worked great,
Which did the trick - "make clean", or WxWidgets 2.8.9.1 ?
9/10 questions are answered in the FREQUENTLY ASKED QUESTIONS (FAQ)

ralfalfa
Posts: 6
Joined: Fri Nov 13, 2009 11:14 pm
Operating System: Please select

Re: cannot complete compile on slackware 13

Post by ralfalfa » Sun Nov 15, 2009 2:37 am

Wxwidgets 2.8.9 did the trick.

Locked