Thanks Russ. I updated the Makefile under /usr/src/zaptel and issued rebuild_zaptel. it worked flawlessly:)<br><br>
<div><span class="gmail_quote">On 3/13/06, <b class="gmail_sendername">Anthony Rodgers</b> <<a href="mailto:Anthony_Rodgers@dnv.org">Anthony_Rodgers@dnv.org</a>> wrote:</span>
<blockquote class="gmail_quote" style="PADDING-LEFT: 1ex; MARGIN: 0px 0px 0px 0.8ex; BORDER-LEFT: #ccc 1px solid">Many thanks, Russ - I'll give this a try.<br><br>Thank goodness a) for test servers and b) for the ability of Linux to
<br>rollback with a simple change to grub.conf :-)<br><br>Regards,<br>--<br>Anthony Rodgers<br>Business Systems Analyst<br>District of North Vancouver<br>Web: <a href="http://www.dnv.org">http://www.dnv.org</a><br>RSS Feed:
<a href="http://www.dnv.org/rss.asp">http://www.dnv.org/rss.asp</a><br><br>On 11-Mar-06, at 7:33 AM, Russ Price wrote:<br><br>> Anthony Rodgers wrote:<br>> > Greetings,<br>> ><br>> > I have just updated our test server to
2.6.9-34.EL and get the<br>> following<br>> > error messages when compiling zaptel:<br>> ><br>> > make[1]: Entering directory `/usr/src/kernels/2.6.9-34.EL-i686'<br>> > CC [M] /usr/src/zaptel/zaptel-
1.2.1/zaptel.o<br>> > /usr/src/zaptel/zaptel-1.2.1/zaptel.c:383: error: syntax error<br>> before<br>> > "zone_lock"<br>><br>> [snipped]<br>><br>> This bit me with CentOS 4.2 as well. The problem is actually a
<br>> typo in<br>> the kernel spinlock.h file. See:<br>><br>> <<a href="http://bugs.digium.com/view.php?id=6425">http://bugs.digium.com/view.php?id=6425</a>><br>><br>> and<br>><br>> <<a href="https://bugzilla.redhat.com/bugzilla/show_bug.cgi?id=180568">
https://bugzilla.redhat.com/bugzilla/show_bug.cgi?id=180568</a>><br>><br>> for more information.<br>><br>> Here's a quick fix. In your zaptel Makefile, add the following<br>> (line 38<br>> for 1.2.4) - THIS SHOLD BE ALL ONE LINE:
<br>><br>> CFLAGS+=$(shell if uname -r | grep -q 2.6.9-34.EL; then echo<br>> "-Drw_lock_t=\"rwlock_t\""; fi)<br>><br>> This way, if this is fixed in the next kernel release, you won't<br>
> need to<br>> make another change to the Makefile.<br>><br>> Russ<br>> _______________________________________________<br>> --Bandwidth and Colocation provided by <a href="http://Easynews.com">Easynews.com
</a> --<br>><br>> Asterisk-Users mailing list<br>> To UNSUBSCRIBE or update options visit:<br>> <a href="http://lists.digium.com/mailman/listinfo/asterisk-users">http://lists.digium.com/mailman/listinfo/asterisk-users
</a><br>><br><br>_______________________________________________<br>--Bandwidth and Colocation provided by <a href="http://Easynews.com">Easynews.com</a> --<br><br>Asterisk-Users mailing list<br>To UNSUBSCRIBE or update options visit:
<br> <a href="http://lists.digium.com/mailman/listinfo/asterisk-users">http://lists.digium.com/mailman/listinfo/asterisk-users</a><br></blockquote></div><br>