Mod_Manage won't build switch_core_port_allocator_new
Hi, I downloaded freeswitch-1.2.19.tar.gz today and Mod_manage won't build. The code that is the problem is line 8794 in freeswitch_wrap.2010.cxx SWIGEXPORT int SWIGSTDCALL CSharp_switch_core_port_allocator_new(unsigned short jarg1, unsigned short jarg2, unsigned long jarg3, void * jarg4) { int jresult ; switch_port_t arg1 ; switch_port_t arg2 ; switch_port_flag_t arg3 ; switch_core_port_allocator_t **arg4 = (switch_core_port_allocator_t **) 0 ; switch_status_t result; arg1 = (switch_port_t)jarg1; arg2 = (switch_port_t)jarg2; arg3 = (switch_port_flag_t)jarg3; arg4 = (switch_core_port_allocator_t **)jarg4; result = (switch_status_t)switch_core_port_allocator_new(arg1,arg2,arg3,arg4); jresult = result; return jresult; } error C2664: 'switch_core_port_allocator_new' : cannot convert parameter 1 from 'switch_port_t' to 'const char *' ..\mod_managed\freeswitch_wrap.2010.cxx IntelliSense: too few arguments in function call ..\mod_managed\freeswitch_wrap.2010.cxx 8806 79 mod_managed Looking at the method switch_core_port_allocator_new this seems to of changed. How do I fix the code? SWITCH_DECLARE(switch_status_t) switch_core_port_allocator_new(_In_ const char *ip, _In_ switch_port_t start, _In_ switch_port_t end, _In_ switch_port_flag_t flags, _Out_ switch_core_port_allocator_t **new_allocator);
This should have been reported to JIRA, I’ve already done a siwgall on master and stable and pushed so you’ll need to update. -- Brian West brian@freeswitch.org FreeSWITCH Solutions, LLC PO BOX 2531 Brookfield, WI 53008-2531 Twitter: @FreeSWITCH , @briankwest http://www.freeswitchbook.com http://www.freeswitchcookbook.com T: +1.918.420.9001 | F: +1.918.420.9002 | M: +1.918.424.WEST iNUM: +883 5100 1420 9001 ISN: 410*543 Skype:briankwest PGP Key: http://www.bkw.org/key.txt (AB93356707C76CED) On Feb 8, 2014, at 12:19 PM, Andre <andretodd@verizon.net> wrote:
Hi, I downloaded freeswitch-1.2.19.tar.gz today and Mod_manage won’t build. The code that is the problem is line 8794 in freeswitch_wrap.2010.cxx
SWIGEXPORT int SWIGSTDCALL CSharp_switch_core_port_allocator_new(unsigned short jarg1, unsigned short jarg2, unsigned long jarg3, void * jarg4) { int jresult ; switch_port_t arg1 ; switch_port_t arg2 ; switch_port_flag_t arg3 ; switch_core_port_allocator_t **arg4 = (switch_core_port_allocator_t **) 0 ; switch_status_t result;
arg1 = (switch_port_t)jarg1; arg2 = (switch_port_t)jarg2; arg3 = (switch_port_flag_t)jarg3; arg4 = (switch_core_port_allocator_t **)jarg4; result = (switch_status_t)switch_core_port_allocator_new(arg1,arg2,arg3,arg4); jresult = result; return jresult; }
error C2664: 'switch_core_port_allocator_new' : cannot convert parameter 1 from 'switch_port_t' to 'const char *' ..\mod_managed\freeswitch_wrap.2010.cxx IntelliSense: too few arguments in function call ..\mod_managed\freeswitch_wrap.2010.cxx 8806 79 mod_managed
Looking at the method switch_core_port_allocator_new this seems to of changed. How do I fix the code?
SWITCH_DECLARE(switch_status_t) switch_core_port_allocator_new(_In_ const char *ip, _In_ switch_port_t start, _In_ switch_port_t end, _In_ switch_port_flag_t flags, _Out_ switch_core_port_allocator_t **new_allocator);
_________________________________________________________________________ Professional FreeSWITCH Consulting Services: consulting@freeswitch.org http://www.freeswitchsolutions.com
FreeSWITCH-powered IP PBX: The CudaTel Communication Server http://www.cudatel.com
Official FreeSWITCH Sites http://www.freeswitch.org http://wiki.freeswitch.org http://www.cluecon.com
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
Hi, I see the master has the fix. I used this git clone -b v1.2.stable git://git.freeswitch.org/freeswitch.git and this still has the wrong code. How do I get the stable version with the fixes? Thanks Andre -----Original Message----- From: freeswitch-users-bounces@lists.freeswitch.org [mailto:freeswitch-users-bounces@lists.freeswitch.org] On Behalf Of Brian West Sent: Saturday, February 8, 2014 2:15 PM To: FreeSWITCH Users Help Subject: Re: [Freeswitch-users] Mod_Manage won't build switch_core_port_allocator_new This should have been reported to JIRA, I've already done a siwgall on master and stable and pushed so you'll need to update. -- Brian West brian@freeswitch.org FreeSWITCH Solutions, LLC PO BOX 2531 Brookfield, WI 53008-2531 Twitter: @FreeSWITCH , @briankwest http://www.freeswitchbook.com http://www.freeswitchcookbook.com T: +1.918.420.9001 | F: +1.918.420.9002 | M: +1.918.424.WEST iNUM: +883 5100 1420 9001 ISN: 410*543 Skype:briankwest PGP Key: http://www.bkw.org/key.txt (AB93356707C76CED) On Feb 8, 2014, at 12:19 PM, Andre <andretodd@verizon.net> wrote:
Hi, I downloaded freeswitch-1.2.19.tar.gz today and Mod_manage won't build. The code that is the problem is line 8794 in freeswitch_wrap.2010.cxx
SWIGEXPORT int SWIGSTDCALL CSharp_switch_core_port_allocator_new(unsigned short jarg1, unsigned short jarg2, unsigned long jarg3, void * jarg4) { int jresult ; switch_port_t arg1 ; switch_port_t arg2 ; switch_port_flag_t arg3 ; switch_core_port_allocator_t **arg4 = (switch_core_port_allocator_t **) 0 ; switch_status_t result;
arg1 = (switch_port_t)jarg1; arg2 = (switch_port_t)jarg2; arg3 = (switch_port_flag_t)jarg3; arg4 = (switch_core_port_allocator_t **)jarg4; result = (switch_status_t)switch_core_port_allocator_new(arg1,arg2,arg3,arg4); jresult = result; return jresult; }
error C2664: 'switch_core_port_allocator_new' : cannot convert parameter 1 from 'switch_port_t' to 'const char *' ..\mod_managed\freeswitch_wrap.2010.cxx IntelliSense: too few arguments in function call ..\mod_managed\freeswitch_wrap.2010.cxx 8806 79 mod_managed
Looking at the method switch_core_port_allocator_new this seems to of changed. How do I fix the code?
SWITCH_DECLARE(switch_status_t) switch_core_port_allocator_new(_In_ const char *ip, _In_ switch_port_t start, _In_ switch_port_t end, _In_ switch_port_flag_t flags, _Out_ switch_core_port_allocator_t **new_allocator);
______________________________________________________________________ ___ Professional FreeSWITCH Consulting Services: consulting@freeswitch.org http://www.freeswitchsolutions.com
FreeSWITCH-powered IP PBX: The CudaTel Communication Server http://www.cudatel.com
Official FreeSWITCH Sites http://www.freeswitch.org http://wiki.freeswitch.org http://www.cluecon.com
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-use rs http://www.freeswitch.org
_________________________________________________________________________ Professional FreeSWITCH Consulting Services: consulting@freeswitch.org http://www.freeswitchsolutions.com FreeSWITCH-powered IP PBX: The CudaTel Communication Server http://www.cudatel.com Official FreeSWITCH Sites http://www.freeswitch.org http://wiki.freeswitch.org http://www.cluecon.com 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
I pushed it to stable too. -- Brian West brian@freeswitch.org FreeSWITCH Solutions, LLC PO BOX 2531 Brookfield, WI 53008-2531 Twitter: @FreeSWITCH , @briankwest http://www.freeswitchbook.com http://www.freeswitchcookbook.com T: +1.918.420.9001 | F: +1.918.420.9002 | M: +1.918.424.WEST iNUM: +883 5100 1420 9001 ISN: 410*543 Skype:briankwest PGP Key: http://www.bkw.org/key.txt (AB93356707C76CED) On Feb 8, 2014, at 3:46 PM, Andre <andretodd@verizon.net> wrote:
Hi, I see the master has the fix. I used this
git clone -b v1.2.stable git://git.freeswitch.org/freeswitch.git
and this still has the wrong code. How do I get the stable version with the fixes? Thanks Andre
commit d6dfab2955df6fdb40e0da11c06bd5bc2647fb1f -- Brian West brian@freeswitch.org FreeSWITCH Solutions, LLC PO BOX 2531 Brookfield, WI 53008-2531 Twitter: @FreeSWITCH , @briankwest http://www.freeswitchbook.com http://www.freeswitchcookbook.com T: +1.918.420.9001 | F: +1.918.420.9002 | M: +1.918.424.WEST iNUM: +883 5100 1420 9001 ISN: 410*543 Skype:briankwest PGP Key: http://www.bkw.org/key.txt (AB93356707C76CED) On Feb 8, 2014, at 3:46 PM, Andre <andretodd@verizon.net> wrote:
Hi, I see the master has the fix. I used this
git clone -b v1.2.stable git://git.freeswitch.org/freeswitch.git
and this still has the wrong code. How do I get the stable version with the fixes? Thanks Andre
How do I get that? git clone -b d6dfab2955df6fdb40e0da11c06bd5bc2647fb1f git://git.freeswitch.org/freeswitch.git ??? Also, does this new stable have this fix too? http://jira.freeswitch.org/browse/FS-5994 Thanks so much Brian, Andre -----Original Message----- From: freeswitch-users-bounces@lists.freeswitch.org [mailto:freeswitch-users-bounces@lists.freeswitch.org] On Behalf Of Brian West Sent: Saturday, February 8, 2014 7:51 PM To: FreeSWITCH Users Help Subject: Re: [Freeswitch-users] Mod_Manage won't build switch_core_port_allocator_new commit d6dfab2955df6fdb40e0da11c06bd5bc2647fb1f -- Brian West brian@freeswitch.org FreeSWITCH Solutions, LLC PO BOX 2531 Brookfield, WI 53008-2531 Twitter: @FreeSWITCH , @briankwest http://www.freeswitchbook.com http://www.freeswitchcookbook.com T: +1.918.420.9001 | F: +1.918.420.9002 | M: +1.918.424.WEST iNUM: +883 5100 1420 9001 ISN: 410*543 Skype:briankwest PGP Key: http://www.bkw.org/key.txt (AB93356707C76CED) On Feb 8, 2014, at 3:46 PM, Andre <andretodd@verizon.net> wrote:
Hi, I see the master has the fix. I used this
git clone -b v1.2.stable git://git.freeswitch.org/freeswitch.git
and this still has the wrong code. How do I get the stable version with the fixes? Thanks Andre
Just "git pull" the updates and it will be there. 2014-02-09 22:12 GMT+01:00 Andre <andretodd@verizon.net>:
How do I get that?
git clone -b d6dfab2955df6fdb40e0da11c06bd5bc2647fb1f git://git.freeswitch.org/freeswitch.git ???
Also, does this new stable have this fix too? http://jira.freeswitch.org/browse/FS-5994
Thanks so much Brian, Andre
-----Original Message----- From: freeswitch-users-bounces@lists.freeswitch.org [mailto:freeswitch-users-bounces@lists.freeswitch.org] On Behalf Of Brian West Sent: Saturday, February 8, 2014 7:51 PM To: FreeSWITCH Users Help Subject: Re: [Freeswitch-users] Mod_Manage won't build switch_core_port_allocator_new
commit d6dfab2955df6fdb40e0da11c06bd5bc2647fb1f
-- Brian West brian@freeswitch.org FreeSWITCH Solutions, LLC PO BOX 2531 Brookfield, WI 53008-2531 Twitter: @FreeSWITCH , @briankwest http://www.freeswitchbook.com http://www.freeswitchcookbook.com
T: +1.918.420.9001 | F: +1.918.420.9002 | M: +1.918.424.WEST iNUM: +883 5100 1420 9001 ISN: 410*543 Skype:briankwest PGP Key: http://www.bkw.org/key.txt (AB93356707C76CED)
On Feb 8, 2014, at 3:46 PM, Andre <andretodd@verizon.net> wrote:
Hi, I see the master has the fix. I used this
git clone -b v1.2.stable git://git.freeswitch.org/freeswitch.git
and this still has the wrong code. How do I get the stable version with the fixes? Thanks Andre
_________________________________________________________________________ Professional FreeSWITCH Consulting Services: consulting@freeswitch.org http://www.freeswitchsolutions.com
FreeSWITCH-powered IP PBX: The CudaTel Communication Server http://www.cudatel.com
Official FreeSWITCH Sites http://www.freeswitch.org http://wiki.freeswitch.org http://www.cluecon.com
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
participants (3)
-
Andre
-
Brian West
-
Peter Olsson