[Mono-devel-list] System.NullReferenceException during MCS build

Sebastian Bergmann lists at sebastian-bergmann.de
Sun Jun 22 03:10:42 EDT 2003


  1.) I downloaded

        http://www.go-mono.com/archive/mono-0.24.tar.gz

      and installed it to

        /usr/local/mono

      and added

        /usr/local/mono/bin

      to $PATH.

  2.) I checked out the current CVS version of mono and installed it to

        /usr/local/mono

  3.) I checked out the current CVS version of mcs and during the build
      I get this:

mcs /target:exe  -o mcs.exe AssemblyInfo.cs anonymous.cs assign.cs
attribute.cs driver.cs cs-parser.cs cs-tokenizer.cs tree.cs location.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 modifiers.cs namespace.cs parameter.cs pending.cs
report.cs rootcontext.cs statement.cs support.cs typemanager.cs
symbolwriter.cs

Unhandled Exception: System.NullReferenceException: A null value was found
where an object instance was required
in (unmanaged) 06 System.Reflection.Emit.ModuleBuilder:basic_init
(System.Reflection.Emit.ModuleBuilder)
in <0x00004> 06 System.Reflection.Emit.ModuleBuilder:basic_init
(System.Reflection.Emit.ModuleBuilder)
in <0x0013a> 00 System.Reflection.Emit.ModuleBuilder:.ctor
(System.Reflection.Emit.AssemblyBuilder,string,string,bool,bool)
in <0x0004c> 00 System.Reflection.Emit.AssemblyBuilder:DefineDynamicModule
(string,string,bool)
in <0x000d0> 00 Mono.CSharp.CodeGen:Init (string,string,bool)
in <0x006f2> 00 Mono.CSharp.Driver:MainDriver (string[])
in <0x0001d> 00 Mono.CSharp.Driver:Main (string[])

  Any hint on how to resolve this would be appreciated, thanks,
Sebastian

-- 
  Sebastian Bergmann
  http://sebastian-bergmann.de/                 http://phpOpenTracker.de/

         http://www.professionelle-softwareentwicklung-mit-php5.de/



More information about the Mono-devel-list mailing list