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

Candace Bain Candace_Bain@avid.com
Tue, 3 Jun 2003 22:39:20 -0500


This is a multi-part message in MIME format.

------_=_NextPart_001_01C32A4A.E1C4484D
Content-Type: text/plain;
	charset="us-ascii"
Content-Transfer-Encoding: quoted-printable

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:

=20

[root@jabber embed]# mcs test.cs

error CS0519: `Mono' clashes with a predefined namespace

Compilation failed: 1 error(s), 0 warnings

=20

To set up my environment I checked out the latest mono source and built
it with no errors, I also checked out the latest mcs and built it
following instructions I found in the archive:

=20

http://lists.ximian.com/archives/public/mono-list/2002-September/008713.
html

=20

I'm not having any problems using mcs to compile a basic hello world
application, and I also seem to be able to use it to compile some more
complicated test applications.  Does anyone have any idea what might be
causing this?

=20

Best regards,

=20

-Candace

=20

=20


------_=_NextPart_001_01C32A4A.E1C4484D
Content-Type: text/html;
	charset="us-ascii"
Content-Transfer-Encoding: quoted-printable

<html>

<head>
<meta http-equiv=3DContent-Type content=3D"text/html; =
charset=3Dus-ascii">
<meta name=3DGenerator content=3D"Microsoft Word 10 (filtered)">

<style>
<!--
 /* Style Definitions */
 p.MsoNormal, li.MsoNormal, div.MsoNormal
	{margin:0in;
	margin-bottom:.0001pt;
	font-size:12.0pt;
	font-family:"Times New Roman";}
a:link, span.MsoHyperlink
	{color:blue;
	text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
	{color:purple;
	text-decoration:underline;}
span.EmailStyle17
	{font-family:Arial;
	color:windowtext;}
@page Section1
	{size:8.5in 11.0in;
	margin:1.0in 1.25in 1.0in 1.25in;}
div.Section1
	{page:Section1;}
-->
</style>

</head>

<body lang=3DEN-US link=3Dblue vlink=3Dpurple>

<div class=3DSection1>

<p class=3DMsoNormal><font size=3D2 face=3DArial><span =
style=3D'font-size:10.0pt;
font-family:Arial'>I&#8217;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:</span></font></p>

<p class=3DMsoNormal><font size=3D2 face=3DArial><span =
style=3D'font-size:10.0pt;
font-family:Arial'>&nbsp;</span></font></p>

<p class=3DMsoNormal><font size=3D2 face=3DArial><span =
style=3D'font-size:10.0pt;
font-family:Arial'>[root@jabber embed]# mcs test.cs</span></font></p>

<p class=3DMsoNormal><font size=3D2 face=3DArial><span =
style=3D'font-size:10.0pt;
font-family:Arial'>error CS0519: `Mono' clashes with a predefined =
namespace</span></font></p>

<p class=3DMsoNormal><font size=3D2 face=3DArial><span =
style=3D'font-size:10.0pt;
font-family:Arial'>Compilation failed: 1 error(s), 0 =
warnings</span></font></p>

<p class=3DMsoNormal><font size=3D2 face=3DArial><span =
style=3D'font-size:10.0pt;
font-family:Arial'>&nbsp;</span></font></p>

<p class=3DMsoNormal><font size=3D2 face=3DArial><span =
style=3D'font-size:10.0pt;
font-family:Arial'>To set up my environment I checked out the latest =
mono
source and built it with no errors, I also checked out the latest mcs =
and built
it following instructions I found in the archive:</span></font></p>

<p class=3DMsoNormal><font size=3D2 face=3DArial><span =
style=3D'font-size:10.0pt;
font-family:Arial'>&nbsp;</span></font></p>

<p class=3DMsoNormal><font size=3D2 face=3DArial><span =
style=3D'font-size:10.0pt;
font-family:Arial'><a
href=3D"http://lists.ximian.com/archives/public/mono-list/2002-September/=
008713.html">http://lists.ximian.com/archives/public/mono-list/2002-Septe=
mber/008713.html</a></span></font></p>

<p class=3DMsoNormal><font size=3D2 face=3DArial><span =
style=3D'font-size:10.0pt;
font-family:Arial'>&nbsp;</span></font></p>

<p class=3DMsoNormal><font size=3D2 face=3DArial><span =
style=3D'font-size:10.0pt;
font-family:Arial'>I&#8217;m not having any problems using mcs to =
compile a
basic hello world application, and I also seem to be able to use it to =
compile some
more complicated test applications.&nbsp; Does anyone have any idea what =
might
be causing this?</span></font></p>

<p class=3DMsoNormal><font size=3D2 face=3DArial><span =
style=3D'font-size:10.0pt;
font-family:Arial'>&nbsp;</span></font></p>

<p class=3DMsoNormal><font size=3D2 face=3DArial><span =
style=3D'font-size:10.0pt;
font-family:Arial'>Best regards,</span></font></p>

<p class=3DMsoNormal><font size=3D2 face=3DArial><span =
style=3D'font-size:10.0pt;
font-family:Arial'>&nbsp;</span></font></p>

<p class=3DMsoNormal><font size=3D2 face=3DArial><span =
style=3D'font-size:10.0pt;
font-family:Arial'>-Candace</span></font></p>

<p class=3DMsoNormal><font size=3D2 face=3DArial><span =
style=3D'font-size:10.0pt;
font-family:Arial'>&nbsp;</span></font></p>

<p class=3DMsoNormal><font size=3D3 face=3D"Times New Roman"><span =
style=3D'font-size:
12.0pt'>&nbsp;</span></font></p>

</div>

</body>

</html>
=00
------_=_NextPart_001_01C32A4A.E1C4484D--