<html><head><meta http-equiv="content-type" content="text/html; charset=utf-8"></head><body dir="auto"><div>Bugs get reported to jira<br><br>Sent from my iPhone</div><div><br>On Oct 26, 2016, at 6:50 PM, Josh Jore &lt;<a href="mailto:jjore@marchex.com">jjore@marchex.com</a>&gt; wrote:<br><br></div><blockquote type="cite"><div>

<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">



<div id="divtagdefaultwrapper" style="font-size:12pt;color:#000000;font-family:Calibri,Arial,Helvetica,sans-serif;">
<p>Hi,</p>
<p>I just downloaded a fresh Jessie64 and failed building Freeswitch v1.6 with SCTP. Seems maybe SCTP just isn't supported right now or ...? Are there any configurations where this works?</p>
<p><br>
</p>
<p>$ vagrant init debian/jessie64<br>
$ vagrant up</p>
<p>$ vagrant ssh</p>
<p>Follow <a href="https://freeswitch.org/confluence/display/FREESWITCH/Debian+8+Jessie" class="OWAAutoLink" id="LPlnk175072" previewremoved="true">
https://freeswitch.org/confluence/display/FREESWITCH/Debian+8+Jessie</a></p>
<p>...</p>
<p>$ git checkout v1.6 #&nbsp;<a href="https://freeswitch.org/stash/projects/FS/repos/freeswitch/commits/96eca8abb15ddf2b6d6cb48d19fa39ac064f607e" class="OWAAutoLink" id="LPlnk101438" previewremoved="true">https://freeswitch.org/stash/projects/FS/repos/freeswitch/commits/96eca8abb15ddf2b6d6cb48d19fa39ac064f607e</a></p>
<p>$ ./bootstrap.sh -j</p>
<p>$ ./configure --enable-sctp --prefix=...</p>
<p>...</p>
<p></p>
<div>Making all in tport<br>
make[8]: Entering directory '/home/vagrant/freeswitch/libs/sofia-sip/libsofia-sip-ua/tport'<br>
make&nbsp; all-am<br>
make[9]: Entering directory '/home/vagrant/freeswitch/libs/sofia-sip/libsofia-sip-ua/tport'<br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; LTCOMPILE tport.lo<br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; LTCOMPILE tport_logging.lo<br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; LTCOMPILE tport_stub_sigcomp.lo<br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; LTCOMPILE tport_type_udp.lo<br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; LTCOMPILE tport_type_tcp.lo<br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; LTCOMPILE tport_type_sctp.lo<br>
tport_type_sctp.c: In function ‘tport_sctp_init_socket’:<br>
tport_type_sctp.c:206:10: error: variable ‘initmsg’ has initializer but incomplete type<br>
&nbsp;&nbsp; struct sctp_initmsg initmsg = { 0 };<br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; ^<br>
tport_type_sctp.c:206:10: error: excess elements in struct initializer [-Werror]<br>
tport_type_sctp.c:206:10: error: (near initialization for ‘initmsg’) [-Werror]<br>
tport_type_sctp.c:206:23: error: storage size of ‘initmsg’ isn’t known<br>
&nbsp;&nbsp; struct sctp_initmsg initmsg = { 0 };<br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; ^<br>
tport_type_sctp.c:211:36: error: ‘SCTP_INITMSG’ undeclared (first use in this function)<br>
&nbsp;&nbsp; if (setsockopt(socket, SOL_SCTP, SCTP_INITMSG, &amp;initmsg, sizeof initmsg) &lt; 0)<br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; ^<br>
tport_type_sctp.c:211:36: note: each undeclared identifier is reported only once for each function it appears in<br>
tport_type_sctp.c:206:23: error: unused variable ‘initmsg’ [-Werror=unused-variable]<br>
&nbsp;&nbsp; struct sctp_initmsg initmsg = { 0 };<br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; ^<br>
cc1: all warnings being treated as errors<br>
</div>
<br>
<p></p>
</div>


</div></blockquote><blockquote type="cite"><div><span>_________________________________________________________________________</span><br><span>Professional FreeSWITCH Consulting Services: </span><br><span><a href="mailto:consulting@freeswitch.org">consulting@freeswitch.org</a></span><br><span><a href="http://www.freeswitchsolutions.com">http://www.freeswitchsolutions.com</a></span><br><span></span><br><span>Official FreeSWITCH Sites</span><br><span><a href="http://www.freeswitch.org">http://www.freeswitch.org</a></span><br><span><a href="http://confluence.freeswitch.org">http://confluence.freeswitch.org</a></span><br><span><a href="http://www.cluecon.com">http://www.cluecon.com</a></span><br><span></span><br><span>FreeSWITCH-users mailing list</span><br><span><a href="mailto:FreeSWITCH-users@lists.freeswitch.org">FreeSWITCH-users@lists.freeswitch.org</a></span><br><span><a href="http://lists.freeswitch.org/mailman/listinfo/freeswitch-users">http://lists.freeswitch.org/mailman/listinfo/freeswitch-users</a></span><br><span>UNSUBSCRIBE:<a href="http://lists.freeswitch.org/mailman/options/freeswitch-users">http://lists.freeswitch.org/mailman/options/freeswitch-users</a></span><br><span><a href="http://www.freeswitch.org">http://www.freeswitch.org</a></span></div></blockquote></body></html>