[Mono-devel-list] Building current CVS fails

PFJ paul at all-the-johnsons.co.uk
Tue Oct 19 11:59:27 EDT 2004


> I'm trying to build Mono from current CVS and am getting
> The following error message:
> ------ 8< --- Cut here --- >8 --------
> MONO_PATH="../../class/lib/net_2_0:../../class/lib/net_2_0_bootstrap:
> $MONO_PATH" mono  ../../gmcs/gmcs.exe   -d:NET_1_1 -d:NET_2_0 -2 -g /
> noconfig /r:mscorlib.dll /define:XML_DEP /r:System.Xml.dll /
> target:library /out:System.dll @System.dll.sources
> ALPHA SOFTWARE: Mono C# Compiler for Generics
> The compiler option -2 is obsolete. Please use /langversion instead
> ** (../../gmcs/gmcs.exe:11918): WARNING **: Could not load class from
> token 0x010000b3 in /home/viadmin/mono/mcs/class/lib/net_2_0/
> System.Xml.dll
> ** (../../gmcs/gmcs.exe:11918): WARNING **: Could not load class from
> token 0x010000b4 in /home/viadmin/mono/mcs/class/lib/net_2_0/
> System.Xml.dll
> Unhandled Exception: System.NullReferenceException: Object reference
> not set to an instance of an object

I've had that a couple of times and basically, I try either make
distclean then recompile. If that fails, ditch mcs and mono and do a
fresh checkout.

Okay, it's not the best way to do things, but it's one of the
simplest ;-)


"If I face my God tomorrow, I can tell Him I am innocent.
I've never harmed anyone. I have cheated no one. 
I have deceived no one. I have hurt no one. 
Except myself. And that He will forgive me." - Hans Holzel
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: This is a digitally signed message part
Url : http://lists.ximian.com/pipermail/mono-devel-list/attachments/20041019/a0fac278/attachment.bin 

More information about the Mono-devel-list mailing list