Re: Compiler Error
Jeroen Frijters <[email protected]>
| Newsgroups | gmane.comp.java.ikvm.devel |
|---|---|
| Message-ID | <[email protected]> |
Hi Neil, It is on my list to fix this for the 8.0 release, but for the time being you can get it working by rebuilding IKVM.Reflection from source with the MONO symbol defined and a reference to Mono.CompilerServices.SymbolWriter.dll. Regards, Jeroen From: Neil Cawse [mailto:[email protected]] Sent: Sunday, July 20, 2014 3:01 To: [email protected] Subject: [Ikvm-developers] Compiler Error We are trying to compile our c# project under mono on Linux and the error below happened. Would be nice if we could get this to work using mono - even if only the pdb debug symbols were generated. Neil IKVM.NET Compiler version 8.0.5268.0 Copyright (C) 2002-2014 Jeroen Frijters http://www.ikvm.net/ *** INTERNAL COMPILER ERROR *** PLEASE FILE A BUG REPORT FOR IKVM.NET WHEN YOU SEE THIS MESSAGE ikvmc, Version=8.0.5268.0, Culture=neutral, PublicKeyToken=null /usr/lib/mono/2.0 2.0.50727.1433 64-bit System.NotSupportedException: IKVM.Reflection must be compiled with MONO defined to support writing Mono debugging symbols. at IKVM.Reflection.Impl.SymbolSupport.CreateSymbolWriterFor (IKVM.Reflection.Emit.ModuleBuilder moduleBuilder) [0x00000] in <filename unknown>:0 at IKVM.Reflection.Emit.ModuleBuilder..ctor (IKVM.Reflection.Emit.AssemblyBuilder asm, System.String moduleName, System.String fileName, Boolean emitSymbolInfo) [0x00000] in <filename unknown>:0 at IKVM.Reflection.Emit.AssemblyBuilder.DefineDynamicModule (System.String name, System.String fileName, Boolean emitSymbolInfo) [0x00000] in <filename unknown>:0 at IKVM.Internal.CompilerClassLoader.CreateModuleBuilder () [0x00000] in <filename unknown>:0 at IKVM.Internal.DynamicClassLoader.Get (IKVM.Internal.ClassLoaderWrapper loader) [0x00000] in <filename unknown>:0 at IKVM.Internal.ClassLoaderWrapper.GetTypeWrapperFactory () [0x00000] in <filename unknown>:0 at IKVM.Internal.ClassLoaderWrapper.DefineClassCritical (IKVM.Internal.ClassFile f, System.Object protectionDomain) [0x00000] in <filename unknown>:0 at IKVM.Internal.ClassLoaderWrapper.DefineClass (IKVM.Internal.ClassFile f, System.Object protectionDomain) [0x00000] in <filename unknown>:0 at IKVM.Internal.CompilerClassLoader.GetTypeWrapperCompilerHook (System.String name) [0x00000] in <filename unknown>:0 at IKVM.Internal.CompilerClassLoader.LoadClassImpl (System.String name, Boolean throwClassNotFoundException) [0x00000] in <filename unknown>:0 at IKVM.Internal.ClassLoaderWrapper.LoadClassByDottedNameFastImpl (System.String name, Boolean throwClassNotFoundException) [0x00000] in <filename unknown>:0 at IKVM.Internal.ClassLoaderWrapper.LoadClassByDottedNameFast (System.String name) [0x00000] in <filename unknown>:0 at IKVM.Internal.CompilerClassLoader.CompilePass1 () [0x00000] in <filename unknown>:0 at IKVM.Internal.CompilerClassLoader.Compile (System.String runtimeAssembly, System.Collections.Generic.List`1 optionsList) [0x00000] in <filename unknown>:0 at IkvmcCompiler.Compile (System.String[] args) [0x00000] in <filename unknown>:0 at IkvmcCompiler.Main (System.String[] args) [0x00000] in <filename unknown>:0 ------------------------------------------------------------------------------ Want fast and easy access to all the code in your enterprise? Index and search up to 200,000 lines of code with a free copy of Black Duck Code Sight - the same software that powers the world's largest code search on Ohloh, the Black Duck Open Hub! Try it now. http://p.sf.net/sfu/bds _______________________________________________ Ikvm-developers mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/ikvm-developers