[Mono-list] no longer able to build mcs

Gert Driesen gert.driesen@pandora.be
18 Jul 2003 19:52:50 +0200


Hi,

I'm no longer able to build mcs (from cvs), I now get the following
exception :

gert@mother mcs $ make
make[1]: Entering directory `/home/gert/mono/mcs/build'
make[1]: Leaving directory `/home/gert/mono/mcs/build'
make[1]: Entering directory `/home/gert/mono/mcs/jay'
make[1]: Leaving directory `/home/gert/mono/mcs/jay'
make[1]: Entering directory `/home/gert/mono/mcs/mcs'
mcs    -g /nowarn:1595 /nowarn:0169 /nowarn:0109 /nowarn:0067
/nowarn:0649 /nowarn:0679 /target:exe /out:mcs.exe AssemblyInfo.cs
anonymous.cs assign.cs attribute.cs driver.cs cs-tokenizer.cs cfold.cs
class.cs codegen.cs const.cs constant.cs convert.cs decl.cs delegate.cs
enum.cs ecore.cs expression.cs genericparser.cs interface.cs
iterators.cs literal.cs location.cs modifiers.cs namespace.cs
parameter.cs pending.cs report.cs rootcontext.cs statement.cs support.cs
typemanager.cs symbolwriter.cs tree.cs cs-parser.cs
 
Unhandled Exception: System.NullReferenceException: A null value was
found where an object instance was required
in (unmanaged)
/home/gert/mono/install/lib/libmono.so.0(mono_object_isinst+0x2f)
[0x40093b35]
in (unmanaged) /home/gert/mono/install/lib/libmono.so.0 [0x40096f6f]
in <0x00156> 00 System.Array:Copy
(System.Array,int,System.Array,int,int)
in <0x00086> 00 System.Collections.ArrayList:CopyTo (System.Array)
in <0x00677> 00 System.Type:FindMembers
(System.Reflection.MemberTypes,System.Reflection.BindingFlags,System.Reflection.MemberFilter,object)
in <0x00073> 00 Mono.CSharp.TypeHandle:GetMembers
(System.Reflection.MemberTypes,System.Reflection.BindingFlags)
in <0x0005d> 00 Mono.CSharp.MemberCache:AddMembers
(System.Reflection.MemberTypes,System.Reflection.BindingFlags,Mono.CSharp.IMemberContainer)
in <0x00067> 00 Mono.CSharp.MemberCache:AddMembers
(System.Reflection.MemberTypes,Mono.CSharp.IMemberContainer)
in <0x0002f> 00 Mono.CSharp.MemberCache:AddMembers
(Mono.CSharp.IMemberContainer)
in <0x00201> 00 Mono.CSharp.MemberCache:.ctor
(Mono.CSharp.IMemberContainer)
in <0x000c8> 00 Mono.CSharp.TypeHandle:.ctor (System.Type)
in <0x00068> 00 Mono.CSharp.TypeHandle:GetTypeHandle (System.Type)
in <0x000a4> 00 Mono.CSharp.TypeManager:LookupMemberContainer
(System.Type)
in <0x004a3> 00 Mono.CSharp.TypeContainer:DefineMembers
(Mono.CSharp.TypeContainer)
in <0x00356> 00 Mono.CSharp.RootContext:PopulateTypes ()
in <0x007e9> 00 Mono.CSharp.Driver:MainDriver (string[])
in <0x0001d> 00 Mono.CSharp.Driver:Main (string[])
 
make[1]: *** [mcs.exe] Interrupt
make: *** [all-recursive] Interrupt

I have no problem building or installing Mono.  Has anyone else
experienced similar issues recently ?

By the way, I'm using Gentoo 1.4 RC4 ...

Thanks,

Gert