[Mono-devel-list] Missing method in assembly

Vadim B. Guzev vguzev at yandex.ru
Thu Jan 29 18:03:59 EST 2004


It's OK now! I've found what was the problem in. I had another one library
mcsharp.dll in the MONO_PATH... :)

Sorry...


Best regards,
Vadim B. Guzev

----- Original Message ----- 
From: "Vadim B. Guzev" <vguzev at yandex.ru>
To: "mono-devel-list" <mono-devel-list at lists.ximian.com>
Sent: Friday, January 30, 2004 1:46 AM
Subject: Re: [Mono-devel-list] Missing method in assembly


> I've just installed new version from
> http://www.go-mono.org/daily/mono-0.30-1.20040129.tar.gz
>
> bash$ mono --version
> Mono JIT compiler version 0.30-1.20040129, (C) 2002-2004 Novell, Inc.
> www.go-mono.com
>
> The result is the same... :(
>
> ** (TestPInvoke.exe:10701): WARNING **: Missing method Test in assembly
> TestPInvoke.exe typeref index 2
>
> Unhandled Exception: System.NullReferenceException: A null value was found
> where an object instance was required
> in (unmanaged)
> /local/users_shared/vadim/mono/mono-0.30-1.20040129/lib/libmono.so.0
> [0x40037e3b]
> in (unmanaged)
> /local/users_shared/vadim/mono/mono-0.30-1.20040129/lib/libmono.so.0
> [0x40047a49]
> in (unmanaged)
> /local/users_shared/vadim/mono/mono-0.30-1.20040129/lib/libmono.so.0
> [0x4004847a]
> in (unmanaged)
> /local/users_shared/vadim/mono/mono-0.30-1.20040129/lib/libmono.so.0
> [0x4004867c]
> in (unmanaged)
>
/local/users_shared/vadim/mono/mono-0.30-1.20040129/lib/libmono.so.0(mono_co
> mpile_method+0x4d) [0x40087f1d]
> in (unmanaged)
> /local/users_shared/vadim/mono/mono-0.30-1.20040129/lib/libmono.so.0
> [0x4002fff5]
> in <0x00028> (wrapper managed-to-native)
> System.Object:__icall_wrapper_mono_ldftn (intptr)
>
>
> Best regards,
> Vadim B. Guzev
>
> ----- Original Message ----- 
> From: "Carlos Alberto Cortez Guevara" <carlos at unixmexico.org>
> To: "mono-devel-list" <mono-devel-list at lists.ximian.com>
> Sent: Thursday, January 29, 2004 10:15 PM
> Subject: Re: [Mono-devel-list] Missing method in assembly
>
>
> > Hi,
> >
> > In my cvs mono build, it runs without problem. I review the Makefile and
> > saw nothing is wrong. Is is maybe a problem in the stable mono release?
> >
> > Regards,
> > Carlos.
> >
> > El jue, 29-01-2004 a las 12:06, Vadim B. Guzev escribió:
> > > Hello, mono-devel-list at lists.ximian.com!
> > >
> > >
> > > Can someone explain me why the attached example doesn't work?
> > > When I try to do:
> > >    make
> > >    mono TestPInvoke.exe
> > >
> > > It throws the following:
> > > 8<-----------------------------------------------------------------
> > > ** (TestPInvoke.exe:25530): WARNING **: Missing method Test in
assembly
> > > TestPInvoke.exe typeref index 2
> > >
> > > Unhandled Exception: System.NullReferenceException: A null value was
> found
> > > where an object instance was required
> > > in (unmanaged) /usr/local/lib/libmono.so.0 [0x40036f81]
> > > in (unmanaged) /usr/local/lib/libmono.so.0 [0x400455c0]
> > > in (unmanaged) /usr/local/lib/libmono.so.0 [0x40045fce]
> > > in (unmanaged) /usr/local/lib/libmono.so.0 [0x400461dc]
> > > in (unmanaged) /usr/local/lib/libmono.so.0(mono_compile_method+0x4d)
> > > [0x4008364d]
> > > in (unmanaged) /usr/local/lib/libmono.so.0 [0x4002f765]
> > > in <0x00028> (wrapper managed-to-native)
> > > System.Object:__icall_wrapper_mono_ldftn (intptr)
> > > 8<-----------------------------------------------------------------
> > >
> > > This example works properly in MS VS.
> > > I use Mono 0.29 on Linux.
> > >
> > >
> > > Best regards,
> > > Vadim B. Guzev
> > -- 
> > --------------------------------------------------
> > /* The definition of myself */
> > using Cortez;
> > using GeniusIntelligence;
> >
> > public class Carlos : Human, IGenius, ILinuxUser {
> >
> > static void Main () {
> > Me.Think();
> > }
> >
> > }
> >
> > --------------------------------------------------
> > _______________________________________________
> > Mono-devel-list mailing list
> > Mono-devel-list at lists.ximian.com
> > http://lists.ximian.com/mailman/listinfo/mono-devel-list
> >
>
> _______________________________________________
> Mono-devel-list mailing list
> Mono-devel-list at lists.ximian.com
> http://lists.ximian.com/mailman/listinfo/mono-devel-list
>




More information about the Mono-devel-list mailing list