[Freeswitch-dev] mod_managed

Michael Jerris mike at jerris.com
Sat Oct 4 03:56:29 EDT 2008

We have been doing some major updates to mod_managed over the past few  
days, I did my best to merge your changes in.  A few notes:

runswig.sh is gone.  It is now integrated into the makefile itself.
all your other changes I merged in the best I could, but don't have a  
mono linux build env yet, so have not tested.
the newest builds of mod_managed REQUIRE version 2.0.  It will  
segfault on 1.9.
we should be using pkg-config to specify the cflags and ldflags... it  
can be done with something like this in the makefile:

LOCAL_INSERT_CFLAGS= pkg-config mono --cflags
LOCAL_INSERT_LDFLAGS= pkg-config mono --libs

Can you please give it a try and let me know what else I am missing on  
this build.


On Sep 26, 2008, at 5:59 PM, David Brazier wrote:

> Looking at that again, I was still thwarted by dodgy line breaks -  
> that first line should be all of this:
> MOD_CFLAGS=-D_REENTRANT -pthread -I/opt/mono-1.9/lib/ 
> pkgconfig/../../ include/mono-1.0 -I/usr/include/glib-2.0 -I/usr/lib/ 
> glib-2.0/include -lmono
> NB this requires Mono 1.9.1 - will try to get a 2.0 version together.
> To get mod_managed to load you need to tell mono where to look for  
> mod_managed_lib.dll:
> export LD_LIBRARY_PATH=/usr/local/freeswitch/mod:$LD_LIBRARY_PATH
> (http://www.mono-project.com/ 
> PInvoke#Linux_Shared_Library_Search_Path might suggest better ways)
> Finally you need to make sure you have "mod/managed" directory even  
> if you don't have anything to put in it (perhaps should be in the  
> Makefile?):
> mkdir /usr/local/freeswitch/mod/managed
> David
> 360CRM Limited, registered address, Caledonia House, 89 Seaward  
> Street, Glasgow, G41 1HJ, Registered in Scotland, company number  
> SC261952.
> This email and its attachments may be confidential and are intended  
> solely for the use of the individual to whom it is addressed. Any  
> views or opinions expressed are solely those of the author and do  
> not necessarily represent those of 360CRM Ltd.  This email does not  
> form any part of a contract.  If you are not the intended recipient  
> of this email and its attachments, you must take no action based  
> upon them, nor must you copy or show them to anyone.  Please contact  
> the sender if you believe you have received this email in error.
> _______________________________________________
> Freeswitch-dev mailing list
> Freeswitch-dev at lists.freeswitch.org
> http://lists.freeswitch.org/mailman/listinfo/freeswitch-dev
> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-dev
> http://www.freeswitch.org

More information about the Freeswitch-dev mailing list