[Mono-list] class libs building..

Ravi Pratap M ravi@ximian.com
Fri, 4 Jan 2002 15:33:30 +0530


Hi guys,

    I just got down to building the class libraries for the first time ever
and I find that the build is somewhat broken :

[ravi@raj] $ pwd
/home/ravi/mcs/class
[ravi@raj] $ make windows
../nant/NAnt.exe windows
Buildfile: C:\cygwin\home\ravi\mcs\class\library.build

windows:
     [nant] C:\cygwin\home\ravi\mcs\class\corlib\corlib.build windows
            Buildfile: C:\cygwin\home\ravi\mcs\class\corlib\corlib.build

            windows:
                  [csc] Compiling 423 files to
C:\cygwin\home\ravi\mcs\class\lib\corlib.dll
C:\cygwin\home\ravi\mcs\class\corlib\System\Console.cs(58,27): error CS0117:
'System.PAL.OpSys' does not contain a definition for 'StderrHandle'
C:\cygwin\home\ravi\mcs\class\corlib\System\Console.cs(70,27): error CS0117:
'System.PAL.OpSys' does not contain a definition for 'StdinHandle'
C:\cygwin\home\ravi\mcs\class\corlib\System\Console.cs(82,27): error CS0117:
'System.PAL.OpSys' does not contain a definition for 'StdoutHandle'
C:\cygwin\home\ravi\mcs\class\corlib\System.IO\CheckPermission.cs(59,4):
warning CS0162: Unreachable code detected


            BUILD FAILED
            C:\cygwin\home\ravi\mcs\class\corlib\corlib.build:-1: Program
error, see build log for details.
            Program error, see build log for details.

BUILD FAILED
Nested build failed - refer to build log for exact reason.
Try `NAnt.exe -help' for more information.
make: *** [windows] Error 1


    Does anybody know if it's something that needs to be fixed or purely a
result of my ignorance ?

    I am very new to building the class libraries so please do let me know
how else one should go about this.

    Regards,

                Ravi