<html xmlns:v="urn:schemas-microsoft-com:vml" xmlns:o="urn:schemas-microsoft-com:office:office" xmlns:w="urn:schemas-microsoft-com:office:word" xmlns:m="http://schemas.microsoft.com/office/2004/12/omml" xmlns="http://www.w3.org/TR/REC-html40"><head><META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=us-ascii"><meta name=Generator content="Microsoft Word 14 (filtered medium)"><style><!--
/* Font Definitions */
@font-face
        {font-family:"MS Mincho";
        panose-1:2 2 6 9 4 2 5 8 3 4;}
@font-face
        {font-family:"Cambria Math";
        panose-1:2 4 5 3 5 4 6 3 2 4;}
@font-face
        {font-family:Calibri;
        panose-1:2 15 5 2 2 2 4 3 2 4;}
@font-face
        {font-family:Tahoma;
        panose-1:2 11 6 4 3 5 4 4 2 4;}
@font-face
        {font-family:"\@MS Mincho";
        panose-1:2 2 6 9 4 2 5 8 3 4;}
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
        {margin:0in;
        margin-bottom:.0001pt;
        font-size:12.0pt;
        font-family:"Times New Roman","serif";}
a:link, span.MsoHyperlink
        {mso-style-priority:99;
        color:blue;
        text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
        {mso-style-priority:99;
        color:purple;
        text-decoration:underline;}
span.EmailStyle17
        {mso-style-type:personal-reply;
        font-family:"Calibri","sans-serif";
        color:#1F497D;}
.MsoChpDefault
        {mso-style-type:export-only;
        font-family:"Calibri","sans-serif";}
@page WordSection1
        {size:8.5in 11.0in;
        margin:1.0in 1.0in 1.0in 1.0in;}
div.WordSection1
        {page:WordSection1;}
--></style><!--[if gte mso 9]><xml>
<o:shapedefaults v:ext="edit" spidmax="1026" />
</xml><![endif]--><!--[if gte mso 9]><xml>
<o:shapelayout v:ext="edit">
<o:idmap v:ext="edit" data="1" />
</o:shapelayout></xml><![endif]--></head><body lang=EN-US link=blue vlink=purple><div class=WordSection1><p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D'>Sounds like you&#8217;re targeting the 2.0 profile instead of the 3.5 profile. Mono 2.4 is pretty old; I&#8217;d work on getting 2.6 or 2.8 installed. (2.8 has less dependencies to build the actual mono runtime.)<o:p></o:p></span></p><p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D'><o:p>&nbsp;</o:p></span></p><p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D'>Can you provide the errors on a later version of Mono?<o:p></o:p></span></p><p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D'><o:p>&nbsp;</o:p></span></p><p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D'>-Michael<o:p></o:p></span></p><p class=MsoNormal><a name="_MailEndCompose"><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D'><o:p>&nbsp;</o:p></span></a></p><p class=MsoNormal><b><span style='font-size:10.0pt;font-family:"Tahoma","sans-serif"'>From:</span></b><span style='font-size:10.0pt;font-family:"Tahoma","sans-serif"'> freeswitch-users-bounces@lists.freeswitch.org [mailto:freeswitch-users-bounces@lists.freeswitch.org] <b>On Behalf Of </b>babak yakhchali<br><b>Sent:</b> Friday, November 26, 2010 1:05 PM<br><b>To:</b> FreeSWITCH Users Help<br><b>Subject:</b> [Freeswitch-users] building mod_managed fails<o:p></o:p></span></p><p class=MsoNormal><o:p>&nbsp;</o:p></p><p class=MsoNormal>Hi I'm trying to build mod_managed using mono on centos 5.5. I'm building mono from source and when I try with versions above 2.6 it complains about glib.h<o:p></o:p></p><div><p class=MsoNormal>and with mono 2.4 it results in errors:<o:p></o:p></p></div><div><p class=MsoNormal><o:p>&nbsp;</o:p></p></div><div><div><p class=MsoNormal>&nbsp;error CS1110: `System.Linq.EnumerableExtensions.ForEach&lt;T&gt;(this System.Collections.Generic.IEnumerable&lt;T&gt;, System.Action&lt;T&gt;)': Extension methods cannot be declared without a reference to System.Core.dll assembly. Add the assembly reference or remove `this' modifer from the first parameter<o:p></o:p></p></div><div><p class=MsoNormal>Loader.cs(110,16): error CS0246: The type or namespace name `HashSet`1' could not be found. Are you missing a using directive or an assembly reference?<o:p></o:p></p></div><div><p class=MsoNormal>Log.cs(57,23): error CS1110: `FreeSWITCH.Log.ToLogString(this FreeSWITCH.LogLevel)': Extension methods cannot be declared without a reference to System.Core.dll assembly. Add the assembly reference or remove `this' modifer from the first parameter<o:p></o:p></p></div><div><p class=MsoNormal>ManagedSession.cs(75,16): error CS0246: The type or namespace name `Action' could not be found. Are you missing a using directive or an assembly reference?<o:p></o:p></p></div><div><p class=MsoNormal>ManagedSession.cs(89,16): error CS0246: The type or namespace name `Func`3' could not be found. Are you missing a using directive or an assembly reference?<o:p></o:p></p></div><div><p class=MsoNormal>ManagedSession.cs(91,16): error CS0246: The type or namespace name `Func`2' could not be found. Are you missing a using directive or an assembly reference?<o:p></o:p></p></div><div><p class=MsoNormal>PluginManager.cs(76,9): error CS0246: The type or namespace name `Action' could not be found. Are you missing a using directive or an assembly reference?<o:p></o:p></p></div><div><p class=MsoNormal>PluginManager.cs(77,44): error CS0246: The type or namespace name `Action' could not be found. Are you missing a using directive or an assembly reference?<o:p></o:p></p></div><div><p class=MsoNormal>PluginManager.cs(90,18): error CS0246: The type or namespace name `Func`1' could not be found. Are you missing a using directive or an assembly reference?<o:p></o:p></p></div><div><p class=MsoNormal>PluginManager.cs(92,69): error CS0246: The type or namespace name `Func`1' could not be found. Are you missing a using directive or an assembly reference?<o:p></o:p></p></div><div><p class=MsoNormal>PluginManager.cs(122,18): error CS0246: The type or namespace name `Func`1' could not be found. Are you missing a using directive or an assembly reference?<o:p></o:p></p></div><div><p class=MsoNormal>PluginManager.cs(124,69): error CS0246: The type or namespace name `Func`1' could not be found. Are you missing a using directive or an assembly reference?<o:p></o:p></p></div><div><p class=MsoNormal>PluginManager.cs(262,23): error CS0246: The type or namespace name `Func`1' could not be found. Are you missing a using directive or an assembly reference?<o:p></o:p></p></div><div><p class=MsoNormal>ScriptPluginManager.cs(236,16): error CS0246: The type or namespace name `Action' could not be found. Are you missing a using directive or an assembly reference?<o:p></o:p></p></div><div><p class=MsoNormal>ScriptPluginManager.cs(187,22): error CS0246: The type or namespace name `Action' could not be found. Are you missing a using directive or an assembly reference?<o:p></o:p></p></div><div><p class=MsoNormal>ScriptPluginManager.cs(188,37): error CS0246: The type or namespace name `Action' could not be found. Are you missing a using directive or an assembly reference?<o:p></o:p></p></div><div><p class=MsoNormal>ScriptPluginManager.cs(218,22): error CS0246: The type or namespace name `Action' could not be found. Are you missing a using directive or an assembly reference?<o:p></o:p></p></div><div><p class=MsoNormal>ScriptPluginManager.cs(219,37): error CS0246: The type or namespace name `Action' could not be found. Are you missing a using directive or an assembly reference?<o:p></o:p></p></div><div><p class=MsoNormal>Util.cs(42,25): error CS1110: `FreeSWITCH.FSUtil.CreateSwigTypePointer&lt;T&gt;(this System.IntPtr)': Extension methods cannot be declared without a reference to System.Core.dll assembly. Add the assembly reference or remove `this' modifer from the first parameter<o:p></o:p></p></div><div><p class=MsoNormal>XmlSearchBinding.cs(81,40): error CS0246: The type or namespace name `Func`2' could not be found. Are you missing a using directive or an assembly reference?<o:p></o:p></p></div><div><p class=MsoNormal>Compilation failed: 20 error(s), 0 warnings<o:p></o:p></p></div><div><p class=MsoNormal>make[5]: *** [FreeSWITCH.Managed.dll] Error 1<o:p></o:p></p></div><div><p class=MsoNormal><o:p>&nbsp;</o:p></p></div><div><p class=MsoNormal>thanks<o:p></o:p></p></div></div></div></body></html>