<div dir="ltr">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">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="inbox-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="inbox-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="inbox-inbox-s2"><b>error: </b></span><span class="inbox-inbox-s1">variable '<b>initmsg</b>' has initializer but incomplete type</span><br> struct sctp_initmsg initmsg = { 0 };<br><b><span class="inbox-inbox-Apple-converted-space"> </span>^</b><br><b>tport_type_sctp.c:206:10:</b> <span class="inbox-inbox-s2"><b>error: </b></span><span class="inbox-inbox-s1">excess elements in struct initializer [-Werror]</span><br><b>tport_type_sctp.c:206:10:</b> <span class="inbox-inbox-s2"><b>error: </b></span><span class="inbox-inbox-s1">(near initialization for '<b>initmsg</b>') [-Werror]</span><br><b>tport_type_sctp.c:206:23:</b> <span class="inbox-inbox-s2"><b>error: </b></span><span class="inbox-inbox-s1">storage size of '<b>initmsg</b>' isn't known</span><br> struct sctp_initmsg initmsg = { 0 };<br><b><span class="inbox-inbox-Apple-converted-space"> </span>^</b><br><b>tport_type_sctp.c:211:36:</b> <span class="inbox-inbox-s2"><b>error: </b></span><span class="inbox-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="inbox-inbox-Apple-converted-space"> </span>^</b><br><b>tport_type_sctp.c:211:36:</b> <span class="inbox-inbox-s3"><b>note: </b></span><span class="inbox-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="inbox-inbox-s2"><b>error: </b></span><span class="inbox-inbox-s1">unused variable '<b>initmsg</b>' [-Werror=unused-variable]</span><br> struct sctp_initmsg initmsg = { 0 };<br><b><span class="inbox-inbox-Apple-converted-space"> </span>^</b></font></p></div><div>
<p class="inbox-inbox-p1">Thank you all,</p><p class="inbox-inbox-p1">Wes</p><p class="inbox-inbox-p1"><span class="inbox-inbox-s1"><br></span></p><p class="inbox-inbox-p1"><span class="inbox-inbox-s1"><br></span></p></div></div><div dir="ltr">-- <br></div><div class="gmail_signature" data-smartmail="gmail_signature"><div dir="ltr"><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>