<div dir="ltr">Oh and file a JIRA! :P</div><div class="gmail_extra"><br><div class="gmail_quote">On Wed, Dec 10, 2014 at 11:58 AM, Michael Jerris <span dir="ltr">&lt;<a href="mailto:mike@jerris.com" target="_blank">mike@jerris.com</a>&gt;</span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">This could be related to bugs in gentoo headers related to sctp or due to issues in the autoconf detection for these.  We would be happy to take patches to correct this issue that don&#39;t break other distro/os if you can provide a patch.<br>
<div><div class="h5"><br>
<br>
&gt; On Dec 10, 2014, at 12:48 PM, Jacekalex &lt;<a href="mailto:wampir990@gmail.com">wampir990@gmail.com</a>&gt; wrote:<br>
&gt;<br>
&gt;<br>
&gt; Hi<br>
&gt;<br>
&gt; OS  Gentoo Linux x86_64<br>
&gt; gcc (Gentoo Hardened 4.8.3 p1.1, pie-0.5.9) 4.8.3<br>
&gt;<br>
&gt; The previous system:<br>
&gt; gcc (Gentoo Hardened 4.7.3-r1 p1.3, pie-0.5.5) 4.7.3<br>
&gt;<br>
&gt; Freeswitch versions - all 1.4.x<br>
&gt;<br>
&gt; Mod_sofia  - sofia-sip error:<br>
&gt; ...<br>
&gt; Making all in tport<br>
&gt; mke[9]: Entering directory<br>
&gt; &#39;/home/fabryka/local/src/freeswitch/freeswitch481/libs/sofia-sip/libsofia-sip-ua/tport&#39;<br>
&gt;     LTake[8]: Entering directory<br>
&gt; &#39;/home/fabryka/local/src/freeswitch/freeswitch481/libs/sofia-sip/libsofia-sip-ua/tport&#39;<br>
&gt; make  all-am<br>
&gt; maCOMPILE tport_type_sctp.lo<br>
&gt; tport_type_sctp.c: In function ‘tport_sctp_init_socket’:<br>
&gt; tport_type_sctp.c:206:10: error: variable ‘initmsg’ has initializer but<br>
&gt; incomplete type<br>
&gt;   struct sctp_initmsg initmsg = { 0 };<br>
&gt;          ^<br>
&gt; tport_type_sctp.c:206:10: error: excess elements in struct initializer<br>
&gt; [-Werror]<br>
&gt; tport_type_sctp.c:206:10: error: (near initialization for ‘initmsg’)<br>
&gt; [-Werror]<br>
&gt; tport_type_sctp.c:206:23: error: storage size of ‘initmsg’ isn’t known<br>
&gt;   struct sctp_initmsg initmsg = { 0 };<br>
&gt;                       ^<br>
&gt; tport_type_sctp.c:211:36: error: ‘SCTP_INITMSG’ undeclared (first use in<br>
&gt; this function)<br>
&gt;   if (setsockopt(socket, SOL_SCTP, SCTP_INITMSG, &amp;initmsg, sizeof<br>
&gt; initmsg) &lt; 0)<br>
&gt;                                    ^<br>
&gt; tport_type_sctp.c:211:36: note: each undeclared identifier is reported<br>
&gt; only once for each function it appears in<br>
&gt; tport_type_sctp.c:206:23: error: unused variable ‘initmsg’<br>
&gt; [-Werror=unused-variable]<br>
&gt;   struct sctp_initmsg initmsg = { 0 };<br>
&gt;                       ^<br>
&gt; cc1: all warnings being treated as errors<br>
&gt; Makefile:1452: recipe for target &#39;tport_type_sctp.lo&#39; failed<br>
&gt; make[9]: *** [tport_type_sctp.lo] Error 1<br>
&gt; make[9]: Leaving directory<br>
&gt; &#39;/home/fabryka/local/src/freeswitch/freeswitch481/libs/sofia-sip/libsofia-sip-ua/tport&#39;<br>
&gt; Makefile:736: recipe for target &#39;all&#39; failed<br>
&gt; make[8]: *** [all] Error 2<br>
&gt; make[8]: Leaving directory<br>
&gt; &#39;/home/fabryka/local/src/freeswitch/freeswitch481/libs/sofia-sip/libsofia-sip-ua/tport&#39;<br>
&gt; Makefile:547: recipe for target &#39;all-recursive&#39; failed<br>
&gt; make[7]: *** [all-recursive] Error 1<br>
&gt; make[7]: Leaving directory<br>
&gt; &#39;/home/fabryka/local/src/freeswitch/freeswitch481/libs/sofia-sip/libsofia-sip-ua&#39;<br>
&gt; Makefile:490: recipe for target &#39;all-recursive&#39; failed<br>
&gt; make[6]: *** [all-recursive] Error 1<br>
&gt; make[6]: Leaving directory<br>
&gt; &#39;/home/fabryka/local/src/freeswitch/freeswitch481/libs/sofia-sip&#39;<br>
&gt; Makefile:410: recipe for target &#39;all&#39; failed<br>
&gt; make[5]: *** [all] Error 2<br>
&gt; make[5]: Leaving directory<br>
&gt; &#39;/home/fabryka/local/src/freeswitch/freeswitch481/libs/sofia-sip&#39;<br>
&gt; Makefile:906: recipe for target<br>
&gt; &#39;/usr/local/src/freeswitch/freeswitch481/libs/sofia-sip/libsofia-sip-ua/<a href="http://libsofia-sip-ua.la">libsofia-sip-ua.la</a>&#39;<br>
&gt; failed<br>
&gt; make[4]: ***<br>
&gt; [/usr/local/src/freeswitch/freeswitch481/libs/sofia-sip/libsofia-sip-ua/<a href="http://libsofia-sip-ua.la">libsofia-sip-ua.la</a>]<br>
&gt; Error 2<br>
&gt; make[4]: Leaving directory<br>
&gt; &#39;/home/fabryka/local/src/freeswitch/freeswitch481/src/mod/endpoints/mod_sofia&#39;<br>
&gt; Makefile:577: recipe for target &#39;mod_sofia-all&#39; failed<br>
&gt; make[3]: *** [mod_sofia-all] Error 1<br>
&gt; make[3]: Leaving directory<br>
&gt; &#39;/home/fabryka/local/src/freeswitch/freeswitch481/src/mod&#39;<br>
&gt; Makefile:491: recipe for target &#39;all-recursive&#39; failed<br>
&gt; make[2]: *** [all-recursive] Error 1<br>
&gt; make[2]: Leaving directory<br>
&gt; &#39;/home/fabryka/local/src/freeswitch/freeswitch481/src&#39;<br>
&gt; Makefile:2487: recipe for target &#39;all-recursive&#39; failed<br>
&gt; make[1]: *** [all-recursive] Error 1<br>
&gt; make[1]: Leaving directory<br>
&gt; &#39;/home/fabryka/local/src/freeswitch/freeswitch481&#39;<br>
&gt; Makefile:969: recipe for target &#39;all&#39; failed<br>
&gt; make: *** [all] Error 2<br>
&gt;<br>
&gt;<br>
&gt; Error amazes me because sofia-sip library  from  portage ebuild<br>
&gt; installed without a problem:<br>
&gt; qlist -UCvq sofia-sip<br>
&gt; net-libs/sofia-sip-1.12.11 ssl static-libs<br>
&gt; <a href="http://data.gpo.zugaina.org/gentoo/net-libs/sofia-sip/">http://data.gpo.zugaina.org/gentoo/net-libs/sofia-sip/</a><br>
&gt;<br>
&gt;<br>
&gt; The latest version of FreeSWITCH, I have been able to install without a<br>
&gt; problem are:<br>
&gt; FreeSWITCH version: 1.5.14b+git~20140725T212415Z~c411f8c7a9~64bit (git<br>
&gt; c411f8c 2014-07-25 21:24:15Z 64bit)<br>
&gt;<br>
&gt;<br>
&gt; Where can I find the source FreeSWITCH-1.5.x, or alternatively, how to<br>
&gt; improve this error?<br>
&gt;<br>
&gt;<br>
&gt; Cheers<br>
<br>
<br>
</div></div>_________________________________________________________________________<br>
Professional FreeSWITCH Consulting Services:<br>
<a href="mailto:consulting@freeswitch.org">consulting@freeswitch.org</a><br>
<a href="http://www.freeswitchsolutions.com">http://www.freeswitchsolutions.com</a><br>
<br>
Official FreeSWITCH Sites<br>
<a href="http://www.freeswitch.org">http://www.freeswitch.org</a><br>
<a href="http://confluence.freeswitch.org">http://confluence.freeswitch.org</a><br>
<a href="http://www.cluecon.com">http://www.cluecon.com</a><br>
<br>
FreeSWITCH-users mailing list<br>
<a href="mailto:FreeSWITCH-users@lists.freeswitch.org">FreeSWITCH-users@lists.freeswitch.org</a><br>
<a href="http://lists.freeswitch.org/mailman/listinfo/freeswitch-users">http://lists.freeswitch.org/mailman/listinfo/freeswitch-users</a><br>
UNSUBSCRIBE:<a href="http://lists.freeswitch.org/mailman/options/freeswitch-users">http://lists.freeswitch.org/mailman/options/freeswitch-users</a><br>
<a href="http://www.freeswitch.org">http://www.freeswitch.org</a></blockquote></div><br><br clear="all"><div><br></div>-- <br><div class="gmail_signature"><div dir="ltr">







<p><font face="courier new, monospace"><b><i><font size="4">Brian West</font></i></b><br><span style="font-size:x-small"><a href="mailto:brian@freeswitch.org" target="_blank">brian@freeswitch.org</a></span></font></p>
<p><font size="1" face="courier new, monospace"><img src="http://billing.freeswitch.org/templates/default/img/whmcslogo.png"><br></font></p><p><font face="courier new, monospace"><b><i>Twitter: @FreeSWITCH , @briankwest</i></b><br><a href="http://www.freeswitchbook.com" target="_blank">http://www.freeswitchbook.com</a><br><a href="http://www.freeswitchcookbook.com" target="_blank">http://www.freeswitchcookbook.com</a></font></p>
<p><font face="courier new, monospace"><b>T:</b>+19184209001 | <b>F:</b>+19184209002 | <b>M:</b>+1918424WEST (9378)<br><b>iNUM:</b>+883 5100 1420 9001 | <b>ISN:</b>410*543 | <b>Skype:</b>briankwest</font></p></div></div>
</div>