[Mono-devel-list] Error compling System.XML from HEAD

Atsushi Eno atsushi at ximian.com
Thu Mar 3 23:14:04 EST 2005


Hi Daniel,

It is classic and weird MS bug which had been there since at least
about one year ago.

Daniel Morgan wrote:
> I get an internal compiler error CS0583 when building System.Xml.dll 
> from HEAD.
> I also got some "library.make:277: no file name for `-include'"
> And a Warning that looks like an error to me: "Warning: System.dll built 
> without parts that depend on: System.Xml.dll"

It is nothing to do with this problem. This message is shown for
first System.dll build (which is followed by the second full build
with System.Xml.dll dependent part).


> error CS0583: Internal Compiler Error (0xc0000005 at address 791CF96D): 
> likely
>        culprit is 'BEGIN'.
>        An internal error has occurred in the compiler. To work around this
>        problem, try simplifying or changing the program near the locations
>        listed below. Locations at the top of the list are closer to the 
> point
>        at which the internal error occurred.
>        error CS0587: Internal Compiler Error: stage 'BEGIN'

There are some people who had seen that error message on the web (and
MS mailing lists. Sadly no answers though). It is kind of build error
that everyone cannot reproduce.

One of them below "might" solve the situation:

	- try removing *.pdb debug symbols from everywhere related
	  in mcs/class (mcs/class/lib/default/ etc).
	- try "make clean" in mcs
	- try make under mcs, instead of make under mono

If the problem was not still solved, you can workaround by doing
"make MCS=mcs" in mcs.

Atsushi Eno



More information about the Mono-devel-list mailing list