In file included from corefcn/pt-jit.cc:81:0:
/usr/include/llvm/Target/TargetData.h:38:6: error: multiple definition of 'enum llvm::AlignTypeEnum'
/usr/lib/llvm-3.2/include/llvm/DataLayout.h:41:6: error: previous definition here
/usr/include/llvm/Target/TargetData.h:296:7: error: redefinition of 'class llvm::StructLayout'
/usr/lib/llvm-3.2/include/llvm/DataLayout.h:389:7: error: previous definition of 'class llvm::StructLayout'
corefcn/pt-jit.cc: In member function 'bool tree_jit::initialize()':
corefcn/pt-jit.cc:1898:53: error: 'class llvm::ExecutionEngine' has no member named 'getTargetData'
make[3]: *** [corefcn/corefcn_libcorefcn_la-pt-jit.lo] Error 1
make[3]: Leaving directory `/usr/local/src/octave-3.8.0/libinterp'
make[2]: *** [all] Error 2
make[2]: Leaving directory `/usr/local/src/octave-3.8.0/libinterp'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/usr/local/src/octave-3.8.0'
make: *** [all] Error 2
Can anybody elucidate this, and let me know how I can compile without these errors?
Thanks,
Alasdair