Comment #9 on issue 398 by duchyde...@gmail.com: configure can't find LLVM http://code.google.com/p/gambas/issues/detail?id=398
Success! After poking through the llvm Makefile for clues, I compiled llvm with <code>make --enable-shared --enable-optimized</code>. Then in gambas src, I wrote <code>reconf-all --force & ./configure</code> make Fail! make quits with error: CXX gb_jit_la-jit_codegen.lo jit_codegen.cpp: In function 'llvm::Value* extract_value(llvm::Value*, int)': jit_codegen.cpp:356:29: warning: narrowing conversion of 'index' from 'int' to 'unsigned int' inside { } [-Wnarrowing] jit_codegen.cpp: In function 'llvm::Value* insert_value(llvm::Value*, llvm::Value*, int)': jit_codegen.cpp:361:29: warning: narrowing conversion of 'index' from 'int' to 'unsigned int' inside { } [-Wnarrowing] jit_codegen.cpp: In member function 'virtual void TryExpression::codegen()': jit_codegen.cpp:3617:21: error: 'llvm::Attribute' has not been declared jit_codegen.cpp: In member function 'virtual void LargeTryExpression::codegen()': jit_codegen.cpp:3668:21: error: 'llvm::Attribute' has not been declared jit_codegen.cpp: In function 'void func_extern_call_variant_vararg(void*, void*, int, TYPE)': jit_codegen.cpp:6633:33: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] jit_codegen.cpp:6683:44: warning: array subscript has type 'char' [-Wchar-subscripts] jit_codegen.cpp: At global scope: jit_codegen.cpp:331:21: warning: 'llvm::Value* get_new_struct(llvm::StructType*, llvm::Value*, llvm::Value*, llvm::Value*)' defined but not used [-Wunused-function] jit_codegen.cpp:1024:13: warning: 'void codegen_printf(const char*, int)' defined but not used [-Wunused-function] jit_codegen.cpp:1028:13: warning: 'void codegen_printf(const char*)' defined but not used [-Wunused-function] jit_codegen.cpp:1032:13: warning: 'void codegen_printf(const char*, llvm::Value*)' defined but not used [-Wunused-function] jit_codegen.cpp:1111:13: warning: 'void borrow_top(TYPE)' defined but not used [-Wunused-function] jit_codegen.cpp:1115:13: warning: 'void release_top(Expression*)' defined but not used [-Wunused-function] jit_codegen.cpp:1129:13: warning: 'void release_val(Expression*)' defined but not used [-Wunused-function] jit_codegen.cpp:6958:13: warning: 'void JIT_cleanup(llvm::ExecutionEngine**, int)' defined but not used [-Wunused-function] make[4]: *** [gb_jit_la-jit_codegen.lo] Error 1 make[4]: Leaving directory `/home/zakri/src/gambas3-3.3.4/gb.jit/src' make[3]: *** [all-recursive] Error 1 make[3]: Leaving directory `/home/zakri/src/gambas3-3.3.4/gb.jit' make[2]: *** [all] Error 2 make[2]: Leaving directory `/home/zakri/src/gambas3-3.3.4/gb.jit' make[1]: *** [all-recursive] Error 1 make[1]: Leaving directory `/home/zakri/src/gambas3-3.3.4' make: *** [all] Error 2 ------------------------------------------------------------------------------ Free Next-Gen Firewall Hardware Offer Buy your Sophos next-gen firewall before the end March 2013 and get the hardware for free! Learn more. http://p.sf.net/sfu/sophos-d2d-feb _______________________________________________ Gambas-user mailing list Gambas-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/gambas-user