Re: [Ikvm-developers] ikvm.runtime(cvs-2008-6-16)-build error(using GNU Classpath)
Brought to you by:
jfrijters
|
From: Jeroen F. <je...@su...> - 2008-06-19 11:27:46
|
I'm afraid that building with GNU Classpath is no longer something I'm willing to maintain and I'll be removing the GNU Classpath specific code and build infrastructure soon.
Regards,
Jeroen
> -----Original Message-----
> From: ikv...@li... [mailto:ikvm-
> dev...@li...] On Behalf Of Hwang
> YunSong(???)
> Sent: Thursday, June 19, 2008 13:12
> To: ikvm-developers
> Subject: [Ikvm-developers] ikvm.runtime(cvs-2008-6-16)-build
> error(using GNU Classpath)
>
>
>
> IKVM.Runtime.JNI:
>
> [csc] Compiling 2 files to
> '/home/hys545/ikvm/runtime/IKVM.Runtime.JNI.dll'.
> [copy] Copying 1 file to '/home/hys545/ikvm/bin'.
> [csc] Compiling 24 files to
> '/home/hys545/ikvm/runtime/IKVM.Runtime.dll'.
> [csc] /home/hys545/ikvm/runtime/ByteCodeHelper.cs(258,136): error
> CS0122: `ikvm.internal.CallerID.create(System.Reflection.MethodBase)'
> is inaccessible due to its protection level
> [csc] /home/hys545/ikvm/bin/IKVM.GNU.Classpath.dll (Location of
> the symbol related to previous error)
> [csc] /home/hys545/ikvm/runtime/ByteCodeHelper.cs(266,135): error
> CS0122: `ikvm.internal.CallerID.create(System.Reflection.MethodBase)'
> is inaccessible due to its protection level
> [csc] /home/hys545/ikvm/bin/IKVM.GNU.Classpath.dll (Location of
> the symbol related to previous error)
> [csc] /home/hys545/ikvm/runtime/ByteCodeHelper.cs(274,183): error
> CS0122: `ikvm.internal.CallerID.create(System.Reflection.MethodBase)'
> is inaccessible due to its protection level
> [csc] /home/hys545/ikvm/bin/IKVM.GNU.Classpath.dll (Location of
> the symbol related to previous error)
> [csc] Compilation failed: 3 error(s), 0 warnings
>
> BUILD FAILED - 0 non-fatal error(s), 6 warning(s)
>
> /home/hys545/ikvm/runtime/runtime.build(52,10):
> External Program Failed: /usr/lib/mono/2.0/gmcs.exe (return code was 1)
>
> Total time: 5.7 seconds.
>
> I fixed classpath/ikvm/internal/CallerID.java
>
> 62c62
> < //@ikvm.lang.Internal
> ---
> > @ikvm.lang.Internal
> 68c68
> < // @ikvm.lang.Internal
> ---
> > @ikvm.lang.Internal
>
>
> //@ikvm.lang.Internal
> public static CallerID create(cli.System.Diagnostics.StackFrame
> frame)
> {
> return create(frame.GetMethod());
> }
>
> // @ikvm.lang.Internal
> public static CallerID create(final
> cli.System.Reflection.MethodBase method)
> {
> return new CallerID() {
> Class GetClass() {
> if (method == null) {
> // this happens if a native thread attaches and calls back into
> Java
> return null;
> }
> Type type = method.get_DeclaringType();
> if (type == null) {
> // TODO we probably should return a class corresponding to
> throw new InternalError();
> }
> return
> ikvm.runtime.Util.getClassFromTypeHandle(type.get_TypeHandle());
> }
> ClassLoader GetClassLoader() {
> if (method == null) {
> // this happens if a native thread attaches and calls back into
> Java
> return null;
> }
> Assembly asm = method.get_Module().get_Assembly();
> return GetAssemblyClassLoader(asm);
> }
> };
> }
>
>
>
>
>
> <http://www.dreamwiz.com/> http://www.dreamwiz.com/
> <http://i.dreamwiz.com/dw/ko/n.gif>
>
> <http://ebiz.dreamwiz.com/BIN/pl.cgi?page=dwmail_cpsbn&sub=cpsbn1&save=
> 100&http://p-honey.dreamwiz.com/shop/product_view.asp?pid=365>
> <http://mailchk.dreamwiz.com/cgi-
> bin/receive_check.cgi?sen...@dr...&msgid=%3C2008061911113
> 4.0...@ma...%3E&receiver=ikvm-
> dev...@li...&key=7196335dce7bdc3ed4bcee55ff007fa0&w
> iz=/n.gif>
|