[asterisk-users] Getting compilation error while installing Dhadi

Ahmed Munir ahmedmunir007 at gmail.com
Wed Feb 27 15:26:37 CST 2013


Hi all,

I'm getting compilation error as trying to install latest version of dahdi
on CentOS box 5.9 which I now updated from 5.6. I also installed the
dependencies but still not getting the clue to get install the driver.
Listing down the errors below;


  CC [M]
/usr/local/src/Asterisk/dahdi-linux-complete-2.6.1+2.6.1/linux/drivers/dahdi/wct4xxp/../oct612x/octdeviceapi/oct6100api/oct6100_api/oct6100_tsi_cnct.o
  CC [M]
/usr/local/src/Asterisk/dahdi-linux-complete-2.6.1+2.6.1/linux/drivers/dahdi/wct4xxp/../oct612x/octdeviceapi/oct6100api/oct6100_api/oct6100_tsst.o
  CC [M]
/usr/local/src/Asterisk/dahdi-linux-complete-2.6.1+2.6.1/linux/drivers/dahdi/wct4xxp/../oct612x/apilib/bt/octapi_bt0.o
  CC [M]
/usr/local/src/Asterisk/dahdi-linux-complete-2.6.1+2.6.1/linux/drivers/dahdi/wct4xxp/../oct612x/apilib/largmath/octapi_largmath.o
  CC [M]
/usr/local/src/Asterisk/dahdi-linux-complete-2.6.1+2.6.1/linux/drivers/dahdi/wct4xxp/../oct612x/apilib/llman/octapi_llman.o
  LD [M]
/usr/local/src/Asterisk/dahdi-linux-complete-2.6.1+2.6.1/linux/drivers/dahdi/wct4xxp/wct4xxp.o
  CC [M]
/usr/local/src/Asterisk/dahdi-linux-complete-2.6.1+2.6.1/linux/drivers/dahdi/wctc4xxp/base.o
  LD [M]
/usr/local/src/Asterisk/dahdi-linux-complete-2.6.1+2.6.1/linux/drivers/dahdi/wctc4xxp/wctc4xxp.o
  CC [M]
/usr/local/src/Asterisk/dahdi-linux-complete-2.6.1+2.6.1/linux/drivers/dahdi/wctdm24xxp/base.o
  CC [M]
/usr/local/src/Asterisk/dahdi-linux-complete-2.6.1+2.6.1/linux/drivers/dahdi/wctdm24xxp/xhfc.o
  LD [M]
/usr/local/src/Asterisk/dahdi-linux-complete-2.6.1+2.6.1/linux/drivers/dahdi/wctdm24xxp/wctdm24xxp.o
  CC [M]
/usr/local/src/Asterisk/dahdi-linux-complete-2.6.1+2.6.1/linux/drivers/dahdi/wcte12xp/base.o
  LD [M]
/usr/local/src/Asterisk/dahdi-linux-complete-2.6.1+2.6.1/linux/drivers/dahdi/wcte12xp/wcte12xp.o
  VERSION
/usr/local/src/Asterisk/dahdi-linux-complete-2.6.1+2.6.1/linux/drivers/dahdi/xpp/xpp_version.h
  CC [M]
/usr/local/src/Asterisk/dahdi-linux-complete-2.6.1+2.6.1/linux/drivers/dahdi/xpp/card_bri.o
In file included from
/usr/local/src/Asterisk/dahdi-linux-complete-2.6.1+2.6.1/linux/drivers/dahdi/xpp/xpd.h:26,
                 from
/usr/local/src/Asterisk/dahdi-linux-complete-2.6.1+2.6.1/linux/drivers/dahdi/xpp/card_bri.c:29:
/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
make[4]: ***
[/usr/local/src/Asterisk/dahdi-linux-complete-2.6.1+2.6.1/linux/drivers/dahdi/xpp/card_bri.o]
Error 1
make[3]: ***
[/usr/local/src/Asterisk/dahdi-linux-complete-2.6.1+2.6.1/linux/drivers/dahdi/xpp]
Error 2
make[2]: ***
[_module_/usr/local/src/Asterisk/dahdi-linux-complete-2.6.1+2.6.1/linux/drivers/dahdi]
Error 2
make[2]: Leaving directory `/usr/src/kernels/2.6.18-348.1.1.el5-x86_64'
make[1]: *** [modules] Error 2
make[1]: Leaving directory
`/usr/local/src/Asterisk/dahdi-linux-complete-2.6.1+2.6.1/linux'
make: *** [all] Error 2


Please advise how can I resolve this issue.



-- 
Regards,

Ahmed Munir Chohan
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.digium.com/pipermail/asterisk-users/attachments/20130227/41029126/attachment.htm>


More information about the asterisk-users mailing list