[Mono-list] Newbie question - error building embed sample application

Gonzalo Paniagua Javier gonzalo@ximian.com
04 Jun 2003 06:08:44 +0200

El mié, 04 de 06 de 2003 a las 05:39, Candace Bain escribió:
> Iÿve just set up a mono build environment and am getting the following
> error when I try to run mcs on the test.cs file for the embed sample
> application:
> [root@jabber embed]# mcs test.cs
> error CS0519: `Mono' clashes with a predefined namespace
> Compilation failed: 1 error(s), 0 warnings

Edit test.cs and change 'class Mono' to 'class MonoEmbed'.
Then edit teste.c and change line 66 to be:

	mono_add_internal_call ("MonoEmbed::gimme", gimme);

I've just updated those files in CVS too.