[build@build ~]$ cd /home/build/rpmbuild/BUILD/freeswitch-1.7.0/src/mod/endpoints/mod_gsmopen/
[build@build mod_gsmopen]$ make
make all-am
make[1]: Entering directory `/home/build/rpmbuild/BUILD/freeswitch-1.7.0/src/mod/endpoints/mod_gsmopen'
CXX mod_gsmopen_la-mod_gsmopen.lo
In file included from /usr/include/ctb-0.16/linux/serport.h:12:0,
from /usr/include/ctb-0.16/serport.h:15,
from /usr/include/ctb-0.16/ctb.h:12,
from gsmopen.h:103,
from mod_gsmopen.cpp:34:
/usr/include/ctb-0.16/serportx.h: In member function 'char* ctb::SerialPort_DCS::GetSettings()':
/usr/include/ctb-0.16/serportx.h:178:10: error: '_snprintf' was not declared in this scope
baud);
^
mod_gsmopen.cpp: In function '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*)':
mod_gsmopen.cpp:1066:83: error: '_snprintf' was not declared in this scope
snprintf(name, sizeof(name), "gsmopen/%s", outbound_profile->destination_number);
^
mod_gsmopen.cpp: In function 'switch_status_t gsmopen_dump_function(const char*, switch_core_session_t*, switch_stream_handle_t*)':
mod_gsmopen.cpp:2444:63: error: '_snprintf' was not declared in this scope
snprintf(value, sizeof(value) - 1, "%d", tech_pvt->active);
^
mod_gsmopen.cpp:2509:61: error: '_snprintf' was not declared in this scope
snprintf(value, sizeof(value) - 1, "%d", tech_pvt->active);
^
mod_gsmopen.cpp: In function 'int dump_event_full(private_t*, int, int, const char*)':
mod_gsmopen.cpp:2839:55: error: '_snprintf' was not declared in this scope
snprintf(value, sizeof(value) - 1, "%d", alarm_code);
^
mod_gsmopen.cpp:2845:60: error: '_snprintf' was not declared in this scope
snprintf(value, sizeof(value) - 1, "%d", tech_pvt->active);
^
mod_gsmopen.cpp: In function 'void find_ttyusb_devices(private_t*, const char*)':
mod_gsmopen.cpp:3076:72: error: '_snprintf' was not declared in this scope
len = snprintf(path, sizeof(path)-1, "%s/%s", dirname, entry->d_name);
^
make[1]: *** [mod_gsmopen_la-mod_gsmopen.lo] Error 1
make[1]: Leaving directory `/home/build/rpmbuild/BUILD/freeswitch-1.7.0/src/mod/endpoints/mod_gsmopen'
make: *** [all] Error 2
[build@build mod_gsmopen]$ uname -a
Linux
build.rcsnet.ru 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
[build@build mod_gsmopen]$ rpm -qa | grep kernel-devel
kernel-devel-3.10.0-229.14.1.el7.x86_64
kernel-devel-3.10.0-229.1.2.el7.x86_64
kernel-devel-3.10.0-229.7.2.el7.x86_64