[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