Thanks Steve and Russ. It worked.<br><br><br><div class="gmail_quote"><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
From: Steve Edwards <<a href="mailto:asterisk.org@sedwards.com">asterisk.org@sedwards.com</a>><br>
Subject: Re: [asterisk-users] Getting compilation error while<br>
installing Dhadi<br>
To: Asterisk Users Mailing List - Non-Commercial Discussion<br>
<<a href="mailto:asterisk-users@lists.digium.com">asterisk-users@lists.digium.com</a>><br>
Message-ID: <alpine.DEB.2.02.1302271337180.3668@ws><br>
Content-Type: text/plain; charset="iso-8859-1"; Format="flowed"<br>
<br>
On Wed, 27 Feb 2013, Ahmed Munir wrote:<br>
<br>
> I'm getting compilation error as trying to install latest version of dahdi<br>
<br>
> /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?<br>
> include/linux/types.h:36: error: previous declaration of ?bool? was here<br>
<br>
Don't let a little thing like a compilation error stop you :)<br>
<br>
Just comment out line 152 in xdefs.h<br>
<br>
There may be a 'proper' way to do this, but this should work.<br>
<br>
I had the same issue compiling zaptel-1.2.27 on CentOS 5.9 yesterday.<br>
<br>
--<br>
Thanks in advance,<br>
-------------------------------------------------------------------------<br>
Steve Edwards <a href="mailto:sedwards@sedwards.com">sedwards@sedwards.com</a> Voice: <a href="tel:%2B1-760-468-3867" value="+17604683867">+1-760-468-3867</a> PST<br>
Newline Fax: <a href="tel:%2B1-760-731-3000" value="+17607313000">+1-760-731-3000</a><br>
<br>
------------------------------<br>
<br>
<br>
From: Russ Meyerriecks <<a href="mailto:rmeyerriecks@digium.com">rmeyerriecks@digium.com</a>><br>
Subject: Re: [asterisk-users] Getting compilation error while<br>
installing Dhadi<br>
To: Asterisk Users Mailing List - Non-Commercial Discussion<br>
<<a href="mailto:asterisk-users@lists.digium.com">asterisk-users@lists.digium.com</a>><br>
Message-ID: <20130227215108.GA17504@blackmagic><br>
Content-Type: text/plain; charset=iso-8859-1<br>
<br>
> error: conflicting types for ?bool?<br>
> include/linux/types.h:36: error: previous declaration of ?bool? was here<br>
<br>
This issue is resolved by the latest dahdi-linux release 2.6.2-rc1.<br>
<br>
You can download a tarball of the release here:<br>
<a href="http://downloads.asterisk.org/pub/telephony/dahdi-linux/dahdi-linux-2.6.2-rc1.tar.gz" target="_blank">http://downloads.asterisk.org/pub/telephony/dahdi-linux/dahdi-linux-2.6.2-rc1.tar.gz</a><br>
<br>
Or you can check out the v2.6.2-rc1 tag from git:<br>
git clone <a href="http://git.asterisk.org/dahdi/linux" target="_blank">git.asterisk.org/dahdi/linux</a> dahdi-linux<br>
cd dahdi-linux<br>
git checkout v2.6.2-rc1<br>
<br>
--<br>
Russ Meyerriecks<br>
Digium, Inc. | Linux Kernel Developer<br>
445 Jan Davis Drive NW - Huntsville, AL 35806 - USA<br>
direct: <a href="tel:%2B1%20256-428-6025" value="+12564286025">+1 256-428-6025</a><br>
Check us out at: <a href="http://www.digium.com" target="_blank">www.digium.com</a> & <a href="http://www.asterisk.org" target="_blank">www.asterisk.org</a><br>
<br clear="all"></blockquote></div><br>-- <br>Regards,<br><br>Ahmed Munir Chohan<br><br>