[mono-vb] Problems compiling on Windows

Andy Hume andyhume32 at yahoo.co.uk
Mon Nov 5 12:35:45 EST 2007


Rolf

I'm looking forward to trying your mono-basic fixes.  I'm please that they will make 1.2.6. :-)

However compiling on Windows currently fails for me (at r88886, and before) -- but curiously I see no problem on Linux.  I've even deleted my tree and started again but stil the same problem, see the error below.  Any ideas?

Andy


make[3]: Leaving directory `/usr/src/mono/mono-basic/vbnc/vbnc/tests'
make all-local
make[3]: Entering directory `/usr/src/mono/mono-basic/vbnc/vbnc'
MONO_PATH="../../class/lib/bootstrap;$MONO_PATH" mono  --debug  ../../class/lib/bootstrap/vbnc.exe @vbnc.exe.rsp    /debug+ /debug:full -target:exe -out:vbnc.exe   @../../build/deps/vbnc.exe.response
Visual Basic.Net Compiler version 0.0.0.5815
Copyright (C) 2004-2007 Rolf Bjarne Kvinge. All rights reserved.


Error : VBNC99999: Unexpected error: Object reference not set to an instance ofan object
  at vbnc.Emitter.EmitCallOrCallVirt (vbnc.EmitInfo Info, System.Reflection.MethodInfo Method) [0x00000] in /mono/head/mono-basic/vbnc/vbnc/source/Emit/Emitter.vb:1071
  at vbnc.Helper.EmitStoreArrayElement (vbnc.EmitInfo Info, vbnc.Expression ArrayVariable, vbnc.ArgumentList Arguments) [0x000c2] in /mono/head/mono-basic/vbnc/vbnc/source/General/Helper.vb:1334
  at vbnc.VariableClassification.GenerateCode (vbnc.EmitInfo Info) [0x00485] in /mono/head/mono-basic/vbnc/vbnc/source/Expressions/Classifications/VariableClassification.vb:312
  at vbnc.AssignmentStatement.GenerateCode (vbnc.EmitInfo Info) [0x0000f] in /mono/head/mono-basic/vbnc/vbnc/source/Statements/AssignStatements/AssignmentStatement.vb:73
  at vbnc.CodeBlock.GenerateCode (vbnc.EmitInfo Info) [0x000c6] in /mono/head/mono-basic/vbnc/vbnc/source/Code/CodeBlock.vb:546
  at vbnc.ForStatement.GenerateCodeInternal (vbnc.EmitInfo Info) [0x002d0] in /mono/head/mono-basic/vbnc/vbnc/source/Statements/ForStatement.vb:320
  at vbnc.ForStatement.GenerateCode (vbnc.EmitInfo Info) [0x00002] in /mono/head/mono-basic/vbnc/vbnc/source/Statements/ForStatement.vb:412
  at vbnc.CodeBlock.GenerateCode (vbnc.EmitInfo Info) [0x000c6] in /mono/head/mono-basic/vbnc/vbnc/source/Code/CodeBlock.vb:546
  at vbnc.ForStatement.GenerateCodeInternal (vbnc.EmitInfo Info) [0x002d0] in /mono/head/mono-basic/vbnc/vbnc/source/Statements/ForStatement.vb:320
  at vbnc.ForStatement.GenerateCode (vbnc.EmitInfo Info) [0x00002] in /mono/head/mono-basic/vbnc/vbnc/source/Statements/ForStatement.vb:412
  at vbnc.CodeBlock.GenerateCode (vbnc.EmitInfo Info) [0x000c6] in /mono/head/mono-basic/vbnc/vbnc/source/Code/CodeBlock.vb:546
  at vbnc.CodeBlock.GenerateCode (IMethod Method) [0x00044] in /mono/head/mono-basic/vbnc/vbnc/source/Code/CodeBlock.vb:469
  at vbnc.MethodBaseDeclaration.GenerateCode (vbnc.EmitInfo Info) [0x00090] in /mono/head/mono-basic/vbnc/vbnc/source/General/MethodBaseDeclaration.vb:255
  at vbnc.ConstructorDeclaration.GenerateCode (vbnc.EmitInfo Info) [0x0023f] in/mono/head/mono-basic/vbnc/vbnc/source/Members/ConstructorDeclaration.vb:296
  at vbnc.Helper.GenerateCodeCollection (IEnumerable Collection, vbnc.EmitInfo Info) [0x00025] in /mono/head/mono-basic/vbnc/vbnc/source/General/Helper.vb:2364
  at vbnc.BaseObjects`1[vbnc.IMember].GenerateCode (vbnc.EmitInfo ) [0x00000] in /mono/head/mono-basic/vbnc/vbnc/source/General/BaseObjects`1.vb:74
  at vbnc.AssemblyDeclaration.Emit (vbnc.TypeDeclaration Type) [0x0001c] in /mono/head/mono-basic/vbnc/vbnc/source/TypeDeclarations/AssemblyDeclaration.vb:170
  at vbnc.AssemblyDeclaration.Emit () [0x00043] in /mono/head/mono-basic/vbnc/vbnc/source/TypeDeclarations/AssemblyDeclaration.vb:516
  at vbnc.Compiler.Compile () [0x00399] in /mono/head/mono-basic/vbnc/vbnc/source/General/Compiler.vb:589
Compilation took 00:00:32.2350000
make[3]: *** [../../class/lib/vbnc/vbnc.exe] Error 255
make[3]: Leaving directory `/usr/src/mono/mono-basic/vbnc/vbnc'
make[2]: *** [do-all] Error 2
make[2]: Leaving directory `/usr/src/mono/mono-basic/vbnc/vbnc'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/usr/src/mono/mono-basic/vbnc'
make: *** [all-recursive] Error 1



More information about the Mono-vb mailing list