<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
<style type="text/css" style="display:none;"><!-- P {margin-top:0;margin-bottom:0;} --></style>
</head>
<body dir="ltr">
<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&#43;8&#43;Jessie" class="OWAAutoLink" id="LPlnk175072" previewremoved="true">
https://freeswitch.org/confluence/display/FREESWITCH/Debian&#43;8&#43;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 &#8216;tport_sctp_init_socket&#8217;:<br>
tport_type_sctp.c:206:10: error: variable &#8216;initmsg&#8217; 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 &#8216;initmsg&#8217;) [-Werror]<br>
tport_type_sctp.c:206:23: error: storage size of &#8216;initmsg&#8217; isn&#8217;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: &#8216;SCTP_INITMSG&#8217; 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 &#8216;initmsg&#8217; [-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>
</body>
</html>