<div dir="ltr">Error confirmed on CentOS 7<div><br></div><div><div>[build@build ~]$ cd /home/build/rpmbuild/BUILD/freeswitch-1.7.0/src/mod/endpoints/mod_gsmopen/</div><div>[build@build mod_gsmopen]$ make</div><div>make  all-am</div><div>make[1]: Entering directory `/home/build/rpmbuild/BUILD/freeswitch-1.7.0/src/mod/endpoints/mod_gsmopen&#39;</div><div>  CXX      mod_gsmopen_la-mod_gsmopen.lo</div><div>In file included from /usr/include/ctb-0.16/linux/serport.h:12:0,</div><div>                 from /usr/include/ctb-0.16/serport.h:15,</div><div>                 from /usr/include/ctb-0.16/ctb.h:12,</div><div>                 from gsmopen.h:103,</div><div>                 from mod_gsmopen.cpp:34:</div><div>/usr/include/ctb-0.16/serportx.h: In member function &#39;char* ctb::SerialPort_DCS::GetSettings()&#39;:</div><div>/usr/include/ctb-0.16/serportx.h:178:10: error: &#39;_snprintf&#39; was not declared in this scope</div><div>      baud);</div><div>          ^</div><div>mod_gsmopen.cpp: In function &#39;switch_call_cause_t channel_outgoing_channel(switch_core_session_t*, switch_event_t*, switch_caller_profile_t*, switch_core_session_t**, switch_memory_pool_t**, switch_originate_flag_t, switch_call_cause_t*)&#39;:</div><div>mod_gsmopen.cpp:1066:83: error: &#39;_snprintf&#39; was not declared in this scope</div><div>    snprintf(name, sizeof(name), &quot;gsmopen/%s&quot;, outbound_profile-&gt;destination_number);</div><div>                                                                                   ^</div><div>mod_gsmopen.cpp: In function &#39;switch_status_t gsmopen_dump_function(const char*, switch_core_session_t*, switch_stream_handle_t*)&#39;:</div><div>mod_gsmopen.cpp:2444:63: error: &#39;_snprintf&#39; was not declared in this scope</div><div>      snprintf(value, sizeof(value) - 1, &quot;%d&quot;, tech_pvt-&gt;active);</div><div>                                                               ^</div><div>mod_gsmopen.cpp:2509:61: error: &#39;_snprintf&#39; was not declared in this scope</div><div>    snprintf(value, sizeof(value) - 1, &quot;%d&quot;, tech_pvt-&gt;active);</div><div>                                                             ^</div><div>mod_gsmopen.cpp: In function &#39;int dump_event_full(private_t*, int, int, const char*)&#39;:</div><div>mod_gsmopen.cpp:2839:55: error: &#39;_snprintf&#39; was not declared in this scope</div><div>    snprintf(value, sizeof(value) - 1, &quot;%d&quot;, alarm_code);</div><div>                                                       ^</div><div>mod_gsmopen.cpp:2845:60: error: &#39;_snprintf&#39; was not declared in this scope</div><div>   snprintf(value, sizeof(value) - 1, &quot;%d&quot;, tech_pvt-&gt;active);</div><div>                                                            ^</div><div>mod_gsmopen.cpp: In function &#39;void find_ttyusb_devices(private_t*, const char*)&#39;:</div><div>mod_gsmopen.cpp:3076:72: error: &#39;_snprintf&#39; was not declared in this scope</div><div>    len = snprintf(path, sizeof(path)-1, &quot;%s/%s&quot;, dirname, entry-&gt;d_name);</div><div>                                                                        ^</div><div>make[1]: *** [mod_gsmopen_la-mod_gsmopen.lo] Error 1</div><div>make[1]: Leaving directory `/home/build/rpmbuild/BUILD/freeswitch-1.7.0/src/mod/endpoints/mod_gsmopen&#39;</div><div>make: *** [all] Error 2</div><div>[build@build mod_gsmopen]$ uname -a</div><div>Linux <a href="http://build.rcsnet.ru">build.rcsnet.ru</a> 3.10.0-229.7.2.el7.x86_64 #1 SMP Tue Jun 23 22:06:11 UTC 2015 x86_64 x86_64 x86_64 GNU/Linux</div><div>[build@build mod_gsmopen]$ rpm -qa | grep kernel-devel</div><div>kernel-devel-3.10.0-229.14.1.el7.x86_64</div><div>kernel-devel-3.10.0-229.1.2.el7.x86_64</div><div>kernel-devel-3.10.0-229.7.2.el7.x86_64</div></div><div><br></div></div><div class="gmail_extra"><br><div class="gmail_quote">On Mon, Sep 28, 2015 at 9:44 AM, Shabbir abbasi <span dir="ltr">&lt;<a href="mailto:shabbirabbasi92@gmail.com" target="_blank">shabbirabbasi92@gmail.com</a>&gt;</span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr"><div><div><br></div>Centos 6.7 final     Linux localhost.localdomain 3.10.40-1.el6.elrepo.i686<br></div>i have downloaded FREESWITCH  MASTER  branch yesterday,<br><br><br><div>cd /usr/src/freeswitch/src/mod/endpoints/mod_gsmopen/libctb-0.16/build<br>make DEBUG=0 GPIB=0<br>g++ -c -o release/ctb_lib_portscan.o -DNDEBUG  -D_THREAD_SAFE -pthread -O0 -I../include   -MTrelease/ctb_lib_portscan.o -MF`echo release/ctb_lib_portscan.o | sed -e &#39;s,\.o$,.d,&#39;` -MD -MP ../src/portscan.cpp<br>In file included from ../include/ctb-0.16/linux/serport.h:12,<br>                 from ../include/ctb-0.16/serport.h:15,<br>                 from ../include/ctb-0.16/ctb.h:12,<br>                 from ../src/portscan.cpp:1:<br>../include/ctb-0.16/serportx.h: In member function ‘char* ctb::SerialPort_DCS::GetSettings()’:<br>../include/ctb-0.16/serportx.h:178: error: ‘_snprintf’ was not declared in this scope<br>make: *** [release/ctb_lib_portscan.o] Error 1<br><br><br></div><div>any solution ?<br></div></div>
<br>_________________________________________________________________________<br>
Professional FreeSWITCH Consulting Services:<br>
<a href="mailto:consulting@freeswitch.org">consulting@freeswitch.org</a><br>
<a href="http://www.freeswitchsolutions.com" rel="noreferrer" target="_blank">http://www.freeswitchsolutions.com</a><br>
<br>
Official FreeSWITCH Sites<br>
<a href="http://www.freeswitch.org" rel="noreferrer" target="_blank">http://www.freeswitch.org</a><br>
<a href="http://confluence.freeswitch.org" rel="noreferrer" target="_blank">http://confluence.freeswitch.org</a><br>
<a href="http://www.cluecon.com" rel="noreferrer" target="_blank">http://www.cluecon.com</a><br>
<br>
FreeSWITCH-users mailing list<br>
<a href="mailto:FreeSWITCH-users@lists.freeswitch.org">FreeSWITCH-users@lists.freeswitch.org</a><br>
<a href="http://lists.freeswitch.org/mailman/listinfo/freeswitch-users" rel="noreferrer" target="_blank">http://lists.freeswitch.org/mailman/listinfo/freeswitch-users</a><br>
UNSUBSCRIBE:<a href="http://lists.freeswitch.org/mailman/options/freeswitch-users" rel="noreferrer" target="_blank">http://lists.freeswitch.org/mailman/options/freeswitch-users</a><br>
<a href="http://www.freeswitch.org" rel="noreferrer" target="_blank">http://www.freeswitch.org</a><br></blockquote></div><br></div>