[Mono-dev] problem compiling on cygwin.

Lucas Meijer lucas at lucasmeijer.com
Fri Nov 28 12:18:43 EST 2008


Hey,

I'm compiling mono on windows in sygwin.
After a few bumps on the road that google and the mono-devel archive took
care of, I'm now running into this one:

<snip>

make[7]: Entering directory `/usr/src/mono/mcs/build'
make[7]: Leaving directory `/usr/src/mono/mcs/build'
make[6]: Leaving directory `/usr/src/mono/mcs/build'
make[6]: Entering directory `/usr/src/mono/mcs/jay'
make all-local
make[7]: Entering directory `/usr/src/mono/mcs/jay'
make[7]: Nothing to be done for `all-local'.
make[7]: Leaving directory `/usr/src/mono/mcs/jay'
make[6]: Leaving directory `/usr/src/mono/mcs/jay'
make[6]: Entering directory `/usr/src/mono/mcs/mcs'
make all-local
make[7]: Entering directory `/usr/src/mono/mcs/mcs'
MCS     [basic] mcs.exe

Unhandled Exception: System.ArgumentException: Illegal enum value: 2051.
Parameter name: access
   at System.AppDomain.InternalDefineDynamicAssembly(AssemblyName name,
Assembly
BuilderAccess access, String dir, Evidence evidence, PermissionSet
requiredPermi
ssions, PermissionSet optionalPermissions, PermissionSet refusedPermissions,
Sta
ckCrawlMark& stackMark, IEnumerable`1 unsafeAssemblyAttributes)
   at System.AppDomain.DefineDynamicAssembly(AssemblyName name,
AssemblyBuilderA
ccess access, String dir)
   at Mono.CSharp.CodeGen.Init(String name, String output, Boolean
want_debuggin
g_support)
   at Mono.CSharp.Driver.Compile()
   at Mono.CSharp.Driver.Main(String[] args)
make[7]: *** [../class/lib/basic/mcs.exe] Error 77
make[7]: Leaving directory `/usr/src/mono/mcs/mcs'
make[6]: *** [do-all] Error 2
make[6]: Leaving directory `/usr/src/mono/mcs/mcs'
make[5]: *** [all-recursive] Error 1

</snip>

Does this ring a bell for anybody?

When I do a "which mcs" I get:
/cygdrive/h/Program\ Files/Mono-2.0/bin/mcs
which seems okay to me.

Bye, Lucas
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.ximian.com/pipermail/mono-devel-list/attachments/20081128/47ecaa24/attachment.html 


More information about the Mono-devel-list mailing list