[Mono-list] Compile Errors

Abe Gillespie abe.gillespie at gmail.com
Fri Oct 5 15:12:16 EDT 2007


I'm on CentOS, 'uname -a' gives:

Linux 2.6.9-023stab043.1-enterprise #1 SMP Mon Mar 5 16:58:09 MSK 2007
i686 i686 i386 GNU/Linux

I'm compiling the latest source (1.2.5.1) and am getting the following
error.  Thanks for any help!
-Abe

System.Windows.Forms.RTF/RTF.cs(262,30): warning CS0652: A comparison
between a constant and a variable is useless. The constant is out of
the range of the variable type `char'
Stacktrace:

  at (wrapper managed-to-native)
System.Object.__icall_wrapper_mono_object_new_fast (intptr) <0x00004>
  at (wrapper managed-to-native)
System.Object.__icall_wrapper_mono_object_new_fast (intptr)
<0xffffffff>
  at Mono.CSharp.Expression.ExprClassFromMemberInfo
(System.Type,System.Reflection.MemberInfo,Mono.CSharp.Location)
<0x00107>
  at Mono.CSharp.Expression.MemberLookup
(System.Type,System.Type,System.Type,string,System.Reflection.MemberTypes,System.Reflection.BindingFlags,Mono.CSharp.Location)
<0x00543>
  at Mono.CSharp.Expression.MemberLookup
(System.Type,System.Type,System.Type,string,Mono.CSharp.Location)
<0x0001d>
  at Mono.CSharp.MemberAccess.DoResolve
(Mono.CSharp.EmitContext,Mono.CSharp.Expression) <0x00240>
  at Mono.CSharp.MemberAccess.DoResolve (Mono.CSharp.EmitContext) <0x0000f>
  at Mono.CSharp.Expression.Resolve
(Mono.CSharp.EmitContext,Mono.CSharp.ResolveFlags) <0x0012d>
  at Mono.CSharp.Expression.Resolve (Mono.CSharp.EmitContext) <0x00012>
  at Mono.CSharp.ElementAccess.CommonResolve (Mono.CSharp.EmitContext) <0x00024>
  at Mono.CSharp.ElementAccess.DoResolve (Mono.CSharp.EmitContext) <0x00015>
  at Mono.CSharp.Expression.Resolve
(Mono.CSharp.EmitContext,Mono.CSharp.ResolveFlags) <0x0012d>
  at Mono.CSharp.Expression.Resolve (Mono.CSharp.EmitContext) <0x00012>
  at Mono.CSharp.Return.DoResolve (Mono.CSharp.EmitContext) <0x00173>
  at Mono.CSharp.Return.Resolve (Mono.CSharp.EmitContext) <0x00015>
  at Mono.CSharp.If.Resolve (Mono.CSharp.EmitContext) <0x001e6>
  at Mono.CSharp.Block.Resolve (Mono.CSharp.EmitContext) <0x001cd>
  at Mono.CSharp.Switch.Resolve (Mono.CSharp.EmitContext) <0x00300>
  at Mono.CSharp.Block.Resolve (Mono.CSharp.EmitContext) <0x001cd>
  at Mono.CSharp.For.Resolve (Mono.CSharp.EmitContext) <0x001a0>
  at Mono.CSharp.Block.Resolve (Mono.CSharp.EmitContext) <0x001cd>
  at Mono.CSharp.Block.Resolve (Mono.CSharp.EmitContext) <0x001cd>
  at Mono.CSharp.EmitContext.ResolveTopBlock
(Mono.CSharp.EmitContext,Mono.CSharp.ToplevelBlock,Mono.CSharp.Parameters,Mono.CSharp.IMethodData,bool&)
<0x00163>
  at Mono.CSharp.EmitContext.EmitTopBlock
(Mono.CSharp.IMethodData,Mono.CSharp.ToplevelBlock) <0x00047>
  at Mono.CSharp.MethodData.Emit (Mono.CSharp.DeclSpace) <0x0014c>
  at Mono.CSharp.AbstractPropertyEventMethod.EmitMethod
(Mono.CSharp.DeclSpace) <0x00013>
  at Mono.CSharp.AbstractPropertyEventMethod.Emit
(Mono.CSharp.DeclSpace) <0x00027>
  at Mono.CSharp.PropertyBase.Emit () <0x00048>
  at Mono.CSharp.TypeContainer.EmitType () <0x003d9>
  at Mono.CSharp.RootContext.EmitCode () <0x0007e>
  at Mono.CSharp.Driver.MainDriver (string[]) <0x00962>
  at Mono.CSharp.Driver.Main (string[]) <0x00055>
  at (wrapper runtime-invoke)
Mono.CSharp.Driver.runtime_invoke_int_string[]
(object,intptr,intptr,intptr) <0xffffffff>

Native stacktrace:

make[8]: *** [../../class/lib/default/System.Windows.Forms.dll] Terminated
make[8]: Leaving directory
`/usr/local/src/mono/1.2.5/mono-1.2.5.1/mcs/class/Managed.Windows.Forms'
make[7]: *** [do-all] Error 2
make[7]: Leaving directory
`/usr/local/src/mono/1.2.5/mono-1.2.5.1/mcs/class/Managed.Windows.Forms'
make[6]: *** [all-recursive] Error 1
make[6]: Leaving directory `/usr/local/src/mono/1.2.5/mono-1.2.5.1/mcs/class'
make[5]: *** [all-recursive] Error 1
make[5]: Leaving directory `/usr/local/src/mono/1.2.5/mono-1.2.5.1/mcs'
make[4]: *** [profile-do--default--all] Error 2
make[4]: Leaving directory `/usr/local/src/mono/1.2.5/mono-1.2.5.1/mcs'
make[3]: *** [profiles-do--all] Error 2
make[3]: Leaving directory `/usr/local/src/mono/1.2.5/mono-1.2.5.1/mcs'
make[2]: *** [all-local] Error 2
make[2]: Leaving directory `/usr/local/src/mono/1.2.5/mono-1.2.5.1/runtime'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/usr/local/src/mono/1.2.5/mono-1.2.5.1'
make: *** [all] Error 2


More information about the Mono-list mailing list