That’ll only work for the managed assemblies. The actual native mod_managed.so
/ dll are different.
-Michael
From:
freeswitch-users-bounces@lists.freeswitch.org [mailto:freeswitch-users-bounces@lists.freeswitch.org]
On Behalf Of Tim B
Sent: Saturday, January 10, 2009 10:50 AM
To: freeswitch-users@lists.freeswitch.org
Subject: Re: [Freeswitch-users] Compile Mod_Managed on Centos 5.2
Thanks. I have a possible workaround
I was thinking about...
Could mod_managed just be compiled on Windows and the dlls moved to the Centos
5.2 machine with Mono installed?
I already have the Mono base framework 2.0.1 compiled and installed... seems to
be working.
If I can, where should I put the mod_managed binaries on the Centos machine?
Tim
>
> This is broken from a change that just went in this afternoon.. I will fix
> it shortly.
>
> Mike
>
> On Fri, Jan 9, 2009 at 11:14 PM, Tim B <timb0311@hotmail.com> wrote:
>
> > 1. downloaded from svn
> > 2. built freeswitch .. runs fine
> > 3. tried to build mod_managed ... following error:
> >
> > [root@phone2 mod_managed]# export
PKG_CONFIG_PATH=/usr/local/lib/pkgconfig
> > [root@phone2 mod_managed]# make
> > make[1]: Entering directory
> > `/usr/src/freeswitch/src/mod/languages/mod_managed'
> > Compiling freeswitch_wrap.cpp...
> > g++ -I/usr/src/freeswitch/src/include
> > -I/usr/src/freeswitch/libs/libteletone/src -fPIC -g -O2 -D_GNU_SOURCE
> > -D_REENTRANT -pthread -I/usr/local/lib/pkgconfig/../../include/mono-1.0
> > -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -DHAVE_CONFIG_H
-c -o
> > freeswitch_wrap.o freeswitch_wrap.cpp
> > /usr/src/freeswitch/src/include/switch_core.h: In function 'void
> > CSharp_switch_core_session_reset(void*, int)':
> > /usr/src/freeswitch/src/include/switch_core.h:904: error: too few
arguments
> > to function 'void switch_core_session_reset(switch_core_session_t*,
> > switch_bool_t, switch_bool_t)'
> > freeswitch_wrap.cpp:6152: error: at this point in file
> > make[1]: *** [freeswitch_wrap.o] Error 1
> > make[1]: Leaving directory
> > `/usr/src/freeswitch/src/mod/languages/mod_managed'
> > make: *** [all] Error 1
> >
> >
Windows
Live™: Keep your life in sync. See how it works.