[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]$