[Mono-list] Newbie question - error building embed sample
Gonzalo Paniagua Javier
04 Jun 2003 21:22:09 +0200
El mié, 04 de 06 de 2003 a las 18:59, Candace Bain escribió:
> Thanks, I've updated the sample and am now running into a few other problems. When I compile test.cs I get the following message:
> [root@jabber embed]# mcs test.cs
> ** (/root/install/bin/mcs.exe:28196): WARNING **: cant resolve internal call to "MonoEmbed::gimme()" (tested without signature also)
> Your mono runtime and corlib are out of sync.
> Corlib is: test
> When you update one from cvs you need to update, compile and install
> the other too.
> Do not report this as a bug unless you're sure you have updated correctly:
> you probably have a broken mono install.
> If you see other errors or faults after this message they are probably related
> and you need to fix your mono install first.
> Compilation succeeded
That is a warning, not an error. And it's ok when compiling a file that
defines an internal call that is not present in the runtime.
However, that internal call will be there when you run ./teste, because
the code in teste.c defines that internal call.
You can also apply Jerome's patch sent to mono-devel-list a few days ago
and choose the warnings you want to get.