Closed fariss closed 7 years ago
I guess the version number which you explicitly specified 11.7.0 does not match the actual version of Asterisk installed on your system. In particular, asterisk/format.h was not available in Asterisk 1.8.x.
If you have multiple versions of Asterisk installed, then you may need to specify the path to Asterisk as well (--with-asterisk).
It looks like the development package of Asterisk was not installed in this case. That's why the header files were missing.
In commit c81b2877d48275713ed72f2c5464c07ae5c76a07, the asterisk.m4 macro has been enhanced to check for the Asterisk include directory and warn to install development package, if not found.
sudo apt-get install asterisk-dev
the output of ./configure --with-asterisk-version=11.7.0 is good:
but make give the folowing error: