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

2008-06-19 Thread Tzafrir Cohen
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:[EMAIL PROTECTED]
+972-50-7952406   mailto:[EMAIL PROTECTED]
http://www.xorcom.com  iax:[EMAIL PROTECTED]/tzafrir

___
-- Bandwidth and Colocation Provided by http://www.api-digital.com --

AstriCon 2008 - September 22 - 25 Phoenix, Arizona
Register Now: http://www.astricon.net

asterisk-users mailing list
To UNSUBSCRIBE or update options visit:
   http://lists.digium.com/mailman/listinfo/asterisk-users

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

2008-06-19 Thread Tzafrir Cohen
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

http://bugs.digium.com/12889

(No new details there at the time of writing this)

-- 
   Tzafrir Cohen
icq#16849755  jabber:[EMAIL PROTECTED]
+972-50-7952406   mailto:[EMAIL PROTECTED]
http://www.xorcom.com  iax:[EMAIL PROTECTED]/tzafrir

___
-- Bandwidth and Colocation Provided by http://www.api-digital.com --

AstriCon 2008 - September 22 - 25 Phoenix, Arizona
Register Now: http://www.astricon.net

asterisk-users mailing list
To UNSUBSCRIBE or update options visit:
   http://lists.digium.com/mailman/listinfo/asterisk-users


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

2008-06-18 Thread Anthony Francis
Robert McNaught wrote:
 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

 ___
 -- 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
   
Might be the version of the gnu compiler you have, make sure you do a 
yum groupinstall Development Tools, and then make sure you build 
libpri first.

___
-- Bandwidth and Colocation Provided by http://www.api-digital.com --

AstriCon 2008 - September 22 - 25 Phoenix, Arizona
Register Now: http://www.astricon.net

asterisk-users mailing list
To UNSUBSCRIBE or update options visit:
   http://lists.digium.com/mailman/listinfo/asterisk-users