[asterisk-users] error: conflicting types for ‘bool’

Tzafrir Cohen tzafrir.cohen at xorcom.com
Thu Jun 19 03:44:54 CDT 2008


On Wed, Jun 18, 2008 at 02:02:28PM -0700, Robert McNaught wrote:
> 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"

Yet Another Backporting mess! Bah!

Yes, it should be safe to do so.

> 
> 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
> 
> 
> 
> 
> 
> 
> _______________________________________________
> -- Bandwidth and Colocation Provided by http://www.api-digital.com --
> 
> asterisk-users mailing list
> To UNSUBSCRIBE or update options visit:
>    http://lists.digium.com/mailman/listinfo/asterisk-users
-- 
               Tzafrir Cohen
icq#16849755              jabber:tzafrir.cohen at xorcom.com
+972-50-7952406           mailto:tzafrir.cohen at xorcom.com
http://www.xorcom.com  iax:guest at local.xorcom.com/tzafrir



More information about the asterisk-users mailing list