[Mono-list] mcs problem

ville vi64pa@koti.soon.fi
Sat, 2 Nov 2002 22:39:03 +0200


with current cvs version (both mcs and mono) I try to compile mcs and here is 
what I get:

/mcs/mcs/make -f makefile.gnu 

../jay/jay -ctv < ../jay/skeleton.cs cs-parser.jay > cs-parser.cs
../jay/jay: 2 rules never reduced
../jay/jay: 25 shift/reduce conflicts, 1 reduce/reduce conflict.
mcs /target:exe  -o mcs.exe 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 decl.cs delegate.cs enum.cs ecore.cs expression.cs 
genericparser.cs interface.cs literal.cs modifiers.cs namespace.cs 
parameter.cs pending.cs report.cs rootcontext.cs statement.cs support.cs 
typemanager.cs
Compilation succeeded


And then I try to run mcs.exe followint error appears:


mono mcs.exe

** (mcs.exe:6991): WARNING **: cant resolve internal call to 
"System.Type::get_property(System.Type,string,System.Type[])" (tested without 
signature also)

Your mono runtime and corlib are out of sync.
When you update one from cvs you need to update, compile and install
the other too.
Do not report this as a bug unless you're sure you have updated correctly:
you probably have a broken mono install.
If you see other errors or faults after this message they are probably related
and you need to fix your mono install first.

** (mcs.exe:6991): WARNING **: cant resolve internal call to 
"System.IO.MonoIO::Write(intptr,byte[],int,int)" (tested without signature 
also)

Your mono runtime and corlib are out of sync.
When you update one from cvs you need to update, compile and install
the other too.
Do not report this as a bug unless you're sure you have updated correctly:
you probably have a broken mono install.
If you see other errors or faults after this message they are probably related
and you need to fix your mono install first.

** (mcs.exe:6991): WARNING **: cant resolve internal call to 
"System.IO.MonoIO::Seek(intptr,long,System.IO.SeekOrigin)" (tested without 
signature also)

Your mono runtime and corlib are out of sync.
When you update one from cvs you need to update, compile and install
the other too.
Do not report this as a bug unless you're sure you have updated correctly:
you probably have a broken mono install.
If you see other errors or faults after this message they are probably related
and you need to fix your mono install first.

Unhandled Exception: System.NullReferenceException: Object reference not set 
to an instance of an object
in <0x00024> 06 System.IO.MonoIO:Seek (intptr,long,System.IO.SeekOrigin)
in <0x000c0> 00 System.IO.FileStream:FlushBuffer ()
in <0x00060> 00 System.IO.FileStream:Write (byte[],int,int)
in <0x001d8> 00 System.IO.StreamWriter:Write (char[],int,int)
in <0x000be> 00 System.IO.StreamWriter:Write (string)
in <0x00029> 00 Mono.CSharp.Report:RealError (string)
in <0x00040> 00 Mono.CSharp.Report:Error (int,string)
in <0x00401> 00 Mono.CSharp.Driver:MainDriver (string[])
in <0x0000b> 00 Mono.CSharp.Driver:Main (string[])

Can somebody explain me where the problem is?

ville