Changes:
------------------------------------------ [...truncated 351.88 KB...] gsm_04_08.c: In function ‘mm_rx_loc_upd_req’: gsm_04_08.c:639:2: warning: ‘gsm48_mi_to_string’ is deprecated: Instead use osmo_mobile_identity_decode() [-Wdeprecated-declarations] gsm48_mi_to_string(mi_string, sizeof(mi_string), lu->mi, lu->mi_len); ^~~~~~~~~~~~~~~~~~ In file included from ../../include/openbsc/gsm_04_08.h:4, from ../../include/openbsc/rest_octets.h:5, from ../../include/openbsc/gsm_data.h:18, from ../../include/openbsc/gsm_subscriber.h:9, from ../../include/openbsc/db.h:25, from gsm_04_08.c:38: /build/deps/install/stow/libosmocore/include/osmocom/gsm/gsm48.h:66:5: note: declared here int gsm48_mi_to_string(char *string, int str_len, const uint8_t *mi, int mi_len) ^~~~~~~~~~~~~~~~~~ gsm_04_08.c: In function ‘gsm48_rx_mm_serv_req’: gsm_04_08.c:1029:2: warning: ‘gsm48_mi_to_string’ is deprecated: Instead use osmo_mobile_identity_decode() [-Wdeprecated-declarations] gsm48_mi_to_string(mi_string, sizeof(mi_string), mi, mi_len); ^~~~~~~~~~~~~~~~~~ In file included from ../../include/openbsc/gsm_04_08.h:4, from ../../include/openbsc/rest_octets.h:5, from ../../include/openbsc/gsm_data.h:18, from ../../include/openbsc/gsm_subscriber.h:9, from ../../include/openbsc/db.h:25, from gsm_04_08.c:38: /build/deps/install/stow/libosmocore/include/osmocom/gsm/gsm48.h:66:5: note: declared here int gsm48_mi_to_string(char *string, int str_len, const uint8_t *mi, int mi_len) ^~~~~~~~~~~~~~~~~~ gsm_04_08.c: In function ‘gsm48_rx_mm_imsi_detach_ind’: gsm_04_08.c:1091:2: warning: ‘gsm48_mi_to_string’ is deprecated: Instead use osmo_mobile_identity_decode() [-Wdeprecated-declarations] gsm48_mi_to_string(mi_string, sizeof(mi_string), idi->mi, idi->mi_len); ^~~~~~~~~~~~~~~~~~ In file included from ../../include/openbsc/gsm_04_08.h:4, from ../../include/openbsc/rest_octets.h:5, from ../../include/openbsc/gsm_data.h:18, from ../../include/openbsc/gsm_subscriber.h:9, from ../../include/openbsc/db.h:25, from gsm_04_08.c:38: /build/deps/install/stow/libosmocore/include/osmocom/gsm/gsm48.h:66:5: note: declared here int gsm48_mi_to_string(char *string, int str_len, const uint8_t *mi, int mi_len) ^~~~~~~~~~~~~~~~~~ gsm_04_08.c: In function ‘count_statistics’: gsm_04_08.c:1591:3: warning: ‘osmo_counter_inc’ is deprecated: Implement as osmo_stat_item instead [-Wdeprecated-declarations] osmo_counter_inc(trans->net->active_calls); ^~~~~~~~~~~~~~~~ In file included from /build/deps/install/stow/libosmocore/include/osmocom/core/statistics.h:2, from ../../include/openbsc/gsm_data_shared.h:10, from ../../include/openbsc/gsm_data.h:178, from ../../include/openbsc/gsm_subscriber.h:9, from ../../include/openbsc/db.h:25, from gsm_04_08.c:38: /build/deps/install/stow/libosmocore/include/osmocom/core/counter.h:28:20: note: declared here static inline void osmo_counter_inc(struct osmo_counter *ctr) ^~~~~~~~~~~~~~~~ gsm_04_08.c:1599:3: warning: ‘osmo_counter_dec’ is deprecated: Implement as osmo_stat_item instead [-Wdeprecated-declarations] osmo_counter_dec(trans->net->active_calls); ^~~~~~~~~~~~~~~~ In file included from /build/deps/install/stow/libosmocore/include/osmocom/core/statistics.h:2, from ../../include/openbsc/gsm_data_shared.h:10, from ../../include/openbsc/gsm_data.h:178, from ../../include/openbsc/gsm_subscriber.h:9, from ../../include/openbsc/db.h:25, from gsm_04_08.c:38: /build/deps/install/stow/libosmocore/include/osmocom/core/counter.h:20:20: note: declared here static inline void osmo_counter_dec(struct osmo_counter *ctr) ^~~~~~~~~~~~~~~~ gsm_04_11.c: In function ‘gsm340_rx_tpdu’: gsm_04_11.c:454:2: warning: ‘gsm48_decode_bcd_number’ is deprecated: Use gsm48_decode_bcd_number2() for improved bounds checking [-Wdeprecated-declarations] gsm48_decode_bcd_number(gsms->dst.addr, ^~~~~~~~~~~~~~~~~~~~~~~ In file included from /build/deps/install/stow/libosmocore/include/osmocom/gsm/gsm48.h:13, from ../../include/openbsc/gsm_04_08.h:4, from ../../include/openbsc/rest_octets.h:5, from ../../include/openbsc/gsm_data.h:18, from gsm_04_11.c:47: /build/deps/install/stow/libosmocore/include/osmocom/gsm/gsm48_ie.h:16:5: note: declared here int gsm48_decode_bcd_number(char *output, int output_len, ^~~~~~~~~~~~~~~~~~~~~~~ CC gsm_04_14.o CC gsm_04_80.o CC gsm_subscriber.o CC mncc.o gsm_04_80.c: In function ‘msc_send_ussd_release_complete’: gsm_04_80.c:142:9: warning: ‘gsm0480_create_ussd_release_complete’ is deprecated: Use gsm0480_create_release_complete() instead. [-Wdeprecated-declarations] struct msgb *msg = gsm0480_create_ussd_release_complete(); ^~~~ In file included from ../../include/openbsc/gsm_04_80.h:5, from gsm_04_80.c:34: /build/deps/install/stow/libosmocore/include/osmocom/gsm/gsm0480.h:120:14: note: declared here struct msgb *gsm0480_create_ussd_release_complete(void) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ CC mncc_builtin.o CC mncc_sock.o CC silent_call.o CC rrlp.o silent_call.c:91:31: warning: ‘silent_call_accept’ defined but not used [-Wunused-const-variable=] static const struct msg_match silent_call_accept[] = { ^~~~~~~~~~~~~~~~~~ CC sms_queue.o CC token_auth.o CC ussd.o CC vty_interface_layer3.o token_auth.c: In function ‘token_subscr_cb’: token_auth.c:32:24: warning: ‘%s’ directive output may be truncated writing up to 14 bytes into a region of size between 9 and 24 [-Wformat-truncation=] #define TOKEN_SMS_TEXT "HAR 2009 GSM. Register at http://har2009.gnumonks.org/ " \ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ token_auth.c:32:24: note: in definition of macro ‘TOKEN_SMS_TEXT’ #define TOKEN_SMS_TEXT "HAR 2009 GSM. Register at http://har2009.gnumonks.org/ " \ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ token_auth.c:33:54: note: format string is defined here "Your IMSI is %s, auth token is %08X, phone no is %s." ^~ token_auth.c:45:2: note: ‘snprintf’ output between 109 and 138 bytes into a destination of size 131 snprintf(sms_str, len, TOKEN_SMS_TEXT, subscr->imsi, token, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ subscr->extension); ~~~~~~~~~~~~~~~~~~ CC transaction.o CC osmo_msc.o CC ctrl_commands.o CC meas_feed.o CC smpp_smsc.o CC smpp_openbsc.o CC smpp_vty.o CC smpp_utils.o smpp_smsc.c: In function ‘smpp_handle_bind_tx’: smpp_smsc.c:508:66: warning: ‘snprintf’ output may be truncated before the last format character [-Wformat-truncation=] snprintf((char *)bind_r.system_id, sizeof(bind_r.system_id), "%s", ^ smpp_smsc.c:508:2: note: ‘snprintf’ output between 1 and 17 bytes into a destination of size 16 snprintf((char *)bind_r.system_id, sizeof(bind_r.system_id), "%s", ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ esme->smsc->system_id); ~~~~~~~~~~~~~~~~~~~~~~ smpp_openbsc.c: In function ‘submit_to_sms’: smpp_openbsc.c:168:2: warning: #warning Implement reply path [-Wcpp] #warning Implement reply path ^~~~~~~ smpp_openbsc.c:211:3: warning: ‘gsm_septets2octets’ is deprecated: This function is unable to handle more than 255 septets, use gsm_septet_pack() instead. [-Wdeprecated-declarations] gsm_septets2octets(sms->user_data+ud_len, sms_msg, ^~~~~~~~~~~~~~~~~~ In file included from /build/deps/install/stow/libosmocore/include/osmocom/gsm/protocol/gsm_04_08.h:12, from /build/deps/install/stow/libosmocore/include/osmocom/gsm/gsm48.h:11, from ../../include/openbsc/gsm_04_08.h:4, from ../../include/openbsc/rest_octets.h:5, from ../../include/openbsc/gsm_data.h:18, from ../../include/openbsc/gsm_subscriber.h:9, from smpp_openbsc.c:39: /build/deps/install/stow/libosmocore/include/osmocom/gsm/gsm_utils.h:110:5: note: declared here int gsm_septets2octets(uint8_t *result, const uint8_t *rdata, uint8_t septet_len, uint8_t padding) ^~~~~~~~~~~~~~~~~~ AR libmsc.a ar: `u' modifier ignored since `D' is the default (see `U') make[3]: Leaving directory '/build/openbsc/src/libmsc' Making all in libtrau make[3]: Entering directory '/build/openbsc/src/libtrau' CC trau_upqueue.o CC rtp_proxy.o CC trau_mux.o AR libtrau.a ar: `u' modifier ignored since `D' is the default (see `U') make[3]: Leaving directory '/build/openbsc/src/libtrau' Making all in libfilter make[3]: Entering directory '/build/openbsc/src/libfilter' CC bsc_msg_filter.o CC bsc_msg_acc.o CC bsc_msg_vty.o bsc_msg_filter.c: In function ‘_cr_check_loc_upd’: bsc_msg_filter.c:229:2: warning: ‘gsm48_mi_to_string’ is deprecated: Instead use osmo_mobile_identity_decode() [-Wdeprecated-declarations] gsm48_mi_to_string(mi_string, sizeof(mi_string), lu->mi, lu->mi_len); ^~~~~~~~~~~~~~~~~~ In file included from ../../include/openbsc/gsm_04_08.h:4, from ../../include/openbsc/rest_octets.h:5, from ../../include/openbsc/gsm_data.h:18, from bsc_msg_filter.c:28: /build/deps/install/stow/libosmocore/include/osmocom/gsm/gsm48.h:66:5: note: declared here int gsm48_mi_to_string(char *string, int str_len, const uint8_t *mi, int mi_len) ^~~~~~~~~~~~~~~~~~ bsc_msg_filter.c: In function ‘_dt_check_id_resp’: bsc_msg_filter.c:317:2: warning: ‘gsm48_mi_to_string’ is deprecated: Instead use osmo_mobile_identity_decode() [-Wdeprecated-declarations] gsm48_mi_to_string(mi_string, sizeof(mi_string), &data[1], data[0]); ^~~~~~~~~~~~~~~~~~ In file included from ../../include/openbsc/gsm_04_08.h:4, from ../../include/openbsc/rest_octets.h:5, from ../../include/openbsc/gsm_data.h:18, from bsc_msg_filter.c:28: /build/deps/install/stow/libosmocore/include/osmocom/gsm/gsm48.h:66:5: note: declared here int gsm48_mi_to_string(char *string, int str_len, const uint8_t *mi, int mi_len) ^~~~~~~~~~~~~~~~~~ AR libfilter.a ar: `u' modifier ignored since `D' is the default (see `U') make[3]: Leaving directory '/build/openbsc/src/libfilter' Making all in libcommon-cs make[3]: Entering directory '/build/openbsc/src/libcommon-cs' CC common_cs_vty.o CC common_cs.o common_cs.c: In function ‘gsm_network_init’: common_cs.c:84:2: warning: ‘osmo_counter_alloc’ is deprecated: Implement as osmo_stat_item instead [-Wdeprecated-declarations] net->active_calls = osmo_counter_alloc("msc.active_calls"); ^~~ In file included from /build/deps/install/stow/libosmocore/include/osmocom/core/statistics.h:2, from ../../include/openbsc/gsm_data_shared.h:10, from ../../include/openbsc/gsm_data.h:178, from common_cs.c:28: /build/deps/install/stow/libosmocore/include/osmocom/core/counter.h:47:22: note: declared here struct osmo_counter *osmo_counter_alloc(const char *name) ^~~~~~~~~~~~~~~~~~ AR libcommon-cs.a ar: `u' modifier ignored since `D' is the default (see `U') make[3]: Leaving directory '/build/openbsc/src/libcommon-cs' Making all in osmo-nitb make[3]: Entering directory '/build/openbsc/src/osmo-nitb' CC bsc_hack.o bsc_hack.c: In function ‘create_pcap_file’: bsc_hack.c:86:2: warning: ‘e1_set_pcap_fd’ is deprecated: Use e1_set_pcap_fd2() instead [-Wdeprecated-declarations] e1_set_pcap_fd(fd); ^~~~~~~~~~~~~~ In file included from ../../include/openbsc/gsm_data_shared.h:21, from ../../include/openbsc/gsm_data.h:178, from ../../include/openbsc/gsm_subscriber.h:9, from ../../include/openbsc/db.h:25, from bsc_hack.c:32: /build/deps/install/stow/libosmo-abis/include/osmocom/abis/e1_input.h:361:5: note: declared here int e1_set_pcap_fd(int fd); ^~~~~~~~~~~~~~ bsc_hack.c: In function ‘main’: bsc_hack.c:283:2: warning: ‘osmo_init_logging’ is deprecated: use osmo_init_logging2() instead to avoid a NULL talloc ctx [-Wdeprecated-declarations] osmo_init_logging(&log_info); ^~~~~~~~~~~~~~~~~ In file included from bsc_hack.c:33: /build/deps/install/stow/libosmocore/include/osmocom/core/application.h:17:5: note: declared here int osmo_init_logging(const struct log_info *) ^~~~~~~~~~~~~~~~~ CCLD osmo-nitb /usr/bin/ld: ../../src/libcommon/libcommon.a(talloc_ctx.o): in function `talloc_ctx_init': /build/openbsc/src/libcommon/talloc_ctx.c:54: undefined reference to `tall_ctr_ctx' collect2: error: ld returned 1 exit status make[3]: Leaving directory '/build/openbsc/src/osmo-nitb' make[3]: *** [Makefile:470: osmo-nitb] Error 1 make[2]: *** [Makefile:429: all-recursive] Error 1 make[2]: Leaving directory '/build/openbsc/src' make[1]: *** [Makefile:455: all-recursive] Error 1 make[1]: Leaving directory '/build/openbsc' make: *** [Makefile:387: all] Error 2 Build step 'Execute shell' marked build as failure $ ssh-agent -k unset SSH_AUTH_SOCK; unset SSH_AGENT_PID; echo Agent pid 3931483 killed; [ssh-agent] Stopped. Archiving artifacts
Changes:
------------------------------------------ [...truncated 352.22 KB...] from gsm_04_08.c:38: /build/deps/install/stow/libosmocore/include/osmocom/gsm/gsm48.h:57:5: note: declared here int gsm48_generate_mid_from_imsi(uint8_t *buf, const char *imsi) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ gsm_04_08.c:519:3: warning: ‘gsm48_generate_mid_from_tmsi’ is deprecated: Instead use: l = msgb_tl_put(msg, GSM48_IE_MOBILE_ID); *l = osmo_mobile_identity_encode_msgb(...) [-Wdeprecated-declarations] gsm48_generate_mid_from_tmsi(mid, conn->subscr->tmsi); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from ../../include/openbsc/gsm_04_08.h:4, from ../../include/openbsc/rest_octets.h:5, from ../../include/openbsc/gsm_data.h:18, from ../../include/openbsc/gsm_subscriber.h:9, from ../../include/openbsc/db.h:25, from gsm_04_08.c:38: /build/deps/install/stow/libosmocore/include/osmocom/gsm/gsm48.h:54:5: note: declared here int gsm48_generate_mid_from_tmsi(uint8_t *buf, uint32_t tmsi) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ gsm_04_08.c: In function ‘mm_rx_id_resp’: gsm_04_08.c:563:2: warning: ‘gsm48_mi_to_string’ is deprecated: Instead use osmo_mobile_identity_decode() [-Wdeprecated-declarations] gsm48_mi_to_string(mi_string, sizeof(mi_string), &gh->data[1], gh->data[0]); ^~~~~~~~~~~~~~~~~~ In file included from ../../include/openbsc/gsm_04_08.h:4, from ../../include/openbsc/rest_octets.h:5, from ../../include/openbsc/gsm_data.h:18, from ../../include/openbsc/gsm_subscriber.h:9, from ../../include/openbsc/db.h:25, from gsm_04_08.c:38: /build/deps/install/stow/libosmocore/include/osmocom/gsm/gsm48.h:66:5: note: declared here int gsm48_mi_to_string(char *string, int str_len, const uint8_t *mi, int mi_len) ^~~~~~~~~~~~~~~~~~ gsm_04_08.c: In function ‘mm_rx_loc_upd_req’: gsm_04_08.c:639:2: warning: ‘gsm48_mi_to_string’ is deprecated: Instead use osmo_mobile_identity_decode() [-Wdeprecated-declarations] gsm48_mi_to_string(mi_string, sizeof(mi_string), lu->mi, lu->mi_len); ^~~~~~~~~~~~~~~~~~ In file included from ../../include/openbsc/gsm_04_08.h:4, from ../../include/openbsc/rest_octets.h:5, from ../../include/openbsc/gsm_data.h:18, from ../../include/openbsc/gsm_subscriber.h:9, from ../../include/openbsc/db.h:25, from gsm_04_08.c:38: /build/deps/install/stow/libosmocore/include/osmocom/gsm/gsm48.h:66:5: note: declared here int gsm48_mi_to_string(char *string, int str_len, const uint8_t *mi, int mi_len) ^~~~~~~~~~~~~~~~~~ gsm_04_08.c: In function ‘gsm48_rx_mm_serv_req’: gsm_04_08.c:1029:2: warning: ‘gsm48_mi_to_string’ is deprecated: Instead use osmo_mobile_identity_decode() [-Wdeprecated-declarations] gsm48_mi_to_string(mi_string, sizeof(mi_string), mi, mi_len); ^~~~~~~~~~~~~~~~~~ In file included from ../../include/openbsc/gsm_04_08.h:4, from ../../include/openbsc/rest_octets.h:5, from ../../include/openbsc/gsm_data.h:18, from ../../include/openbsc/gsm_subscriber.h:9, from ../../include/openbsc/db.h:25, from gsm_04_08.c:38: /build/deps/install/stow/libosmocore/include/osmocom/gsm/gsm48.h:66:5: note: declared here int gsm48_mi_to_string(char *string, int str_len, const uint8_t *mi, int mi_len) ^~~~~~~~~~~~~~~~~~ gsm_04_08.c: In function ‘gsm48_rx_mm_imsi_detach_ind’: gsm_04_08.c:1091:2: warning: ‘gsm48_mi_to_string’ is deprecated: Instead use osmo_mobile_identity_decode() [-Wdeprecated-declarations] gsm48_mi_to_string(mi_string, sizeof(mi_string), idi->mi, idi->mi_len); ^~~~~~~~~~~~~~~~~~ In file included from ../../include/openbsc/gsm_04_08.h:4, from ../../include/openbsc/rest_octets.h:5, from ../../include/openbsc/gsm_data.h:18, from ../../include/openbsc/gsm_subscriber.h:9, from ../../include/openbsc/db.h:25, from gsm_04_08.c:38: /build/deps/install/stow/libosmocore/include/osmocom/gsm/gsm48.h:66:5: note: declared here int gsm48_mi_to_string(char *string, int str_len, const uint8_t *mi, int mi_len) ^~~~~~~~~~~~~~~~~~ gsm_04_08.c: In function ‘count_statistics’: gsm_04_08.c:1591:3: warning: ‘osmo_counter_inc’ is deprecated: Implement as osmo_stat_item instead [-Wdeprecated-declarations] osmo_counter_inc(trans->net->active_calls); ^~~~~~~~~~~~~~~~ In file included from /build/deps/install/stow/libosmocore/include/osmocom/core/statistics.h:2, from ../../include/openbsc/gsm_data_shared.h:10, from ../../include/openbsc/gsm_data.h:178, from ../../include/openbsc/gsm_subscriber.h:9, from ../../include/openbsc/db.h:25, from gsm_04_08.c:38: /build/deps/install/stow/libosmocore/include/osmocom/core/counter.h:28:20: note: declared here static inline void osmo_counter_inc(struct osmo_counter *ctr) ^~~~~~~~~~~~~~~~ gsm_04_08.c:1599:3: warning: ‘osmo_counter_dec’ is deprecated: Implement as osmo_stat_item instead [-Wdeprecated-declarations] osmo_counter_dec(trans->net->active_calls); ^~~~~~~~~~~~~~~~ In file included from /build/deps/install/stow/libosmocore/include/osmocom/core/statistics.h:2, from ../../include/openbsc/gsm_data_shared.h:10, from ../../include/openbsc/gsm_data.h:178, from ../../include/openbsc/gsm_subscriber.h:9, from ../../include/openbsc/db.h:25, from gsm_04_08.c:38: /build/deps/install/stow/libosmocore/include/osmocom/core/counter.h:20:20: note: declared here static inline void osmo_counter_dec(struct osmo_counter *ctr) ^~~~~~~~~~~~~~~~ CC sms_queue.o CC token_auth.o CC ussd.o CC vty_interface_layer3.o silent_call.c:91:31: warning: ‘silent_call_accept’ defined but not used [-Wunused-const-variable=] static const struct msg_match silent_call_accept[] = { ^~~~~~~~~~~~~~~~~~ CC transaction.o CC osmo_msc.o CC ctrl_commands.o CC meas_feed.o token_auth.c: In function ‘token_subscr_cb’: token_auth.c:32:24: warning: ‘%s’ directive output may be truncated writing up to 14 bytes into a region of size between 9 and 24 [-Wformat-truncation=] #define TOKEN_SMS_TEXT "HAR 2009 GSM. Register at http://har2009.gnumonks.org/ " \ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ token_auth.c:32:24: note: in definition of macro ‘TOKEN_SMS_TEXT’ #define TOKEN_SMS_TEXT "HAR 2009 GSM. Register at http://har2009.gnumonks.org/ " \ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ token_auth.c:33:54: note: format string is defined here "Your IMSI is %s, auth token is %08X, phone no is %s." ^~ token_auth.c:45:2: note: ‘snprintf’ output between 109 and 138 bytes into a destination of size 131 snprintf(sms_str, len, TOKEN_SMS_TEXT, subscr->imsi, token, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ subscr->extension); ~~~~~~~~~~~~~~~~~~ CC smpp_smsc.o CC smpp_openbsc.o CC smpp_vty.o CC smpp_utils.o smpp_openbsc.c: In function ‘submit_to_sms’: smpp_openbsc.c:168:2: warning: #warning Implement reply path [-Wcpp] #warning Implement reply path ^~~~~~~ smpp_openbsc.c:211:3: warning: ‘gsm_septets2octets’ is deprecated: This function is unable to handle more than 255 septets, use gsm_septet_pack() instead. [-Wdeprecated-declarations] gsm_septets2octets(sms->user_data+ud_len, sms_msg, ^~~~~~~~~~~~~~~~~~ In file included from /build/deps/install/stow/libosmocore/include/osmocom/gsm/protocol/gsm_04_08.h:12, from /build/deps/install/stow/libosmocore/include/osmocom/gsm/gsm48.h:11, from ../../include/openbsc/gsm_04_08.h:4, from ../../include/openbsc/rest_octets.h:5, from ../../include/openbsc/gsm_data.h:18, from ../../include/openbsc/gsm_subscriber.h:9, from smpp_openbsc.c:39: /build/deps/install/stow/libosmocore/include/osmocom/gsm/gsm_utils.h:110:5: note: declared here int gsm_septets2octets(uint8_t *result, const uint8_t *rdata, uint8_t septet_len, uint8_t padding) ^~~~~~~~~~~~~~~~~~ smpp_smsc.c: In function ‘smpp_handle_bind_tx’: smpp_smsc.c:508:66: warning: ‘snprintf’ output may be truncated before the last format character [-Wformat-truncation=] snprintf((char *)bind_r.system_id, sizeof(bind_r.system_id), "%s", ^ smpp_smsc.c:508:2: note: ‘snprintf’ output between 1 and 17 bytes into a destination of size 16 snprintf((char *)bind_r.system_id, sizeof(bind_r.system_id), "%s", ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ esme->smsc->system_id); ~~~~~~~~~~~~~~~~~~~~~~ AR libmsc.a ar: `u' modifier ignored since `D' is the default (see `U') make[3]: Leaving directory '/build/openbsc/src/libmsc' Making all in libtrau make[3]: Entering directory '/build/openbsc/src/libtrau' CC trau_mux.o CC rtp_proxy.o CC trau_upqueue.o AR libtrau.a ar: `u' modifier ignored since `D' is the default (see `U') make[3]: Leaving directory '/build/openbsc/src/libtrau' Making all in libfilter make[3]: Entering directory '/build/openbsc/src/libfilter' CC bsc_msg_filter.o CC bsc_msg_acc.o CC bsc_msg_vty.o bsc_msg_filter.c: In function ‘_cr_check_loc_upd’: bsc_msg_filter.c:229:2: warning: ‘gsm48_mi_to_string’ is deprecated: Instead use osmo_mobile_identity_decode() [-Wdeprecated-declarations] gsm48_mi_to_string(mi_string, sizeof(mi_string), lu->mi, lu->mi_len); ^~~~~~~~~~~~~~~~~~ In file included from ../../include/openbsc/gsm_04_08.h:4, from ../../include/openbsc/rest_octets.h:5, from ../../include/openbsc/gsm_data.h:18, from bsc_msg_filter.c:28: /build/deps/install/stow/libosmocore/include/osmocom/gsm/gsm48.h:66:5: note: declared here int gsm48_mi_to_string(char *string, int str_len, const uint8_t *mi, int mi_len) ^~~~~~~~~~~~~~~~~~ bsc_msg_filter.c: In function ‘_dt_check_id_resp’: bsc_msg_filter.c:317:2: warning: ‘gsm48_mi_to_string’ is deprecated: Instead use osmo_mobile_identity_decode() [-Wdeprecated-declarations] gsm48_mi_to_string(mi_string, sizeof(mi_string), &data[1], data[0]); ^~~~~~~~~~~~~~~~~~ In file included from ../../include/openbsc/gsm_04_08.h:4, from ../../include/openbsc/rest_octets.h:5, from ../../include/openbsc/gsm_data.h:18, from bsc_msg_filter.c:28: /build/deps/install/stow/libosmocore/include/osmocom/gsm/gsm48.h:66:5: note: declared here int gsm48_mi_to_string(char *string, int str_len, const uint8_t *mi, int mi_len) ^~~~~~~~~~~~~~~~~~ AR libfilter.a ar: `u' modifier ignored since `D' is the default (see `U') make[3]: Leaving directory '/build/openbsc/src/libfilter' Making all in libcommon-cs make[3]: Entering directory '/build/openbsc/src/libcommon-cs' CC common_cs.o CC common_cs_vty.o common_cs.c: In function ‘gsm_network_init’: common_cs.c:84:2: warning: ‘osmo_counter_alloc’ is deprecated: Implement as osmo_stat_item instead [-Wdeprecated-declarations] net->active_calls = osmo_counter_alloc("msc.active_calls"); ^~~ In file included from /build/deps/install/stow/libosmocore/include/osmocom/core/statistics.h:2, from ../../include/openbsc/gsm_data_shared.h:10, from ../../include/openbsc/gsm_data.h:178, from common_cs.c:28: /build/deps/install/stow/libosmocore/include/osmocom/core/counter.h:47:22: note: declared here struct osmo_counter *osmo_counter_alloc(const char *name) ^~~~~~~~~~~~~~~~~~ AR libcommon-cs.a ar: `u' modifier ignored since `D' is the default (see `U') make[3]: Leaving directory '/build/openbsc/src/libcommon-cs' Making all in osmo-nitb make[3]: Entering directory '/build/openbsc/src/osmo-nitb' CC bsc_hack.o bsc_hack.c: In function ‘create_pcap_file’: bsc_hack.c:86:2: warning: ‘e1_set_pcap_fd’ is deprecated: Use e1_set_pcap_fd2() instead [-Wdeprecated-declarations] e1_set_pcap_fd(fd); ^~~~~~~~~~~~~~ In file included from ../../include/openbsc/gsm_data_shared.h:21, from ../../include/openbsc/gsm_data.h:178, from ../../include/openbsc/gsm_subscriber.h:9, from ../../include/openbsc/db.h:25, from bsc_hack.c:32: /build/deps/install/stow/libosmo-abis/include/osmocom/abis/e1_input.h:361:5: note: declared here int e1_set_pcap_fd(int fd); ^~~~~~~~~~~~~~ bsc_hack.c: In function ‘main’: bsc_hack.c:283:2: warning: ‘osmo_init_logging’ is deprecated: use osmo_init_logging2() instead to avoid a NULL talloc ctx [-Wdeprecated-declarations] osmo_init_logging(&log_info); ^~~~~~~~~~~~~~~~~ In file included from bsc_hack.c:33: /build/deps/install/stow/libosmocore/include/osmocom/core/application.h:17:5: note: declared here int osmo_init_logging(const struct log_info *) ^~~~~~~~~~~~~~~~~ CCLD osmo-nitb /usr/bin/ld: ../../src/libcommon/libcommon.a(talloc_ctx.o): in function `talloc_ctx_init': /build/openbsc/src/libcommon/talloc_ctx.c:54: undefined reference to `tall_ctr_ctx' collect2: error: ld returned 1 exit status make[3]: *** [Makefile:470: osmo-nitb] Error 1 make[3]: Leaving directory '/build/openbsc/src/osmo-nitb' make[2]: *** [Makefile:429: all-recursive] Error 1 make[2]: Leaving directory '/build/openbsc/src' make[1]: *** [Makefile:455: all-recursive] Error 1 make[1]: Leaving directory '/build/openbsc' make: *** [Makefile:387: all] Error 2 Build step 'Execute shell' marked build as failure $ ssh-agent -k unset SSH_AUTH_SOCK; unset SSH_AGENT_PID; echo Agent pid 1835601 killed; [ssh-agent] Stopped. Archiving artifacts
Changes:
------------------------------------------ [...truncated 381.60 KB...] gsm_04_08.c:519:3: warning: ‘gsm48_generate_mid_from_tmsi’ is deprecated: Instead use: l = msgb_tl_put(msg, GSM48_IE_MOBILE_ID); *l = osmo_mobile_identity_encode_msgb(...) [-Wdeprecated-declarations] gsm48_generate_mid_from_tmsi(mid, conn->subscr->tmsi); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from ../../include/openbsc/gsm_04_08.h:4, from ../../include/openbsc/rest_octets.h:5, from ../../include/openbsc/gsm_data.h:18, from ../../include/openbsc/gsm_subscriber.h:9, from ../../include/openbsc/db.h:25, from gsm_04_08.c:38: /build/deps/install/stow/libosmocore/include/osmocom/gsm/gsm48.h:54:5: note: declared here int gsm48_generate_mid_from_tmsi(uint8_t *buf, uint32_t tmsi) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ gsm_04_08.c: In function ‘mm_rx_id_resp’: gsm_04_08.c:563:2: warning: ‘gsm48_mi_to_string’ is deprecated: Instead use osmo_mobile_identity_decode() [-Wdeprecated-declarations] gsm48_mi_to_string(mi_string, sizeof(mi_string), &gh->data[1], gh->data[0]); ^~~~~~~~~~~~~~~~~~ In file included from ../../include/openbsc/gsm_04_08.h:4, from ../../include/openbsc/rest_octets.h:5, from ../../include/openbsc/gsm_data.h:18, from ../../include/openbsc/gsm_subscriber.h:9, from ../../include/openbsc/db.h:25, from gsm_04_08.c:38: /build/deps/install/stow/libosmocore/include/osmocom/gsm/gsm48.h:66:5: note: declared here int gsm48_mi_to_string(char *string, int str_len, const uint8_t *mi, int mi_len) ^~~~~~~~~~~~~~~~~~ gsm_04_08.c: In function ‘mm_rx_loc_upd_req’: gsm_04_08.c:639:2: warning: ‘gsm48_mi_to_string’ is deprecated: Instead use osmo_mobile_identity_decode() [-Wdeprecated-declarations] gsm48_mi_to_string(mi_string, sizeof(mi_string), lu->mi, lu->mi_len); ^~~~~~~~~~~~~~~~~~ In file included from ../../include/openbsc/gsm_04_08.h:4, from ../../include/openbsc/rest_octets.h:5, from ../../include/openbsc/gsm_data.h:18, from ../../include/openbsc/gsm_subscriber.h:9, from ../../include/openbsc/db.h:25, from gsm_04_08.c:38: /build/deps/install/stow/libosmocore/include/osmocom/gsm/gsm48.h:66:5: note: declared here int gsm48_mi_to_string(char *string, int str_len, const uint8_t *mi, int mi_len) ^~~~~~~~~~~~~~~~~~ gsm_04_08.c: In function ‘gsm48_rx_mm_serv_req’: gsm_04_08.c:1029:2: warning: ‘gsm48_mi_to_string’ is deprecated: Instead use osmo_mobile_identity_decode() [-Wdeprecated-declarations] gsm48_mi_to_string(mi_string, sizeof(mi_string), mi, mi_len); ^~~~~~~~~~~~~~~~~~ In file included from ../../include/openbsc/gsm_04_08.h:4, from ../../include/openbsc/rest_octets.h:5, from ../../include/openbsc/gsm_data.h:18, from ../../include/openbsc/gsm_subscriber.h:9, from ../../include/openbsc/db.h:25, from gsm_04_08.c:38: /build/deps/install/stow/libosmocore/include/osmocom/gsm/gsm48.h:66:5: note: declared here int gsm48_mi_to_string(char *string, int str_len, const uint8_t *mi, int mi_len) ^~~~~~~~~~~~~~~~~~ gsm_04_08.c: In function ‘gsm48_rx_mm_imsi_detach_ind’: gsm_04_08.c:1091:2: warning: ‘gsm48_mi_to_string’ is deprecated: Instead use osmo_mobile_identity_decode() [-Wdeprecated-declarations] gsm48_mi_to_string(mi_string, sizeof(mi_string), idi->mi, idi->mi_len); ^~~~~~~~~~~~~~~~~~ In file included from ../../include/openbsc/gsm_04_08.h:4, from ../../include/openbsc/rest_octets.h:5, from ../../include/openbsc/gsm_data.h:18, from ../../include/openbsc/gsm_subscriber.h:9, from ../../include/openbsc/db.h:25, from gsm_04_08.c:38: /build/deps/install/stow/libosmocore/include/osmocom/gsm/gsm48.h:66:5: note: declared here int gsm48_mi_to_string(char *string, int str_len, const uint8_t *mi, int mi_len) ^~~~~~~~~~~~~~~~~~ gsm_04_08.c: In function ‘count_statistics’: gsm_04_08.c:1591:3: warning: ‘osmo_counter_inc’ is deprecated: Implement as osmo_stat_item instead [-Wdeprecated-declarations] osmo_counter_inc(trans->net->active_calls); ^~~~~~~~~~~~~~~~ In file included from /build/deps/install/stow/libosmocore/include/osmocom/core/statistics.h:2, from ../../include/openbsc/gsm_data_shared.h:10, from ../../include/openbsc/gsm_data.h:178, from ../../include/openbsc/gsm_subscriber.h:9, from ../../include/openbsc/db.h:25, from gsm_04_08.c:38: /build/deps/install/stow/libosmocore/include/osmocom/core/counter.h:28:20: note: declared here static inline void osmo_counter_inc(struct osmo_counter *ctr) ^~~~~~~~~~~~~~~~ gsm_04_08.c:1599:3: warning: ‘osmo_counter_dec’ is deprecated: Implement as osmo_stat_item instead [-Wdeprecated-declarations] osmo_counter_dec(trans->net->active_calls); ^~~~~~~~~~~~~~~~ In file included from /build/deps/install/stow/libosmocore/include/osmocom/core/statistics.h:2, from ../../include/openbsc/gsm_data_shared.h:10, from ../../include/openbsc/gsm_data.h:178, from ../../include/openbsc/gsm_subscriber.h:9, from ../../include/openbsc/db.h:25, from gsm_04_08.c:38: /build/deps/install/stow/libosmocore/include/osmocom/core/counter.h:20:20: note: declared here static inline void osmo_counter_dec(struct osmo_counter *ctr) ^~~~~~~~~~~~~~~~ CC mncc_builtin.o CC mncc_sock.o CC silent_call.o CC rrlp.o CC sms_queue.o CC token_auth.o CC ussd.o CC vty_interface_layer3.o token_auth.c: In function ‘token_subscr_cb’: token_auth.c:32:24: warning: ‘%s’ directive output may be truncated writing up to 14 bytes into a region of size between 9 and 24 [-Wformat-truncation=] #define TOKEN_SMS_TEXT "HAR 2009 GSM. Register at http://har2009.gnumonks.org/ " \ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ token_auth.c:32:24: note: in definition of macro ‘TOKEN_SMS_TEXT’ #define TOKEN_SMS_TEXT "HAR 2009 GSM. Register at http://har2009.gnumonks.org/ " \ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ token_auth.c:33:54: note: format string is defined here "Your IMSI is %s, auth token is %08X, phone no is %s." ^~ token_auth.c:45:2: note: ‘snprintf’ output between 109 and 138 bytes into a destination of size 131 snprintf(sms_str, len, TOKEN_SMS_TEXT, subscr->imsi, token, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ subscr->extension); ~~~~~~~~~~~~~~~~~~ silent_call.c:91:31: warning: ‘silent_call_accept’ defined but not used [-Wunused-const-variable=] static const struct msg_match silent_call_accept[] = { ^~~~~~~~~~~~~~~~~~ CC transaction.o CC osmo_msc.o CC ctrl_commands.o CC meas_feed.o CC smpp_smsc.o CC smpp_vty.o CC smpp_openbsc.o CC smpp_utils.o smpp_smsc.c: In function ‘smpp_handle_bind_tx’: smpp_smsc.c:508:66: warning: ‘snprintf’ output may be truncated before the last format character [-Wformat-truncation=] snprintf((char *)bind_r.system_id, sizeof(bind_r.system_id), "%s", ^ smpp_smsc.c:508:2: note: ‘snprintf’ output between 1 and 17 bytes into a destination of size 16 snprintf((char *)bind_r.system_id, sizeof(bind_r.system_id), "%s", ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ esme->smsc->system_id); ~~~~~~~~~~~~~~~~~~~~~~ smpp_openbsc.c: In function ‘submit_to_sms’: smpp_openbsc.c:168:2: warning: #warning Implement reply path [-Wcpp] #warning Implement reply path ^~~~~~~ smpp_openbsc.c:211:3: warning: ‘gsm_septets2octets’ is deprecated: This function is unable to handle more than 255 septets, use gsm_septet_pack() instead. [-Wdeprecated-declarations] gsm_septets2octets(sms->user_data+ud_len, sms_msg, ^~~~~~~~~~~~~~~~~~ In file included from /build/deps/install/stow/libosmocore/include/osmocom/gsm/protocol/gsm_04_08.h:12, from /build/deps/install/stow/libosmocore/include/osmocom/gsm/gsm48.h:11, from ../../include/openbsc/gsm_04_08.h:4, from ../../include/openbsc/rest_octets.h:5, from ../../include/openbsc/gsm_data.h:18, from ../../include/openbsc/gsm_subscriber.h:9, from smpp_openbsc.c:39: /build/deps/install/stow/libosmocore/include/osmocom/gsm/gsm_utils.h:110:5: note: declared here int gsm_septets2octets(uint8_t *result, const uint8_t *rdata, uint8_t septet_len, uint8_t padding) ^~~~~~~~~~~~~~~~~~ AR libmsc.a ar: `u' modifier ignored since `D' is the default (see `U') make[3]: Leaving directory '/build/openbsc/src/libmsc' Making all in libtrau make[3]: Entering directory '/build/openbsc/src/libtrau' CC rtp_proxy.o CC trau_mux.o CC trau_upqueue.o AR libtrau.a ar: `u' modifier ignored since `D' is the default (see `U') make[3]: Leaving directory '/build/openbsc/src/libtrau' Making all in libfilter make[3]: Entering directory '/build/openbsc/src/libfilter' CC bsc_msg_filter.o CC bsc_msg_acc.o CC bsc_msg_vty.o bsc_msg_filter.c: In function ‘_cr_check_loc_upd’: bsc_msg_filter.c:229:2: warning: ‘gsm48_mi_to_string’ is deprecated: Instead use osmo_mobile_identity_decode() [-Wdeprecated-declarations] gsm48_mi_to_string(mi_string, sizeof(mi_string), lu->mi, lu->mi_len); ^~~~~~~~~~~~~~~~~~ In file included from ../../include/openbsc/gsm_04_08.h:4, from ../../include/openbsc/rest_octets.h:5, from ../../include/openbsc/gsm_data.h:18, from bsc_msg_filter.c:28: /build/deps/install/stow/libosmocore/include/osmocom/gsm/gsm48.h:66:5: note: declared here int gsm48_mi_to_string(char *string, int str_len, const uint8_t *mi, int mi_len) ^~~~~~~~~~~~~~~~~~ bsc_msg_filter.c: In function ‘_dt_check_id_resp’: bsc_msg_filter.c:317:2: warning: ‘gsm48_mi_to_string’ is deprecated: Instead use osmo_mobile_identity_decode() [-Wdeprecated-declarations] gsm48_mi_to_string(mi_string, sizeof(mi_string), &data[1], data[0]); ^~~~~~~~~~~~~~~~~~ In file included from ../../include/openbsc/gsm_04_08.h:4, from ../../include/openbsc/rest_octets.h:5, from ../../include/openbsc/gsm_data.h:18, from bsc_msg_filter.c:28: /build/deps/install/stow/libosmocore/include/osmocom/gsm/gsm48.h:66:5: note: declared here int gsm48_mi_to_string(char *string, int str_len, const uint8_t *mi, int mi_len) ^~~~~~~~~~~~~~~~~~ AR libfilter.a ar: `u' modifier ignored since `D' is the default (see `U') make[3]: Leaving directory '/build/openbsc/src/libfilter' Making all in libcommon-cs make[3]: Entering directory '/build/openbsc/src/libcommon-cs' CC common_cs.o CC common_cs_vty.o common_cs.c: In function ‘gsm_network_init’: common_cs.c:84:2: warning: ‘osmo_counter_alloc’ is deprecated: Implement as osmo_stat_item instead [-Wdeprecated-declarations] net->active_calls = osmo_counter_alloc("msc.active_calls"); ^~~ In file included from /build/deps/install/stow/libosmocore/include/osmocom/core/statistics.h:2, from ../../include/openbsc/gsm_data_shared.h:10, from ../../include/openbsc/gsm_data.h:178, from common_cs.c:28: /build/deps/install/stow/libosmocore/include/osmocom/core/counter.h:47:22: note: declared here struct osmo_counter *osmo_counter_alloc(const char *name) ^~~~~~~~~~~~~~~~~~ AR libcommon-cs.a ar: `u' modifier ignored since `D' is the default (see `U') make[3]: Leaving directory '/build/openbsc/src/libcommon-cs' Making all in osmo-nitb make[3]: Entering directory '/build/openbsc/src/osmo-nitb' CC bsc_hack.o bsc_hack.c: In function ‘create_pcap_file’: bsc_hack.c:86:2: warning: ‘e1_set_pcap_fd’ is deprecated: Use e1_set_pcap_fd2() instead [-Wdeprecated-declarations] e1_set_pcap_fd(fd); ^~~~~~~~~~~~~~ In file included from ../../include/openbsc/gsm_data_shared.h:21, from ../../include/openbsc/gsm_data.h:178, from ../../include/openbsc/gsm_subscriber.h:9, from ../../include/openbsc/db.h:25, from bsc_hack.c:32: /build/deps/install/stow/libosmo-abis/include/osmocom/abis/e1_input.h:361:5: note: declared here int e1_set_pcap_fd(int fd); ^~~~~~~~~~~~~~ bsc_hack.c: In function ‘main’: bsc_hack.c:283:2: warning: ‘osmo_init_logging’ is deprecated: use osmo_init_logging2() instead to avoid a NULL talloc ctx [-Wdeprecated-declarations] osmo_init_logging(&log_info); ^~~~~~~~~~~~~~~~~ In file included from bsc_hack.c:33: /build/deps/install/stow/libosmocore/include/osmocom/core/application.h:17:5: note: declared here int osmo_init_logging(const struct log_info *) ^~~~~~~~~~~~~~~~~ CCLD osmo-nitb /usr/bin/ld: ../../src/libcommon/libcommon.a(talloc_ctx.o): in function `talloc_ctx_init': /build/openbsc/src/libcommon/talloc_ctx.c:54: undefined reference to `tall_ctr_ctx' collect2: error: ld returned 1 exit status make[3]: *** [Makefile:470: osmo-nitb] Error 1 make[3]: Leaving directory '/build/openbsc/src/osmo-nitb' make[2]: *** [Makefile:429: all-recursive] Error 1 make[2]: Leaving directory '/build/openbsc/src' make[1]: Leaving directory '/build/openbsc' make[1]: *** [Makefile:455: all-recursive] Error 1 make: *** [Makefile:387: all] Error 2 Build step 'Execute shell' marked build as failure $ ssh-agent -k unset SSH_AUTH_SOCK; unset SSH_AGENT_PID; echo Agent pid 2957200 killed; [ssh-agent] Stopped. Archiving artifacts
Changes:
------------------------------------------ [...truncated 352.84 KB...] ^~~~~~~~~~~~~~~~~~ CC transaction.o CC osmo_msc.o CC ctrl_commands.o CC meas_feed.o CC smpp_smsc.o CC smpp_openbsc.o CC smpp_vty.o CC smpp_utils.o smpp_smsc.c: In function ‘smpp_handle_bind_tx’: smpp_smsc.c:508:66: warning: ‘snprintf’ output may be truncated before the last format character [-Wformat-truncation=] snprintf((char *)bind_r.system_id, sizeof(bind_r.system_id), "%s", ^ smpp_smsc.c:508:2: note: ‘snprintf’ output between 1 and 17 bytes into a destination of size 16 snprintf((char *)bind_r.system_id, sizeof(bind_r.system_id), "%s", ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ esme->smsc->system_id); ~~~~~~~~~~~~~~~~~~~~~~ smpp_openbsc.c: In function ‘submit_to_sms’: smpp_openbsc.c:168:2: warning: #warning Implement reply path [-Wcpp] #warning Implement reply path ^~~~~~~ smpp_openbsc.c:211:3: warning: ‘gsm_septets2octets’ is deprecated: This function is unable to handle more than 255 septets, use gsm_septet_pack() instead. [-Wdeprecated-declarations] gsm_septets2octets(sms->user_data+ud_len, sms_msg, ^~~~~~~~~~~~~~~~~~ In file included from /build/deps/install/stow/libosmocore/include/osmocom/gsm/protocol/gsm_04_08.h:12, from /build/deps/install/stow/libosmocore/include/osmocom/gsm/gsm48.h:11, from ../../include/openbsc/gsm_04_08.h:4, from ../../include/openbsc/rest_octets.h:5, from ../../include/openbsc/gsm_data.h:18, from ../../include/openbsc/gsm_subscriber.h:9, from smpp_openbsc.c:39: /build/deps/install/stow/libosmocore/include/osmocom/gsm/gsm_utils.h:110:5: note: declared here int gsm_septets2octets(uint8_t *result, const uint8_t *rdata, uint8_t septet_len, uint8_t padding) ^~~~~~~~~~~~~~~~~~ gsm_04_11.c: In function ‘gsm340_rx_tpdu’: gsm_04_11.c:454:2: warning: ‘gsm48_decode_bcd_number’ is deprecated: Use gsm48_decode_bcd_number2() for improved bounds checking [-Wdeprecated-declarations] gsm48_decode_bcd_number(gsms->dst.addr, ^~~~~~~~~~~~~~~~~~~~~~~ In file included from /build/deps/install/stow/libosmocore/include/osmocom/gsm/gsm48.h:13, from ../../include/openbsc/gsm_04_08.h:4, from ../../include/openbsc/rest_octets.h:5, from ../../include/openbsc/gsm_data.h:18, from gsm_04_11.c:47: /build/deps/install/stow/libosmocore/include/osmocom/gsm/gsm48_ie.h:16:5: note: declared here int gsm48_decode_bcd_number(char *output, int output_len, ^~~~~~~~~~~~~~~~~~~~~~~ gsm_04_08.c: In function ‘gsm0408_loc_upd_acc’: gsm_04_08.c:514:3: warning: ‘gsm48_generate_mid_from_imsi’ is deprecated: Instead use: l = msgb_tl_put(msg, GSM48_IE_MOBILE_ID); *l = osmo_mobile_identity_encode_msgb(...) [-Wdeprecated-declarations] len = gsm48_generate_mid_from_imsi(mi, conn->subscr->imsi); ^~~ In file included from ../../include/openbsc/gsm_04_08.h:4, from ../../include/openbsc/rest_octets.h:5, from ../../include/openbsc/gsm_data.h:18, from ../../include/openbsc/gsm_subscriber.h:9, from ../../include/openbsc/db.h:25, from gsm_04_08.c:38: /build/deps/install/stow/libosmocore/include/osmocom/gsm/gsm48.h:57:5: note: declared here int gsm48_generate_mid_from_imsi(uint8_t *buf, const char *imsi) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ gsm_04_08.c:519:3: warning: ‘gsm48_generate_mid_from_tmsi’ is deprecated: Instead use: l = msgb_tl_put(msg, GSM48_IE_MOBILE_ID); *l = osmo_mobile_identity_encode_msgb(...) [-Wdeprecated-declarations] gsm48_generate_mid_from_tmsi(mid, conn->subscr->tmsi); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from ../../include/openbsc/gsm_04_08.h:4, from ../../include/openbsc/rest_octets.h:5, from ../../include/openbsc/gsm_data.h:18, from ../../include/openbsc/gsm_subscriber.h:9, from ../../include/openbsc/db.h:25, from gsm_04_08.c:38: /build/deps/install/stow/libosmocore/include/osmocom/gsm/gsm48.h:54:5: note: declared here int gsm48_generate_mid_from_tmsi(uint8_t *buf, uint32_t tmsi) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ gsm_04_08.c: In function ‘mm_rx_id_resp’: gsm_04_08.c:563:2: warning: ‘gsm48_mi_to_string’ is deprecated: Instead use osmo_mobile_identity_decode() [-Wdeprecated-declarations] gsm48_mi_to_string(mi_string, sizeof(mi_string), &gh->data[1], gh->data[0]); ^~~~~~~~~~~~~~~~~~ In file included from ../../include/openbsc/gsm_04_08.h:4, from ../../include/openbsc/rest_octets.h:5, from ../../include/openbsc/gsm_data.h:18, from ../../include/openbsc/gsm_subscriber.h:9, from ../../include/openbsc/db.h:25, from gsm_04_08.c:38: /build/deps/install/stow/libosmocore/include/osmocom/gsm/gsm48.h:66:5: note: declared here int gsm48_mi_to_string(char *string, int str_len, const uint8_t *mi, int mi_len) ^~~~~~~~~~~~~~~~~~ gsm_04_08.c: In function ‘mm_rx_loc_upd_req’: gsm_04_08.c:639:2: warning: ‘gsm48_mi_to_string’ is deprecated: Instead use osmo_mobile_identity_decode() [-Wdeprecated-declarations] gsm48_mi_to_string(mi_string, sizeof(mi_string), lu->mi, lu->mi_len); ^~~~~~~~~~~~~~~~~~ In file included from ../../include/openbsc/gsm_04_08.h:4, from ../../include/openbsc/rest_octets.h:5, from ../../include/openbsc/gsm_data.h:18, from ../../include/openbsc/gsm_subscriber.h:9, from ../../include/openbsc/db.h:25, from gsm_04_08.c:38: /build/deps/install/stow/libosmocore/include/osmocom/gsm/gsm48.h:66:5: note: declared here int gsm48_mi_to_string(char *string, int str_len, const uint8_t *mi, int mi_len) ^~~~~~~~~~~~~~~~~~ gsm_04_08.c: In function ‘gsm48_rx_mm_serv_req’: gsm_04_08.c:1029:2: warning: ‘gsm48_mi_to_string’ is deprecated: Instead use osmo_mobile_identity_decode() [-Wdeprecated-declarations] gsm48_mi_to_string(mi_string, sizeof(mi_string), mi, mi_len); ^~~~~~~~~~~~~~~~~~ In file included from ../../include/openbsc/gsm_04_08.h:4, from ../../include/openbsc/rest_octets.h:5, from ../../include/openbsc/gsm_data.h:18, from ../../include/openbsc/gsm_subscriber.h:9, from ../../include/openbsc/db.h:25, from gsm_04_08.c:38: /build/deps/install/stow/libosmocore/include/osmocom/gsm/gsm48.h:66:5: note: declared here int gsm48_mi_to_string(char *string, int str_len, const uint8_t *mi, int mi_len) ^~~~~~~~~~~~~~~~~~ gsm_04_08.c: In function ‘gsm48_rx_mm_imsi_detach_ind’: gsm_04_08.c:1091:2: warning: ‘gsm48_mi_to_string’ is deprecated: Instead use osmo_mobile_identity_decode() [-Wdeprecated-declarations] gsm48_mi_to_string(mi_string, sizeof(mi_string), idi->mi, idi->mi_len); ^~~~~~~~~~~~~~~~~~ In file included from ../../include/openbsc/gsm_04_08.h:4, from ../../include/openbsc/rest_octets.h:5, from ../../include/openbsc/gsm_data.h:18, from ../../include/openbsc/gsm_subscriber.h:9, from ../../include/openbsc/db.h:25, from gsm_04_08.c:38: /build/deps/install/stow/libosmocore/include/osmocom/gsm/gsm48.h:66:5: note: declared here int gsm48_mi_to_string(char *string, int str_len, const uint8_t *mi, int mi_len) ^~~~~~~~~~~~~~~~~~ gsm_04_08.c: In function ‘count_statistics’: gsm_04_08.c:1591:3: warning: ‘osmo_counter_inc’ is deprecated: Implement as osmo_stat_item instead [-Wdeprecated-declarations] osmo_counter_inc(trans->net->active_calls); ^~~~~~~~~~~~~~~~ In file included from /build/deps/install/stow/libosmocore/include/osmocom/core/statistics.h:2, from ../../include/openbsc/gsm_data_shared.h:10, from ../../include/openbsc/gsm_data.h:178, from ../../include/openbsc/gsm_subscriber.h:9, from ../../include/openbsc/db.h:25, from gsm_04_08.c:38: /build/deps/install/stow/libosmocore/include/osmocom/core/counter.h:28:20: note: declared here static inline void osmo_counter_inc(struct osmo_counter *ctr) ^~~~~~~~~~~~~~~~ gsm_04_08.c:1599:3: warning: ‘osmo_counter_dec’ is deprecated: Implement as osmo_stat_item instead [-Wdeprecated-declarations] osmo_counter_dec(trans->net->active_calls); ^~~~~~~~~~~~~~~~ In file included from /build/deps/install/stow/libosmocore/include/osmocom/core/statistics.h:2, from ../../include/openbsc/gsm_data_shared.h:10, from ../../include/openbsc/gsm_data.h:178, from ../../include/openbsc/gsm_subscriber.h:9, from ../../include/openbsc/db.h:25, from gsm_04_08.c:38: /build/deps/install/stow/libosmocore/include/osmocom/core/counter.h:20:20: note: declared here static inline void osmo_counter_dec(struct osmo_counter *ctr) ^~~~~~~~~~~~~~~~ AR libmsc.a ar: `u' modifier ignored since `D' is the default (see `U') make[3]: Leaving directory '/build/openbsc/src/libmsc' Making all in libtrau make[3]: Entering directory '/build/openbsc/src/libtrau' CC rtp_proxy.o CC trau_upqueue.o CC trau_mux.o AR libtrau.a ar: `u' modifier ignored since `D' is the default (see `U') make[3]: Leaving directory '/build/openbsc/src/libtrau' Making all in libfilter make[3]: Entering directory '/build/openbsc/src/libfilter' CC bsc_msg_filter.o CC bsc_msg_acc.o CC bsc_msg_vty.o bsc_msg_filter.c: In function ‘_cr_check_loc_upd’: bsc_msg_filter.c:229:2: warning: ‘gsm48_mi_to_string’ is deprecated: Instead use osmo_mobile_identity_decode() [-Wdeprecated-declarations] gsm48_mi_to_string(mi_string, sizeof(mi_string), lu->mi, lu->mi_len); ^~~~~~~~~~~~~~~~~~ In file included from ../../include/openbsc/gsm_04_08.h:4, from ../../include/openbsc/rest_octets.h:5, from ../../include/openbsc/gsm_data.h:18, from bsc_msg_filter.c:28: /build/deps/install/stow/libosmocore/include/osmocom/gsm/gsm48.h:66:5: note: declared here int gsm48_mi_to_string(char *string, int str_len, const uint8_t *mi, int mi_len) ^~~~~~~~~~~~~~~~~~ bsc_msg_filter.c: In function ‘_dt_check_id_resp’: bsc_msg_filter.c:317:2: warning: ‘gsm48_mi_to_string’ is deprecated: Instead use osmo_mobile_identity_decode() [-Wdeprecated-declarations] gsm48_mi_to_string(mi_string, sizeof(mi_string), &data[1], data[0]); ^~~~~~~~~~~~~~~~~~ In file included from ../../include/openbsc/gsm_04_08.h:4, from ../../include/openbsc/rest_octets.h:5, from ../../include/openbsc/gsm_data.h:18, from bsc_msg_filter.c:28: /build/deps/install/stow/libosmocore/include/osmocom/gsm/gsm48.h:66:5: note: declared here int gsm48_mi_to_string(char *string, int str_len, const uint8_t *mi, int mi_len) ^~~~~~~~~~~~~~~~~~ AR libfilter.a ar: `u' modifier ignored since `D' is the default (see `U') make[3]: Leaving directory '/build/openbsc/src/libfilter' Making all in libcommon-cs make[3]: Entering directory '/build/openbsc/src/libcommon-cs' CC common_cs.o CC common_cs_vty.o common_cs.c: In function ‘gsm_network_init’: common_cs.c:84:2: warning: ‘osmo_counter_alloc’ is deprecated: Implement as osmo_stat_item instead [-Wdeprecated-declarations] net->active_calls = osmo_counter_alloc("msc.active_calls"); ^~~ In file included from /build/deps/install/stow/libosmocore/include/osmocom/core/statistics.h:2, from ../../include/openbsc/gsm_data_shared.h:10, from ../../include/openbsc/gsm_data.h:178, from common_cs.c:28: /build/deps/install/stow/libosmocore/include/osmocom/core/counter.h:47:22: note: declared here struct osmo_counter *osmo_counter_alloc(const char *name) ^~~~~~~~~~~~~~~~~~ AR libcommon-cs.a ar: `u' modifier ignored since `D' is the default (see `U') make[3]: Leaving directory '/build/openbsc/src/libcommon-cs' Making all in osmo-nitb make[3]: Entering directory '/build/openbsc/src/osmo-nitb' CC bsc_hack.o bsc_hack.c: In function ‘create_pcap_file’: bsc_hack.c:86:2: warning: ‘e1_set_pcap_fd’ is deprecated: Use e1_set_pcap_fd2() instead [-Wdeprecated-declarations] e1_set_pcap_fd(fd); ^~~~~~~~~~~~~~ In file included from ../../include/openbsc/gsm_data_shared.h:21, from ../../include/openbsc/gsm_data.h:178, from ../../include/openbsc/gsm_subscriber.h:9, from ../../include/openbsc/db.h:25, from bsc_hack.c:32: /build/deps/install/stow/libosmo-abis/include/osmocom/abis/e1_input.h:361:5: note: declared here int e1_set_pcap_fd(int fd); ^~~~~~~~~~~~~~ bsc_hack.c: In function ‘main’: bsc_hack.c:283:2: warning: ‘osmo_init_logging’ is deprecated: use osmo_init_logging2() instead to avoid a NULL talloc ctx [-Wdeprecated-declarations] osmo_init_logging(&log_info); ^~~~~~~~~~~~~~~~~ In file included from bsc_hack.c:33: /build/deps/install/stow/libosmocore/include/osmocom/core/application.h:17:5: note: declared here int osmo_init_logging(const struct log_info *) ^~~~~~~~~~~~~~~~~ CCLD osmo-nitb /usr/bin/ld: ../../src/libcommon/libcommon.a(talloc_ctx.o): in function `talloc_ctx_init': /build/openbsc/src/libcommon/talloc_ctx.c:54: undefined reference to `tall_ctr_ctx' collect2: error: ld returned 1 exit status make[3]: *** [Makefile:470: osmo-nitb] Error 1 make[3]: Leaving directory '/build/openbsc/src/osmo-nitb' make[2]: Leaving directory '/build/openbsc/src' make[2]: *** [Makefile:429: all-recursive] Error 1 make[1]: *** [Makefile:455: all-recursive] Error 1 make[1]: Leaving directory '/build/openbsc' make: *** [Makefile:387: all] Error 2 Build step 'Execute shell' marked build as failure $ ssh-agent -k unset SSH_AUTH_SOCK; unset SSH_AGENT_PID; echo Agent pid 1001320 killed; [ssh-agent] Stopped. Archiving artifacts
Changes:
------------------------------------------ [...truncated 380.86 KB...] gsm_04_08.c:519:3: warning: ‘gsm48_generate_mid_from_tmsi’ is deprecated: Instead use: l = msgb_tl_put(msg, GSM48_IE_MOBILE_ID); *l = osmo_mobile_identity_encode_msgb(...) [-Wdeprecated-declarations] gsm48_generate_mid_from_tmsi(mid, conn->subscr->tmsi); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from ../../include/openbsc/gsm_04_08.h:4, from ../../include/openbsc/rest_octets.h:5, from ../../include/openbsc/gsm_data.h:18, from ../../include/openbsc/gsm_subscriber.h:9, from ../../include/openbsc/db.h:25, from gsm_04_08.c:38: /build/deps/install/stow/libosmocore/include/osmocom/gsm/gsm48.h:54:5: note: declared here int gsm48_generate_mid_from_tmsi(uint8_t *buf, uint32_t tmsi) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ gsm_04_08.c: In function ‘mm_rx_id_resp’: gsm_04_08.c:563:2: warning: ‘gsm48_mi_to_string’ is deprecated: Instead use osmo_mobile_identity_decode() [-Wdeprecated-declarations] gsm48_mi_to_string(mi_string, sizeof(mi_string), &gh->data[1], gh->data[0]); ^~~~~~~~~~~~~~~~~~ In file included from ../../include/openbsc/gsm_04_08.h:4, from ../../include/openbsc/rest_octets.h:5, from ../../include/openbsc/gsm_data.h:18, from ../../include/openbsc/gsm_subscriber.h:9, from ../../include/openbsc/db.h:25, from gsm_04_08.c:38: /build/deps/install/stow/libosmocore/include/osmocom/gsm/gsm48.h:66:5: note: declared here int gsm48_mi_to_string(char *string, int str_len, const uint8_t *mi, int mi_len) ^~~~~~~~~~~~~~~~~~ gsm_04_08.c: In function ‘mm_rx_loc_upd_req’: gsm_04_08.c:639:2: warning: ‘gsm48_mi_to_string’ is deprecated: Instead use osmo_mobile_identity_decode() [-Wdeprecated-declarations] gsm48_mi_to_string(mi_string, sizeof(mi_string), lu->mi, lu->mi_len); ^~~~~~~~~~~~~~~~~~ In file included from ../../include/openbsc/gsm_04_08.h:4, from ../../include/openbsc/rest_octets.h:5, from ../../include/openbsc/gsm_data.h:18, from ../../include/openbsc/gsm_subscriber.h:9, from ../../include/openbsc/db.h:25, from gsm_04_08.c:38: /build/deps/install/stow/libosmocore/include/osmocom/gsm/gsm48.h:66:5: note: declared here int gsm48_mi_to_string(char *string, int str_len, const uint8_t *mi, int mi_len) ^~~~~~~~~~~~~~~~~~ gsm_04_08.c: In function ‘gsm48_rx_mm_serv_req’: gsm_04_08.c:1029:2: warning: ‘gsm48_mi_to_string’ is deprecated: Instead use osmo_mobile_identity_decode() [-Wdeprecated-declarations] gsm48_mi_to_string(mi_string, sizeof(mi_string), mi, mi_len); ^~~~~~~~~~~~~~~~~~ In file included from ../../include/openbsc/gsm_04_08.h:4, from ../../include/openbsc/rest_octets.h:5, from ../../include/openbsc/gsm_data.h:18, from ../../include/openbsc/gsm_subscriber.h:9, from ../../include/openbsc/db.h:25, from gsm_04_08.c:38: /build/deps/install/stow/libosmocore/include/osmocom/gsm/gsm48.h:66:5: note: declared here int gsm48_mi_to_string(char *string, int str_len, const uint8_t *mi, int mi_len) ^~~~~~~~~~~~~~~~~~ gsm_04_08.c: In function ‘gsm48_rx_mm_imsi_detach_ind’: gsm_04_08.c:1091:2: warning: ‘gsm48_mi_to_string’ is deprecated: Instead use osmo_mobile_identity_decode() [-Wdeprecated-declarations] gsm48_mi_to_string(mi_string, sizeof(mi_string), idi->mi, idi->mi_len); ^~~~~~~~~~~~~~~~~~ In file included from ../../include/openbsc/gsm_04_08.h:4, from ../../include/openbsc/rest_octets.h:5, from ../../include/openbsc/gsm_data.h:18, from ../../include/openbsc/gsm_subscriber.h:9, from ../../include/openbsc/db.h:25, from gsm_04_08.c:38: /build/deps/install/stow/libosmocore/include/osmocom/gsm/gsm48.h:66:5: note: declared here int gsm48_mi_to_string(char *string, int str_len, const uint8_t *mi, int mi_len) ^~~~~~~~~~~~~~~~~~ gsm_04_08.c: In function ‘count_statistics’: gsm_04_08.c:1591:3: warning: ‘osmo_counter_inc’ is deprecated: Implement as osmo_stat_item instead [-Wdeprecated-declarations] osmo_counter_inc(trans->net->active_calls); ^~~~~~~~~~~~~~~~ In file included from /build/deps/install/stow/libosmocore/include/osmocom/core/statistics.h:2, from ../../include/openbsc/gsm_data_shared.h:10, from ../../include/openbsc/gsm_data.h:178, from ../../include/openbsc/gsm_subscriber.h:9, from ../../include/openbsc/db.h:25, from gsm_04_08.c:38: /build/deps/install/stow/libosmocore/include/osmocom/core/counter.h:28:20: note: declared here static inline void osmo_counter_inc(struct osmo_counter *ctr) ^~~~~~~~~~~~~~~~ gsm_04_08.c:1599:3: warning: ‘osmo_counter_dec’ is deprecated: Implement as osmo_stat_item instead [-Wdeprecated-declarations] osmo_counter_dec(trans->net->active_calls); ^~~~~~~~~~~~~~~~ In file included from /build/deps/install/stow/libosmocore/include/osmocom/core/statistics.h:2, from ../../include/openbsc/gsm_data_shared.h:10, from ../../include/openbsc/gsm_data.h:178, from ../../include/openbsc/gsm_subscriber.h:9, from ../../include/openbsc/db.h:25, from gsm_04_08.c:38: /build/deps/install/stow/libosmocore/include/osmocom/core/counter.h:20:20: note: declared here static inline void osmo_counter_dec(struct osmo_counter *ctr) ^~~~~~~~~~~~~~~~ CC mncc_builtin.o CC mncc_sock.o CC rrlp.o CC silent_call.o CC sms_queue.o CC token_auth.o CC ussd.o CC vty_interface_layer3.o silent_call.c:91:31: warning: ‘silent_call_accept’ defined but not used [-Wunused-const-variable=] static const struct msg_match silent_call_accept[] = { ^~~~~~~~~~~~~~~~~~ token_auth.c: In function ‘token_subscr_cb’: token_auth.c:32:24: warning: ‘%s’ directive output may be truncated writing up to 14 bytes into a region of size between 9 and 24 [-Wformat-truncation=] #define TOKEN_SMS_TEXT "HAR 2009 GSM. Register at http://har2009.gnumonks.org/ " \ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ token_auth.c:32:24: note: in definition of macro ‘TOKEN_SMS_TEXT’ #define TOKEN_SMS_TEXT "HAR 2009 GSM. Register at http://har2009.gnumonks.org/ " \ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ token_auth.c:33:54: note: format string is defined here "Your IMSI is %s, auth token is %08X, phone no is %s." ^~ token_auth.c:45:2: note: ‘snprintf’ output between 109 and 138 bytes into a destination of size 131 snprintf(sms_str, len, TOKEN_SMS_TEXT, subscr->imsi, token, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ subscr->extension); ~~~~~~~~~~~~~~~~~~ CC transaction.o CC osmo_msc.o CC ctrl_commands.o CC meas_feed.o CC smpp_smsc.o CC smpp_openbsc.o CC smpp_vty.o CC smpp_utils.o smpp_openbsc.c: In function ‘submit_to_sms’: smpp_openbsc.c:168:2: warning: #warning Implement reply path [-Wcpp] #warning Implement reply path ^~~~~~~ smpp_openbsc.c:211:3: warning: ‘gsm_septets2octets’ is deprecated: This function is unable to handle more than 255 septets, use gsm_septet_pack() instead. [-Wdeprecated-declarations] gsm_septets2octets(sms->user_data+ud_len, sms_msg, ^~~~~~~~~~~~~~~~~~ In file included from /build/deps/install/stow/libosmocore/include/osmocom/gsm/protocol/gsm_04_08.h:12, from /build/deps/install/stow/libosmocore/include/osmocom/gsm/gsm48.h:11, from ../../include/openbsc/gsm_04_08.h:4, from ../../include/openbsc/rest_octets.h:5, from ../../include/openbsc/gsm_data.h:18, from ../../include/openbsc/gsm_subscriber.h:9, from smpp_openbsc.c:39: /build/deps/install/stow/libosmocore/include/osmocom/gsm/gsm_utils.h:110:5: note: declared here int gsm_septets2octets(uint8_t *result, const uint8_t *rdata, uint8_t septet_len, uint8_t padding) ^~~~~~~~~~~~~~~~~~ smpp_smsc.c: In function ‘smpp_handle_bind_tx’: smpp_smsc.c:508:66: warning: ‘snprintf’ output may be truncated before the last format character [-Wformat-truncation=] snprintf((char *)bind_r.system_id, sizeof(bind_r.system_id), "%s", ^ smpp_smsc.c:508:2: note: ‘snprintf’ output between 1 and 17 bytes into a destination of size 16 snprintf((char *)bind_r.system_id, sizeof(bind_r.system_id), "%s", ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ esme->smsc->system_id); ~~~~~~~~~~~~~~~~~~~~~~ AR libmsc.a ar: `u' modifier ignored since `D' is the default (see `U') make[3]: Leaving directory '/build/openbsc/src/libmsc' Making all in libtrau make[3]: Entering directory '/build/openbsc/src/libtrau' CC rtp_proxy.o CC trau_mux.o CC trau_upqueue.o AR libtrau.a ar: `u' modifier ignored since `D' is the default (see `U') make[3]: Leaving directory '/build/openbsc/src/libtrau' Making all in libfilter make[3]: Entering directory '/build/openbsc/src/libfilter' CC bsc_msg_acc.o CC bsc_msg_filter.o CC bsc_msg_vty.o bsc_msg_filter.c: In function ‘_cr_check_loc_upd’: bsc_msg_filter.c:229:2: warning: ‘gsm48_mi_to_string’ is deprecated: Instead use osmo_mobile_identity_decode() [-Wdeprecated-declarations] gsm48_mi_to_string(mi_string, sizeof(mi_string), lu->mi, lu->mi_len); ^~~~~~~~~~~~~~~~~~ In file included from ../../include/openbsc/gsm_04_08.h:4, from ../../include/openbsc/rest_octets.h:5, from ../../include/openbsc/gsm_data.h:18, from bsc_msg_filter.c:28: /build/deps/install/stow/libosmocore/include/osmocom/gsm/gsm48.h:66:5: note: declared here int gsm48_mi_to_string(char *string, int str_len, const uint8_t *mi, int mi_len) ^~~~~~~~~~~~~~~~~~ bsc_msg_filter.c: In function ‘_dt_check_id_resp’: bsc_msg_filter.c:317:2: warning: ‘gsm48_mi_to_string’ is deprecated: Instead use osmo_mobile_identity_decode() [-Wdeprecated-declarations] gsm48_mi_to_string(mi_string, sizeof(mi_string), &data[1], data[0]); ^~~~~~~~~~~~~~~~~~ In file included from ../../include/openbsc/gsm_04_08.h:4, from ../../include/openbsc/rest_octets.h:5, from ../../include/openbsc/gsm_data.h:18, from bsc_msg_filter.c:28: /build/deps/install/stow/libosmocore/include/osmocom/gsm/gsm48.h:66:5: note: declared here int gsm48_mi_to_string(char *string, int str_len, const uint8_t *mi, int mi_len) ^~~~~~~~~~~~~~~~~~ AR libfilter.a ar: `u' modifier ignored since `D' is the default (see `U') make[3]: Leaving directory '/build/openbsc/src/libfilter' Making all in libcommon-cs make[3]: Entering directory '/build/openbsc/src/libcommon-cs' CC common_cs.o CC common_cs_vty.o common_cs.c: In function ‘gsm_network_init’: common_cs.c:84:2: warning: ‘osmo_counter_alloc’ is deprecated: Implement as osmo_stat_item instead [-Wdeprecated-declarations] net->active_calls = osmo_counter_alloc("msc.active_calls"); ^~~ In file included from /build/deps/install/stow/libosmocore/include/osmocom/core/statistics.h:2, from ../../include/openbsc/gsm_data_shared.h:10, from ../../include/openbsc/gsm_data.h:178, from common_cs.c:28: /build/deps/install/stow/libosmocore/include/osmocom/core/counter.h:47:22: note: declared here struct osmo_counter *osmo_counter_alloc(const char *name) ^~~~~~~~~~~~~~~~~~ AR libcommon-cs.a ar: `u' modifier ignored since `D' is the default (see `U') make[3]: Leaving directory '/build/openbsc/src/libcommon-cs' Making all in osmo-nitb make[3]: Entering directory '/build/openbsc/src/osmo-nitb' CC bsc_hack.o bsc_hack.c: In function ‘create_pcap_file’: bsc_hack.c:86:2: warning: ‘e1_set_pcap_fd’ is deprecated: Use e1_set_pcap_fd2() instead [-Wdeprecated-declarations] e1_set_pcap_fd(fd); ^~~~~~~~~~~~~~ In file included from ../../include/openbsc/gsm_data_shared.h:21, from ../../include/openbsc/gsm_data.h:178, from ../../include/openbsc/gsm_subscriber.h:9, from ../../include/openbsc/db.h:25, from bsc_hack.c:32: /build/deps/install/stow/libosmo-abis/include/osmocom/abis/e1_input.h:361:5: note: declared here int e1_set_pcap_fd(int fd); ^~~~~~~~~~~~~~ bsc_hack.c: In function ‘main’: bsc_hack.c:283:2: warning: ‘osmo_init_logging’ is deprecated: use osmo_init_logging2() instead to avoid a NULL talloc ctx [-Wdeprecated-declarations] osmo_init_logging(&log_info); ^~~~~~~~~~~~~~~~~ In file included from bsc_hack.c:33: /build/deps/install/stow/libosmocore/include/osmocom/core/application.h:17:5: note: declared here int osmo_init_logging(const struct log_info *) ^~~~~~~~~~~~~~~~~ CCLD osmo-nitb /usr/bin/ld: ../../src/libcommon/libcommon.a(talloc_ctx.o): in function `talloc_ctx_init': /build/openbsc/src/libcommon/talloc_ctx.c:54: undefined reference to `tall_ctr_ctx' collect2: error: ld returned 1 exit status make[3]: *** [Makefile:470: osmo-nitb] Error 1 make[3]: Leaving directory '/build/openbsc/src/osmo-nitb' make[2]: Leaving directory '/build/openbsc/src' make[2]: *** [Makefile:429: all-recursive] Error 1 make[1]: *** [Makefile:455: all-recursive] Error 1 make[1]: Leaving directory '/build/openbsc' make: *** [Makefile:387: all] Error 2 Build step 'Execute shell' marked build as failure $ ssh-agent -k unset SSH_AUTH_SOCK; unset SSH_AGENT_PID; echo Agent pid 2336630 killed; [ssh-agent] Stopped. Archiving artifacts
jenkins-notifications@lists.osmocom.org