[asterisk-users] Use of undeclared identifier 'pvt' in asterisk-12.4.0

Jeffrey Walton noloader at gmail.com
Fri Jul 25 09:39:48 CDT 2014

On Fri, Jul 25, 2014 at 10:35 AM, Joshua Colp <jcolp at digium.com> wrote:
> Jeffrey Walton wrote:
>> I downloaded asterisk-12.4.0 (asterisk-12-current.tar.gz, dated
>> 10-JUL_2014) from
>> http://downloads.asterisk.org/pub/telephony/asterisk/.
>> The packaged configured OK. However, I'm getting a compile error: use
>> of undeclared identifier 'pvt'.
>> I've found similar reports for other versions (asterisk-11 and dongle;
>> macports; a couple others), but nothing for 12.4.
>> Any suggestions to fix the issue?
> You are building Asterisk using the 'clang' compiler. At this time Asterisk
> does not support being built with it. You will need to ensure GCC is used
> instead.
Oh, that's a drag. I specifically choose Clang so I could use its
static and dynamic analysis capabilities. The sanitizers rock - they
are real tattle tales.

Are there any plans to support Clang? If the effort is going on now,
then I 'd be happy to help out with porting and testing.


More information about the asterisk-users mailing list