[Mono-dev] Compiling with NaCl support

Kannan Goundan kannan at cakoose.com
Mon Aug 16 20:34:37 EDT 2010


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
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.ximian.com/pipermail/mono-devel-list/attachments/20100816/1fa0b89b/attachment.html 


More information about the Mono-devel-list mailing list