[Mono-list] Error compiling llvm support

Matt Calder mvcalder at gmail.com
Thu Mar 22 18:23:43 UTC 2012


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?

Matt
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.ximian.com/pipermail/mono-list/attachments/20120322/84f380dc/attachment.html>


More information about the Mono-list mailing list