[Mono-dev] Error CS0589 - Compiling Mono from Git

Andres G. Aragoneses knocte at gmail.com
Sun Aug 12 22:29:30 UTC 2012


On 12/08/12 21:31, Gustavo Torrico Martinez wrote:
> Hi
> I was trying to compile mono from the source
> (https://github.com/roblillack/mono/tree/qnx-2-10-9) but i having
> problems, specifically the error CS0589 in the file driver.cs.
>
> MCS [basic] System.Core.dll
> System/TimeZoneInfo.cs(347,25): warning CS0162: Unreachable code detected
> Compilation succeeded - 1 warning(s)
> : -R ../../class/lib/basic/System.Core.dll ./../../class/mono.snk
> make[8]: Leaving directory
> `/home/gustavo/Documents/monoqnx/mcs/class/System.Core'
> make[7]: Leaving directory
> `/home/gustavo/Documents/monoqnx/mcs/class/System.Core'
> make[7]: Entering directory
> `/home/gustavo/Documents/monoqnx/mcs/class/aot-compiler'
> make all-local
> make[8]: Entering directory
> `/home/gustavo/Documents/monoqnx/mcs/class/aot-compiler'
> AOT [basic] mscorlib.dll.so <http://mscorlib.dll.so>
> AOT [basic] mcs.exe.so <http://mcs.exe.so>
> make[8]: Leaving directory
> `/home/gustavo/Documents/monoqnx/mcs/class/aot-compiler'
> make[7]: Leaving directory
> `/home/gustavo/Documents/monoqnx/mcs/class/aot-compiler'
> make all-local
> make[7]: Entering directory `/home/gustavo/Documents/monoqnx/mcs/class'
> make[7]: Leaving directory `/home/gustavo/Documents/monoqnx/mcs/class'
> make[6]: Leaving directory `/home/gustavo/Documents/monoqnx/mcs/class'
> make[6]: Entering directory `/home/gustavo/Documents/monoqnx/mcs/tools'
> make[7]: Entering directory
> `/home/gustavo/Documents/monoqnx/mcs/tools/gacutil'
> Creating ../../build/deps/basic_gacutil.exe.makefrag ...
> make[7]: Leaving directory
> `/home/gustavo/Documents/monoqnx/mcs/tools/gacutil'
> make[7]: Entering directory
> `/home/gustavo/Documents/monoqnx/mcs/tools/gacutil'
> make all-local
> make[8]: Entering directory
> `/home/gustavo/Documents/monoqnx/mcs/tools/gacutil'
> MCS [basic] gacutil.exe
> driver.cs(28,29): error CS0589: Internal compiler error during parsing
> ../security/StrongNameManager.cs(57,42): error CS0589: Internal compiler
> error during parsing
> Compilation failed: 2 error(s), 0 warnings
> make[8]: *** [../../class/lib/basic/gacutil.exe] Error 1

Seems like a bug in the mono compiler. What version of Mono does your 
system have? If it's too old, you should upgrade.




More information about the Mono-devel-list mailing list