[asterisk-users] Getting compilation error while installing Dhadi

Steve Edwards asterisk.org at sedwards.com
Wed Feb 27 15:40:09 CST 2013


On Wed, 27 Feb 2013, Ahmed Munir wrote:

> I'm getting compilation error as trying to install latest version of dahdi

> /usr/local/src/Asterisk/dahdi-linux-complete-2.6.1+2.6.1/linux/drivers/dahdi/xpp/xdefs.h:152: error: conflicting types for âboolâ
> include/linux/types.h:36: error: previous declaration of âboolâ was here

Don't let a little thing like a compilation error stop you :)

Just comment out line 152 in xdefs.h

There may be a 'proper' way to do this, but this should work.

I had the same issue compiling zaptel-1.2.27 on CentOS 5.9 yesterday.

-- 
Thanks in advance,
-------------------------------------------------------------------------
Steve Edwards       sedwards at sedwards.com      Voice: +1-760-468-3867 PST
Newline                                              Fax: +1-760-731-3000


More information about the asterisk-users mailing list