[CLAM] lose in errors

David García Garzón dgarcia at iua.upf.edu
Mon Dec 15 06:46:00 PST 2008


It looks like there is a lot of clam needed compilation options missing in 
there. Are you using the provided SCons file in the wiki?

http://iua-share.upf.edu/wikis/clam/index.php/Minimal_SConstruct_to_build_with_CLAM_and_Qt4

If you prefer not to use scons, you should at least use pkg-config to get 
those compiler options. Anyway SCons path is strongly recommended.

http://iua-share.upf.edu/wikis/clam/index.php/Compiling_with_CLAM_without_SCons



On Monday 15 December 2008 12:13:33 Vincent SHAO wrote:
> *Hi, everyone
> I just downloaded the Clam library, followed all the instructions to
> install it into my Ubuntu 8.04.
>
> When I pasted the code on the web
> http://www.clam.iua.upf.edu/wikis/clam/index.php/Constructing_and_playing_a
>_simple_network, to make sure that everything set. *
>
> #include <CLAM/Network.hxx>
> #include <CLAM/PANetworkPlayer.hxx>
> #include <CLAM/MonoAudioFileReader.hxx>
>
> int error(const std::string & msg)
> {
> 	std::cerr << msg << std::endl;
> 	return -1;
> }
>
> int main(int argc, char ** argv)
> {
> 	if (argc!=2) return error ("needs a filename.");
>
> 	CLAM::Network network;
>
> 	std::string reader = network.AddProcessing("MonoAudioFileReader");
> 	// Configure the reader
> 	CLAM::MonoAudioFileReaderConfig cfg;
> 	cfg.SetSourceFile(argv[1]);
> 	if (!network.ConfigureProcessing(reader, cfg))
> 		 return error("Could not open the file");
> 	int length = ((CLAM::MonoAudioFileReader &)
> network.GetProcessing(reader)).GetHeader().GetLength()/1000;
>
>  	// Add an audio sink and connect its input to the reader's output
> 	std::string sink = network.AddProcessing("AudioSink");
> 	network.ConnectPorts(reader+".Samples Read", sink+".AudioIn");
>
> 	// Set the audio backend to PortAudio
> 	network.SetPlayer(new CLAM::PANetworkPlayer);
> 	network.Start();
> 	sleep(length);
> 	network.Stop();
> }
>
>
> *but it gave me a error like below, when i compiled it.*
>
> /usr/local/include/CLAM/AudioFileFormats.hxx:26:2: error: #error
> USE_SNDFILE was not set to 1 in your settings.cfg file, but you are
> including files that require this. Please fix your settings.cfg
> *
> then I modified the audiofileformats.hxx , comment the those lines.
>
> then I compiled myfirstclam.cpp again, it return those errors below:
> *
> /tmp/cc0JIYqu.o: In function `main':
> first_clam.cpp:(.text+0x2be): undefined reference to
> `CLAM::FlattenedNetwork::AddProcessing(std::basic_string<char,
> std::char_traits<char>, std::allocator<char> > const&)'
> first_clam.cpp:(.text+0x3a1): undefined reference to
> `CLAM::FlattenedNetwork::ConfigureProcessing(std::basic_string<char,
> std::char_traits<char>, std::allocator<char> > const&,
> CLAM::ProcessingConfig const&)'
> first_clam.cpp:(.text+0x45f): undefined reference to
> `CLAM::FlattenedNetwork::GetProcessing(std::basic_string<char,
> std::char_traits<char>, std::allocator<char> > const&) const'
> first_clam.cpp:(.text+0x4df): undefined reference to
> `CLAM::FlattenedNetwork::AddProcessing(std::basic_string<char,
> std::char_traits<char>, std::allocator<char> > const&)'
> first_clam.cpp:(.text+0x593): undefined reference to
> `CLAM::FlattenedNetwork::ConnectPorts(std::basic_string<char,
> std::char_traits<char>, std::allocator<char> > const&,
> std::basic_string<char, std::char_traits<char>, std::allocator<char> >
> const&)'
> first_clam.cpp:(.text+0x60e): undefined reference to
> `CLAM::PANetworkPlayer::PANetworkPlayer()'
> first_clam.cpp:(.text+0x626): undefined reference to
> `CLAM::FlattenedNetwork::SetPlayer(CLAM::NetworkPlayer*)'
> first_clam.cpp:(.text+0x658): undefined reference to
> `CLAM::FlattenedNetwork::Start()'
> first_clam.cpp:(.text+0x671): undefined reference to
> `CLAM::FlattenedNetwork::Stop()'
> /tmp/cc0JIYqu.o: In function `CLAM::Network::Network()':
> first_clam.cpp:(.text._ZN4CLAM7NetworkC1Ev[CLAM::Network::Network()]+0xd):
> undefined reference to `CLAM::FlattenedNetwork::FlattenedNetwork()'
> /tmp/cc0JIYqu.o: In function `CLAM::Network::~Network()':
> first_clam.cpp:(.text._ZN4CLAM7NetworkD0Ev[CLAM::Network::~Network()]+0x17)
>: undefined reference to `CLAM::FlattenedNetwork::~FlattenedNetwork()'
> /tmp/cc0JIYqu.o: In function `CLAM::Network::~Network()':
> first_clam.cpp:(.text._ZN4CLAM7NetworkD1Ev[CLAM::Network::~Network()]+0x17)
>: undefined reference to `CLAM::FlattenedNetwork::~FlattenedNetwork()'
> /tmp/cc0JIYqu.o: In function
> `CLAM::MonoAudioFileReaderConfig::AddSourceFile()':
> first_clam.cpp:(.text._ZN4CLAM25MonoAudioFileReaderConfig13AddSourceFileEv[
>CLAM::MonoAudioFileReaderConfig::AddSourceFile()]+0x1d): undefined reference
> to `CLAM::DynamicType::AddAttr_(unsigned int,
> unsigned int)'
> /tmp/cc0JIYqu.o: In function
> `CLAM::MonoAudioFileReaderConfig::AddSelectedChannel()':
> first_clam.cpp:(.text._ZN4CLAM25MonoAudioFileReaderConfig18AddSelectedChann
>elEv[CLAM::MonoAudioFileReaderConfig::AddSelectedChannel()]+0x1d): undefined
> reference to `CLAM::DynamicType::AddAttr_(unsigned int,
> unsigned int)'
> /tmp/cc0JIYqu.o: In function `CLAM::MonoAudioFileReaderConfig::AddLoop()':
> first_clam.cpp:(.text._ZN4CLAM25MonoAudioFileReaderConfig7AddLoopEv[CLAM::M
>onoAudioFileReaderConfig::AddLoop()]+0x1d): undefined reference to
> `CLAM::DynamicType::AddAttr_(unsigned int,
> unsigned int)'
> /tmp/cc0JIYqu.o: In function
> `CLAM::XMLAdapter<CLAM::AudioInFilename>::XMLAdapter(CLAM::AudioInFilename&
>, char const*, bool)':
> first_clam.cpp:(.text._ZN4CLAM10XMLAdapterINS_15AudioInFilenameEEC1ERS1_PKc
>b[CLAM::XMLAdapter<CLAM::AudioInFilename>::XMLAdapter(CLAM::AudioInFilename&
>, char const*, bool)]+0x22): undefined reference to
> `CLAM::BasicXMLable::BasicXMLable(char const*, bool)'
> /tmp/cc0JIYqu.o: In function `CLAM::XMLAdapter<int>::XMLAdapter(int&,
> char const*, bool)':
> first_clam.cpp:(.text._ZN4CLAM10XMLAdapterIiEC1ERiPKcb[CLAM::XMLAdapter<int
>>::XMLAdapter(int&, char const*, bool)]+0x22): undefined reference to
> `CLAM::BasicXMLable::BasicXMLable(char const*, bool)'
> /tmp/cc0JIYqu.o: In function
> `CLAM::XMLAdapter<bool>::XMLAdapter(bool&, char const*, bool)':
> first_clam.cpp:(.text._ZN4CLAM10XMLAdapterIbEC1ERbPKcb[CLAM::XMLAdapter<boo
>l>::XMLAdapter(bool&, char const*, bool)]+0x22): undefined reference to
> `CLAM::BasicXMLable::BasicXMLable(char const*, bool)'
> /tmp/cc0JIYqu.o: In function
> `CLAM::XMLAdapter<CLAM::AudioInFilename>::XMLContent(std::basic_istream<cha
>r, std::char_traits<char> >&)':
> first_clam.cpp:(.text._ZN4CLAM10XMLAdapterINS_15AudioInFilenameEE10XMLConte
>ntERSi[CLAM::XMLAdapter<CLAM::AudioInFilename>::XMLContent(std::basic_istrea
>m<char, std::char_traits<char> >&)]+0x1a): undefined reference to
> `CLAM::operator>>(std::basic_istream<char, std::char_traits<char> >&,
> CLAM::Text&)'
> /tmp/cc0JIYqu.o: In function
> `CLAM::MonoAudioFileReaderConfig::RemoveSourceFile()':
> first_clam.cpp:(.text._ZN4CLAM25MonoAudioFileReaderConfig16RemoveSourceFile
>Ev[CLAM::MonoAudioFileReaderConfig::RemoveSourceFile()]+0x15): undefined
> reference to `CLAM::DynamicType::RemoveAttr_(unsigned int)'
> /tmp/cc0JIYqu.o: In function
> `CLAM::MonoAudioFileReaderConfig::RemoveSelectedChannel()':
> first_clam.cpp:(.text._ZN4CLAM25MonoAudioFileReaderConfig21RemoveSelectedCh
>annelEv[CLAM::MonoAudioFileReaderConfig::RemoveSelectedChannel()]+0x15):
> undefined reference to `CLAM::DynamicType::RemoveAttr_(unsigned int)'
> /tmp/cc0JIYqu.o: In function
> `CLAM::MonoAudioFileReaderConfig::RemoveLoop()':
> first_clam.cpp:(.text._ZN4CLAM25MonoAudioFileReaderConfig10RemoveLoopEv[CLA
>M::MonoAudioFileReaderConfig::RemoveLoop()]+0x15): undefined reference to
> `CLAM::DynamicType::RemoveAttr_(unsigned int)' /tmp/cc0JIYqu.o: In function
> `CLAM::MonoAudioFileReaderConfig::SetSelectedChannel(int const&)':
> first_clam.cpp:(.text._ZN4CLAM25MonoAudioFileReaderConfig18SetSelectedChann
>elERKi[CLAM::MonoAudioFileReaderConfig::SetSelectedChannel(int
> const&)]+0x4f): undefined reference to
> `CLAM::ErrAssertionFailed::ErrAssertionFailed(char const*, char
> const*, int)'
> /tmp/cc0JIYqu.o: In function
> `CLAM::MonoAudioFileReaderConfig::SetLoop(bool const&)':
> first_clam.cpp:(.text._ZN4CLAM25MonoAudioFileReaderConfig7SetLoopERKb[CLAM:
>:MonoAudioFileReaderConfig::SetLoop(bool const&)]+0x4f): undefined reference
> to
> `CLAM::ErrAssertionFailed::ErrAssertionFailed(char const*, char
> const*, int)'
> /tmp/cc0JIYqu.o: In function
> `CLAM::MonoAudioFileReaderConfig::GetSourceFile() const':
> first_clam.cpp:(.text._ZNK4CLAM25MonoAudioFileReaderConfig13GetSourceFileEv
>[CLAM::MonoAudioFileReaderConfig::GetSourceFile() const]+0x4f): undefined
> reference to
> `CLAM::ErrAssertionFailed::ErrAssertionFailed(char const*, char
> const*, int)'
> /tmp/cc0JIYqu.o: In function
> `CLAM::MonoAudioFileReaderConfig::GetSelectedChannel() const':
> first_clam.cpp:(.text._ZNK4CLAM25MonoAudioFileReaderConfig18GetSelectedChan
>nelEv[CLAM::MonoAudioFileReaderConfig::GetSelectedChannel() const]+0x4f):
> undefined reference to
> `CLAM::ErrAssertionFailed::ErrAssertionFailed(char const*, char
> const*, int)'
> /tmp/cc0JIYqu.o: In function `CLAM::MonoAudioFileReaderConfig::GetLoop()
> const':
> first_clam.cpp:(.text._ZNK4CLAM25MonoAudioFileReaderConfig7GetLoopEv[CLAM::
>MonoAudioFileReaderConfig::GetLoop() const]+0x4f): undefined reference to
> `CLAM::ErrAssertionFailed::ErrAssertionFailed(char const*, char
> const*, int)'
> /tmp/cc0JIYqu.o:first_clam.cpp:(.text._ZN4CLAM25MonoAudioFileReaderConfig13
>SetSourceFileERKNS_15AudioInFilenameE[CLAM::MonoAudioFileReaderConfig::SetSo
>urceFile(CLAM::AudioInFilename const&)]+0x4f): more undefined references to
> `CLAM::ErrAssertionFailed::ErrAssertionFailed(char const*, char
> const*, int)' follow
> /tmp/cc0JIYqu.o: In function
> `CLAM::MonoAudioFileReaderConfig::LoadDynAttributes(CLAM::Storage&)':
> first_clam.cpp:(.text._ZN4CLAM25MonoAudioFileReaderConfig17LoadDynAttribute
>sERNS_7StorageE[CLAM::MonoAudioFileReaderConfig::LoadDynAttributes(CLAM::Sto
>rage&)]+0x18): undefined reference to `CLAM::DynamicType::UpdateData()'
> first_clam.cpp:(.text._ZN4CLAM25MonoAudioFileReaderConfig17LoadDynAttribute
>sERNS_7StorageE[CLAM::MonoAudioFileReaderConfig::LoadDynAttributes(CLAM::Sto
>rage&)]+0x3d): undefined reference to `CLAM::DynamicType::UpdateData()'
> /tmp/cc0JIYqu.o: In function `CLAM::AudioFileHeader::GetLength() const':
> first_clam.cpp:(.text._ZNK4CLAM15AudioFileHeader9GetLengthEv[CLAM::AudioFil
>eHeader::GetLength() const]+0x4f): undefined reference to
> `CLAM::ErrAssertionFailed::ErrAssertionFailed(char const*, char
> const*, int)'
> /tmp/cc0JIYqu.o: In function
> `CLAM::ErrAssertionFailed::~ErrAssertionFailed()':
> first_clam.cpp:(.text._ZN4CLAM18ErrAssertionFailedD1Ev[CLAM::ErrAssertionFa
>iled::~ErrAssertionFailed()]+0x17): undefined reference to
> `CLAM::Err::~Err()'
> /tmp/cc0JIYqu.o: In function
> `CLAM::ErrAssertionFailed::~ErrAssertionFailed()':
> first_clam.cpp:(.text._ZN4CLAM18ErrAssertionFailedD0Ev[CLAM::ErrAssertionFa
>iled::~ErrAssertionFailed()]+0x17): undefined reference to
> `CLAM::Err::~Err()'
> /tmp/cc0JIYqu.o: In function
> `CLAM::ProcessingConfig::ProcessingConfig(CLAM::ProcessingConfig
> const&, bool, bool)':
> first_clam.cpp:(.text._ZN4CLAM16ProcessingConfigC2ERKS0_bb[CLAM::Processing
>Config::ProcessingConfig(CLAM::ProcessingConfig const&, bool, bool)]+0x31):
> undefined reference to
> `CLAM::DynamicType::DynamicType(CLAM::DynamicType const&, bool, bool)'
> /tmp/cc0JIYqu.o: In function `CLAM::ProcessingConfig::~ProcessingConfig()':
> first_clam.cpp:(.text._ZN4CLAM16ProcessingConfigD0Ev[CLAM::ProcessingConfig
>::~ProcessingConfig()]+0x17): undefined reference to
> `CLAM::DynamicType::~DynamicType()'
> /tmp/cc0JIYqu.o: In function `CLAM::ProcessingConfig::~ProcessingConfig()':
> first_clam.cpp:(.text._ZN4CLAM16ProcessingConfigD1Ev[CLAM::ProcessingConfig
>::~ProcessingConfig()]+0x17): undefined reference to
> `CLAM::DynamicType::~DynamicType()'
> /tmp/cc0JIYqu.o: In function `CLAM::ProcessingConfig::~ProcessingConfig()':
> first_clam.cpp:(.text._ZN4CLAM16ProcessingConfigD2Ev[CLAM::ProcessingConfig
>::~ProcessingConfig()]+0x17): undefined reference to
> `CLAM::DynamicType::~DynamicType()'
> /tmp/cc0JIYqu.o: In function
> `CLAM::ProcessingConfig::ProcessingConfig(int)':
> first_clam.cpp:(.text._ZN4CLAM16ProcessingConfigC2Ei[CLAM::ProcessingConfig
>::ProcessingConfig(int)]+0x14): undefined reference to
> `CLAM::DynamicType::DynamicType(int)'
> /tmp/cc0JIYqu.o: In function
> `CLAM::MonoAudioFileReaderConfig::MonoAudioFileReaderConfig()':
> first_clam.cpp:(.text._ZN4CLAM25MonoAudioFileReaderConfigC1Ev[CLAM::MonoAud
>ioFileReaderConfig::MonoAudioFileReaderConfig()]+0x36): undefined reference
> to
> `CLAM::MonoAudioFileReaderConfig::DefaultInit()'
> /tmp/cc0JIYqu.o:(.rodata._ZTVN4CLAM7NetworkE[vtable for
> CLAM::Network]+0x10): undefined reference to
> `CLAM::FlattenedNetwork::StoreOn(CLAM::Storage&) const'
> /tmp/cc0JIYqu.o:(.rodata._ZTVN4CLAM7NetworkE[vtable for
> CLAM::Network]+0x14): undefined reference to
> `CLAM::FlattenedNetwork::LoadFrom(CLAM::Storage&)'
> /tmp/cc0JIYqu.o:(.rodata._ZTVN4CLAM7NetworkE[vtable for
> CLAM::Network]+0x24): undefined reference to
> `CLAM::FlattenedNetwork::Clear()'
> /tmp/cc0JIYqu.o:(.rodata._ZTVN4CLAM7NetworkE[vtable for
> CLAM::Network]+0x30): undefined reference to
> `CLAM::FlattenedNetwork::GetNetworkId(CLAM::Processing const*) const'
> /tmp/cc0JIYqu.o:(.rodata._ZTVN4CLAM7NetworkE[vtable for
> CLAM::Network]+0x34): undefined reference to
> `CLAM::FlattenedNetwork::BeginProcessings()'
> /tmp/cc0JIYqu.o:(.rodata._ZTVN4CLAM7NetworkE[vtable for
> CLAM::Network]+0x38): undefined reference to
> `CLAM::FlattenedNetwork::EndProcessings()'
> /tmp/cc0JIYqu.o:(.rodata._ZTVN4CLAM7NetworkE[vtable for
> CLAM::Network]+0x3c): undefined reference to
> `CLAM::FlattenedNetwork::BeginProcessings() const'
> /tmp/cc0JIYqu.o:(.rodata._ZTVN4CLAM7NetworkE[vtable for
> CLAM::Network]+0x40): undefined reference to
> `CLAM::FlattenedNetwork::EndProcessings() const'
> /tmp/cc0JIYqu.o:(.rodata._ZTVN4CLAM7NetworkE[vtable for
> CLAM::Network]+0x44): undefined reference to
> `CLAM::FlattenedNetwork::GetInPortsConnectedTo(std::basic_string<char,
> std::char_traits<char>, std::allocator<char> > const&) const'
> /tmp/cc0JIYqu.o:(.rodata._ZTVN4CLAM7NetworkE[vtable for
> CLAM::Network]+0x48): undefined reference to
> `CLAM::FlattenedNetwork::GetInControlsConnectedTo(std::basic_string<char,
> std::char_traits<char>, std::allocator<char> > const&) const'
> /tmp/cc0JIYqu.o:(.rodata._ZTVN4CLAM7NetworkE[vtable for
> CLAM::Network]+0x4c): undefined reference to
> `CLAM::FlattenedNetwork::GetInPortsConnectedTo(CLAM::OutPortBase&)
> const'
> /tmp/cc0JIYqu.o:(.rodata._ZTVN4CLAM7NetworkE[vtable for
> CLAM::Network]+0x50): undefined reference to
> `CLAM::FlattenedNetwork::GetConnectorIdentifier(std::basic_string<char,
> std::char_traits<char>, std::allocator<char> > const&) const'
> /tmp/cc0JIYqu.o:(.rodata._ZTVN4CLAM7NetworkE[vtable for
> CLAM::Network]+0x54): undefined reference to
> `CLAM::FlattenedNetwork::GetProcessingIdentifier(std::basic_string<char,
> std::char_traits<char>, std::allocator<char> > const&) const'
> /tmp/cc0JIYqu.o:(.rodata._ZTVN4CLAM7NetworkE[vtable for
> CLAM::Network]+0x58): undefined reference to
> `CLAM::FlattenedNetwork::GetInPortByCompleteName(std::basic_string<char,
> std::char_traits<char>, std::allocator<char> > const&) const'
> /tmp/cc0JIYqu.o:(.rodata._ZTVN4CLAM7NetworkE[vtable for
> CLAM::Network]+0x5c): undefined reference to
> `CLAM::FlattenedNetwork::GetOutPortByCompleteName(std::basic_string<char,
> std::char_traits<char>, std::allocator<char> > const&) const'
> /tmp/cc0JIYqu.o:(.rodata._ZTVN4CLAM7NetworkE[vtable for
> CLAM::Network]+0x60): undefined reference to
> `CLAM::FlattenedNetwork::GetInControlByCompleteName(std::basic_string<char,
> std::char_traits<char>, std::allocator<char> > const&) const'
> /tmp/cc0JIYqu.o:(.rodata._ZTVN4CLAM7NetworkE[vtable for
> CLAM::Network]+0x64): undefined reference to
> `CLAM::FlattenedNetwork::GetOutControlByCompleteName(std::basic_string<char
>, std::char_traits<char>, std::allocator<char> > const&) const'
> /tmp/cc0JIYqu.o:(.rodata._ZTVN4CLAM7NetworkE[vtable for
> CLAM::Network]+0x68): undefined reference to
> `CLAM::FlattenedNetwork::ConnectPorts(std::basic_string<char,
> std::char_traits<char>, std::allocator<char> > const&,
> std::basic_string<char, std::char_traits<char>, std::allocator<char> >
> const&)'
> /tmp/cc0JIYqu.o:(.rodata._ZTVN4CLAM7NetworkE[vtable for
> CLAM::Network]+0x6c): undefined reference to
> `CLAM::FlattenedNetwork::ConnectControls(std::basic_string<char,
> std::char_traits<char>, std::allocator<char> > const&,
> std::basic_string<char, std::char_traits<char>, std::allocator<char> >
> const&)'
> /tmp/cc0JIYqu.o:(.rodata._ZTVN4CLAM7NetworkE[vtable for
> CLAM::Network]+0x70): undefined reference to
> `CLAM::FlattenedNetwork::DisconnectPorts(std::basic_string<char,
> std::char_traits<char>, std::allocator<char> > const&,
> std::basic_string<char, std::char_traits<char>, std::allocator<char> >
> const&)'
> /tmp/cc0JIYqu.o:(.rodata._ZTVN4CLAM7NetworkE[vtable for
> CLAM::Network]+0x74): undefined reference to
> `CLAM::FlattenedNetwork::DisconnectControls(std::basic_string<char,
> std::char_traits<char>, std::allocator<char> > const&,
> std::basic_string<char, std::char_traits<char>, std::allocator<char> >
> const&)'
> /tmp/cc0JIYqu.o:(.rodata._ZTVN4CLAM7NetworkE[vtable for
> CLAM::Network]+0x78): undefined reference to
> `CLAM::FlattenedNetwork::GetUnconnectedInPorts() const'
> /tmp/cc0JIYqu.o:(.rodata._ZTVN4CLAM7NetworkE[vtable for
> CLAM::Network]+0x7c): undefined reference to
> `CLAM::FlattenedNetwork::HasProcessing(std::basic_string<char,
> std::char_traits<char>, std::allocator<char> > const&) const'
> /tmp/cc0JIYqu.o:(.rodata._ZTVN4CLAM7NetworkE[vtable for
> CLAM::Network]+0x80): undefined reference to
> `CLAM::FlattenedNetwork::GetProcessing(std::basic_string<char,
> std::char_traits<char>, std::allocator<char> > const&) const'
> /tmp/cc0JIYqu.o:(.rodata._ZTVN4CLAM7NetworkE[vtable for
> CLAM::Network]+0x84): undefined reference to
> `CLAM::FlattenedNetwork::AddProcessing(std::basic_string<char,
> std::char_traits<char>, std::allocator<char> > const&,
> CLAM::Processing*)'
> /tmp/cc0JIYqu.o:(.rodata._ZTVN4CLAM7NetworkE[vtable for
> CLAM::Network]+0x88): undefined reference to
> `CLAM::FlattenedNetwork::AddProcessing(std::basic_string<char,
> std::char_traits<char>, std::allocator<char> > const&,
> std::basic_string<char, std::char_traits<char>, std::allocator<char> >
> const&)'
> /tmp/cc0JIYqu.o:(.rodata._ZTVN4CLAM7NetworkE[vtable for
> CLAM::Network]+0x8c): undefined reference to
> `CLAM::FlattenedNetwork::AddProcessing(std::basic_string<char,
> std::char_traits<char>, std::allocator<char> > const&)'
> /tmp/cc0JIYqu.o:(.rodata._ZTVN4CLAM7NetworkE[vtable for
> CLAM::Network]+0x90): undefined reference to
> `CLAM::FlattenedNetwork::GetUnusedName(std::basic_string<char,
> std::char_traits<char>, std::allocator<char> > const&) const'
> /tmp/cc0JIYqu.o:(.rodata._ZTVN4CLAM7NetworkE[vtable for
> CLAM::Network]+0x94): undefined reference to
> `CLAM::FlattenedNetwork::RenameProcessing(std::basic_string<char,
> std::char_traits<char>, std::allocator<char> > const&,
> std::basic_string<char, std::char_traits<char>, std::allocator<char> >
> const&)'
> /tmp/cc0JIYqu.o:(.rodata._ZTVN4CLAM7NetworkE[vtable for
> CLAM::Network]+0x98): undefined reference to
> `CLAM::FlattenedNetwork::RemoveProcessing(std::basic_string<char,
> std::char_traits<char>, std::allocator<char> > const&)'
> /tmp/cc0JIYqu.o:(.rodata._ZTVN4CLAM7NetworkE[vtable for
> CLAM::Network]+0x9c): undefined reference to
> `CLAM::FlattenedNetwork::IsReady() const'
> /tmp/cc0JIYqu.o:(.rodata._ZTVN4CLAM7NetworkE[vtable for
> CLAM::Network]+0xa0): undefined reference to
> `CLAM::FlattenedNetwork::IsEmpty() const'
> /tmp/cc0JIYqu.o:(.rodata._ZTVN4CLAM7NetworkE[vtable for
> CLAM::Network]+0xa4): undefined reference to
> `CLAM::FlattenedNetwork::HasMisconfiguredProcessings() const'
> /tmp/cc0JIYqu.o:(.rodata._ZTVN4CLAM7NetworkE[vtable for
> CLAM::Network]+0xa8): undefined reference to
> `CLAM::FlattenedNetwork::HasUnconnectedInPorts() const'
> /tmp/cc0JIYqu.o:(.rodata._ZTVN4CLAM7NetworkE[vtable for
> CLAM::Network]+0xac): undefined reference to
> `CLAM::FlattenedNetwork::HasSyncSource() const'
> /tmp/cc0JIYqu.o:(.rodata._ZTVN4CLAM7NetworkE[vtable for
> CLAM::Network]+0xb0): undefined reference to
> `CLAM::FlattenedNetwork::ConfigureProcessing(std::basic_string<char,
> std::char_traits<char>, std::allocator<char> > const&,
> CLAM::ProcessingConfig const&)'
> /tmp/cc0JIYqu.o:(.rodata._ZTVN4CLAM7NetworkE[vtable for
> CLAM::Network]+0xb4): undefined reference to
> `CLAM::FlattenedNetwork::ReconfigureAllProcessings()'
> /tmp/cc0JIYqu.o:(.rodata._ZTVN4CLAM7NetworkE[vtable for
> CLAM::Network]+0xb8): undefined reference to
> `CLAM::FlattenedNetwork::GetConfigurationErrors() const'
> /tmp/cc0JIYqu.o:(.rodata._ZTVN4CLAM7NetworkE[vtable for
> CLAM::Network]+0xbc): undefined reference to
> `CLAM::FlattenedNetwork::UpdateSelections(std::list<std::basic_string<char,
> std::char_traits<char>, std::allocator<char> >,
> std::allocator<std::basic_string<char, std::char_traits<char>,
> std::allocator<char> > > > const&)'
> /tmp/cc0JIYqu.o:(.rodata._ZTVN4CLAM7NetworkE[vtable for
> CLAM::Network]+0xc4): undefined reference to
> `CLAM::FlattenedNetwork::SetProcessingsGeometries(std::map<std::basic_strin
>g<char, std::char_traits<char>, std::allocator<char> >,
> CLAM::BaseNetwork::Geometry, std::less<std::basic_string<char,
> std::char_traits<char>, std::allocator<char> > >,
> std::allocator<std::pair<std::basic_string<char,
> std::char_traits<char>, std::allocator<char> > const,
> CLAM::BaseNetwork::Geometry> > > const&)'
> /tmp/cc0JIYqu.o:(.rodata._ZTVN4CLAM7NetworkE[vtable for
> CLAM::Network]+0xc8): undefined reference to
> `CLAM::FlattenedNetwork::GetAndClearGeometries()'
> /tmp/cc0JIYqu.o:(.rodata._ZTVN4CLAM7NetworkE[vtable for
> CLAM::Network]+0xcc): undefined reference to
> `CLAM::FlattenedNetwork::BackendBufferSize()'
> /tmp/cc0JIYqu.o:(.rodata._ZTVN4CLAM7NetworkE[vtable for
> CLAM::Network]+0xd0): undefined reference to
> `CLAM::FlattenedNetwork::BackendSampleRate()'
> /tmp/cc0JIYqu.o:(.rodata._ZTVN4CLAM7NetworkE[vtable for
> CLAM::Network]+0xd4): undefined reference to
> `CLAM::FlattenedNetwork::HasSelectionAndContains(std::basic_string<char,
> std::char_traits<char>, std::allocator<char> > const&) const'
> /tmp/cc0JIYqu.o:(.rodata._ZTIN4CLAM7NetworkE[typeinfo for
> CLAM::Network]+0x8): undefined reference to `typeinfo for
> CLAM::FlattenedNetwork'
> /tmp/cc0JIYqu.o:(.rodata._ZTVN4CLAM25MonoAudioFileReaderConfigE[vtable
> for CLAM::MonoAudioFileReaderConfig]+0x18): undefined reference to
> `CLAM::DynamicType::ShallowCopy() const'
> /tmp/cc0JIYqu.o:(.rodata._ZTVN4CLAM25MonoAudioFileReaderConfigE[vtable
> for CLAM::MonoAudioFileReaderConfig]+0x1c): undefined reference to
> `CLAM::DynamicType::DeepCopy() const'
> /tmp/cc0JIYqu.o:(.rodata._ZTVN4CLAM25MonoAudioFileReaderConfigE[vtable
> for CLAM::MonoAudioFileReaderConfig]+0x28): undefined reference to
> `CLAM::DynamicType::InformAttr_(unsigned int, char const*, unsigned
> int, char const*, bool, void* (*)(void*), void* (*)(void*, void*),
> void (*)(void*))'
> /tmp/cc0JIYqu.o:(.rodata._ZTIN4CLAM16ProcessingConfigE[typeinfo for
> CLAM::ProcessingConfig]+0x8): undefined reference to `typeinfo for
> CLAM::DynamicType'
> /tmp/cc0JIYqu.o:(.rodata._ZTIN4CLAM18ErrAssertionFailedE[typeinfo for
> CLAM::ErrAssertionFailed]+0x8): undefined reference to `typeinfo for
> CLAM::Err'
> /tmp/cc0JIYqu.o:(.rodata._ZTVN4CLAM16ProcessingConfigE[vtable for
> CLAM::ProcessingConfig]+0x18): undefined reference to
> `CLAM::DynamicType::ShallowCopy() const'
> /tmp/cc0JIYqu.o:(.rodata._ZTVN4CLAM16ProcessingConfigE[vtable for
> CLAM::ProcessingConfig]+0x1c): undefined reference to
> `CLAM::DynamicType::DeepCopy() const'
> /tmp/cc0JIYqu.o:(.rodata._ZTVN4CLAM16ProcessingConfigE[vtable for
> CLAM::ProcessingConfig]+0x28): undefined reference to
> `CLAM::DynamicType::InformAttr_(unsigned int, char const*, unsigned
> int, char const*, bool, void* (*)(void*), void* (*)(void*, void*),
> void (*)(void*))'
> collect2: ld returned 1 exit status
> *
> What should i do this time. I am totally lost.
>
> Can you kindly lend me a hand?
>
> Great Thanks!
>
> Best wishes!*






More information about the clam-users mailing list