[Mono-docs-list] monodoc compilation: assembler.exe on ecma334 fails

Miguel de Icaza miguel@ximian.com
04 Oct 2003 16:11:54 -0400


Hello,

> compiling the latest version of monodoc results in a strange error
> when the makefile runs the assembler.exe on the ecma specs:
> =====
> mono --debug ../browser/assembler.exe --ecmaspec ./../ecma334 -o ecma334
> 
> ** (../browser/assembler.exe:3770): WARNING **: Missing method .ctor in
> assembly ../browser/assembler.exe typeref index 11
> 
> Unhandled Exception: System.NullReferenceException: A null value was
> found where an object instance was required
> =====

Oops, that means that for some reason the binary you are using is old. 
Try goind a make clean.

> 
> I have no problems compiling mono, mcs and gtk-sharp from CVS though...
> Am i missing something? assembler.exe compiles fine, only when it is
> used to process the ecma334 it fails with this "missing constructor"
> message.
> 
> The weird thing is: it fails _before_ the Main in assembler.cs is
> executed (I put a Console.WriteLine as the first instruction in Main,
> but it never gets written), so maybe it is a problem with a linked
> library?
> 
> Thanks,
> Kris
-- 
Miguel de Icaza <miguel@ximian.com>