[Mono-devel-list] Re: Patch: 100% working mono under FreeBSD (small nit)

Bill Middleton flashdict at gmail.com
Tue Apr 12 02:53:20 EDT 2005


On Apr 12, 2005 12:32 AM, Miguel de Icaza <miguel at ximian.com> wrote:

> Preview=yes will become the new default.

Ah.  Thanks for the clarification.  I guess the logic will have to be
reversed in that test.

And speaking of PREVIEW, I've been getting some strange errors lately
when building the 2.0 classes with gmcs, and I thought I'd ask if
anyone else is having the same sort of difficulties.

It occurs mostly when building the I18N classes, both under windows
and freebsd.  It does not, however, occur every time under freebsd. 
But under windows, I currently cannot build I18N.dll at all within an
ordinary make.

>error CS0016: Could not write to file
`../../../class/lib/net_2_0/I18N.dll', cause: Sharing violation on
path ../../../class/lib/net_2_0\I18N.dll
Compilation failed: 1 error(s), 0 warnings

Under freebsd, where i use compile-time-errors, the errors look like
the one below.  It feels like it might be related to the parser.  Any
ideas?

Bill

MONO_PATH="../../../class/lib/net_2_0:$MONO_PATH"
/home/wjm/src/mono/runtime/mono-wrapper ../../../gmcs/gmcs.exe
/r:mscorlib.dll /r:I18N.dll  -d:NET_1_1 -d:NET_2_0
-debug /noconfig  /target:library
/out:../../../class/lib/net_2_0/I18N.dll  @I18N.dll.sources
error CS0666: Compilation aborted: System.IO.IOException: Invalid
handle to path "CP1256.cs"
in <0x00085> System.IO.FileStream:ReadData (IntPtr handle,
System.Byte[] buf, Int32 offset, Int32 count)
in (wrapper remoting-invoke-with-check) System.IO.FileStream:ReadData
(intptr,byte[],int,int)
in <0x0002c> System.IO.FileStream:RefillBuffer ()
in (wrapper remoting-invoke-with-check) System.IO.FileStream:RefillBuffer ()
in <0x000ac> System.IO.FileStream:ReadInternal (System.Byte[] dest,
Int32 dest_offset, Int32 count)
in (wrapper remoting-invoke-with-check)
System.IO.FileStream:ReadInternal (byte[],int,int)
in <0x000af> System.IO.FileStream:Read (System.Byte[] dest, Int32
dest_offset, Int32 count)
in <0x00039> System.IO.StreamReader:ReadBuffer ()
in (wrapper remoting-invoke-with-check) System.IO.StreamReader:ReadBuffer ()
in <0x0006c> System.IO.StreamReader:Read (System.Char[] dest_buffer,
Int32 index,
Int32 count)
in <0x0002f> Mono.CSharp.SeekableStreamReader:ReadBuffer ()
in <0x0001f> Mono.CSharp.SeekableStreamReader:Read ()
in <0x0010b> Mono.CSharp.Tokenizer:consume_identifier (Int32 s, Boolean quoted)
in <0x00044> Mono.CSharp.Tokenizer:consume_identifier (Int32 s)
in <0x0006f> Mono.CSharp.Tokenizer:xtoken ()
in <0x00019> Mono.CSharp.Tokenizer:token ()
in <0x002cc> Mono.CSharp.CSharpParser:yyparse (yyInput yyLex)
in <0x00054> Mono.CSharp.CSharpParser:parse ()
in <0x0010e> Mono.CSharp.Driver:parse (Mono.CSharp.SourceFile file)

aborting...
Abort trap (core dumped)



More information about the Mono-devel-list mailing list