[asterisk-bugs] [JIRA] (ASTERISK-29660) Build failure when disabling PJSIP support
Asterisk Team (JIRA)
noreply at issues.asterisk.org
Wed Sep 14 10:36:15 CDT 2022
[ https://issues.asterisk.org/jira/browse/ASTERISK-29660?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Asterisk Team updated ASTERISK-29660:
-------------------------------------
Target Release Version/s: 20.0.0
> Build failure when disabling PJSIP support
> ------------------------------------------
>
> Key: ASTERISK-29660
> URL: https://issues.asterisk.org/jira/browse/ASTERISK-29660
> Project: Asterisk
> Issue Type: Bug
> Security Level: None
> Components: Resources/res_rtp_asterisk
> Affects Versions: 16.21.0, 18.7.0
> Environment: Seeing this on asterisk, but should apply to any OS
> Reporter: Guido Falsi
> Assignee: Guido Falsi
> Severity: Major
> Target Release: 16.21.0, 16.22.0, 18.7.0, 18.8.0, 19.0.0, 20.0.0
>
>
> In the asterisk port there is an option to disable PJSIP support, passing "--without-pjproject --without-pjproject-bundled" to the configure script.
> WIth the latest RC versions this causes a build failure:
> {quote}
> res_rtp_asterisk.c:9041:22: error: use of undeclared identifier 'stunaddr_lock'; did you mean 'stunaddr_name'?
> ast_rwlock_rdlock(&stunaddr_lock);
> ^~~~~~~~~~~~~
> stunaddr_name
> {quote}
> (more errors follow, same error for 16 and 18)
> Looking at {{res_rtp_asterisk.c}} it looks like most of the code involving {{stunaddr_lock}} is inside {{#ifdef HAVE_PJPROJECT}} blocks, including its definition.
> I'm going to submit a patch adding more {{#ifdef HAVE_PJPROJECT}} on the code using the missing definitions, so it builds, not sure if this is the correct fix though.
--
This message was sent by Atlassian JIRA
(v6.2#6252)
More information about the asterisk-bugs
mailing list