You have to "universal" version of LLVM, like: "sudo port install llvm-3.4 +universal"
Stéphane Le 13 nov. 2014 à 15:26, Oliver Larkin <olilar...@googlemail.com> a écrit : > thanks, > > I get a bit further with llvm/clang 3.5 from macports.. but have some linker > errors. going to try 3.4 next! > > oli > > errors... > > > "llvm::Module::getTypeByName(llvm::StringRef) const", referenced from: > LLVMTypeHelper::convertFIRType(llvm::Module*, Typed*) in > llvm_code_container.o > "llvm::Module::dump() const", referenced from: > llvm_dsp_factory::initJIT(std::__1::basic_string<char, > std::__1::char_traits<char>, std::__1::allocator<char> >&) in llvm_dsp_aux.o > "llvm::Module::print(llvm::raw_ostream&, llvm::AssemblyAnnotationWriter*) > const", referenced from: > generateCode(CTree*, int, int, bool) in libmain.o > "llvm::PHINode::allocHungoffUses(unsigned int) const", referenced from: > LLVMInstVisitor::visit(ForLoopInst*) in llvm_code_container.o > "llvm::Function::getContext() const", referenced from: > LLVMInstVisitor::visit(DeclareFunInst*) in llvm_code_container.o > "llvm::Function::BuildLazyArguments() const", referenced from: > LLVMCodeContainer::generateFillBegin(std::__1::basic_string<char, > std::__1::char_traits<char>, std::__1::allocator<char> > const&) in > llvm_code_container.o > LLVMCodeContainer::generateComputeBegin(std::__1::basic_string<char, > std::__1::char_traits<char>, std::__1::allocator<char> > const&) in > llvm_code_container.o > LLVMCodeContainer::generateGetSampleRate(int) in llvm_code_container.o > LLVMCodeContainer::generateClassInitBegin() in llvm_code_container.o > LLVMCodeContainer::generateInstanceInitBegin(bool) in > llvm_code_container.o > LLVMCodeContainer::generateInitFun() in llvm_code_container.o > LLVMCodeContainer::generateMetadata(llvm::PointerType*) in > llvm_code_container.o > ... > "typeinfo for llvm::ObjectCache", referenced from: > typeinfo for FaustObjectCache in llvm_dsp_aux.o > "vtable for llvm::SelectInst", referenced from: > llvm::IRBuilder<true, llvm::ConstantFolder, > llvm::IRBuilderDefaultInserter<true> >::CreateSelect(llvm::Value*, > llvm::Value*, llvm::Value*, llvm::Twine const&) in llvm_code_container.o > NOTE: a missing vtable usually means the first non-inline virtual member > function has no definition. > "vtable for llvm::GetElementPtrInst", referenced from: > llvm::GetElementPtrInst::Create(llvm::Value*, > llvm::ArrayRef<llvm::Value*>, llvm::Twine const&, llvm::Instruction*) in > llvm_code_container.o > LLVMTypeInstVisitor::generateMemory(llvm::PointerType*, bool) in > llvm_code_container.o > NOTE: a missing vtable usually means the first non-inline virtual member > function has no definition. > "vtable for llvm::raw_string_ostream", referenced from: > llvm_dsp_factory::writeDSPFactoryToBitcode() in llvm_dsp_aux.o > llvm_dsp_factory::writeDSPFactoryToIR() in llvm_dsp_aux.o > _writeCDSPFactoryToBitcode in llvm_dsp_aux.o > NOTE: a missing vtable usually means the first non-inline virtual member > function has no definition. > "vtable for llvm::PHINode", referenced from: > LLVMInstVisitor::visit(ForLoopInst*) in llvm_code_container.o > NOTE: a missing vtable usually means the first non-inline virtual member > function has no definition. > "vtable for llvm::CallInst", referenced from: > llvm::CallInst::CallInst(llvm::Value*, llvm::ArrayRef<llvm::Value*>, > llvm::Twine const&, llvm::Instruction*) in llvm_code_container.o > llvm::CallInst::CallInst(llvm::Value*, llvm::ArrayRef<llvm::Value*>, > llvm::Twine const&, llvm::BasicBlock*) in llvm_code_container.o > NOTE: a missing vtable usually means the first non-inline virtual member > function has no definition. > "vtable for llvm::FCmpInst", referenced from: > llvm::FCmpInst::FCmpInst(llvm::CmpInst::Predicate, llvm::Value*, > llvm::Value*, llvm::Twine const&) in llvm_code_container.o > NOTE: a missing vtable usually means the first non-inline virtual member > function has no definition. > "vtable for llvm::ICmpInst", referenced from: > llvm::ICmpInst::ICmpInst(llvm::CmpInst::Predicate, llvm::Value*, > llvm::Value*, llvm::Twine const&) in llvm_code_container.o > NOTE: a missing vtable usually means the first non-inline virtual member > function has no definition. > ld: symbol(s) not found for architecture i386 > clang: error: linker command failed with exit code 1 (use -v to see > invocation) > > > On 13 Nov 2014, at 13:54, Stéphane Letz <l...@grame.fr> wrote: > >> Use older LLVM version: I would say 3.4 or 3.5 >> >> Stéphane >> >> >> Le 13 nov. 2014 à 14:45, Oliver Larkin <olilar...@googlemail.com> a écrit : >> >>> i’m trying to build Faustlive which i assume requires the faust2 branch. Is >>> that correct? >>> >>> if so - when i try and call make on the faust2 branch i get an error: >>> >>> olmbp3:faust oli$ make >>> /Applications/Xcode.app/Contents/Developer/usr/bin/make -C compiler -f >>> Makefile.unix prefix=/usr/local >>> clang++ -O1 -g -Wall -Wuninitialized -Wno-parentheses -I. -Iboxes -Ierrors >>> -Ievaluate -Inormalize -Iparser -Ipropagate -Iparallelize -Isignals -Itlib >>> -Idraw -Idraw/device -Idraw/schema -Iextended -Ipatternmatcher >>> -Idocumentator -Iutils -I../libraries -Igenerator -Igenerator/asmjs >>> -Igenerator/c -Igenerator/cpp -Igenerator/java -Igenerator/js >>> -Igenerator/llvm -Igenerator/fir -DINSTALL_PREFIX='"/usr/local"' -O3 -Wall >>> -Wuninitialized -fvisibility=hidden -Wno-overloaded-virtual >>> -Wno-parentheses -I. -Iboxes -Ierrors -Ievaluate -Inormalize -Iparser >>> -Ipropagate -Iparallelize -Isignals -Itlib -Idraw -Idraw/device >>> -Idraw/schema -Iextended -Ipatternmatcher -Idocumentator -Iutils >>> -I../libraries -Igenerator -Igenerator/asmjs -Igenerator/c -Igenerator/cpp >>> -Igenerator/java -Igenerator/js -Igenerator/llvm -Igenerator/fir >>> -DINSTALL_PREFIX='"/usr/local"' -I`/opt/local/bin/llvm-config-mp-3.6 >>> --includedir` -I../architecture -D3.6.0svn -D__STDC_LIMIT_MACROS >>> -D__STDC_CONSTANT_MACROS -arch i386 -arch x86_64 -c -o >>> boxes/boxcomplexity.o boxes/boxcomplexity.cpp >>> In file included from <built-in>:170: >>> <command line>:3:9: error: macro names must be identifiers >>> #define 3.6.0svn 1 >>> >>> any ideas? >>> >>> thanks >>> >>> oli >>> ------------------------------------------------------------------------------ >>> Comprehensive Server Monitoring with Site24x7. >>> Monitor 10 servers for $9/Month. >>> Get alerted through email, SMS, voice calls or mobile push notifications. >>> Take corrective actions from your mobile device. >>> http://pubads.g.doubleclick.net/gampad/clk?id=154624111&iu=/4140/ostg.clktrk >>> _______________________________________________ >>> Faudiostream-devel mailing list >>> Faudiostream-devel@lists.sourceforge.net >>> https://lists.sourceforge.net/lists/listinfo/faudiostream-devel >> > ------------------------------------------------------------------------------ Comprehensive Server Monitoring with Site24x7. Monitor 10 servers for $9/Month. Get alerted through email, SMS, voice calls or mobile push notifications. Take corrective actions from your mobile device. http://pubads.g.doubleclick.net/gampad/clk?id=154624111&iu=/4140/ostg.clktrk _______________________________________________ Faudiostream-devel mailing list Faudiostream-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/faudiostream-devel