Hi again, I wanted to update some local patches so I can finally push them upstream, but I can't get faust2 to compile (commit 67065bb90bdf7fa63158e577709e412d49171e87). First, the file compiler/generator/dsp_aux.cpp is missing an #include (it needs stdlib.h for malloc). After fixing that, compilation aborts due to a missing file. The relevant code is what appears to be a faulty/incomplete #if in compiler/generator/llvm_dsp_aux.cpp:
#if defined(LLVM_32) #include <llvm/DataLayout.h> #else #ifndef _WIN32 #include <llvm/Target/TargetData.h> #endif #endif I have LLVM 3.3 on Linux, and do not have the file "llvm/Target/TargetData.h". Commenting out the second #include allows "make all" to finish successfully, albeit that is hardly a good solution. Via google I was able to discern that "llvm/Target/TargetData.h" was renamed to "llvm/DataLayout.h" in LLVM 3.2, which explains the original #if from commit d5bd8420. What commit 3bd7ca71 is about is impossible to discern from the commit message alone, which is less than helpful. Since this file apparently disappeared in LLVM 3.3, and without considering the "#ifndef _WIN32", perhaps the #else should be changed to: #elif !defined(LLVM_33) && !defined(LLVM_34) If this is fine, I'll include it in my patches along with the missing #include above. Greetings -- Marc Joliet -- "People who think they know everything really annoy those of us who know we don't" - Bjarne Stroustrup
signature.asc
Description: PGP signature
------------------------------------------------------------------------------ Learn Graph Databases - Download FREE O'Reilly Book "Graph Databases" is the definitive new guide to graph databases and their applications. Written by three acclaimed leaders in the field, this first edition is now available. Download your free book today! http://p.sf.net/sfu/13534_NeoTech
_______________________________________________ Faudiostream-users mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/faudiostream-users
