Re: Zaptel для Asterisk не компилиятся под OpenVZ [message #14994 is a reply to message #14991] |
Mon, 16 July 2007 09:24 ![Go to previous message Go to previous message](/theme/ovz3/images/up.png) ![Go to next message Go to previous message](/theme/ovz3/images/down.png) |
vaverin
Messages: 708 Registered: September 2005
|
Senior Member |
|
|
А еще лучше просто просто измените KERNEL_VERSION(2,6,19) на KERNEL_VERSION(2,6,18)
xpp/xbus-core.c:164
/*
* 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)
<<<<<<<<<<< Need to change 2.6.19 to 2.6.18 here
#define I_PRIVATE(inode) ((inode)->u.generic_ip)
#else
#define I_PRIVATE(inode) ((inode)->i_private)
#endif
static int debugfs_open(struct inode *inode, struct file *file)
{
xbus_t *xbus = I_PRIVATE(inode);
<<<<<<<<<<<<< Compilation failed HERE
|
|
|