Hi OS Gentoo Linux x86_64 gcc (Gentoo Hardened 4.8.3 p1.1, pie-0.5.9) 4.8.3 The previous system: gcc (Gentoo Hardened 4.7.3-r1 p1.3, pie-0.5.5) 4.7.3 Freeswitch versions - all 1.4.x Mod_sofia - sofia-sip error: ... Making all in tport mke[9]: Entering directory '/home/fabryka/local/src/freeswitch/freeswitch481/libs/sofia-sip/libsofia-sip-ua/tport' LTake[8]: Entering directory '/home/fabryka/local/src/freeswitch/freeswitch481/libs/sofia-sip/libsofia-sip-ua/tport' make all-am maCOMPILE tport_type_sctp.lo tport_type_sctp.c: In function ‘tport_sctp_init_socket’: tport_type_sctp.c:206:10: error: variable ‘initmsg’ has initializer but incomplete type struct sctp_initmsg initmsg = { 0 }; ^ tport_type_sctp.c:206:10: error: excess elements in struct initializer [-Werror] tport_type_sctp.c:206:10: error: (near initialization for ‘initmsg’) [-Werror] tport_type_sctp.c:206:23: error: storage size of ‘initmsg’ isn’t known struct sctp_initmsg initmsg = { 0 }; ^ tport_type_sctp.c:211:36: error: ‘SCTP_INITMSG’ undeclared (first use in this function) if (setsockopt(socket, SOL_SCTP, SCTP_INITMSG, &initmsg, sizeof initmsg) < 0) ^ tport_type_sctp.c:211:36: note: each undeclared identifier is reported only once for each function it appears in tport_type_sctp.c:206:23: error: unused variable ‘initmsg’ [-Werror=unused-variable] struct sctp_initmsg initmsg = { 0 }; ^ cc1: all warnings being treated as errors Makefile:1452: recipe for target 'tport_type_sctp.lo' failed make[9]: *** [tport_type_sctp.lo] Error 1 make[9]: Leaving directory '/home/fabryka/local/src/freeswitch/freeswitch481/libs/sofia-sip/libsofia-sip-ua/tport' Makefile:736: recipe for target 'all' failed make[8]: *** [all] Error 2 make[8]: Leaving directory '/home/fabryka/local/src/freeswitch/freeswitch481/libs/sofia-sip/libsofia-sip-ua/tport' Makefile:547: recipe for target 'all-recursive' failed make[7]: *** [all-recursive] Error 1 make[7]: Leaving directory '/home/fabryka/local/src/freeswitch/freeswitch481/libs/sofia-sip/libsofia-sip-ua' Makefile:490: recipe for target 'all-recursive' failed make[6]: *** [all-recursive] Error 1 make[6]: Leaving directory '/home/fabryka/local/src/freeswitch/freeswitch481/libs/sofia-sip' Makefile:410: recipe for target 'all' failed make[5]: *** [all] Error 2 make[5]: Leaving directory '/home/fabryka/local/src/freeswitch/freeswitch481/libs/sofia-sip' Makefile:906: recipe for target '/usr/local/src/freeswitch/freeswitch481/libs/sofia-sip/libsofia-sip-ua/libsofia-sip-ua.la' failed make[4]: *** [/usr/local/src/freeswitch/freeswitch481/libs/sofia-sip/libsofia-sip-ua/libsofia-sip-ua.la] Error 2 make[4]: Leaving directory '/home/fabryka/local/src/freeswitch/freeswitch481/src/mod/endpoints/mod_sofia' Makefile:577: recipe for target 'mod_sofia-all' failed make[3]: *** [mod_sofia-all] Error 1 make[3]: Leaving directory '/home/fabryka/local/src/freeswitch/freeswitch481/src/mod' Makefile:491: recipe for target 'all-recursive' failed make[2]: *** [all-recursive] Error 1 make[2]: Leaving directory '/home/fabryka/local/src/freeswitch/freeswitch481/src' Makefile:2487: recipe for target 'all-recursive' failed make[1]: *** [all-recursive] Error 1 make[1]: Leaving directory '/home/fabryka/local/src/freeswitch/freeswitch481' Makefile:969: recipe for target 'all' failed make: *** [all] Error 2 Error amazes me because sofia-sip library from portage ebuild installed without a problem: qlist -UCvq sofia-sip net-libs/sofia-sip-1.12.11 ssl static-libs http://data.gpo.zugaina.org/gentoo/net-libs/sofia-sip/ The latest version of FreeSWITCH, I have been able to install without a problem are: FreeSWITCH version: 1.5.14b+git~20140725T212415Z~c411f8c7a9~64bit (git c411f8c 2014-07-25 21:24:15Z 64bit) Where can I find the source FreeSWITCH-1.5.x, or alternatively, how to improve this error? Cheers