[Freeswitch-users] 1.6 compilation from source on Centos 7
Wesley Akio
wesleyakio at tuntscorp.com
Thu Aug 3 15:03:17 UTC 2017
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 at fs1 freeswitch]# cpp --version
cpp (GCC) 4.8.5 20150623 (Red Hat 4.8.5-11)
...
[root at 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
--
<http://www.tuntscorp.com/>
*Wesley Akio*
Travessa da Lapa 96 - Sala 24
Centro – Curitiba – 80010-190
: +55 (41) 99950-0033
: +1 (305) 842-7095
: wesley_akio_
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20170803/a966cc8b/attachment.html>
More information about the FreeSWITCH-users
mailing list