[Freeswitch-users] Can't build 1.6 on Jessie w/ SCTP

Ken Rice krice at freeswitch.org
Thu Oct 27 16:47:08 MSD 2016


Bugs get reported to jira

Sent from my iPhone

> On Oct 26, 2016, at 6:50 PM, Josh Jore <jjore at marchex.com> wrote:
> 
> Hi,
> 
> I just downloaded a fresh Jessie64 and failed building Freeswitch v1.6 with SCTP. Seems maybe SCTP just isn't supported right now or ...? Are there any configurations where this works?
> 
> 
> $ vagrant init debian/jessie64
> $ vagrant up
> 
> $ vagrant ssh
> 
> Follow https://freeswitch.org/confluence/display/FREESWITCH/Debian+8+Jessie
> 
> ...
> 
> $ git checkout v1.6 # https://freeswitch.org/stash/projects/FS/repos/freeswitch/commits/96eca8abb15ddf2b6d6cb48d19fa39ac064f607e
> 
> $ ./bootstrap.sh -j
> 
> $ ./configure --enable-sctp --prefix=...
> 
> ...
> 
> Making all in tport
> make[8]: Entering directory '/home/vagrant/freeswitch/libs/sofia-sip/libsofia-sip-ua/tport'
> make  all-am
> make[9]: Entering directory '/home/vagrant/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 };
>                        ^
> cc1: all warnings being treated as errors
> 
> _________________________________________________________________________
> Professional FreeSWITCH Consulting Services: 
> consulting at 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 at lists.freeswitch.org
> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users
> http://www.freeswitch.org
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20161027/934a2095/attachment-0001.html 


Join us at ClueCon 2016 Aug 8-12, 2016
More information about the FreeSWITCH-users mailing list