[Mono-list] CVS Compile

Matej Spiller Matej.Spiller@siol.net
Sat, 22 Nov 2003 22:03:42 +0100


This is a multi-part message in MIME format.

------=_NextPart_000_0524_01C3B144.7DB014D0
Content-Type: text/plain;
	charset="iso-8859-2"
Content-Transfer-Encoding: quoted-printable

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
------=_NextPart_000_0524_01C3B144.7DB014D0
Content-Type: text/html;
	charset="iso-8859-2"
Content-Transfer-Encoding: quoted-printable

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META http-equiv=3DContent-Type content=3D"text/html; =
charset=3Diso-8859-2">
<META content=3D"MSHTML 6.00.2800.1276" name=3DGENERATOR>
<STYLE></STYLE>
</HEAD>
<BODY bgColor=3D#ffffff>
<DIV><FONT face=3DArial size=3D2>I'm compiling&nbsp;mono on Mandrake=20
9.1.</FONT></DIV>
<DIV><FONT face=3DArial size=3D2>First I took monolite=20
(monolite-20031120.tar.gz)&nbsp;and copy lib, bin to /usr/local, then I =
checkout=20
mono and&nbsp;mcs.</FONT></DIV>
<DIV><FONT face=3DArial size=3D2></FONT>&nbsp;</DIV>
<DIV><FONT face=3DArial size=3D2>Then&nbsp;I sucessfully compiled mono =
(autogen,=20
make, make install).</FONT></DIV>
<DIV><FONT face=3DArial size=3D2></FONT>&nbsp;</DIV>
<DIV><FONT face=3DArial size=3D2>After that I tried to compiled mcs, but =
it keeps=20
failing with:</FONT></DIV>
<DIV><FONT face=3DArial size=3D2></FONT>&nbsp;</DIV>
<DIV><FONT face=3DArial size=3D2>make[1]: Entering directory=20
`/home/mspiller/mono/mcs/build'<BR>make[1]: Leaving directory=20
`/home/mspiller/mono/mcs/build'<BR>make[1]: Entering directory=20
`/home/mspiller/mono/mcs/jay'<BR>make[1]: Leaving directory=20
`/home/mspiller/mono/mcs/jay'<BR>make[1]: Entering directory=20
`/home/mspiller/mono/mcs/mcs'<BR>mcs&nbsp;&nbsp; -d:NET_1_1 -g =
/target:exe=20
/out:mcs.exe AssemblyInfo.cs anonymous.cs assign<BR>.cs attribute.cs =
driver.cs=20
cs-tokenizer.cs cfold.cs class.cs codegen.cs =
const.cs<BR>&nbsp;constant.cs=20
convert.cs decl.cs delegate.cs enum.cs ecore.cs expression.cs=20
flowa<BR>nalysis.cs genericparser.cs interface.cs iterators.cs =
literal.cs=20
location.cs mod<BR>ifiers.cs namespace.cs parameter.cs pending.cs =
report.cs=20
rootcontext.cs statemen<BR>t.cs support.cs typemanager.cs =
symbolwriter.cs=20
tree.cs cs-parser.cs</FONT></DIV>
<DIV>&nbsp;</DIV>
<DIV><FONT face=3DArial size=3D2>Unhandled Exception: =
System.NullReferenceException:=20
A null value was found where an object instance was required<BR>in =
(unmanaged)=20
/usr/local/lib/libmono.so.0(mono_reflection_parse_type+0x8c) =
[0x40075fec]<BR>in=20
(unmanaged) /usr/local/lib/libmono.so.0 [0x40083b2f]<BR>in =
&lt;0x00050&gt;=20
System.Reflection.Assembly:GetType (string,bool,bool)<BR>in =
&lt;0x0001e&gt;=20
System.Reflection.Assembly:GetType (string)<BR>in &lt;0x00088&gt;=20
System.Reflection.Emit.ModuleBuilder:GetSymbolWriter (string)<BR>in=20
&lt;0x00149&gt; System.Reflection.Emit.ModuleBuilder:.ctor=20
(System.Reflection.Emit.AssemblyBuilder,string,string,bool,bool)<BR>in=20
&lt;0x0014a&gt; =
System.Reflection.Emit.AssemblyBuilder:DefineDynamicModule=20
(string,string,bool,bool)<BR>in &lt;0x00021&gt;=20
System.Reflection.Emit.AssemblyBuilder:DefineDynamicModule=20
(string,string,bool)<BR>in &lt;0x000d0&gt; Mono.CSharp.CodeGen:Init=20
(string,string,bool)<BR>in &lt;0x006af&gt; Mono.CSharp.Driver:MainDriver =

(string[])<BR>in &lt;0x0001b&gt; Mono.CSharp.Driver:Main =
(string[])</FONT></DIV>
<DIV>&nbsp;</DIV>
<DIV><FONT face=3DArial size=3D2>make[1]: *** [mcs.exe] Error =
1<BR>make[1]: Leaving=20
directory `/home/mspiller/mono/mcs/mcs'<BR>make: *** [all-recursive] =
Error=20
1<BR></FONT></DIV>
<DIV><FONT face=3DArial size=3D2>What&nbsp;to&nbsp;do?</FONT></DIV>
<DIV><FONT face=3DArial size=3D2>&nbsp;</DIV></FONT>
<DIV><FONT face=3DArial size=3D2>Thanks,</FONT></DIV>
<DIV><FONT face=3DArial size=3D2>Matej Spiller-Muys</FONT><FONT =
face=3DArial=20
size=3D2></DIV></FONT></BODY></HTML>

------=_NextPart_000_0524_01C3B144.7DB014D0--