Ok, I got passed that by editing the makefile , but now there’s this:
clang++ -Wexit-time-destructors -Wglobal-constructors -stdlib=libc++
-Wno-parentheses -I. -Iboxes -Ierrors -Ievaluate -Igenerator -Inormalize
-Iparser -Ipropagate -Iparallelize -Isignals -Itlib -Idraw -Idraw/device
-Idraw/schema -Iextended -Ipatternmatcher -Idocumentator -Iutils -I../libraries
-DINSTALL_PREFIX='"/usr/local"' -O3 -Wall -Wuninitialized -fvisibility=hidden
-Wno-overloaded-virtual -Wno-parentheses -I. -Iboxes -Ierrors -Ievaluate
-Igenerator -Inormalize -Iparser -Ipropagate -Iparallelize -Isignals -Itlib
-Idraw -Idraw/device -Idraw/schema -Iextended -Ipatternmatcher -Idocumentator
-Iutils -I../libraries -DINSTALL_PREFIX='"/usr/local"' -I`llvm-config
--includedir` -I../architecture -DLLVM_32 -D__STDC_LIMIT_MACROS
-D__STDC_CONSTANT_MACROS -arch x86_64 boxes/boxcomplexity.o boxes/boxes.o
boxes/boxtype.o boxes/ppbox.o documentator/doc.o documentator/doc_Text.o
documentator/doc_autodoc.o documentator/doc_compile.o documentator/doc_lang.o
documentator/doc_metadatas.o documentator/doc_notice.o
documentator/doc_sharing.o documentator/lateq.o draw/drawschema.o
draw/sigToGraph.o errors/errormsg.o errors/timing.o evaluate/environment.o
evaluate/eval.o evaluate/loopDetector.o extended/xtended.o generator/Text.o
generator/asmjs_code_container.o generator/c_code_container.o
generator/code_container.o generator/contextor.o generator/cpp_code_container.o
generator/cpp_gpu_code_container.o generator/dag_instructions_compiler.o
generator/description.o generator/fir_code_container.o generator/fir_to_fir.o
generator/floats.o generator/instructions.o generator/instructions_compiler.o
generator/java_code_container.o generator/js_code_container.o
generator/llvm_code_container.o generator/llvm_dsp_aux.o generator/occurences.o
generator/omp_code_container.o generator/uitree.o
generator/vec_code_container.o generator/wss_code_container.o normalize/aterm.o
normalize/mterm.o normalize/normalize.o normalize/privatise.o
normalize/simplify.o parallelize/code_loop.o parallelize/colorize.o
parser/enrobage.o parser/faustlexer.o parser/faustparser.o
parser/sourcefetcher.o parser/sourcereader.o patternmatcher/patternmatcher.o
propagate/labels.o propagate/propagate.o signals/binop.o signals/ppsig.o
signals/prim2.o signals/recursivness.o signals/signals.o
signals/sigorderrules.o signals/sigprint.o signals/sigtype.o
signals/sigtyperules.o signals/sigvisitor.o signals/subsignals.o
tlib/compatibility.o tlib/list.o tlib/node.o tlib/occurrences.o
tlib/recursive-tree.o tlib/shlysis.o tlib/symbol.o tlib/tree.o utils/files.o
utils/names.o draw/device/PSDev.o draw/device/SVGDev.o
draw/schema/blockSchema.o draw/schema/cableSchema.o draw/schema/collector.o
draw/schema/connectorSchema.o draw/schema/cutSchema.o
draw/schema/decorateSchema.o draw/schema/enlargedSchema.o
draw/schema/inverterSchema.o draw/schema/mergeSchema.o draw/schema/parSchema.o
draw/schema/recSchema.o draw/schema/seqSchema.o draw/schema/splitSchema.o
draw/schema/topSchema.o ../libraries/loki/SafeFormat.o main.o libmain.o
global.o `llvm-config --ldflags` -lLLVMAsmParser -lLLVMInstrumentation
-lLLVMLinker -lLLVMArchive -lLLVMBitReader -lLLVMDebugInfo -lLLVMJIT -lLLVMipo
-lLLVMVectorize -lLLVMBitWriter -lLLVMTableGen -lLLVMXCoreCodeGen
-lLLVMXCoreDesc -lLLVMXCoreInfo -lLLVMX86Disassembler -lLLVMX86AsmParser
-lLLVMX86CodeGen -lLLVMX86Desc -lLLVMX86Info -lLLVMX86AsmPrinter -lLLVMX86Utils
-lLLVMSparcCodeGen -lLLVMSparcDesc -lLLVMSparcInfo -lLLVMPowerPCCodeGen
-lLLVMPowerPCDesc -lLLVMPowerPCInfo -lLLVMPowerPCAsmPrinter -lLLVMNVPTXCodeGen
-lLLVMNVPTXDesc -lLLVMNVPTXInfo -lLLVMNVPTXAsmPrinter -lLLVMMSP430CodeGen
-lLLVMMSP430Desc -lLLVMMSP430Info -lLLVMMSP430AsmPrinter
-lLLVMMBlazeDisassembler -lLLVMMBlazeAsmParser -lLLVMMBlazeCodeGen
-lLLVMMBlazeDesc -lLLVMMBlazeInfo -lLLVMMBlazeAsmPrinter -lLLVMMipsCodeGen
-lLLVMMipsAsmParser -lLLVMMipsDisassembler -lLLVMMipsDesc -lLLVMMipsAsmPrinter
-lLLVMMipsInfo -lLLVMHexagonCodeGen -lLLVMHexagonDesc -lLLVMHexagonInfo
-lLLVMHexagonAsmPrinter -lLLVMCppBackendCodeGen -lLLVMCppBackendInfo
-lLLVMCellSPUCodeGen -lLLVMCellSPUDesc -lLLVMCellSPUInfo -lLLVMARMDisassembler
-lLLVMARMAsmParser -lLLVMARMCodeGen -lLLVMSelectionDAG -lLLVMAsmPrinter
-lLLVMARMDesc -lLLVMARMInfo -lLLVMARMAsmPrinter -lLLVMMCDisassembler
-lLLVMMCParser -lLLVMInterpreter -lLLVMCodeGen -lLLVMScalarOpts
-lLLVMInstCombine -lLLVMTransformUtils -lLLVMipa -lLLVMAnalysis -lLLVMMCJIT
-lLLVMRuntimeDyld -lLLVMExecutionEngine -lLLVMTarget -lLLVMMC -lLLVMObject
-lLLVMCore -lLLVMSupport -ldl -o faust
Undefined symbols for architecture x86_64:
"makeTopSchema(schema*, double, std::__1::basic_string<char,
std::__1::char_traits<char>, std::__1::allocator<char> > const&,
std::__1::basic_string<char, std::__1::char_traits<char>,
std::__1::allocator<char> > const&)", referenced from:
drawSchema(CTree*, char const*, char const*) in drawschema.o
"makeBlockSchema(unsigned int, unsigned int, std::__1::basic_string<char,
std::__1::char_traits<char>, std::__1::allocator<char> > const&,
std::__1::basic_string<char, std::__1::char_traits<char>,
std::__1::allocator<char> > const&, std::__1::basic_string<char,
std::__1::char_traits<char>, std::__1::allocator<char> > const&)", referenced
from:
generateInsideSchema(CTree*) in drawschema.o
generateDiagramSchema(CTree*) in drawschema.o
generateInputSlotSchema(CTree*) in drawschema.o
"makeDecorateSchema(schema*, double, std::__1::basic_string<char,
std::__1::char_traits<char>, std::__1::allocator<char> > const&)", referenced
from:
generateInsideSchema(CTree*) in drawschema.o
generateDiagramSchema(CTree*) in drawschema.o
"makeInverterSchema(std::__1::basic_string<char, std::__1::char_traits<char>,
std::__1::allocator<char> > const&)", referenced from:
generateInsideSchema(CTree*) in drawschema.o
"std::ostream::write(char const*, long)", referenced from:
Loki::write(std::ostream&, char const*, char const*) in SafeFormat.o
Loki::PrintfState<std::ostream&, char>::Advance() in SafeFormat.o
"std::string::_Rep::_M_destroy(std::allocator<char> const&)", referenced from:
blockSchema::blockSchema(unsigned int, unsigned int, double, double,
std::string const&, std::string const&, std::string const&) in blockSchema.o
blockSchema::blockSchema(unsigned int, unsigned int, double, double,
std::string const&, std::string const&, std::string const&) in blockSchema.o
blockSchema::~blockSchema() in blockSchema.o
decorateSchema::decorateSchema(schema*, double, std::string const&) in
decorateSchema.o
decorateSchema::decorateSchema(schema*, double, std::string const&) in
decorateSchema.o
decorateSchema::~decorateSchema() in decorateSchema.o
inverterSchema::inverterSchema(std::string const&) in inverterSchema.o
...
"std::string::_Rep::_S_empty_rep_storage", referenced from:
blockSchema::blockSchema(unsigned int, unsigned int, double, double,
std::string const&, std::string const&, std::string const&) in blockSchema.o
blockSchema::blockSchema(unsigned int, unsigned int, double, double,
std::string const&, std::string const&, std::string const&) in blockSchema.o
blockSchema::~blockSchema() in blockSchema.o
decorateSchema::decorateSchema(schema*, double, std::string const&) in
decorateSchema.o
decorateSchema::decorateSchema(schema*, double, std::string const&) in
decorateSchema.o
decorateSchema::~decorateSchema() in decorateSchema.o
inverterSchema::inverterSchema(std::string const&) in inverterSchema.o
...
"std::string::replace(unsigned long, unsigned long, char const*, unsigned
long)", referenced from:
Loki::write(std::string&, char const*, char const*) in SafeFormat.o
Loki::PrintfState<std::string&, char>::Advance() in SafeFormat.o
"std::basic_string<char, std::char_traits<char>, std::allocator<char>
>::basic_string(char const*, std::allocator<char> const&)", referenced from:
inverterSchema::inverterSchema(std::string const&) in inverterSchema.o
inverterSchema::inverterSchema(std::string const&) in inverterSchema.o
makeTopSchema(schema*, double, std::string const&, std::string const&) in
topSchema.o
topSchema::inputPoint(unsigned int) const in topSchema.o
topSchema::outputPoint(unsigned int) const in topSchema.o
"std::basic_string<char, std::char_traits<char>, std::allocator<char>
>::basic_string(std::string const&)", referenced from:
blockSchema::blockSchema(unsigned int, unsigned int, double, double,
std::string const&, std::string const&, std::string const&) in blockSchema.o
blockSchema::blockSchema(unsigned int, unsigned int, double, double,
std::string const&, std::string const&, std::string const&) in blockSchema.o
decorateSchema::decorateSchema(schema*, double, std::string const&) in
decorateSchema.o
decorateSchema::decorateSchema(schema*, double, std::string const&) in
decorateSchema.o
topSchema::topSchema(schema*, double, std::string const&, std::string
const&) in topSchema.o
topSchema::topSchema(schema*, double, std::string const&, std::string
const&) in topSchema.o
"std::runtime_error::runtime_error(std::string const&)", referenced from:
topSchema::inputPoint(unsigned int) const in topSchema.o
topSchema::outputPoint(unsigned int) const in topSchema.o
"std::ios_base::Init::Init()", referenced from:
__GLOBAL__I_a in contextor.o
__GLOBAL__I_a in cableSchema.o
__GLOBAL__I_a in decorateSchema.o
__GLOBAL__I_a in enlargedSchema.o
__GLOBAL__I_a in inverterSchema.o
__GLOBAL__I_a in mergeSchema.o
__GLOBAL__I_a in parSchema.o
...
"std::ios_base::Init::~Init()", referenced from:
__GLOBAL__I_a in contextor.o
__GLOBAL__I_a in cableSchema.o
__GLOBAL__I_a in decorateSchema.o
__GLOBAL__I_a in enlargedSchema.o
__GLOBAL__I_a in inverterSchema.o
__GLOBAL__I_a in mergeSchema.o
__GLOBAL__I_a in parSchema.o
...
"std::_Rb_tree_decrement(std::_Rb_tree_node_base*)", referenced from:
std::_Rb_tree<point, point, std::_Identity<point>, std::less<point>,
std::allocator<point> >::_M_insert_unique(point const&) in blockSchema.o
std::_Rb_tree<trait, trait, std::_Identity<trait>, std::less<trait>,
std::allocator<trait> >::_M_insert_unique(trait const&) in blockSchema.o
std::_Rb_tree<trait, trait, std::_Identity<trait>, std::less<trait>,
std::allocator<trait> >::_M_insert_unique(trait const&) in collector.o
std::_Rb_tree<point, point, std::_Identity<point>, std::less<point>,
std::allocator<point> >::_M_insert_unique(point const&) in collector.o
std::_Rb_tree<point, point, std::_Identity<point>, std::less<point>,
std::allocator<point> >::_M_insert_unique(point const&) in connectorSchema.o
std::_Rb_tree<trait, trait, std::_Identity<trait>, std::less<trait>,
std::allocator<trait> >::_M_insert_unique(trait const&) in connectorSchema.o
std::_Rb_tree<trait, trait, std::_Identity<trait>, std::less<trait>,
std::allocator<trait> >::_M_insert_unique(trait const&) in decorateSchema.o
...
"std::_Rb_tree_increment(std::_Rb_tree_node_base const*)", referenced from:
collector::computeVisibleTraits() in collector.o
collector::draw(device&) in collector.o
"std::__throw_length_error(char const*)", referenced from:
std::vector<point, std::allocator<point>
>::_M_insert_aux(__gnu_cxx::__normal_iterator<point*, std::vector<point,
std::allocator<point> > >, point const&) in blockSchema.o
std::vector<point, std::allocator<point>
>::_M_insert_aux(__gnu_cxx::__normal_iterator<point*, std::vector<point,
std::allocator<point> > >, point const&) in cableSchema.o
std::vector<point, std::allocator<point>
>::_M_insert_aux(__gnu_cxx::__normal_iterator<point*, std::vector<point,
std::allocator<point> > >, point const&) in connectorSchema.o
std::vector<point, std::allocator<point>
>::_M_insert_aux(__gnu_cxx::__normal_iterator<point*, std::vector<point,
std::allocator<point> > >, point const&) in decorateSchema.o
std::vector<point, std::allocator<point>
>::_M_insert_aux(__gnu_cxx::__normal_iterator<point*, std::vector<point,
std::allocator<point> > >, point const&) in enlargedSchema.o
std::vector<point, std::allocator<point>
>::_M_insert_aux(__gnu_cxx::__normal_iterator<point*, std::vector<point,
std::allocator<point> > >, point const&) in recSchema.o
"std::_Rb_tree_insert_and_rebalance(bool, std::_Rb_tree_node_base*,
std::_Rb_tree_node_base*, std::_Rb_tree_node_base&)", referenced from:
std::_Rb_tree<point, point, std::_Identity<point>, std::less<point>,
std::allocator<point> >::_M_insert(std::_Rb_tree_node_base*,
std::_Rb_tree_node_base*, point const&) in blockSchema.o
std::_Rb_tree<trait, trait, std::_Identity<trait>, std::less<trait>,
std::allocator<trait> >::_M_insert_unique(trait const&) in blockSchema.o
std::_Rb_tree<trait, trait, std::_Identity<trait>, std::less<trait>,
std::allocator<trait> >::_M_insert_unique(trait const&) in collector.o
std::_Rb_tree<point, point, std::_Identity<point>, std::less<point>,
std::allocator<point> >::_M_insert(std::_Rb_tree_node_base*,
std::_Rb_tree_node_base*, point const&) in collector.o
std::_Rb_tree<point, point, std::_Identity<point>, std::less<point>,
std::allocator<point> >::_M_insert(std::_Rb_tree_node_base*,
std::_Rb_tree_node_base*, point const&) in connectorSchema.o
std::_Rb_tree<trait, trait, std::_Identity<trait>, std::less<trait>,
std::allocator<trait> >::_M_insert_unique(trait const&) in connectorSchema.o
std::_Rb_tree<trait, trait, std::_Identity<trait>, std::less<trait>,
std::allocator<trait> >::_M_insert_unique(trait const&) in decorateSchema.o
...
ld: symbol(s) not found for architecture x86_64
clang: error: linker command failed with exit code 1 (use -v to see invocation)
make[1]: *** [faust] Error 1
make: *** [all] Error 2
On 1 Mar 2014, at 16:08, Victor Lazzarini <[email protected]> wrote:
> I tried to rebuild today from git and got (OSX 10.9, it seems to builds on
> Linux):
>
> clang++ -Wexit-time-destructors -Wglobal-constructors -Wno-parentheses -I.
> -Iboxes -Ierrors -Ievaluate -Igenerator -Inormalize -Iparser -Ipropagate
> -Iparallelize -Isignals -Itlib -Idraw -Idraw/device -Idraw/schema -Iextended
> -Ipatternmatcher -Idocumentator -Iutils -I../libraries
> -DINSTALL_PREFIX='"/usr/local"' -O3 -Wall -Wuninitialized
> -fvisibility=hidden -Wno-overloaded-virtual -Wno-parentheses -I. -Iboxes
> -Ierrors -Ievaluate -Igenerator -Inormalize -Iparser -Ipropagate
> -Iparallelize -Isignals -Itlib -Idraw -Idraw/device -Idraw/schema -Iextended
> -Ipatternmatcher -Idocumentator -Iutils -I../libraries
> -DINSTALL_PREFIX='"/usr/local"' -I`llvm-config --includedir`
> -I../architecture -DLLVM_32 -D__STDC_LIMIT_MACROS -D__STDC_CONSTANT_MACROS
> -arch i386 -arch x86_64 libmain.cpp -c -o libmain.o
> In file included from libmain.cpp:67:
> In file included from generator/cpp_code_container.hh:26:
> generator/cpp_instructions.hh:349:22: warning: '/*' within block comment
> [-Wcomment]
> //*fOut << fTypeDirectTable[Typed::kInt] << " " << res <<
> "[" << inst->fSize << "]"; EndLine();
> ^
> In file included from libmain.cpp:72:
> In file included from generator/llvm_code_container.hh:26:
> In file included from generator/llvm_instructions.hh:56:
> /usr/local/include/llvm/ExecutionEngine/JIT.h:35:5: warning: declaration
> requires a global constructor
> [-Wglobal-constructors]
> } ForceJITLinking;
> ^~~~~~~~~~~~~~~
> libmain.cpp:118:15: warning: declaration requires a global constructor
> [-Wglobal-constructors]
> static string gErrorMessage = "";
> ^~~~~~~~~~~~~~~~~~
> libmain.cpp:118:15: warning: declaration requires an exit-time destructor
> [-Wexit-time-destructors]
> libmain.cpp:118:15: warning: declaration requires a global destructor
> [-Wglobal-constructors]
> 5 warnings generated.
> In file included from libmain.cpp:67:
> In file included from generator/cpp_code_container.hh:26:
> generator/cpp_instructions.hh:349:22: warning: '/*' within block comment
> [-Wcomment]
> //*fOut << fTypeDirectTable[Typed::kInt] << " " << res <<
> "[" << inst->fSize << "]"; EndLine();
> ^
> In file included from libmain.cpp:72:
> In file included from generator/llvm_code_container.hh:26:
> In file included from generator/llvm_instructions.hh:56:
> /usr/local/include/llvm/ExecutionEngine/JIT.h:35:5: warning: declaration
> requires a global constructor
> [-Wglobal-constructors]
> } ForceJITLinking;
> ^~~~~~~~~~~~~~~
> libmain.cpp:118:15: warning: declaration requires a global constructor
> [-Wglobal-constructors]
> static string gErrorMessage = "";
> ^~~~~~~~~~~~~~~~~~
> libmain.cpp:118:15: warning: declaration requires an exit-time destructor
> [-Wexit-time-destructors]
> libmain.cpp:118:15: warning: declaration requires a global destructor
> [-Wglobal-constructors]
> 5 warnings generated.
> clang++ -Wexit-time-destructors -Wglobal-constructors -Wno-parentheses -I.
> -Iboxes -Ierrors -Ievaluate -Igenerator -Inormalize -Iparser -Ipropagate
> -Iparallelize -Isignals -Itlib -Idraw -Idraw/device -Idraw/schema -Iextended
> -Ipatternmatcher -Idocumentator -Iutils -I../libraries
> -DINSTALL_PREFIX='"/usr/local"' -O3 -Wall -Wuninitialized
> -fvisibility=hidden -Wno-overloaded-virtual -Wno-parentheses -I. -Iboxes
> -Ierrors -Ievaluate -Igenerator -Inormalize -Iparser -Ipropagate
> -Iparallelize -Isignals -Itlib -Idraw -Idraw/device -Idraw/schema -Iextended
> -Ipatternmatcher -Idocumentator -Iutils -I../libraries
> -DINSTALL_PREFIX='"/usr/local"' -I`llvm-config --includedir`
> -I../architecture -DLLVM_32 -D__STDC_LIMIT_MACROS -D__STDC_CONSTANT_MACROS
> -arch i386 -arch x86_64 global.cpp -c -o global.o
> global.cpp:53:28: warning: declaration requires a global constructor
> [-Wglobal-constructors]
> list<Garbageable*> global::gObjectTable;
> ^~~~~~~~~~~~
> global.cpp:53:28: warning: declaration requires an exit-time destructor
> [-Wexit-time-destructors]
> global.cpp:53:28: warning: declaration requires a global destructor
> [-Wglobal-constructors]
> 3 warnings generated.
> global.cpp:53:28: warning: declaration requires a global constructor
> [-Wglobal-constructors]
> list<Garbageable*> global::gObjectTable;
> ^~~~~~~~~~~~
> global.cpp:53:28: warning: declaration requires an exit-time destructor
> [-Wexit-time-destructors]
> global.cpp:53:28: warning: declaration requires a global destructor
> [-Wglobal-constructors]
> 3 warnings generated.
> /usr/local/bin/clang++ -O3 -DLLVM_32 -emit-llvm -S
> ../architecture/scheduler.cpp -o scheduler.ll
> make[1]: /usr/local/bin/clang++: No such file or directory
> make[1]: *** [scheduler.ll] Error 1
> make: *** [all] Error 2
>
>
>
>
> ------------------------------------------------------------------------------
> Flow-based real-time traffic analytics software. Cisco certified tool.
> Monitor traffic, SLAs, QoS, Medianet, WAAS etc. with NetFlow Analyzer
> Customize your own dashboards, set traffic alerts and generate reports.
> Network behavioral analysis & security monitoring. All-in-one tool.
> http://pubads.g.doubleclick.net/gampad/clk?id=126839071&iu=/4140/ostg.clktrk
> _______________________________________________
> Faudiostream-users mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/faudiostream-users
------------------------------------------------------------------------------
Flow-based real-time traffic analytics software. Cisco certified tool.
Monitor traffic, SLAs, QoS, Medianet, WAAS etc. with NetFlow Analyzer
Customize your own dashboards, set traffic alerts and generate reports.
Network behavioral analysis & security monitoring. All-in-one tool.
http://pubads.g.doubleclick.net/gampad/clk?id=126839071&iu=/4140/ostg.clktrk
_______________________________________________
Faudiostream-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/faudiostream-users