[asterisk-dev] Re: Centos4 Linux and zaptel compile problem

Axel Thimm Axel.Thimm at ATrpms.net
Mon Apr 10 08:35:06 MST 2006


On Mon, Apr 10, 2006 at 09:35:24PM +1000, Jeyadev (JD) Sreedharan wrote:
> I have been trying to compile the zaptel driver on an  Intel SMP box 
> using CentOS 4 with very little success. Unfortunately, I am not at the 
> asterisk box right now and can't get the exact messages, but I would be 
> reaaly grateful if someone could point me in the right direction.
> 
> When I do a 'make linux26', the  make chokes at line 384 and 385  of 
> zaptel.c.The rest of the messages seems to be related to the error here. 
> Looks like there is a casting problem with:
> 
> static DEFINE_RWLOCK(zone_lock);
> static DEFINE_RWLOCK(chan_lock);
> 
> I have succesfully compiled asterisk and zaptel on the same hardware 
> using Fedora Core 5.Does any one have any ideas?
> 
> Sorry for the brevity. Too many hours trying to debug and too little sleep.

It's a typo in the kernel's sources:

https://bugzilla.redhat.com/bugzilla/show_bug.cgi?id=180568

The easiest thing is to fix the sources. But you can simply get
packages for both Fedora Core 5 and RHEL 4/CentOS 4 from
http://atrpms.net
-- 
Axel.Thimm at ATrpms.net
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: not available
Url : http://lists.digium.com/pipermail/asterisk-dev/attachments/20060410/04b40e71/attachment.pgp


More information about the asterisk-dev mailing list