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