Can’t Compile Asterisk On Ubuntu 16

Home » Asterisk Users » Can’t Compile Asterisk On Ubuntu 16
Asterisk Users 4 Comments

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@voipbusiness.us

4 thoughts on - Can’t Compile Asterisk On Ubuntu 16