Re: [asterisk-users] make Zaptel 1.2.16 'struct inode' has no member named 'u'.
Zaptel has no direct code relationship with Asterisk. Your error is because zaptel is trying to use a member no longer exists in newer kernels. However you are using fedora, and fedora included that change in older kernel. I found this in xpp/xbus-core.c /* * 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 The following resolved this issue: vi xpp/xbus-core.c Change code as follows: #if LINUX_VERSION_CODE KERNEL_VERSION(2,6,18) make clean make Thanks Cameron ___ What kind of emailer are you? Find out today - get a free analysis of your email personality. Take the quiz at the Yahoo! Mail Championship. http://uk.rd.yahoo.com/evt=44106/*http://mail.yahoo.net/uk ___ --Bandwidth and Colocation provided by Easynews.com -- asterisk-users mailing list To UNSUBSCRIBE or update options visit: http://lists.digium.com/mailman/listinfo/asterisk-users
[asterisk-users] make Zaptel 1.2.16 'struct inode' has no member named 'u'.
On attempting to make Zaptel 1.2.16 on FC5, I get the following messages: /usr/src/zaptel-1.2.16/xpp/xbus-core.c: In function 'debugfs_open': /usr/src/zaptel-1.2.16/xpp/xbus-core.c:171: error: 'struct inode' has no member named 'u' make[3]: *** [/usr/src/zaptel-1.2.16/xpp/xbus-core.o] Error 1 make[2]: *** [/usr/src/zaptel-1.2.16/xpp] Error 2 make[1]: *** [_module_/usr/src/zaptel-1.2.16] Error 2 make[1]: Leaving directory `/usr/src/kernels/2.6.18-1.2257.fc5-smp-i686' make: *** [all] Error 2 An internet search has turned this message up but other than indicating that the inode structure has changed I'm no further ahead. I have found nothing specific for Asterisk. Any advice appreciated. Cameron ___ The all-new Yahoo! Mail goes wherever you go - free your email address from your Internet provider. http://uk.docs.yahoo.com/nowyoucan.html ___ --Bandwidth and Colocation provided by Easynews.com -- asterisk-users mailing list To UNSUBSCRIBE or update options visit: http://lists.digium.com/mailman/listinfo/asterisk-users
Re: [asterisk-users] make Zaptel 1.2.16 'struct inode' has no member named 'u'.
Zaptel has no direct code relationship with Asterisk. Your error is because zaptel is trying to use a member no longer exists in newer kernels. However you are using fedora, and fedora included that change in older kernel. I found this in xpp/xbus-core.c /* * 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 So go ahead and change the source as the comment says. Regards On 4/4/07, kjcsb [EMAIL PROTECTED] wrote: On attempting to make Zaptel 1.2.16 on FC5, I get the following messages: /usr/src/zaptel-1.2.16/xpp/xbus-core.c: In function 'debugfs_open': /usr/src/zaptel-1.2.16/xpp/xbus-core.c:171: error: 'struct inode' has no member named 'u' make[3]: *** [/usr/src/zaptel-1.2.16/xpp/xbus-core.o] Error 1 make[2]: *** [/usr/src/zaptel-1.2.16/xpp] Error 2 make[1]: *** [_module_/usr/src/zaptel-1.2.16] Error 2 make[1]: Leaving directory `/usr/src/kernels/2.6.18-1.2257.fc5-smp-i686' make: *** [all] Error 2 An internet search has turned this message up but other than indicating that the inode structure has changed I'm no further ahead. I have found nothing specific for Asterisk. Any advice appreciated. Cameron ___ The all-new Yahoo! Mail goes wherever you go - free your email address from your Internet provider. http://uk.docs.yahoo.com/nowyoucan.html ___ --Bandwidth and Colocation provided by Easynews.com -- asterisk-users mailing list To UNSUBSCRIBE or update options visit: http://lists.digium.com/mailman/listinfo/asterisk-users -- Su nombre es GNU/Linux, no solamente Linux, mas info en http://www.gnu.org; ___ --Bandwidth and Colocation provided by Easynews.com -- asterisk-users mailing list To UNSUBSCRIBE or update options visit: http://lists.digium.com/mailman/listinfo/asterisk-users