[Asterisk-Users] Zaptel compile errors on x86_64
Avi Miller
avi.miller at squiz.net
Wed Mar 15 04:43:05 MST 2006
Walter Klomp wrote:
> Just downloaded the latest cvs from zaptel on my sparking new Athlon64
> Centos4.2 system, but hitting a stumbling block... (sorry for the long post)
Yup, there's a typo in the latest CentOS/RHEL kernel (confirmed by
Redhat). The fix is to edit the Zaptel Makefile (fix courtesy of Russ
Price):
Here's a quick fix. In your zaptel Makefile, add the following (line 38
for 1.2.4) - THIS SHOLD BE ALL ONE LINE:
CFLAGS+=$(shell if uname -r | grep -q 2.6.9-34.EL; then echo
"-Drw_lock_t=\"rwlock_t\""; fi)
This way, if this is fixed in the next kernel release, you won't need to
make another change to the Makefile.
--
National Manager - Special Projects
< Melbourne / Sydney / Canberra / Hobart / London />
2/340 Gore Street T: +61 (0) 3 9486 0411
Fitzroy, VIC F: +61 (0) 3 9486 0611
3065 W: http://www.squiz.net/
.....>> Open Source - Own it - Squiz.net ...../>
More information about the asterisk-users
mailing list