Sponsor: VoiceMeUp - Corporate & Wholesale VoIP Services

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

[asterisk-users] Centos-5.2 and zaptel-1.4.11 do not get along well


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





PostPosted: Mon Jun 30, 2008 2:47 pm    Post subject: [asterisk-users] Centos-5.2 and zaptel-1.4.11 do not get alo Reply with quote

On June 30, 2008 06:25:17 pm Mark G. Thomas wrote:
Quote:
Hi,

After doing a "yum update" on my previously Centos-5.1 system, now
zaptel-1.4.11 fails to build with this below.

CC [M] /opt/src/asterisk/zaptel-1.4.11/kernel/xpp/card_fxo.o
In file included from /opt/src/asterisk/zaptel-1.4.11/kernel/xpp/xpd.h:26,
from
/opt/src/asterisk/zaptel-1.4.11/kernel/xpp/card_fxo.c:27:
/opt/src/asterisk/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

I;m not sure but I think somebody about a month ago had a very similiar
compilation problem... infact I think it was the same error.

I;m not sure what the proper way is to fix your CentOS box is, however an
option for you might be to just not compile the xpp module. xpp I believe is
the Xorcom AstriBank... if you don;t actually have an AstriBank then there is
no sense in even compiling/installing the drivers for it.

I;m guessing you haven't run a make menuselect to select only the drivers you
need?

--
Matt Watson
http://www.mattgwatson.ca
Back to top
Mark at Misty.com
Guest





PostPosted: Mon Jun 30, 2008 5:25 pm    Post subject: [asterisk-users] Centos-5.2 and zaptel-1.4.11 do not get alo Reply with quote

Hi,

After doing a "yum update" on my previously Centos-5.1 system, now
zaptel-1.4.11 fails to build with this below.

I figured I better caution people because it sucks being down, and
I haven't figured out how to install the previously compiled modules
into the new kernel or any other work around.

...
LD [M] /opt/src/asterisk/zaptel-1.4.11/kernel/wcte12xp/wcte12xp.o
CC [M] /opt/src/asterisk/zaptel-1.4.11/kernel/xpp/card_fxo.o
In file included from /opt/src/asterisk/zaptel-1.4.11/kernel/xpp/xpd.h:26,
from /opt/src/asterisk/zaptel-1.4.11/kernel/xpp/card_fxo.c:27:
/opt/src/asterisk/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]: *** [/opt/src/asterisk/zaptel-1.4.11/kernel/xpp/card_fxo.o] Error 1
make[3]: *** [/opt/src/asterisk/zaptel-1.4.11/kernel/xpp] Error 2
make[2]: *** [_module_/opt/src/asterisk/zaptel-1.4.11/kernel] Error 2
make[2]: Leaving directory `/usr/src/kernels/2.6.18-92.1.6.el5-i686'
make[1]: *** [modules] Error 2
make[1]: Leaving directory `/opt/src/asterisk/zaptel-1.4.11'
make: *** [all] Error 2
--
Mark G. Thomas (Mark at Misty.com)
voice: 215-591-3695
http://mail-cleaner.com/
Back to top
pchammer at dynx.net
Guest





PostPosted: Mon Jun 30, 2008 7:09 pm    Post subject: [asterisk-users] Centos-5.2 and zaptel-1.4.11 do not get alo Reply with quote

Matt Watson wrote:
Quote:
On June 30, 2008 06:25:17 pm Mark G. Thomas wrote:

Quote:
Hi,

After doing a "yum update" on my previously Centos-5.1 system, now
zaptel-1.4.11 fails to build with this below.





Quote:
CC [M] /opt/src/asterisk/zaptel-1.4.11/kernel/xpp/card_fxo.o
In file included from /opt/src/asterisk/zaptel-1.4.11/kernel/xpp/xpd.h:26,
from
/opt/src/asterisk/zaptel-1.4.11/kernel/xpp/card_fxo.c:27:
/opt/src/asterisk/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


I;m not sure but I think somebody about a month ago had a very similiar
compilation problem... infact I think it was the same error.

I;m not sure what the proper way is to fix your CentOS box is, however an
option for you might be to just not compile the xpp module. xpp I believe is
the Xorcom AstriBank... if you don;t actually have an AstriBank then there is
no sense in even compiling/installing the drivers for it.

I;m guessing you haven't run a make menuselect to select only the drivers you
need?


Just edit

/opt/src/asterisk/zaptel-1.4.11/kernel/xpp/xdefs.h

line 117 ish

change that if kernel 2.6.19 to 2.6.18 and recompile.

(temp fix)
Back to top
tzafrir.cohen at xorco...
Guest





PostPosted: Mon Jun 30, 2008 7:10 pm    Post subject: [asterisk-users] Centos-5.2 and zaptel-1.4.11 do not get alo Reply with quote

On Mon, Jun 30, 2008 at 03:47:48PM -0400, Matt Watson wrote:
Quote:
On June 30, 2008 06:25:17 pm Mark G. Thomas wrote:
Quote:
Hi,

After doing a "yum update" on my previously Centos-5.1 system, now
zaptel-1.4.11 fails to build with this below.



Quote:
CC [M] /opt/src/asterisk/zaptel-1.4.11/kernel/xpp/card_fxo.o
In file included from /opt/src/asterisk/zaptel-1.4.11/kernel/xpp/xpd.h:26,
from
/opt/src/asterisk/zaptel-1.4.11/kernel/xpp/card_fxo.c:27:
/opt/src/asterisk/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

I;m not sure but I think somebody about a month ago had a very similiar
compilation problem... infact I think it was the same error.

I;m not sure what the proper way is to fix your CentOS box is, however an
option for you might be to just not compile the xpp module. xpp I believe is
the Xorcom AstriBank... if you don;t actually have an AstriBank then there is
no sense in even compiling/installing the drivers for it.

I;m guessing you haven't run a make menuselect to select only the drivers you
need?

Or apply the patch from http://bugs.digium.com/12889 , or use zaptel
from SVN (branches/1.4).

--
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
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