<div><div dir="auto">looks like sctp issues with centos. dont configure enabling this?</div><br><div class="gmail_quote"><div>On Thu, Aug 3, 2017 at 10:07 AM Wesley Akio <<a href="mailto:wesleyakio@tuntscorp.com">wesleyakio@tuntscorp.com</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div>Hi all,<div><br></div><div>I know confluence says the recommended way is to install from RPMs on Centos 7 but... I do need mod_khomp and they don't have packages so here I am.</div><div><br></div><div>I followed the step by step on <a href="https://freeswitch.org/confluence/display/FREESWITCH/CentOS+7+and+RHEL+7" target="_blank">https://freeswitch.org/confluence/display/FREESWITCH/CentOS+7+and+RHEL+7</a> but got the following issue, I'm assuming this could be a version issue but I'm way out of my depth here...</div><div><br></div><div><p class="m_-8376854653820400726inbox-inbox-inbox-inbox-p1"><font face="monospace">[root@fs1 freeswitch]# cpp --version<br>cpp (GCC) 4.8.5 20150623 (Red Hat 4.8.5-11)<br>...<br>[root@fs1 freeswitch]# make<br>...</font><br></p></div><div>
<p class="m_-8376854653820400726inbox-inbox-p1"><font face="monospace">make[9]: Entering directory `/usr/local/src/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><b>tport_type_sctp.c:</b> In function '<b>tport_sctp_init_socket</b>':<br><b>tport_type_sctp.c:206:10:</b> <span class="m_-8376854653820400726inbox-inbox-s2"><b>error: </b></span><span class="m_-8376854653820400726inbox-inbox-s1">variable '<b>initmsg</b>' has initializer but incomplete type</span><br> struct sctp_initmsg initmsg = { 0 };<br><b><span class="m_-8376854653820400726inbox-inbox-Apple-converted-space"> </span>^</b><br><b>tport_type_sctp.c:206:10:</b> <span class="m_-8376854653820400726inbox-inbox-s2"><b>error: </b></span><span class="m_-8376854653820400726inbox-inbox-s1">excess elements in struct initializer [-Werror]</span><br><b>tport_type_sctp.c:206:10:</b> <span class="m_-8376854653820400726inbox-inbox-s2"><b>error: </b></span><span class="m_-8376854653820400726inbox-inbox-s1">(near initialization for '<b>initmsg</b>') [-Werror]</span><br><b>tport_type_sctp.c:206:23:</b> <span class="m_-8376854653820400726inbox-inbox-s2"><b>error: </b></span><span class="m_-8376854653820400726inbox-inbox-s1">storage size of '<b>initmsg</b>' isn't known</span><br> struct sctp_initmsg initmsg = { 0 };<br><b><span class="m_-8376854653820400726inbox-inbox-Apple-converted-space"> </span>^</b><br><b>tport_type_sctp.c:211:36:</b> <span class="m_-8376854653820400726inbox-inbox-s2"><b>error: </b></span><span class="m_-8376854653820400726inbox-inbox-s1">'<b>SCTP_INITMSG</b>' undeclared (first use in this function)</span><br> if (setsockopt(socket, SOL_SCTP, SCTP_INITMSG, &initmsg, sizeof initmsg) < 0)<br><b><span class="m_-8376854653820400726inbox-inbox-Apple-converted-space"> </span>^</b><br><b>tport_type_sctp.c:211:36:</b> <span class="m_-8376854653820400726inbox-inbox-s3"><b>note: </b></span><span class="m_-8376854653820400726inbox-inbox-s1">each undeclared identifier is reported only once for each function it appears in</span><br><b>tport_type_sctp.c:206:23:</b> <span class="m_-8376854653820400726inbox-inbox-s2"><b>error: </b></span><span class="m_-8376854653820400726inbox-inbox-s1">unused variable '<b>initmsg</b>' [-Werror=unused-variable]</span><br> struct sctp_initmsg initmsg = { 0 };<br><b><span class="m_-8376854653820400726inbox-inbox-Apple-converted-space"> </span>^</b></font></p></div><div>
<p class="m_-8376854653820400726inbox-inbox-p1">Thank you all,</p><p class="m_-8376854653820400726inbox-inbox-p1">Wes</p><p class="m_-8376854653820400726inbox-inbox-p1"><span class="m_-8376854653820400726inbox-inbox-s1"><br></span></p><p class="m_-8376854653820400726inbox-inbox-p1"><span class="m_-8376854653820400726inbox-inbox-s1"><br></span></p></div></div><div>-- <br></div><div class="m_-8376854653820400726gmail_signature" data-smartmail="gmail_signature"><div><div style="color:rgb(34,34,34);font-family:arial,sans-serif;font-size:12.8px"><a href="http://www.tuntscorp.com/" target="_blank"><img src="http://mars.tunts.net/signature/tuntscorp-small.png"></a></div><div style="color:rgb(34,34,34);font-family:arial,sans-serif;font-size:12.8px"><div><span lang="EN-US" style="color:rgb(0,0,0);font-size:8pt;font-family:verdana,sans-serif"> </span><b style="font-family:"times new roman",serif;font-size:12pt"><span style="font-size:8pt;font-family:verdana,sans-serif;color:rgb(31,73,125)">Wesley Akio</span></b></div><div><p style="margin:0cm 0cm 0.0001pt;font-size:12pt;font-family:"times new roman",serif"><span style="font-size:8pt;font-family:verdana,sans-serif;color:rgb(31,73,125)"> </span><span style="font-family:verdana,sans-serif;font-size:8pt;color:rgb(0,0,0)">Travessa da Lapa 96 - Sala 24</span></p><p style="font-size:small;margin:0cm 0cm 0.0001pt;font-family:"times new roman",serif"><span style="font-family:verdana,sans-serif"><font color="#000000"><span style="font-size:8pt"> </span><span style="font-size:11px">Centro </span></font></span><span style="font-size:8pt;font-family:verdana,sans-serif"><font color="#000000">– Curitiba – 80010-190</font></span></p><p style="margin:0cm 0cm 0.0001pt"><span style="color:rgb(0,0,0);font-family:verdana,sans-serif;font-size:11px"> <img src="http://mars.tunts.net/signature/phone_icon.png"></span><font color="#000000" style="font-size:12.8px"><span style="font-family:verdana,sans-serif;font-size:8pt">: +55 </span><span style="font-family:verdana,sans-serif;font-size:11px">(41) 99950-0033</span></font> </p><p style="margin:0cm 0cm 0.0001pt"><span style="color:rgb(0,0,0);font-family:verdana,sans-serif;font-size:11px"> <img src="http://mars.tunts.net/signature/phone_icon.png"></span><font color="#000000" style="font-size:12.8px"><span style="font-family:verdana,sans-serif;font-size:8pt">: +1 (305)</span><span style="font-family:verdana,sans-serif;font-size:11px"> 842-7095</span></font> <font color="#000000"><span style="font-family:verdana,sans-serif;font-size:11px"><br></span></font></p><p style="margin:0cm 0cm 0.0001pt;font-size:12pt;font-family:"times new roman",serif"><span lang="EN-US" style="font-size:8pt;font-family:verdana,sans-serif"><span style="color:rgb(0,0,0)"> <img src="http://mars.tunts.net/signature/icon-small-skype.png"></span><font color="#000000">: </font><font color="#0000ff">wesley_akio_</font></span></p></div></div></div></div>
_________________________________________________________________________<br>
Professional FreeSWITCH Consulting Services:<br>
<a href="mailto:consulting@freeswitch.org" target="_blank">consulting@freeswitch.org</a><br>
<a href="http://www.freeswitchsolutions.com" rel="noreferrer" target="_blank">http://www.freeswitchsolutions.com</a><br>
<br>
Official FreeSWITCH Sites<br>
<a href="http://www.freeswitch.org" rel="noreferrer" target="_blank">http://www.freeswitch.org</a><br>
<a href="http://confluence.freeswitch.org" rel="noreferrer" target="_blank">http://confluence.freeswitch.org</a><br>
<a href="http://www.cluecon.com" rel="noreferrer" target="_blank">http://www.cluecon.com</a><br>
<br>
FreeSWITCH-users mailing list<br>
<a href="mailto:FreeSWITCH-users@lists.freeswitch.org" target="_blank">FreeSWITCH-users@lists.freeswitch.org</a><br>
<a href="http://lists.freeswitch.org/mailman/listinfo/freeswitch-users" rel="noreferrer" target="_blank">http://lists.freeswitch.org/mailman/listinfo/freeswitch-users</a><br>
UNSUBSCRIBE:<a href="http://lists.freeswitch.org/mailman/options/freeswitch-users" rel="noreferrer" target="_blank">http://lists.freeswitch.org/mailman/options/freeswitch-users</a><br>
<a href="http://www.freeswitch.org" rel="noreferrer" target="_blank">http://www.freeswitch.org</a></blockquote></div></div>