[Clam-devel] clam compilation errors

Pau Arumi parumi at iua.upf.edu
Fri Aug 10 02:53:18 PDT 2007


En/na Andreas Calvo ha escrit:
> Greg,
> it seems it can't find the LADSPA library.
> Can you check if you have it installed?
> BTW, are you using USE_LADSPA=1?

andreas,
ladspa on mac is not tested (greg uses mac). the bug in
RunTimeProcessinLibraryLoader is obvious when not USE_LADSPA.
i'd fix it putting all loadLibrariesFromPathLADSPA _definition_
inside a #ifdef USE_LADSPA

please, check that it compiles with scons with_ladspa=0 and commit
yourself.

pau


> best,
> andreas
> 
> On 8/10/07, * Greg Kellum* <greg.kellum at gmail.com 
> <mailto:greg.kellum at gmail.com>> wrote:
> 
>     Hi Pau,
> 
>     Here's the back trace.  Lots of references to LADSPA in the message...
> 
>     scons/libs/core/src/RunTimeProcessingLibraryLoader.cxx: In member
>     function 'void
>     RunTimeProcessingLibraryLoader::loadLibrariesFromPathLADSPA(const
>     std::string&)':
>     scons/libs/core/src/RunTimeProcessingLibraryLoader.cxx:87: error:
>     'LADSPA_Descriptor_Function' was not declared in this scope
>     scons/libs/core/src/RunTimeProcessingLibraryLoader.cxx:87: error:
>     expected `;' before 'descriptorTable'
>     scons/libs/core/src/RunTimeProcessingLibraryLoader.cxx:90: error:
>     'descriptorTable' was not declared in this scope
>     scons/libs/core/src/RunTimeProcessingLibraryLoader.cxx:90: error:
>     expected `;' before 'dlsym'
>     scons/libs/core/src/RunTimeProcessingLibraryLoader.cxx:97: error:
>     'CLAM' has not been declared
>     scons/libs/core/src/RunTimeProcessingLibraryLoader.cxx:97: error:
>     'ProcessingFactory' was not declared in this scope
>     scons/libs/core/src/RunTimeProcessingLibraryLoader.cxx:97: error:
>     'factory' was not declared in this scope
>     scons/libs/core/src/RunTimeProcessingLibraryLoader.cxx:97: error:
>     'CLAM' has not been declared
>     scons/libs/core/src/RunTimeProcessingLibraryLoader.cxx:97: error:
>     'GetInstance' was not declared in this scope
>     scons/libs/core/src/RunTimeProcessingLibraryLoader.cxx:100: error:
>     'LADSPA_Descriptor' was not declared in this scope
>     scons/libs/core/src/RunTimeProcessingLibraryLoader.cxx:100: error:
>     'descriptor' was not declared in this scope
>     scons/libs/core/src/RunTimeProcessingLibraryLoader.cxx:100: error:
>     expected primary-expression before ')' token
>     scons/libs/core/src/RunTimeProcessingLibraryLoader.cxx:100: error:
>     expected `;' before 'descriptorTable'
>     scons/libs/core/src/RunTimeProcessingLibraryLoader.cxx:101: error:
>     aggregate 'std::ostringstream oss' has incomplete type and cannot be
>     defined
>     scons/libs/core/src/RunTimeProcessingLibraryLoader.cxx:104: error:
>     'CLAM' has not been declared
>     scons/libs/core/src/RunTimeProcessingLibraryLoader.cxx:104: error:
>     expected type-specifier
>     scons/libs/core/src/RunTimeProcessingLibraryLoader.cxx:104: error:
>     expected `)'
>     scons/libs/core/src/RunTimeProcessingLibraryLoader.cxx:89: warning:
>     unused variable 'handle'
>     scons: *** [scons/libs/core/src/RunTimeProcessingLibraryLoader.os]
>     Error 1
>     scons: building terminated because of errors.
> 
>     Best,
>     Greg
> 
> 
>     On 8/10/07, *Pau Arumi* < parumi at iua.upf.edu
>     <mailto:parumi at iua.upf.edu>> wrote:
> 
>         En/na Greg Kellum ha escrit:
>         >  Hi,
>         >
>         >  I did an update yesterday from SVN of the clam/CLAM
>         repository, and the
>         >  codebase no longer compiles.  I checked the test farm to see
>         if it's
>         >  compiling on other computers, but Linux feisty is the only
>         system shown,
>         >  and at the moment it's in the middle of a compilation
>         cycle.  So, I
>         >  can't tell whether it works or not.  In any case I updated
>         again two
>         >  minutes again, and the codebase still isn't compiling, because of
>         >  problems with RunTimeProcessingLibraryLoader.cxx.  Could
>         whoever has
>         >  been working on this class fix this?
> 
>         no, unless you provide the error trace. it compiles in linux as you
>         see, and mac testfarm needs reboot but don't have access to it...
> 
>         please report compiling errors (with its trace) as soon as found.
>         specially when testfarm is (almost) down.
> 
>         pau
> 
> 
>         _______________________________________________
>         Clam-devel mailing list
>         Clam-devel at llistes.projectes.lafarga.org
>         <mailto:Clam-devel at llistes.projectes.lafarga.org>
>         https://llistes.projectes.lafarga.org/cgi-bin/mailman/listinfo/clam-devel
>         <https://llistes.projectes.lafarga.org/cgi-bin/mailman/listinfo/clam-devel>
> 
> 
> 
>     _______________________________________________
>     Clam-devel mailing list
>     Clam-devel at llistes.projectes.lafarga.org
>     <mailto:Clam-devel at llistes.projectes.lafarga.org>
>     https://llistes.projectes.lafarga.org/cgi-bin/mailman/listinfo/clam-devel
>     <https://llistes.projectes.lafarga.org/cgi-bin/mailman/listinfo/clam-devel>
> 
> 
> 
> ------------------------------------------------------------------------
> 
> _______________________________________________
> Clam-devel mailing list
> Clam-devel at llistes.projectes.lafarga.org
> https://llistes.projectes.lafarga.org/cgi-bin/mailman/listinfo/clam-devel





More information about the clam-devel mailing list