Package: omfs-source
Version: 0.7.2-1

Hi,
when compiling the omfs module, it fails with the following output:

  CC [M]  /usr/src/modules/omfs/inode.o
/usr/src/modules/omfs/inode.c:17: warning: ‘kmem_cache_t’ is deprecated
/usr/src/modules/omfs/inode.c: In function ‘omfs_alloc_inode’:
/usr/src/modules/omfs/inode.c:23: error: ‘SLAB_KERNEL’ undeclared (first
use in this function)
/usr/src/modules/omfs/inode.c:23: error: (Each undeclared identifier is
reported only once
/usr/src/modules/omfs/inode.c:23: error: for each function it appears in.)
/usr/src/modules/omfs/inode.c: At top level:
/usr/src/modules/omfs/inode.c:34: warning: ‘kmem_cache_t’ is deprecated
make[5]: *** [/usr/src/modules/omfs/inode.o] Error 1


I was able to compile the module before with the exact same kernel
(built from linux-source 2.6.20-2), but when I enabled Rio Karma support
in the usb-storage module, the build of omfs-source failed.

The changelog from version 0.7.3 of the original source package (found
at
http://sourceforge.net/project/showfiles.php?group_id=155788&package_id=175124)
states:

* Use struct kmem_cache instead of kmem_cache_t
* Released OMFS driver version 0.7.3

I assume upgrading the package to this version might fix the problem -
or at least the warnings.

Regards,

    Marek Möckel


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to