I'm compiling mono on Mandrake 9.1.
First I took monolite (monolite-20031120.tar.gz) and copy lib, bin to /usr/local, then I checkout mono and mcs.
 
Then I sucessfully compiled mono (autogen, make, make install).
 
After that I tried to compiled mcs, but it keeps failing with:
 
make[1]: Entering directory `/home/mspiller/mono/mcs/build'
make[1]: Leaving directory `/home/mspiller/mono/mcs/build'
make[1]: Entering directory `/home/mspiller/mono/mcs/jay'
make[1]: Leaving directory `/home/mspiller/mono/mcs/jay'
make[1]: Entering directory `/home/mspiller/mono/mcs/mcs'
mcs   -d:NET_1_1 -g /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 flowa
nalysis.cs genericparser.cs interface.cs iterators.cs literal.cs location.cs mod
ifiers.cs namespace.cs parameter.cs pending.cs report.cs rootcontext.cs statemen
t.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) /usr/local/lib/libmono.so.0(mono_reflection_parse_type+0x8c) [0x40075fec]
in (unmanaged) /usr/local/lib/libmono.so.0 [0x40083b2f]
in <0x00050> System.Reflection.Assembly:GetType (string,bool,bool)
in <0x0001e> System.Reflection.Assembly:GetType (string)
in <0x00088> System.Reflection.Emit.ModuleBuilder:GetSymbolWriter (string)
in <0x00149> System.Reflection.Emit.ModuleBuilder:.ctor (System.Reflection.Emit.AssemblyBuilder,string,string,bool,bool)
in <0x0014a> System.Reflection.Emit.AssemblyBuilder:DefineDynamicModule (string,string,bool,bool)
in <0x00021> System.Reflection.Emit.AssemblyBuilder:DefineDynamicModule (string,string,bool)
in <0x000d0> Mono.CSharp.CodeGen:Init (string,string,bool)
in <0x006af> Mono.CSharp.Driver:MainDriver (string[])
in <0x0001b> Mono.CSharp.Driver:Main (string[])
 
make[1]: *** [mcs.exe] Error 1
make[1]: Leaving directory `/home/mspiller/mono/mcs/mcs'
make: *** [all-recursive] Error 1
What to do?
 
Thanks,
Matej Spiller-Muys

Reply via email to