[Freeswitch-users] [unable to compile freeswitch on debian 10]

Bilal Abbasi bilaln018 at gmail.com
Thu Aug 15 12:56:26 UTC 2019


Hi Users,
I am unable to build freeswich on debain 10(buster) freeswitch version
1.10, here are the error i get.

making all mod_http_cache
make[4]: Entering directory
'/usr/src/freeswitch/src/mod/applications/mod_http_cache'
Making all in .
make[5]: Entering directory
'/usr/src/freeswitch/src/mod/applications/mod_http_cache'
  CC       mod_http_cache_la-mod_http_cache.lo
mod_http_cache.c: In function ‘cached_url_filename_create.isra.4’:
mod_http_cache.c:988:2: error: ‘strncpy’ output may be truncated copying 2
bytes from a string of length 256 [-Werror=stringop-truncation]
  strncpy(uuid_dir, uuid_str, 2);
  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
mod_http_cache.c:988:2: error: ‘strncpy’ output may be truncated copying 2
bytes from a string of length 256 [-Werror=stringop-truncation]
In function ‘parse_domain.constprop’,
    inlined from ‘url_cache_http_profile_find_by_fqdn.part.2.constprop’ at
mod_http_cache.c:929:3:
mod_http_cache.c:276:2: error: ‘strncpy’ specified bound 255 equals
destination size [-Werror=stringop-truncation]
  strncpy(domain_buf, start, domain_buf_len);
  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
cc1: all warnings being treated as errors
make[5]: *** [Makefile:761: mod_http_cache_la-mod_http_cache.lo] Error 1
make[5]: Leaving directory
'/usr/src/freeswitch/src/mod/applications/mod_http_cache'
make[4]: *** [Makefile:801: all-recursive] Error 1
make[4]: Leaving directory
'/usr/src/freeswitch/src/mod/applications/mod_http_cache'
make[3]: *** [Makefile:704: mod_http_cache-all] Error 1
make[3]: Leaving directory '/usr/src/freeswitch/src/mod'
make[2]: *** [Makefile:607: all-recursive] Error 1
make[2]: Leaving directory '/usr/src/freeswitch/src'
make[1]: *** [Makefile:3736: all-recursive] Error 1
make[1]: Leaving directory '/usr/src/freeswitch'
make: *** [Makefile:1445: all] Error 2

Regards
Abbasi
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20190815/f88ea0c8/attachment.html>


More information about the FreeSWITCH-users mailing list