Skip to content

sofia-sip: error: passing argument 3 of 'msg_params_d' from incompatible pointer type #901

Description

@BKPepe

Info

Ex-Maintainer: @micmac1, current maintainer: missing

Log

 make[8]: Entering directory '/builder/shared-workdir/build/sdk/build_dir/target-aarch64_cortex-a53_musl/sofia-sip-1.13.17/libsofia-sip-ua/sip'
	 LTCOMPILE sip_parser.lo
	 LTCOMPILE sip_header.lo
	 LTCOMPILE sip_util.lo
	 LTCOMPILE sip_pref_util.lo
	 LTCOMPILE sip_basic.lo
sip_basic.c: In function 'sip_identity_d':
sip_basic.c:2885:15: warning: assignment discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers]
 2885 |           uri = pp + 1;
      |               ^
sip_basic.c:2905:40: error: passing argument 3 of 'msg_params_d' from incompatible pointer type [-Wincompatible-pointer-types]
 2905 |           if (msg_params_d(home, &ext, &params) >= 0) {
      |                                        ^~~~~~~
      |                                        |
      |                                        const char ***
In file included from sofia-sip/sip_parser.h:52,
                 from sip_basic.c:46:
./../msg/sofia-sip/msg_parser.h:280:55: note: expected 'const char * const**' but argument is of type 'const char ***'
  280 |                                   msg_param_t const **return_params);
      |                                   ~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~
make[8]: *** [Makefile:1566: sip_basic.lo] Error 1

Log is copy&pasted from this website:
https://downloads.openwrt.org/snapshots/faillogs/aarch64_cortex-a53/telephony/sofia-sip/compile.txt

ENV: aarch64_cortex-a53, OpenWrt daily snapshot

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions