Showing posts with label bool. Show all posts
Showing posts with label bool. Show all posts

Tuesday, August 6, 2013

conflicting types for ‘bool’ error while installing dahdi

Dahdi 2.6.1 conflicting types for bool

conflicting types for ‘bool’


include/linux/types.h:36: error: previous declaration of âboolâ was here


solution for the above error is to use the dahdi 2.6.2 rc1

#wget http://downloads.asterisk.org/pub/telephony/dahdi-linux/dahdi-linux-2.6.2-rc1.tar.gz
#tar -xvzf dahdi-linux-2.6.2-rc1.tar.gz
#cd dahdi-linux-2.6.2-rc1
#make
#make install
#wget http://downloads.asterisk.org/pub/telephony/dahdi-tools/dahdi-tools-2.6.1.tar.gz
#tar -xvzf dahdi-tools-2.6.1.tar.gz
#cd dahdi-tools-2.6.1
#./configure
#make
#make install
#make config