<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+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 # <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 all-am<br>
make[9]: Entering directory '/home/vagrant/freeswitch/libs/sofia-sip/libsofia-sip-ua/tport'<br>
LTCOMPILE tport.lo<br>
LTCOMPILE tport_logging.lo<br>
LTCOMPILE tport_stub_sigcomp.lo<br>
LTCOMPILE tport_type_udp.lo<br>
LTCOMPILE tport_type_tcp.lo<br>
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>
struct sctp_initmsg initmsg = { 0 };<br>
^<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>
struct sctp_initmsg initmsg = { 0 };<br>
^<br>
tport_type_sctp.c:211:36: error: ‘SCTP_INITMSG’ undeclared (first use in this function)<br>
if (setsockopt(socket, SOL_SCTP, SCTP_INITMSG, &initmsg, sizeof initmsg) < 0)<br>
^<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>
struct sctp_initmsg initmsg = { 0 };<br>
^<br>
cc1: all warnings being treated as errors<br>
</div>
<br>
<p></p>
</div>
</body>
</html>