[Mono-list] Compiling mcs

Duncan Mak duncan@ximian.com
Fri, 15 Aug 2003 18:45:11 -0400


On Fri, 2003-08-15 at 18:19, Giuseppe Greco wrote:
> Hi all,
> 
> I've checked out the latest version of mcs from CVS, and
> when trying to compile it, I always get the following
> error message:
> 
> support.cs(301) error CS0117: `System.IO.StreamReader' does not contain
> a definition for `DiscardBufferedData'
> 

This error has been reported repeatedly to the mailing list a week ago.
The solution to fix this build problem in the compiler is to build the
corlib assembly before building the mcs compiler. Run make in
'mcs/class/corlib' before make in 'mcs/mcs'.

You can also use a release tarball (mono-0.26.tar.gz), a release package
(available on http://www.go-mono.com/download.html as well as Red
Carpet) or a daily snapshot tarball (from http://www.go-mono.com/daily)
and they would also work, as they contain pre-built assemblies, which
include corlib.dll. A copy of corlib.dll built within the last 10 days
or so should have this new DiscardBufferedData method defined.

Duncan.