Project

General

Profile

Actions

Bug #5677

closed

error: 'osmux_xfrm_output_init2' is deprecated: Use osmux_xfrm_output_alloc() and osmux_xfrm_output_set_rtp_*() instead

Added by laforge over 1 year ago. Updated over 1 year ago.

Status:
Resolved
Priority:
Normal
Assignee:
Target version:
-
Start date:
09/12/2022
Due date:
% Done:

100%

Spec Reference:

Description

It looks like osmux.c is using symbols itself which are deprecated, breaking compilation (at least on debian unstable):

$ git status
On branch master
Your branch is up to date with 'gerrit/master'.
$ make
make[2]: Entering directory '/space/home/laforge/projects/git/libosmo-netif/src'
  CC       osmux.lo
osmux.c: In function 'osmux_xfrm_output_init':
osmux.c:916:9: error: 'osmux_xfrm_output_init2' is deprecated: Use osmux_xfrm_output_alloc() and osmux_xfrm_output_set_rtp_*() instead [-Werror=deprecated-declarations]
  916 |         osmux_xfrm_output_init2(h, rtp_ssrc, 98);
      |         ^~~~~~~~~~~~~~~~~~~~~~~
osmux.c:901:6: note: declared here
  901 | void osmux_xfrm_output_init2(struct osmux_out_handle *h, uint32_t rtp_ssrc, uint8_t rtp_payload_type)
      |      ^~~~~~~~~~~~~~~~~~~~~~~
Actions #1

Updated by pespin over 1 year ago

  • Status changed from New to Feedback
  • % Done changed from 0 to 90

Fixed here:
https://gerrit.osmocom.org/c/libosmo-netif/+/30292 osmux_output: Refactor init code to avoid calling deprecated APIs internally

Actions #2

Updated by pespin over 1 year ago

  • Status changed from Feedback to Resolved
  • % Done changed from 90 to 100
Actions

Also available in: Atom PDF

Add picture from clipboard (Maximum size: 48.8 MB)