[asterisk-users] zaptel errors
Mats Karlsson
mats.o.karlsson at gmail.com
Mon Jul 10 10:40:13 MST 2006
Ariel Batista wrote:
> Justin Johnson wrote:
>> Hi All,
>>
>> I have centOS 4.3 installed and have attempted to install asterisk
>> separately. I have installed all the modules as suggested on Asterisk
>> downloads, more (via SVN) However, on the zaptel install I am getting
>> the following errors.
>
>
> centosbug is, like, a problem with the latest Centos kernels (4.2 and
> 4.3). To fix it, paste everything inside the quotes into a root
> shell: "sed -i s/rw_lock/rwlock/ /usr/src/kernels/`uname -r`-`uname
> -m`/include/linux/spinlock.h
This doesn't work if you use a smp kernel !
So I use : "sed -i s/rw_lock/rwlock/
/usr/src/kernels/2.6*/include/linux/spinlock.h"
But ensure that there is only one kernel-devel version, uninstall the
one that isn't in use !
>
>>
>> make[3]: *** [/usr/src/zaptel/torisa.o] Error 1
>> make[2]: *** [_module_/usr/src/zaptel] Error 2
>> make[2]: Leaving directory `/usr/src/kernels/2.6.9-34.0.1.EL-i686'
>> make[1]: *** [linux26] Error 2
>> make[1]: Leaving directory `/usr/src/zaptel'
>> make: *** [all] Error 2
>>
>> Any one have any ideas how I can solve this?
>>
>> Thanks in advance,
>>
>> Justin
/Mats
--
"Those that sacrifice essential liberty to obtain a little temporary
safety deserve neither liberty nor safety." -- Ben Franklin (1759)
More information about the asterisk-users
mailing list