[Mono-dev] Compiling with NaCl support

Kannan Goundan kannan at cakoose.com
Mon Aug 16 21:02:49 EDT 2010


Is there any way to use my 64-bit host machine to generate 32-bit NaCl
modules?

On Mon, Aug 16, 2010 at 17:39, Geoff Norton <gnorton at novell.com> wrote:

> NACL is only being developed on 32-bit x86 currently.
>
> -g
>
> On 2010-08-16, at 8:34 PM, Kannan Goundan wrote:
>
> I wanted to experiment a bit with Mono's NaCl support, but I can't get it
> to compile.  Any hints?
>
> (The README says to use "--enable-nacl" and configure.in mentions
> "--enabled-nacl-codegen", so I used both.)
>
> 1. I'm on Ubuntu 10.04, amd64.
> 2. I got Mono trunk from GitHub.
> 3. ./autogen.sh --prefix=/usr/local/stow/Mono-NaCl --enable-nacl-codegen
> --enable-nacl
> 4. make
>
> [... snip ...]
> LD libmonosgen-static.la
> CC mono-main.o
> LD mono
> ./.libs/libmono-static.a(libmono_static_la-mini.o): In function
> `mono_nacl_fix_patches':
> /home/kannan/Develop/Mono/trunk/mono/mini/mini.c:230: undefined reference
> to `mono_arch_nacl_skip_nops'
> ./.libs/libmono-static.a(libmono_static_la-mini.o): In function
> `mono_nacl_pad_call':
> /home/kannan/Develop/Mono/trunk/mono/mini/mini.c:208: undefined reference
> to `mono_arch_nacl_pad'
> ./.libs/libmono-static.a(libmono_static_la-mini.o): In function
> `mono_nacl_align_inst':
> /home/kannan/Develop/Mono/trunk/mono/mini/mini.c:174: undefined reference
> to `mono_arch_nacl_pad'
> ./.libs/libmono-static.a(libmono_static_la-mini.o): In function
> `mono_nacl_align':
> /home/kannan/Develop/Mono/trunk/mono/mini/mini.c:221: undefined reference
> to `mono_arch_nacl_pad'
> ./.libs/libmono-static.a(libmono_static_la-mini.o): In function
> `mono_nacl_pad_call':
> /home/kannan/Develop/Mono/trunk/mono/mini/mini.c:216: undefined reference
> to `mono_arch_nacl_pad'
> collect2: ld returned 1 exit status
> make[4]: *** [mono] Error 1
> make[4]: Leaving directory `/home/kannan/Develop/Mono/trunk/mono/mini'
> make[3]: *** [all] Error 2
> make[3]: Leaving directory `/home/kannan/Develop/Mono/trunk/mono/mini'
> make[2]: *** [all-recursive] Error 1
> make[2]: Leaving directory `/home/kannan/Develop/Mono/trunk/mono'
> make[1]: *** [all-recursive] Error 1
> make[1]: Leaving directory `/home/kannan/Develop/Mono/trunk'
> make: *** [all] Error 2
> _______________________________________________
> Mono-devel-list mailing list
> Mono-devel-list at lists.ximian.com
> http://lists.ximian.com/mailman/listinfo/mono-devel-list
>
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.ximian.com/pipermail/mono-devel-list/attachments/20100816/a78d4389/attachment-0001.html 


More information about the Mono-devel-list mailing list