[Mono-devel-list] Compiling
A Rafael D Teixeira
rafaelteixeirabr at hotmail.com
Sat Dec 6 08:14:09 EST 2003
It's a runtime dessincronization error affects any build using the mcs.exe
inside mcs/mcs. You have to resync the environment. I'll have to do it just
now myself, so I'll try to cook up a recipe, and send it to this list, as
this question recurred over the past weeks a dozen times at least...
Regards,
Rafael Teixeira
Brazilian Polymath
Mono Hacker since 16 Jul 2001
MonoBrasil Founding Member - Membro Fundador do MonoBrasil
English Blog: http://monoblog.blogspot.com/
Brazilian Portuguese Blog: http://monoblog.weblogger.terra.com.br/
>From: Pedro Santos <pre at oninetspeed.pt>
>To: mono-devel-list at ximian.com
>Subject: [Mono-devel-list] Compiling
>Date: Sat, 06 Dec 2003 11:47:36 +0000
>
>
>Hey, I get erros compiling System.Web dll (shiped in 0.29). I also get
>errors compiling several other modules, so, do I need any other libs
>installed? In the release you say that there are new dependencies, and
>we should install from red-carpet. And to compile?
>
>The reason I want to compile is that I would like to make a ver simple
>implementation for TraceContext. This way I could have win/mono
>compatibilty and have a simple Trace system available.
>
>Thanks.
>
>Error:
>
>MONO_PATH="../../class/lib:$MONO_PATH" mono
>../../mcs/mcs.exe
>-d:NET_1_1 -g /noconfig /nowarn:649 /r:mscorlib.dll /r:/usr/lib
>/System.dll /r:/usr/lib/System.Drawing.dll /r:/usr/lib/System.Data.dll
>/r:/usr/lib/System.Xml.dll /target:library
>/out:../../class/lib/System.Web.dll @System.Web.dll.sources
>In type: System.Web.MonoTODOAttribute
>
>Unhandled Exception: System.NullReferenceException: A null value was
>found where an object instance was required
>in (unmanaged) /usr/lib/libmono.so.0 [0x40080c61]
>in (unmanaged) /usr/lib/libmono.so.0 [0x4008b2bc]
>in (unmanaged) /usr/lib/libmono.so.0 [0x4008b330]
>in (unmanaged) /usr/lib/libmono.so.0 [0x4008c120]
>in (unmanaged)
>/usr/lib/libmono.so.0(mono_reflection_create_runtime_class+0x179)
>[0x4008c919]
>in <0x003de> System.Reflection.Emit.TypeBuilder:CreateType ()
>in <0x00092> Mono.CSharp.TypeContainer:CloseType ()
>in <0x000df> Mono.CSharp.TypeContainer:CloseType ()
>in <0x00255> Mono.CSharp.RootContext:CloseTypes ()
>in <0x0086c> Mono.CSharp.Driver:MainDriver (string[])
>in <0x0001b> Mono.CSharp.Driver:Main (string[])
>
>make: *** [../../class/lib/System.Web.dll] Error 1
_________________________________________________________________
MSN Messenger: instale grátis e converse com seus amigos.
http://messenger.msn.com.br
More information about the Mono-devel-list
mailing list