[Asterisk-Users] Problem compiling zaptel on latest RHEL kernel (2.6.9-34.EL)

Ira ira at extrasensory.com
Tue May 30 19:54:23 MST 2006


At 08:33 AM 3/11/2006, you wrote:
>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.


Thanks so much for this, it saved my behind quite a while back and 
again today with this minor change:

>CFLAGS+=$(shell if uname -r | grep -q 2.6.9-34.0.1.EL; then echo 
>"-Drw_lock_t=\"rwlock_t\""; fi)

Ira 




More information about the asterisk-users mailing list