Hi All
Usually use Debian but I know Mark is now a bit keen on Ubuntu 20 as still support iptables etc, so thought I would build one
The script for this installs the complied version of Freeswitch. I need to enable the module for snom
I have apt-get install freeswitch-mod-snom and enabled in modules.conf. When I try to as far as running make I just get the error below
making all mod_snom
make[4]: Entering directory '/usr/src/freeswitch/src/mod/applications/mod_snom'
CC mod_snom_la-mod_snom.lo
In file included from /usr/include/string.h:495,
from ../../../../src/include/switch.h:87,
from mod_snom.c:31:
In function ‘strncpy’,
inlined from ‘snom_command_api_function’ at mod_snom.c:146:3:
/usr/include/x86_64-linux-gnu/bits/string_fortified.h:106:10: error: ‘__builtin_strncpy’ specified bound 32 equals destination size [-Werror=stringop-truncation]
106 | return __builtin___strncpy_chk (__dest, __src, __len, __bos (__dest));
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
cc1: all warnings being treated as errors
make[4]: *** [Makefile:704: mod_snom_la-mod_snom.lo] Error 1
make[4]: Leaving directory '/usr/src/freeswitch/src/mod/applications/mod_snom'
make[3]: *** [Makefile:705: mod_snom-all] Error 1
make[3]: Leaving directory '/usr/src/freeswitch/src/mod'
make[2]: *** [Makefile:609: all-recursive] Error 1
make[2]: Leaving directory '/usr/src/freeswitch/src'
make[1]: *** [Makefile:3577: all-recursive] Error 1
make[1]: Leaving directory '/usr/src/freeswitch'
make: *** [Makefile:1292: all] Error 2
Anyone got any clues?
thanks
Usually use Debian but I know Mark is now a bit keen on Ubuntu 20 as still support iptables etc, so thought I would build one
The script for this installs the complied version of Freeswitch. I need to enable the module for snom
I have apt-get install freeswitch-mod-snom and enabled in modules.conf. When I try to as far as running make I just get the error below
making all mod_snom
make[4]: Entering directory '/usr/src/freeswitch/src/mod/applications/mod_snom'
CC mod_snom_la-mod_snom.lo
In file included from /usr/include/string.h:495,
from ../../../../src/include/switch.h:87,
from mod_snom.c:31:
In function ‘strncpy’,
inlined from ‘snom_command_api_function’ at mod_snom.c:146:3:
/usr/include/x86_64-linux-gnu/bits/string_fortified.h:106:10: error: ‘__builtin_strncpy’ specified bound 32 equals destination size [-Werror=stringop-truncation]
106 | return __builtin___strncpy_chk (__dest, __src, __len, __bos (__dest));
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
cc1: all warnings being treated as errors
make[4]: *** [Makefile:704: mod_snom_la-mod_snom.lo] Error 1
make[4]: Leaving directory '/usr/src/freeswitch/src/mod/applications/mod_snom'
make[3]: *** [Makefile:705: mod_snom-all] Error 1
make[3]: Leaving directory '/usr/src/freeswitch/src/mod'
make[2]: *** [Makefile:609: all-recursive] Error 1
make[2]: Leaving directory '/usr/src/freeswitch/src'
make[1]: *** [Makefile:3577: all-recursive] Error 1
make[1]: Leaving directory '/usr/src/freeswitch'
make: *** [Makefile:1292: all] Error 2
Anyone got any clues?
thanks