Building debug version of Asterisk 16.28.0 under Debian 10 Buster
Antony Stone
Asterisk at gruntle.co.uk
Sat May 27 11:07:11 BST 2023
Hi.
I'm trying to build a debug version of Asterisk 16.28.0 on Debian Buster, in
order to investigate a suspected bug in Asterisk.
I'm doing the following:
As root:
apt-get install dpkg-dev build-essentials autoconf fakeroot
apt build-dep asterisk
As standard user:
apt-get source asterisk
cd asterisk-16.28.0~dfsg
DEB_BUILD_OPTIONS=debug dpkg-buildpackage -b -uc -us
This fails with the message:
../src/pjmedia/resample_resample.c:31:10: fatal error:
third_party/resample/include/resamplesubs.h: No such file or directory
If I perform the build without DEB_BUILD_OPTIONS=debug there is no error and I
end up with the expected binary file.
Please can you advise how I should obtain this missing header file and add it
to the source tree in order to complete the build?
I have found a copy of the file at
https://trac.pjsip.org/repos/browser/pjproject/trunk/third_party/resample/include/resamplesubs.h
and tried downloading it and adding it to my source tree at third-
party/pjproject/source/third_party/resample/include/resamplesubs.h however
this does not allow the debug build to complete, and I even find that the file
has disappeared again after trying to rebuild the package.
How can I build a debug version of Asterisk from the Debian source package
please?
Thanks,
Antony Stone.
More information about the Pkg-voip-maintainers
mailing list