[asterisk-users] Can't compile Asterisk on Ubuntu 16

Jonathan H lardconcepts at gmail.com
Tue Apr 18 08:10:28 CDT 2017


Feel free to take a look at
https://github.com/lardconcepts/asterisk-digitalocean-voipfone-config/blob/master/Asterisk-14-on-Ubuntu.md

Ignore the bit about Voipfone and just skip to the "Install Asterisk" bit.

I've used this same script with Asterisk 12,13 and 14 on Ubuntu 15,16
and 17 so this should work!

Let me know how you get on.

On 18 April 2017 at 13:41, Tech Support <asterisk at voipbusiness.us> wrote:
> All;
>
>     I am trying to build and install certified Asterisk 13.13 cert3 on a
> Ubuntu 16.04.2 LTS host without much success. I am getting the following
> errors when I try to compile.
>
>
>
>    [CC] res_pjsip/config_transport.c -> res_pjsip/config_transport.o
>
> res_pjsip/config_transport.c: In function 'transport_apply':
>
> res_pjsip/config_transport.c:572:6: error: 'pjsip_tcp_transport_cfg {aka
> struct pjsip_tcp_transport_cfg}' has no member named 'sockopt_params'
>
>    cfg.sockopt_params.options[0].level = pj_SOL_TCP();
>
>       ^
>
> res_pjsip/config_transport.c:573:6: error: 'pjsip_tcp_transport_cfg {aka
> struct pjsip_tcp_transport_cfg}' has no member named 'sockopt_params'
>
>    cfg.sockopt_params.options[0].optname = pj_TCP_NODELAY();
>
>       ^
>
> res_pjsip/config_transport.c:574:6: error: 'pjsip_tcp_transport_cfg {aka
> struct pjsip_tcp_transport_cfg}' has no member named 'sockopt_params'
>
>    cfg.sockopt_params.options[0].optval = &option;
>
>       ^
>
> res_pjsip/config_transport.c:575:6: error: 'pjsip_tcp_transport_cfg {aka
> struct pjsip_tcp_transport_cfg}' has no member named 'sockopt_params'
>
>    cfg.sockopt_params.options[0].optlen = sizeof(option);
>
>       ^
>
> res_pjsip/config_transport.c:576:6: error: 'pjsip_tcp_transport_cfg {aka
> struct pjsip_tcp_transport_cfg}' has no member named 'sockopt_params'
>
>    cfg.sockopt_params.cnt = 1;
>
>       ^
>
> /usr/src/asterisk-certified-13.13-cert3/Makefile.rules:149: recipe for
> target 'res_pjsip/config_transport.o' failed
>
> make[1]: *** [res_pjsip/config_transport.o] Error 1
>
> Makefile:402: recipe for target 'res' failed
>
> make: *** [res] Error 2
>
>
>
> Has anyone seen this error before? Any insight at all would be greatly
> appreciated.
>
> Thanks;
>
> John V.
>
>
>
> Tech Support
>
> Tech Support
>
> VoIP Business Solutions
>
> 240-215-3479 x325
>
> support at voipbusiness.us
>
>
>
>
> --
> _____________________________________________________________________
> -- Bandwidth and Colocation Provided by http://www.api-digital.com --
>
> Check out the new Asterisk community forum at:
> https://community.asterisk.org/
>
> New to Asterisk? Start here:
>       https://wiki.asterisk.org/wiki/display/AST/Getting+Started
>
> asterisk-users mailing list
> To UNSUBSCRIBE or update options visit:
>    http://lists.digium.com/mailman/listinfo/asterisk-users



More information about the asterisk-users mailing list