[asterisk-users] Can not compile latest zaptel -1.2.13 - SOLVED

Dominik Zalewski dzalewski at open-craft.com
Sun Feb 11 08:02:59 MST 2007


>
> If you look a number of lines above the function debugfs_open, you'll
> see:
>
> /*
>  * As part of the "inode diet" the private data member of struct inode
>  * has changed in 2.6.19. However, Fedore Core 6 adopted this change
>  * a bit earlier (2.6.18). If you use vanila kernel (or Debian Etch)
>  * Change the following test from 2,6,18 to 2,6,19.
>  */
> #if LINUX_VERSION_CODE < KERNEL_VERSION(2,6,18)
> #define I_PRIVATE(inode)        ((inode)->u.generic_ip)
> #else
> #define I_PRIVATE(inode)        ((inode)->i_private)
> #endif
>
>
>
> Looks like we're gonna break the Fedoras here (Debian Etch is less of
> an issue, as it doesn't have DEBUGFS enabled by default).
>
> Change that line to:
>
> #if LINUX_VERSION_CODE < KERNEL_VERSION(2,6,19)
>
> Does this help?

I changed that line and zaptel compiled fine.

Thank you:)

   Dominik



More information about the asterisk-users mailing list