Re: [Ikvm-developers] Link Error: cli.System.Collections.IEnumerator not found
Brought to you by:
jfrijters
|
From: Jeroen F. <je...@su...> - 2007-09-10 05:05:32
|
M. David Peterson wrote: > Ran into the following when attempting to compile Saxon against the > 0.36.0.0 bits using System.jar, System.Xml.jar, and mscorlib.jar > generated with the ikvmstub.exe contained in the same release, > > [exec] Warning IKVMC0100: class > "cli.System.Collections.IEnumerator" not found A while ago, ikvmc was changed to no longer implicitly reference mscorlib, = so you need to add a -r:mscorlib to your build file. > Also worth mentioning: When attempting to stub IKVM.Runtime.dll I ran > into an Zip error (can't remember the exact error at the moment) > suggesting there was nothing to zip into the jar file. For various (mostly security) reasons, the types in IKVM.Runtime.dll are ba= nned from being visible in Java, so running ikvmstub on it produces no stub= s. For some reason Sun's ZipOutputStream doesn't like to create empty zip f= iles. I'll improve the error handling. > Also worth mentioning: ikvmstub is completely and utterly broken on > Mono. ;-) I'll make a proper report to the Mono Bugzilla, but wanted > to give you a quick heads up. What version of Mono are you using? I didn't have any problems with 1.2.5. Regards, Jeroen |