[Mono-list] Error compiling llvm support
Matt Calder
mvcalder at gmail.com
Fri Mar 23 15:24:47 UTC 2012
Rodrigo,
That was the problem, thanks!
Matt
On Fri, Mar 23, 2012 at 9:58 AM, Rodrigo Kumpera <kumpera at gmail.com> wrote:
>
>
> On Thu, Mar 22, 2012 at 3:23 PM, Matt Calder <mvcalder at gmail.com> 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.
>
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.ximian.com/pipermail/mono-list/attachments/20120323/fc14349c/attachment-0001.html>
More information about the Mono-list
mailing list