All of lore.kernel.org
 help / color / mirror / Atom feed
* Mono 2.10.8.1 (meta-mono) Corelib not in sync with runtime...
@ 2013-09-20 23:44 Ryan Kirkpatrick
  2013-09-21  8:31 ` [meta-mono] Xaramarin no longer providing mono-tools Alex J Lennon
  2013-09-27  0:04 ` Mono 2.10.8.1 (meta-mono) Corelib not in sync with runtime Ryan Kirkpatrick
  0 siblings, 2 replies; 8+ messages in thread
From: Ryan Kirkpatrick @ 2013-09-20 23:44 UTC (permalink / raw)
  To: yocto


I am trying to get Mono 2.10 working on a core-image-basic running on 
qemux86 machine. I am using pokay-dylan-9.0.2 on a Debian 6.0.7 system for 
the builds and been able to build and run images without issue. Yet, when 
I went to add the meta-mono layer from git.yoctoporject.org, I started 
running into problems.

I first had to add these lines to the mono_2.10.8.1.bb recipe, and move 
the mono-2.10.8.1/ folder into the files/ folder to get the build to 
succeed. I also added the EXTRA_OECONF line to disable X support (don't 
want winforms, just Mono for console and services).

EXTRA_OECONF += "--without-x --without-moonlight --without-libgdiplus"
FILES_${PN} += "${datadir}/mono-2.0"
FILES_${PN} += "${datadir}/libgc-mono"
INSANE_SKIP_${PN} = "arch dev-so debug-files ldflags"

After that, I built and booted an image with the 'mono' package installed 
and was able to run Mono simply:

$ mono --version
Mono JIT compiler version 2.10.8.1 (tarball Fri Sep 20 14:23:43 MDT 2013)
Copyright (C) 2002-2011 Novell, Inc, Xamarin, Inc and Contributors. 
www.mono-project.com
	TLS:           normal
	SIGSEGV:       normal
	Notifications: epoll
	Architecture:  x86
	Disabled:      none
	Misc:          debugger softdebug 
	LLVM:          supported, not enabled.
	GC:            Included Boehm (with typed GC and Parallel Mark)

Yet when I actually tried to run a Mono application (simple console only 
application already compiled on another system), I got this error:

Corlib not in sync with this runtime: expected corlib version 96, found 100.
Loaded from: /usr/lib/mono/2.0/mscorlib.dll
Download a newer corlib or a newer runtime at http://www.go-mono.com/daily.

It looks like this error indicates some sort mismatch in Mono, as if one 
was mixing between a release and a development version. But there is no 
Mono on my build machine to cause confusion, everything came from the Mono 
recipe. Further, given the issues I encountered above in getting Mono 
built, it appears this recipe has not been tested with more recent version 
of Yocto.

Is there a more current Mono recipe available? Does anyone have any ideas 
on what in this Mono recipe could cause that error? Or do I get to dig in 
and untangle the Mono build? Thanks!

---------------------------------------------------------------------------
| Ryan Kirkpatrick | Boulder, CO | rkirkpat.net | twitter.com/rkirkpatnet |
---------------------------------------------------------------------------



^ permalink raw reply	[flat|nested] 8+ messages in thread

end of thread, other threads:[~2013-11-03 13:46 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2013-09-20 23:44 Mono 2.10.8.1 (meta-mono) Corelib not in sync with runtime Ryan Kirkpatrick
2013-09-21  8:31 ` [meta-mono] Xaramarin no longer providing mono-tools Alex J Lennon
2013-09-27  0:04 ` Mono 2.10.8.1 (meta-mono) Corelib not in sync with runtime Ryan Kirkpatrick
2013-10-08 17:30   ` Paul Eggleton
2013-10-09 19:52     ` Ryan Kirkpatrick
2013-10-31 16:44       ` Alex J Lennon
2013-11-02 21:49         ` Ryan Kirkpatrick
2013-11-03 13:46           ` Alex J Lennon

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.