On Thu, Mar 22, 2012 at 3:23 PM, Matt Calder <[email protected]> wrote:
> I get the following error compiling with llvm support: > > mini-llvm.c: In function ‘type_to_llvm_type’: > mini-llvm.c:362: warning: implicit declaration of function > ‘LLVMStructCreateNamed’ > mini-llvm.c:362: warning: nested extern declaration of > ‘LLVMStructCreateNamed’ > mini-llvm.c:362: warning: assignment makes pointer from integer without a > cast > mini-llvm.c:363: warning: implicit declaration of function > ‘LLVMStructSetBody’ > mini-llvm.c:363: warning: nested extern declaration of ‘LLVMStructSetBody’ > mini-llvm.c: In function ‘process_bb’: > mini-llvm.c:2191: warning: implicit declaration of function > ‘LLVMBuildLandingPad’ > mini-llvm.c:2191: warning: nested extern declaration of > ‘LLVMBuildLandingPad’ > mini-llvm.c:2191: warning: assignment makes pointer from integer without a > cast > mini-llvm.c:2192: warning: implicit declaration of function ‘LLVMAddClause’ > mini-llvm.c:2192: warning: nested extern declaration of ‘LLVMAddClause’ > mini-llvm.c: In function ‘mono_llvm_emit_method’: > mini-llvm.c:4256: error: ‘LLVMUWTable’ undeclared (first use in this > function) > mini-llvm.c:4256: error: (Each undeclared identifier is reported only once > mini-llvm.c:4256: error: for each function it appears in.) > make[4]: *** [libmono_2_0_la-mini-llvm.lo] Error 1 > > > I configured using: > > ./configure --prefix=/usr --enable-llvm=yes --with-large-heap=yes > > I've built llvm from mono/llvm branch master, the mono branch is 2-10. > Does anyone have an idea of what I may be missing? > > You must use the 2.10 llvm branch with the 2.10 mono branch.
_______________________________________________ Mono-list maillist - [email protected] http://lists.ximian.com/mailman/listinfo/mono-list
