[asterisk-users] zaptel compile error

mail-lists mail-lists at peachnet.com
Mon May 7 04:58:31 MST 2007


Forrest Beck wrote:
> The problem is that your kernel is newer than the xbus-core.c file is
> looking for.  See:
> http://forums.digium.com/viewtopic.php?t=15317&sid=7beaf6bfed1550f4a8676427283800c5 
> 

thank you for pointing me in the right direction with this - the answer 
is write there in xbus-core.c:


-------------------------CODE--------------------------------
/*
  * 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 such a kernel, Change the
  * following test from 2,6,19 to 2,6,18.
  */
#if LINUX_VERSION_CODE < KERNEL_VERSION(2,6,19)
#define	I_PRIVATE(inode)	((inode)->u.generic_ip)
#else
#define	I_PRIVATE(inode)	((inode)->i_private)
#endif
------------------------END CODE-------------------------------



So change KERNEL_VERSION(2,6,19) to KERNEL_VERSION(2,6,18), And away it
goes!!

Thanks!




More information about the asterisk-users mailing list