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

2008-06-30 Thread Richard Lyman
Matt Watson wrote:
> On June 30, 2008 06:25:17 pm Mark G. Thomas wrote:
>   
>> 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?
>
>   
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)



___
-- 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] Centos-5.2 and zaptel-1.4.11 do not get along well

2008-06-30 Thread Tzafrir Cohen
On Mon, Jun 30, 2008 at 03:47:48PM -0400, Matt Watson wrote:
> On June 30, 2008 06:25:17 pm Mark G. Thomas wrote:
> > 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?

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

-- 
   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] Centos-5.2 and zaptel-1.4.11 do not get along well

2008-06-30 Thread Matt Watson
On June 30, 2008 06:25:17 pm Mark G. Thomas wrote:
> 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

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

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

2008-06-30 Thread Mark G. Thomas
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 ([EMAIL PROTECTED])
voice: 215-591-3695
http://mail-cleaner.com/

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