Sponsor: VoiceMeUp - Corporate & Wholesale VoIP Services

VoIP Mailing List Archives
Mailing list archives for the VoIP community
 SearchSearch 

[Freeswitch-users] Compile Mod_Managed on Centos 5.2


 
Post new topic   Reply to topic    VoIP Mailing List Archives Forum Index -> freeSWITCH Users
View previous topic :: View next topic  
Author Message
timb0311 at hotmail.com
Guest





PostPosted: Fri Jan 09, 2009 6:11 am    Post subject: [Freeswitch-users] Compile Mod_Managed on Centos 5.2 Reply with quote

I want to use C# with freeswitch. How do I go about compiling the mod_managed package on Centos 5.2? The wiki just shows how to compile it on windows. And I try doing a make in the package directory and get errors.

Tim
Windows Live™ Hotmail®: Chat. Store. Share. Do more with mail. Check it out.
Back to top
msc at freeswitch.org
Guest





PostPosted: Fri Jan 09, 2009 12:22 pm    Post subject: [Freeswitch-users] Compile Mod_Managed on Centos 5.2 Reply with quote

Are you using 1.0.2 or the latest SVN? Could you post the content of
the errors that you are getting?

Thanks,
MC

On Fri, Jan 9, 2009 at 2:55 AM, Tim B <timb0311@hotmail.com> wrote:
Quote:
I want to use C# with freeswitch. How do I go about compiling the
mod_managed package on Centos 5.2? The wiki just shows how to compile it on
windows. And I try doing a make in the package directory and get errors.

Tim

________________________________
Windows Live™ Hotmail(R): Chat. Store. Share. Do more with mail. Check it out.
_______________________________________________
Freeswitch-users mailing list
Freeswitch-users@lists.freeswitch.org
http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users
http://www.freeswitch.org



_______________________________________________
Freeswitch-users mailing list
Freeswitch-users@lists.freeswitch.org
http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users
http://www.freeswitch.org
Back to top
msc at freeswitch.org
Guest





PostPosted: Fri Jan 09, 2009 2:40 pm    Post subject: [Freeswitch-users] Compile Mod_Managed on Centos 5.2 Reply with quote

Please try latest first. If you still have errors then put them on pastebin.


-MC

Sent from my iPhone

On Jan 9, 2009, at 11:36 AM, Tim B <timb0311@hotmail.com (timb0311@hotmail.com)> wrote:



Quote:
MC was using 1.0.2. I don't have access to the machine right now. I can post the errors later tonight or try to build with latest build. Which do you recommend?

Tim

Quote:

Are you using 1.0.2 or the latest SVN? Could you post the content of
the errors that you are getting?

Thanks,
MC

Quote:
I want to use C# with freeswitch. How do I go about compiling the
mod_managed package on Centos 5.2? The wiki just shows how to compile it on
windows. And I try doing a make in the package directory and get errors.

Tim



Windows Live™ Hotmail®: Chat. Store. Share. Do more with mail. See how it works.
_______________________________________________
Freeswitch-users mailing list
Freeswitch-users@lists.freeswitch.org (Freeswitch-users@lists.freeswitch.org)
http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users
http://www.freeswitch.org

Back to top
timb0311 at hotmail.com
Guest





PostPosted: Fri Jan 09, 2009 2:42 pm    Post subject: [Freeswitch-users] Compile Mod_Managed on Centos 5.2 Reply with quote

MC was using 1.0.2. I don't have access to the machine right now. I can post the errors later tonight or try to build with latest build. Which do you recommend?

Tim

Quote:

Are you using 1.0.2 or the latest SVN? Could you post the content of
the errors that you are getting?

Thanks,
MC

Quote:
I want to use C# with freeswitch. How do I go about compiling the
mod_managed package on Centos 5.2? The wiki just shows how to compile it on
windows. And I try doing a make in the package directory and get errors.

Tim


Windows Live™ Hotmail®: Chat. Store. Share. Do more with mail. See how it works.
Back to top
timb0311 at hotmail.com
Guest





PostPosted: Fri Jan 09, 2009 11:24 pm    Post subject: [Freeswitch-users] Compile Mod_Managed on Centos 5.2 Reply with quote

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™ Hotmail®: Chat. Store. Share. Do more with mail. Check it out.
Back to top
mike at jerris.com
Guest





PostPosted: Sat Jan 10, 2009 12:11 am    Post subject: [Freeswitch-users] Compile Mod_Managed on Centos 5.2 Reply with quote

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 (timb0311@hotmail.com)> wrote:
Quote:
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™ Hotmail®: Chat. Store. Share. Do more with mail. Check it out.


_______________________________________________
Freeswitch-users mailing list
Freeswitch-users@lists.freeswitch.org (Freeswitch-users@lists.freeswitch.org)
http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users
http://www.freeswitch.org

Back to top
timb0311 at hotmail.com
Guest





PostPosted: Sat Jan 10, 2009 12:53 pm    Post subject: [Freeswitch-users] Compile Mod_Managed on Centos 5.2 Reply with quote

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

Quote:

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:

Quote:
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.
Back to top
mgg at giagnocavo.net
Guest





PostPosted: Sat Jan 10, 2009 1:24 pm    Post subject: [Freeswitch-users] Compile Mod_Managed on Centos 5.2 Reply with quote

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

Quote:

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:

Quote:
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.
Back to top
Display posts from previous:   
Post new topic   Reply to topic    VoIP Mailing List Archives Forum Index -> freeSWITCH Users All times are GMT - 5 Hours
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © 2001, 2005 phpBB Group

VoiceMeUp - Corporate & Wholesale VoIP Services