Also on CentOS7 [build@build mod_gsmopen]$ cd libctb-0.16/build/ [build@build build]$ make 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 's,\.o$,.d,'` -MD -MP ../src/fifo.cpp 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 's,\.o$,.d,'` -MD -MP ../src/getopt.cpp 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 's,\.o$,.d,'` -MD -MP ../src/iobase.cpp In file included from ../src/iobase.cpp:12:0: ../include/ctb-0.16/iobase.h:212:28: warning: deprecated conversion from string constant to ‘char*’ [-Wwrite-strings] char* eosString = "\n", ^ 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 's,\.o$,.d,'` -MD -MP ../src/portscan.cpp In file included from ../include/ctb-0.16/ctb.h:9:0, from ../src/portscan.cpp:1: ../include/ctb-0.16/iobase.h:212:28: warning: deprecated conversion from string constant to ‘char*’ [-Wwrite-strings] char* eosString = "\n", ^ In file included from ../include/ctb-0.16/linux/serport.h:12:0, from ../include/ctb-0.16/serport.h:15, from ../include/ctb-0.16/ctb.h:12, from ../src/portscan.cpp:1: ../include/ctb-0.16/serportx.h: In member function ‘char* ctb::SerialPort_DCS::GetSettings()’: ../include/ctb-0.16/serportx.h:178:10: error: ‘_snprintf’ was not declared in this scope baud); ^ make: *** [release/ctb_lib_portscan.o] Error 1 [build@build build]$ On Mon, Sep 28, 2015 at 9:44 AM, Shabbir abbasi <shabbirabbasi92@gmail.com> wrote:
Centos 6.7 final Linux localhost.localdomain 3.10.40-1.el6.elrepo.i686 i have downloaded FREESWITCH MASTER branch yesterday,
cd /usr/src/freeswitch/src/mod/endpoints/mod_gsmopen/libctb-0.16/build make DEBUG=0 GPIB=0 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 's,\.o$,.d,'` -MD -MP ../src/portscan.cpp In file included from ../include/ctb-0.16/linux/serport.h:12, from ../include/ctb-0.16/serport.h:15, from ../include/ctb-0.16/ctb.h:12, from ../src/portscan.cpp:1: ../include/ctb-0.16/serportx.h: In member function ‘char* ctb::SerialPort_DCS::GetSettings()’: ../include/ctb-0.16/serportx.h:178: error: ‘_snprintf’ was not declared in this scope make: *** [release/ctb_lib_portscan.o] Error 1
any solution ?
_________________________________________________________________________ Professional FreeSWITCH Consulting Services: consulting@freeswitch.org http://www.freeswitchsolutions.com
Official FreeSWITCH Sites http://www.freeswitch.org http://confluence.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