[asterisk-dev] Problem building Zaptel 1.4 from SVN
Tzafrir Cohen
tzafrir.cohen at xorcom.com
Mon Mar 5 10:49:16 MST 2007
On Fri, Feb 09, 2007 at 10:19:45AM +0200, Tzafrir Cohen wrote:
> So the following Would probably work for now:
>
> Index: xpp/xpd.h
> ===================================================================
> --- xpp/xpd.h (revision 2128)
> +++ xpp/xpd.h (working copy)
> @@ -47,7 +47,7 @@
> #ifdef __KERNEL__
> #if LINUX_VERSION_CODE < KERNEL_VERSION(2,6,14)
> /* pretend every 2.6.9 is later RHEL */
> -#if LINUX_VERSION_CODE != KERNEL_VERSION(2,6,9)
> +#if LINUX_VERSION_CODE != KERNEL_VERSION(2,6,9) && defined(DEFINE_SPINLOCK)
Actually:
+#if LINUX_VERSION_CODE != KERNEL_VERSION(2,6,9) || defined(DEFINE_SPINLOCK)
> typedef unsigned gfp_t; /* Added in 2.6.14 */
> #endif
> #endif
Now in the svn.
--
Tzafrir Cohen
icq#16849755 jabber:tzafrir at jabber.org
+972-50-7952406 mailto:tzafrir.cohen at xorcom.com
http://www.xorcom.com iax:guest at local.xorcom.com/tzafrir
More information about the asterisk-dev
mailing list