<div dir="ltr">Also on CentOS7<div><div><br></div><div>[build@build mod_gsmopen]$ cd libctb-0.16/build/</div><div>[build@build build]$ make</div><div>g++ -c -o release/ctb_lib_fifo.o -DNDEBUG  -D_THREAD_SAFE -pthread -O0 -I../include   -MTrelease/ctb_lib_fifo.o -MF`echo release/ctb_lib_fifo.o | sed -e &#39;s,\.o$,.d,&#39;` -MD -MP ../src/fifo.cpp</div><div>g++ -c -o release/ctb_lib_getopt.o -DNDEBUG  -D_THREAD_SAFE -pthread -O0 -I../include   -MTrelease/ctb_lib_getopt.o -MF`echo release/ctb_lib_getopt.o | sed -e &#39;s,\.o$,.d,&#39;` -MD -MP ../src/getopt.cpp</div><div>g++ -c -o release/ctb_lib_iobase.o -DNDEBUG  -D_THREAD_SAFE -pthread -O0 -I../include   -MTrelease/ctb_lib_iobase.o -MF`echo release/ctb_lib_iobase.o | sed -e &#39;s,\.o$,.d,&#39;` -MD -MP ../src/iobase.cpp</div><div>In file included from ../src/iobase.cpp:12:0:</div><div>../include/ctb-0.16/iobase.h:212:28: warning: deprecated conversion from string constant to ‘char*’ [-Wwrite-strings]</div><div>          char* eosString = &quot;\n&quot;,</div><div>                            ^</div><div>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</div><div>In file included from ../include/ctb-0.16/ctb.h:9:0,</div><div>                 from ../src/portscan.cpp:1:</div><div>../include/ctb-0.16/iobase.h:212:28: warning: deprecated conversion from string constant to ‘char*’ [-Wwrite-strings]</div><div>          char* eosString = &quot;\n&quot;,</div><div>                            ^</div><div>In file included from ../include/ctb-0.16/linux/serport.h:12:0,</div><div>                 from ../include/ctb-0.16/serport.h:15,</div><div>                 from ../include/ctb-0.16/ctb.h:12,</div><div>                 from ../src/portscan.cpp:1:</div><div>../include/ctb-0.16/serportx.h: In member function ‘char* ctb::SerialPort_DCS::GetSettings()’:</div><div>../include/ctb-0.16/serportx.h:178:10: error: ‘_snprintf’ was not declared in this scope</div><div>      baud);</div><div>          ^</div><div>make: *** [release/ctb_lib_portscan.o] Error 1</div><div>[build@build build]$ </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>