[Mono-list] Error building corlib after Type.IsArrayImpl change was committed

Paolo Molaro lupus@ximian.com
Thu, 24 Jul 2003 11:55:12 +0200


On 07/24/03 Duncan Mak wrote:
> mcs    -g /nowarn:1595 /nowarn:0169 /nowarn:0109 /nowarn:0067 /nowarn:0649 /nowarn:0679 /noconfig /unsafe /nostdlib /target:library /out:../../class/lib/corlib.dll @../../build/deps/corlib.dll.response
> System/String.cs(112) error CS0225: params parameter has to be a single dimensional array
[...]
> Error set #2 (using http://primates.ximian.com/~duncan/tmp/corlib.dll)
> 
> make[2]: Entering directory `/home/duncan/Mono/mcs/class/corlib'
> mcs    -g /nowarn:1595 /nowarn:0169 /nowarn:0109 /nowarn:0067 /nowarn:0649 /nowarn:0679 /noconfig /unsafe /nostdlib /target:library /out:../../class/lib/corlib.dll @../../build/deps/corlib.dll.response
> System/String.cs(818) error CS0030: Cannot convert type 'string' to 'string'

Ravi forgot to commmit his mcs patch that was meant to be committed
together with some runtime change. I committed his patch to cvs a few
minutes ago. Since the issue involved both runtime and mcs changes,
the steps to follow to bootstrap are something like this:
cvs update the sources
compile and install corlib (with a pre-changes mcs/mono runtime)
compile and install mcs
compile and install the mono runtime
recompile corlib

(install above means: use the just compiled binary for the next steps,
not necessarily the make install procedure).

lupus

-- 
-----------------------------------------------------------------
lupus@debian.org                                     debian/rules
lupus@ximian.com                             Monkeys do it better