[asterisk-users] error: conflicting types for ‘bool’
Robert McNaught
asteriskator at gmail.com
Wed Jun 18 16:04:52 CDT 2008
Hi All,
Trying to install zaptel-1.4.11 on a Supermicro SuperServer with Centos
5, and getting the following error trail on "make". Googling the issue
has found one user who tried:
"seems that commenting out "typedef int bool;" in xpp/xdefs.h on line 93
works
that out, but don't know if it's completely right thing to do
Roman"
The only thing non-standard with the machine is a RAID controller which
was installed from a floppy in the first part of installing linux "linux
dd" from the anaconda prompt. I have since done a yum -y update kernel
kernel-devel and rebooted the machine.
The running kernel is the same as the sources
Linux localhost.localdomain 2.6.18-92.1.1.el5 #1 SMP Thu May 22 09:01:47
EDT 2008 x86_64 x86_64 x86_64 GNU/Linux
Does anyone have any troubleshooting advice on this?
Thanks in advance
Robert
.o wct4xxp/ wctc4xxp/ xpp/ wctdm24xxp/ wcte12xp/" modules
make[2]: Entering directory `/usr/src/kernels/2.6.18-92.1.1.el5-x86_64'
CC [M] /usr/src/zaptel-1.4.11/kernel/wctdm24xxp/../voicebus.o
LD [M] /usr/src/zaptel-1.4.11/kernel/wctdm24xxp/wctdm24xxp.o
CC [M] /usr/src/zaptel-1.4.11/kernel/wcte12xp/../voicebus.o
LD [M] /usr/src/zaptel-1.4.11/kernel/wcte12xp/wcte12xp.o
CC [M] /usr/src/zaptel-1.4.11/kernel/xpp/card_fxo.o
In file included from /usr/src/zaptel-1.4.11/kernel/xpp/xpd.h:26,
from /usr/src/zaptel-1.4.11/kernel/xpp/card_fxo.c:27:
/usr/src/zaptel-1.4.11/kernel/xpp/xdefs.h:117: error: conflicting types
for 'bool'
include/linux/types.h:36: error: previous declaration of 'bool' was here
make[4]: *** [/usr/src/zaptel-1.4.11/kernel/xpp/card_fxo.o] Error 1
make[3]: *** [/usr/src/zaptel-1.4.11/kernel/xpp] Error 2
make[2]: *** [_module_/usr/src/zaptel-1.4.11/kernel] Error 2
make[2]: Leaving directory `/usr/src/kernels/2.6.18-92.1.1.el5-x86_64'
make[1]: *** [modules] Error 2
make[1]: Leaving directory `/usr/src/zaptel-1.4.11'
make: *** [all] Error 2
More information about the asterisk-users
mailing list