[asterisk-bugs] [JIRA] (ASTERISK-24962) Asterisk does not compile with last pjproject

Badalian Vyacheslav (JIRA) noreply at issues.asterisk.org
Tue Apr 14 08:33:33 CDT 2015


Badalian Vyacheslav created ASTERISK-24962:
----------------------------------------------

             Summary: Asterisk does not compile with last pjproject
                 Key: ASTERISK-24962
                 URL: https://issues.asterisk.org/jira/browse/ASTERISK-24962
             Project: Asterisk
          Issue Type: Bug
      Security Level: None
          Components: pjproject/pjsip
    Affects Versions: 13.3.2
            Reporter: Badalian Vyacheslav
            Severity: Critical


Try to use pjproject 2.4 and last {{master}} from git

{code}
  if (pj_ice_sess_create(&stun_config, NULL, PJ_ICE_SESS_ROLE_UNKNOWN, 2,
      ^
In file included from /usr/local/include/pjnath.h:23:0,
                 from res_rtp_asterisk.c:53:
/usr/local/include/pjnath/ice_session.h:737:22: note: declared here
 PJ_DECL(pj_status_t) pj_ice_sess_create(pj_stun_config *stun_cfg,
                      ^
make[1]: *** [res_rtp_asterisk.o] Error 1


res_pjsip/config_transport.c: In function ‘transport_apply’:
res_pjsip/config_transport.c:221:17: error: ‘pjsip_tls_setting’ has no member named ‘ca_list_path’
   transport->tls.ca_list_path = pj_str((char*)transport->ca_list_path);
                 ^
res_pjsip/config_transport.c:233:3: warning: implicit declaration of function ‘pjsip_tls_transport_start2’ [-Wimplicit-function-declaration]
   res = pjsip_tls_transport_start2(ast_sip_get_pjsip_endpoint(), &transport->tls, &transport->host, NULL, transport->async_operations, &transport->state->factory);
   ^
make[1]: *** [res_pjsip/config_transport.o] Error 1
make[1]: *** Waiting for unfinished jobs....
res_pjsip/pjsip_distributor.c: In function ‘find_dialog’:
res_pjsip/pjsip_distributor.c:144:2: warning: implicit declaration of function ‘pj_grp_lock_release’ [-Wimplicit-function-declaration]
  pj_grp_lock_release(tsx->grp_lock);
  ^
res_pjsip/pjsip_distributor.c:144:25: error: ‘pjsip_transaction’ has no member named ‘grp_lock’
  pj_grp_lock_release(tsx->grp_lock);
                         ^
res_pjsip/pjsip_distributor.c: In function ‘distributor’:
res_pjsip/pjsip_distributor.c:187:2: warning: implicit declaration of function ‘pjsip_rx_data_clone’ [-Wimplicit-function-declaration]
  pjsip_rx_data_clone(rdata, 0, &clone);
  ^
res_pjsip/pjsip_distributor.c: In function ‘distribute’:
res_pjsip/pjsip_distributor.c:338:9: error: unknown type name ‘pjsip_process_rdata_param’
  static pjsip_process_rdata_param param = {
         ^
res_pjsip/pjsip_distributor.c:339:3: error: field name not in record or union initializer
   .start_mod = &distributor_mod,
   ^
res_pjsip/pjsip_distributor.c:339:3: error: (near initialization for ‘param’)
res_pjsip/pjsip_distributor.c:339:3: warning: initialization makes integer from pointer without a cast
res_pjsip/pjsip_distributor.c:339:3: warning: (near initialization for ‘param’)
res_pjsip/pjsip_distributor.c:339:3: error: initializer element is not computable at load time
res_pjsip/pjsip_distributor.c:339:3: error: (near initialization for ‘param’)
res_pjsip/pjsip_distributor.c:340:3: error: field name not in record or union initializer
   .idx_after_start = 1,
   ^
res_pjsip/pjsip_distributor.c:340:3: error: (near initialization for ‘param’)
res_pjsip/pjsip_distributor.c:340:3: warning: excess elements in scalar initializer
res_pjsip/pjsip_distributor.c:340:3: warning: (near initialization for ‘param’)
res_pjsip/pjsip_distributor.c:348:2: warning: implicit declaration of function ‘pjsip_endpt_process_rx_data’ [-Wimplicit-function-declaration]
  pjsip_endpt_process_rx_data(ast_sip_get_pjsip_endpoint(), rdata, &param, &handled);
  ^
res_pjsip/pjsip_distributor.c:358:2: warning: implicit declaration of function ‘pjsip_rx_data_free_cloned’ [-Wimplicit-function-declaration]
  pjsip_rx_data_free_cloned(rdata);
  ^
make[1]: *** [res_pjsip/pjsip_distributor.o] Error 1
make: *** [res] Error 2
{code}



--
This message was sent by Atlassian JIRA
(v6.2#6252)



More information about the asterisk-bugs mailing list