[Mono-devel-list] Can't build corlib from CVS

Bernie Solomon bernard at ugsolutions.com
Wed Apr 7 13:57:32 EDT 2004


This change is wrong if you are not building the 1.2 profile because it
changes
offsets of fields that are known by the runtime (which don't appear
to be verified by the runtime in particular permissions in MethodBuilder
and TypeBuilder ...). I have just checked in a fix which defines a dummy
field
when building for < 1.2 so that other fields have consistent offsets
with the runtime. Maybe this should be done differently but at
least things work like this ....

Bernie Solomon

----- Original Message ----- 
From: "Nick D" <ndrochak at gol.com>
To: "'Jean-Marc André'" <jeanmarc.andre at cpe.fr>; "'Mono-Devel-List'"
<mono-devel-list at lists.ximian.com>
Sent: Wednesday, April 07, 2004 4:52 AM
Subject: RE: [Mono-devel-list] Can't build corlib from CVS


>| -----Original Message-----
>| From: mono-devel-list-admin at lists.ximian.com [mailto:mono-devel-list-
>| admin at lists.ximian.com] On Behalf Of Jean-Marc André
>| Sent: Wednesday, April 07, 2004 7:11 PM
>| To: Mono-Devel-List
>| Subject: [Mono-devel-list] Can't build corlib from CVS
>|
>| Hi,
>|
>| Can't build corlib from CVS. I've got the following message:
>|
>| System.Reflection.Emit/MethodBuilder.cs(41) error CS0246: Cannot find
>| type `GenericTypeParameterBuilder'
>| System.Reflection.Emit/TypeBuilder.cs(44) error CS0246: Cannot find type
>| `GenericTypeParameterBuilder'
>| Compilation failed: 2 error(s), 0 warnings
>|
>| GenericTypeParameterBuilder exists but the class is inserted between
>| #if NET_1_2 #endif.

I fixed the build just now.  Upate from CVS and it should build now.

Nick D

_______________________________________________
Mono-devel-list mailing list
Mono-devel-list at lists.ximian.com
http://lists.ximian.com/mailman/listinfo/mono-devel-list




More information about the Mono-devel-list mailing list