[Clam-devel] Audio IO clean up

Pau Arumí parumi at iua.upf.edu
Sun Oct 19 14:30:56 PDT 2008


On dg, 2008-10-19 at 12:31 -0200, Natanael Olaiz wrote:
> Hi David,
> 
> I'm having this error trying to compile CLAM after last revisions (I
> cleaned /usr/local/* and did a scons --clean, but it's the same).

Hey David, the same here!! 
I've also tried removing the scons/ dir. It looks like an uncommit...

P


> 
>         [...]
>         == Linking library scons/libs/audioio/libclam_audioio.so.13.1
>         scons/libs/audioio/src/AudioIn.os: In function
>         `CLAM::AudioIn::GetDeviceInfo(CLAM::AudioDevice::TInfo&)
>         const':
>         /CLAMSVN/original2/CLAM/scons/libs/audioio/src/AudioIn.cxx:85:
>         multiple definition of
>         `CLAM::AudioIn::GetDeviceInfo(CLAM::AudioDevice::TInfo&)
>         const'
>         scons/libs/audioio/src/AudioIn.os:/CLAMSVN/original2/CLAM/scons/libs/audioio/src/AudioIn.cxx:85: first defined here
>         scons/libs/audioio/src/AudioIn.os: In function
>         `CLAM::AudioIn::Do()':
>         /CLAMSVN/original2/CLAM/scons/libs/audioio/src/AudioIn.cxx:93:
>         multiple definition of `CLAM::AudioIn::Do()'
>         scons/libs/audioio/src/AudioIn.os:/CLAMSVN/original2/CLAM/scons/libs/audioio/src/AudioIn.cxx:93: first defined here
>         scons/libs/audioio/src/AudioIn.os: In function
>         `CLAM::AudioIn::ConcreteStart()':
>         /CLAMSVN/original2/CLAM/scons/libs/audioio/src/AudioIn.cxx:77:
>         multiple definition of `CLAM::AudioIn::ConcreteStart()'
>         scons/libs/audioio/src/AudioIn.os:/CLAMSVN/original2/CLAM/scons/libs/audioio/src/AudioIn.cxx:77: first defined here
>         scons/libs/audioio/src/AudioIn.os: In function
>         `CLAM::AudioIn::ConcreteConfigure(CLAM::ProcessingConfig
>         const&)':
>         /CLAMSVN/original2/CLAM/scons/libs/audioio/src/AudioIn.cxx:42:
>         multiple definition of
>         `CLAM::AudioIn::ConcreteConfigure(CLAM::ProcessingConfig
>         const&)'
>         scons/libs/audioio/src/AudioIn.os:/CLAMSVN/original2/CLAM/scons/libs/audioio/src/AudioIn.cxx:42: first defined here
>         scons/libs/audioio/src/AudioOut.os: In function
>         `CLAM::AudioOut::ConcreteStop()':
>         /usr/include/c++/4.2/typeinfo:97: multiple definition of
>         `CLAM::AudioOut::ConcreteStop()'
>         scons/libs/audioio/src/AudioOut.os:/usr/include/c
>         ++/4.2/typeinfo:97: first defined here
>         scons/libs/audioio/src/AudioOut.os: In function
>         `CLAM::AudioOut::GetDeviceInfo(CLAM::AudioDevice::TInfo&)
>         const':
>         /CLAMSVN/original2/CLAM/scons/libs/audioio/src/AudioOut.cxx:124: multiple definition of `CLAM::AudioOut::GetDeviceInfo(CLAM::AudioDevice::TInfo&) const'
>         scons/libs/audioio/src/AudioOut.os:/CLAMSVN/original2/CLAM/scons/libs/audioio/src/AudioOut.cxx:124: first defined here
>         scons/libs/audioio/src/AudioOut.os: In function
>         `CLAM::AudioOut::Do()':
>         /CLAMSVN/original2/CLAM/scons/libs/audioio/src/AudioOut.cxx:132: multiple definition of `CLAM::AudioOut::Do()'
>         scons/libs/audioio/src/AudioOut.os:/CLAMSVN/original2/CLAM/scons/libs/audioio/src/AudioOut.cxx:132: first defined here
>         scons/libs/audioio/src/AudioOut.os: In function
>         `CLAM::AudioOut::ConcreteStart()':
>         /CLAMSVN/original2/CLAM/scons/libs/audioio/src/AudioOut.cxx:103: multiple definition of `CLAM::AudioOut::ConcreteStart()'
>         scons/libs/audioio/src/AudioOut.os:/CLAMSVN/original2/CLAM/scons/libs/audioio/src/AudioOut.cxx:103: first defined here
>         scons/libs/audioio/src/AudioOut.os: In function
>         `CLAM::AudioOut::ConcreteConfigure(CLAM::ProcessingConfig
>         const&)':
>         /CLAMSVN/original2/CLAM/scons/libs/audioio/src/AudioOut.cxx:68: multiple definition of `CLAM::AudioOut::ConcreteConfigure(CLAM::ProcessingConfig const&)'
>         scons/libs/audioio/src/AudioOut.os:/CLAMSVN/original2/CLAM/scons/libs/audioio/src/AudioOut.cxx:68: first defined here
>         scons/libs/audioio/src/AudioOut.os: In function `~AudioOut':
>         /CLAMSVN/original2/CLAM/scons/libs/audioio/src/AudioOut.cxx:56: multiple definition of `CLAM::AudioOut::~AudioOut()'
>         scons/libs/audioio/src/AudioOut.os:/CLAMSVN/original2/CLAM/scons/libs/audioio/src/AudioOut.cxx:56: first defined here
>         scons/libs/audioio/src/AudioOut.os: In function `~AudioOut':
>         /CLAMSVN/original2/CLAM/scons/libs/audioio/src/AudioOut.cxx:56: multiple definition of `CLAM::AudioOut::~AudioOut()'
>         scons/libs/audioio/src/AudioOut.os:/CLAMSVN/original2/CLAM/scons/libs/audioio/src/AudioOut.cxx:56: first defined here
>         scons/libs/audioio/src/AudioOut.os: In function `~AudioOut':
>         /CLAMSVN/original2/CLAM/scons/libs/audioio/src/AudioOut.cxx:56: multiple definition of `CLAM::AudioOut::~AudioOut()'
>         scons/libs/audioio/src/AudioOut.os:/CLAMSVN/original2/CLAM/scons/libs/audioio/src/AudioOut.cxx:56: first defined here
>         scons/libs/audioio/src/AudioOut.os: In function `AudioOut':
>         /CLAMSVN/original2/CLAM/scons/libs/audioio/src/AudioOut.cxx:49: multiple definition of `CLAM::AudioOut::AudioOut(CLAM::AudioIOConfig const&)'
>         scons/libs/audioio/src/AudioOut.os:/CLAMSVN/original2/CLAM/scons/libs/audioio/src/AudioOut.cxx:49: first defined here
>         scons/libs/audioio/src/AudioOut.os: In function `AudioOut':
>         /CLAMSVN/original2/CLAM/scons/libs/audioio/src/AudioOut.cxx:49: multiple definition of `CLAM::AudioOut::AudioOut(CLAM::AudioIOConfig const&)'
>         scons/libs/audioio/src/AudioOut.os:/CLAMSVN/original2/CLAM/scons/libs/audioio/src/AudioOut.cxx:49: first defined here
>         scons/libs/audioio/src/AudioOut.os: In function `AudioOut':
>         /CLAMSVN/original2/CLAM/scons/libs/audioio/src/AudioOut.cxx:42: multiple definition of `CLAM::AudioOut::AudioOut()'
>         scons/libs/audioio/src/AudioOut.os:/CLAMSVN/original2/CLAM/scons/libs/audioio/src/AudioOut.cxx:42: first defined here
>         scons/libs/audioio/src/AudioOut.os: In function `AudioOut':
>         /CLAMSVN/original2/CLAM/scons/libs/audioio/src/AudioOut.cxx:42: multiple definition of `CLAM::AudioOut::AudioOut()'
>         scons/libs/audioio/src/AudioOut.os:/CLAMSVN/original2/CLAM/scons/libs/audioio/src/AudioOut.cxx:42: first defined here
>         collect2: ld returned 1 exit status
>         scons: *** [scons/libs/audioio/libclam_audioio.so.13.1] Error
>         1
>         scons: building terminated because of errors.
> 
> Regards,
> Natanael.
> 
> 
> El 10/18/2008 02:46 PM, David García Garzón escribió: 
> > I just did some clean up on clam by removing obsolete files or moving them to 
> > CLAM/deprecated.
> > 
> > One notable deprecation is that of Tools/AudioIO/Windows as they are not 
> > compiled even in windows. That makes me think on Tools/AudioIO/Linux and the 
> > whole AudioIO is worth to keep now that we rely on NetworkPlayer backends. 
> > Still some examples and apps use them:
> > 
> > AudioIn:
> > CLAM/examples/AudioApplicationExample.cxx
> > CLAM/examples/AudioIOExample.cxx
> > CLAM/examples/MIDI_Synthesizer_example.cxx
> > CLAM/test/UnitTests/FlowControlTests/NetworkTest.cxx
> > CLAM/test/SupervisedTests/TestAudioIO.cxx
> > 
> > AudioOut:
> > Annotator/vmqt/player/vmAudioPlayer.cxx <- Not used at all
> > Annotator/vmqt/player/vmBPFPlayer.cxx <- Not used at all
> > Annotator/vmqt/player/vmFundFreqPlayer.cxx <- Not used at all
> > Annotator/src/Auralizer.hxx
> > CLAM/examples/PortsAndControlsUsageExample/PortsAndControlsUsage_example.cxx
> > CLAM/examples/SimplePortsUsage_example.cxx
> > CLAM/examples/AudioApplicationExample.cxx
> > CLAM/examples/AudioIOExample.cxx
> > CLAM/examples/NetworkPersistence_example.cxx
> > CLAM/examples/NetworkUsage_example.cxx
> > CLAM/examples/FilePlayback_example.cxx
> > CLAM/examples/MIDI_Synthesizer_example.cxx
> > CLAM/examples/loopMaker/LoopPointExtractor.hxx
> > CLAM/examples/SDIF2WavStreaming/SDIF2WavStreaming.cxx
> > CLAM/examples/SDIFToWavStreaming/SDIF2WavStreaming.c
> > CLAM/examples/SDIFToWavStreaming/SDIF2WavStreaming.cxx
> > CLAM/test/UnitTests/FlowControlTests/NetworkTest.cxx
> > CLAM/test/SupervisedTests/TestAudioIO.cxx
> > SMSTools/vmqt/CLAM/APlayer.cxx
> > SMSTools/vmqt/CLAM/FundPlayer.cxx
> > SMSTools/vmqt/CLAM/MelodyPlayer.cxx
> > SMSTools/src/SMSBase.cxx
> > SMSTools/src/SMSBase.hxx
> > 
> > Any thoughts?
> > 
> >   
> 
> _______________________________________________
> 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