Sponsor: VoiceMeUp - Corporate & Wholesale VoIP Services

VoIP Mailing List Archives
Mailing list archives for the VoIP community
 SearchSearch 

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


 
Post new topic   Reply to topic    VoIP Mailing List Archives Forum Index -> Asterisk Users
View previous topic :: View next topic  
Author Message
asteriskator at gmail.com
Guest





PostPosted: Wed Jun 18, 2008 4:04 pm    Post subject: [asterisk-users] error: conflicting types for ‘bool’ Reply with quote

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
Back to top
anthonyf at rockynet.com
Guest





PostPosted: Wed Jun 18, 2008 7:09 pm    Post subject: [asterisk-users] error: conflicting types for ‘bool’ Reply with quote

Robert McNaught wrote:
Quote:
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.
Back to top
Display posts from previous:   
Post new topic   Reply to topic    VoIP Mailing List Archives Forum Index -> Asterisk Users All times are GMT - 5 Hours
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © 2001, 2005 phpBB Group

VoiceMeUp - Corporate & Wholesale VoIP Services