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       [email protected]      Voice: +1-760-468-3867 PST
Newline                                              Fax: +1-760-731-3000
--
_____________________________________________________________________
-- Bandwidth and Colocation Provided by http://www.api-digital.com --
New to Asterisk? Join us for a live introductory webinar every Thurs:
               http://www.asterisk.org/hello

asterisk-users mailing list
To UNSUBSCRIBE or update options visit:
   http://lists.digium.com/mailman/listinfo/asterisk-users

Reply via email to