Should be fixed on git.

Stéphane

Le 22 déc. 2015 à 22:19, Albert Graef <aggr...@gmail.com> a écrit :

> Some recent changes broke compilation on Linux (Arch). Obviously missing 
> includes. Due to the upcoming holidays I don't have the time to fix these 
> myself right now, so if anyone else please could have a look... :)
> 
> This is in the master branch:
> 
> make -C faust
> make[2]: Entering directory '/home/ag/src/faust/architecture/osclib/faust'
> g++ -fPIC -Wno-parentheses -I../oscpack -I../oscpack/osc -I. -Isrc -Isrc/lib 
> -Isrc/msg -Isrc/nodes -Isrc/osc -Isrc/threads -I../.. -DINSTALL_PREFIX='""'   
> -c -o src/nodes/RootNode.o src/nodes/RootNode.cpp
> src/nodes/RootNode.cpp: In member function ‘bool 
> oscfaust::RootNode::acceptSignal(const oscfaust::Message*)’:
> src/nodes/RootNode.cpp:206:56: error: ‘alloca’ was not declared in this scope
>          float* buff = (float*)(alloca(sizeof(float) * n));
>                                                         ^
> <builtin>: recipe for target 'src/nodes/RootNode.o' failed
> 
> Might also happen in the faust2 branch, but faust2 already bails out earlier 
> with the following error (again a missing include):
> 
> In file included from generator/llvm/llvm_dsp_aux.cpp:42:0:
> generator/llvm/rn_base64.h: In function ‘char* base64_encode(const char*, 
> unsigned int)’:
> generator/llvm/rn_base64.h:135:54: error: ‘strdup’ was not declared in this 
> scope
>      return strdup(base64_encode_aux(str, len).c_str());
>                                                       ^
> generator/llvm/rn_base64.h: In function ‘char* base64_decode(const char*, 
> unsigned int)’:
> generator/llvm/rn_base64.h:140:54: error: ‘strdup’ was not declared in this 
> scope
>      return strdup(base64_decode_aux(str, len).c_str());
>                                                       
> -- 
> Dr. Albert Gr"af
> Computer Music Research Group, JGU Mainz, Germany
> Email:  aggr...@gmail.com
> WWW:    https://plus.google.com/+AlbertGraef
> ------------------------------------------------------------------------------
> _______________________________________________
> Faudiostream-devel mailing list
> Faudiostream-devel@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/faudiostream-devel


------------------------------------------------------------------------------
_______________________________________________
Faudiostream-devel mailing list
Faudiostream-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/faudiostream-devel

Reply via email to