[Mono-devel-list] Building current CVS fails

Jörg Rosenkranz joergr at voelcker.com
Tue Oct 19 11:45:11 EDT 2004


Hi all,

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 1.1.1.0 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
in <0xc698a806> (wrapper managed-to-native) System.Reflection.Assembly:GetTypes (bool)
in <0x00004> (wrapper managed-to-native) System.Reflection.Assembly:GetTypes (bool)
in <0x00012> System.Reflection.Assembly:GetExportedTypes ()
in <0x00081> Mono.CSharp.TypeManager:LoadAllImportedTypes ()
in <0x00ce0> Mono.CSharp.Driver:MainDriver (string[])
in <0x0001f> Mono.CSharp.Driver:Main (string[])


** ERROR **: file critical-sections.c: line 89 (DeleteCriticalSection): assertion failed: (ret == 0)
aborting...

------ 8< --- Cut here --- >8 --------

I have tried 'make bootstrap' and 'make monolite-bootstrap' 
without success. Running autogen.sh with --with-preview=no 
didn't help either (I thought gmcs should never be touched 
in this case?).

What am I doing wrong?

Thanks,
Joerg.



More information about the Mono-devel-list mailing list