[Mono-list] building mcs fails on cygwin

Urs Muff umuff@quark.com
Thu, 6 Feb 2003 09:37:25 -0700


I got the stable version of mono.19 and mcs and mono are working properly as
far as I can tell.

When I try to use 'make' which is using the native csc compiler I get the
following error:

[umuff@UMuff-NT ...class/corlib]$ nant
Buildfile: c:\CVS-Repositories\go-mono.com\mcs\class\corlib\corlib.build

build:
      [csc] Compiling 818 files to
c:\CVS-Repositories\go-mono.com\mcs\class\lib\corlib.dll
fatal error CS2011: Unable to open response file 'c:\Documents'
BUILD FAILED
c:\CVS-Repositories\go-mono.com\mcs\class\corlib\corlib.build:-1: Program
error, see build log for details.
Program error, see build log for details.
Try `nant -help' for more information.


It looks like there is a problem is long file names and \ vs. / and spacing
in names.  Anybody else has similar problems using csc in the cygwin
environment?


Trying to use the working mcs compiler in the mono environment using the gnu
build gives me the following error:

[umuff@UMuff-NT ...class/corlib]$ make -f makefile.gnu
MONO_PATH= mcs --target library --noconfig -o ../../class/lib/corlib.dll
--unsafe --nostdlib @.response
error CS0122: `System.FormatSection[]' is inaccessible because of its
protection level
error CS0122: `Slot[]' is inaccessible because of its protection level
error CS0122: `Slot[]' is inaccessible because of its protection level
error CS0122: `Slot[]' is inaccessible because of its protection level
error CS0122: `System.Reflection.Emit.MonoResource[]' is inaccessible
because of its protection level
error CS0122: `System.Reflection.Emit.ILExceptionBlock[]' is inaccessible
because of its protection level
error CS0122: `System.Reflection.Emit.ILExceptionInfo[]' is inaccessible
because of its protection level
error CS0122: `System.Reflection.Emit.ILTokenInfo[]' is inaccessible because
of its protection level
error CS0122: `LabelFixup[]' is inaccessible because of its protection level
error CS0122: `System.Security.Cryptography.BigInteger[]' is inaccessible
because of its protection level
error CS0122: `System.Security.Cryptography.BigInteger[]' is inaccessible
because of its protection level
Compilation failed: 11 error(s), 0 warnings
make: *** [../../class/lib/corlib.dll] Error 1

- URS C. MUFF
SYSTEMS ARCHITECT   	- RESEARCH LAB