looks like sctp issues with centos.  dont configure enabling this?

On Thu, Aug 3, 2017 at 10:07 AM Wesley Akio <wesleyakio@tuntscorp.com> wrote:
Hi all,

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.

I followed the step by step on https://freeswitch.org/confluence/display/FREESWITCH/CentOS+7+and+RHEL+7 but got the following issue, I'm assuming this could be a version issue but I'm way out of my depth here...

[root@fs1 freeswitch]# cpp --version
cpp (GCC) 4.8.5 20150623 (Red Hat 4.8.5-11)
...
[root@fs1 freeswitch]# make
...

make[9]: Entering directory `/usr/local/src/freeswitch/libs/sofia-sip/libsofia-sip-ua/tport'
LTCOMPILE tport.lo
LTCOMPILE tport_logging.lo
LTCOMPILE tport_stub_sigcomp.lo
LTCOMPILE tport_type_udp.lo
LTCOMPILE tport_type_tcp.lo
LTCOMPILE tport_type_sctp.lo
tport_type_sctp.c: In function 'tport_sctp_init_socket':
tport_type_sctp.c:206:10: error: variable 'initmsg' has initializer but incomplete type
   struct sctp_initmsg initmsg = { 0 };
          ^
tport_type_sctp.c:206:10: error: excess elements in struct initializer [-Werror]
tport_type_sctp.c:206:10: error: (near initialization for 'initmsg') [-Werror]
tport_type_sctp.c:206:23: error: storage size of 'initmsg' isn't known
   struct sctp_initmsg initmsg = { 0 };
                       ^
tport_type_sctp.c:211:36: error: 'SCTP_INITMSG' undeclared (first use in this function)
   if (setsockopt(socket, SOL_SCTP, SCTP_INITMSG, &initmsg, sizeof initmsg) < 0)
                                    ^
tport_type_sctp.c:211:36: note: each undeclared identifier is reported only once for each function it appears in
tport_type_sctp.c:206:23: error: unused variable 'initmsg' [-Werror=unused-variable]
   struct sctp_initmsg initmsg = { 0 };
                       ^

Thank you all,

Wes



--
  Wesley Akio

  Travessa da Lapa 96 - Sala 24

  Centro – Curitiba – 80010-190

  :  +55 (41) 99950-0033 

  :  +1 (305) 842-7095 

  : wesley_akio_

_________________________________________________________________________
Professional FreeSWITCH Consulting Services:
consulting@freeswitch.org
http://www.freeswitchsolutions.com

Official FreeSWITCH Sites
http://www.freeswitch.org
http://confluence.freeswitch.org
http://www.cluecon.com

FreeSWITCH-users mailing list
FreeSWITCH-users@lists.freeswitch.org
http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users
http://www.freeswitch.org