[Freeswitch-users] building mod_managed fails
babak yakhchali
babak.freeswitch at gmail.com
Fri Nov 26 12:05:27 PST 2010
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
and with mono 2.4 it results in errors:
error CS1110: `System.Linq.EnumerableExtensions.ForEach<T>(this
System.Collections.Generic.IEnumerable<T>, System.Action<T>)': 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
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?
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
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?
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?
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?
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?
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?
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?
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?
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?
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?
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?
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?
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?
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?
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?
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?
Util.cs(42,25): error CS1110:
`FreeSWITCH.FSUtil.CreateSwigTypePointer<T>(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
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?
Compilation failed: 20 error(s), 0 warnings
make[5]: *** [FreeSWITCH.Managed.dll] Error 1
thanks
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20101126/28d33464/attachment.html
More information about the FreeSWITCH-users
mailing list