Здравствуйте! Проблема такая - не компилится модуль kvblade. Скачал с sourceforge.net. Использую ядро версии 2.6.32
при компиляции появляются такие ошибки
kvblade.c: In function ‘skb_new’:
kvblade.c:133: error: ‘struct sk_buff’ has no member named ‘nh’
kvblade.c:133: error: ‘struct sk_buff’ has no member named ‘mac’
kvblade.c: In function ‘add’:
kvblade.c:205: warning: passing argument 1 of ‘dev_get_by_name’ from incompatible pointer type
include/linux/netdevice.h:1111: note: expected ‘struct net *’ but argument is of type ‘char *’
kvblade.c:205: error: too few arguments to function ‘dev_get_by_name’
kvblade.c:212: error: implicit declaration of function ‘open_bdev_excl’
kvblade.c:212: warning: assignment makes pointer from integer without a cast
kvblade.c:217: error: ‘struct gendisk’ has no member named ‘capacity’
kvblade.c:219: error: implicit declaration of function ‘close_bdev_excl’ kvblade.c:251: error: too few arguments to function ‘kobject_init’
kvblade.c:258: error: too few arguments to function ‘kobject_add’
kvblade.c:571: warning: assignment from incompatible pointer type kvblade.c: In function ‘initm’:
kvblade.c:799: error: implicit declaration of function ‘kobject_register’ kvblade.c: In function ‘exitm’:
kvblade.c:821: error: implicit declaration of function ‘kobject_unregister’
может кто знает что делать? заранее спасибо