Can't build 1.6 on Jessie w/ SCTP
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/96eca8abb1... $ ./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
Bugs get reported to jira Sent from my iPhone
On Oct 26, 2016, at 6:50 PM, Josh Jore <jjore@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/96eca8abb1...
$ ./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@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
You probably need the depend lib sofia expects for sctp first. On Thu, Oct 27, 2016 at 7:47 AM, Ken Rice <krice@freeswitch.org> wrote:
Bugs get reported to jira
Sent from my iPhone
On Oct 26, 2016, at 6:50 PM, Josh Jore <jjore@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@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
_________________________________________________________________________ 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
-- Anthony Minessale II ♬ @anthmfs ♬ @FreeSWITCH ♬ ☞ http://freeswitch.org/ ☞ http://cluecon.com/ ☞ http://twitter.com/FreeSWITCH ☞ irc.freenode.net #freeswitch ☞ *http://freeswitch.org/g+ <http://freeswitch.org/g+>* ClueCon Weekly Development Call ☎ sip:888@conference.freeswitch.org ☎ +19193869900 https://www.youtube.com/watch?v=9XXgW34t40s https://www.youtube.com/watch?v=NLaDpGQuZDA
participants (3)
-
Anthony Minessale
-
Josh Jore
-
Ken Rice