[asterisk-bugs] [JIRA] (ASTERISK-27641) BuildSystem: Enable Better Backtraces in FreeBSD.
Alexander Traud (JIRA)
noreply at issues.asterisk.org
Tue Jan 30 09:32:13 CST 2018
[ https://issues.asterisk.org/jira/browse/ASTERISK-27641?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Alexander Traud updated ASTERISK-27641:
---------------------------------------
Description:
{{./configure}} does not detect the function _dladdr(.)_, because it asks for the shared library _libdl.so_ which is not available on FreeBSD.
Attached is a fix for those using FreeBSD and do not use the Asterisk port but built Asterisk themselves: {code}fetch --no-verify-peer https://issues.asterisk.org/jira/secure/attachment/57050/FreeBSD_enable_better-backtraces.patch
patch -p0 <./FreeBSD_enable_better-backtraces.patch
./bootstrap.sh
./configure{code}It is a specific fix for FreeBSD, which cannot be added to Asterisk in general. The correct approach would be to change {{configure.ac}}, either by adding yet another state or by re-writing that whole part.
Hopefully someone actually using Better Backtraces, shares his time to do this change here.
was:
{{./configure}} does not detect the function _dladdr(.)_, because it asks for the shared library _libdl.so_ which is not available on FreeBSD.
Attached is a fix for those using FreeBSD and do not use the Asterisk port but built Asterisk themselves: {code}fetch --no-verify-peer
patch -p0 <./FreeBSD_enable_better-backtraces.patch
./bootstrap.sh
./configure{code}It is a specific fix for FreeBSD, which cannot be added to Asterisk in general. The correct approach would be to change {{configure.ac}}, either by adding yet another state or by re-writing that whole part.
Hopefully someone actually using Better Backtraces, shares his time to do this change here.
> BuildSystem: Enable Better Backtraces in FreeBSD.
> -------------------------------------------------
>
> Key: ASTERISK-27641
> URL: https://issues.asterisk.org/jira/browse/ASTERISK-27641
> Project: Asterisk
> Issue Type: Bug
> Security Level: None
> Components: Core/BuildSystem
> Affects Versions: 13.19.0
> Environment: FreeBSD 11.1
> Reporter: Alexander Traud
> Severity: Minor
> Labels: patch
> Attachments: FreeBSD_enable_better-backtraces.patch
>
>
> {{./configure}} does not detect the function _dladdr(.)_, because it asks for the shared library _libdl.so_ which is not available on FreeBSD.
> Attached is a fix for those using FreeBSD and do not use the Asterisk port but built Asterisk themselves: {code}fetch --no-verify-peer https://issues.asterisk.org/jira/secure/attachment/57050/FreeBSD_enable_better-backtraces.patch
> patch -p0 <./FreeBSD_enable_better-backtraces.patch
> ./bootstrap.sh
> ./configure{code}It is a specific fix for FreeBSD, which cannot be added to Asterisk in general. The correct approach would be to change {{configure.ac}}, either by adding yet another state or by re-writing that whole part.
> Hopefully someone actually using Better Backtraces, shares his time to do this change here.
--
This message was sent by Atlassian JIRA
(v6.2#6252)
More information about the asterisk-bugs
mailing list