Public bug reported:

I'm running oneiric (amd64) with kernel 3.0.0-13-generic

If I try to build cdfs with "m-a build" it tries to build 2.4 instead of
2.6 and fails because it can't find some header files.

If I go to the cdfs/2.6 subdirectory and type "sudo make" I get errors because 
get_sb_bdev does not exist in kernel 3.0,
I believe it has been renamed to mount_bdev. Basically, cdfs-src needs to be 
updated for oneiric / kernel 3.0
Please look into it!


make -C /lib/modules/3.0.0-13-generic/build SUBDIRS=/usr/src/modules/cdfs/2.6 
modules
make[1]: Entering directory `/usr/src/linux-headers-3.0.0-13-generic'
  CC [M]  /usr/src/modules/cdfs/2.6/root.o
/usr/src/modules/cdfs/2.6/root.c: In function ‘cdfs_get_sb’:
/usr/src/modules/cdfs/2.6/root.c:602:3: error: implicit declaration of function 
‘get_sb_bdev’ [-Werror=implicit-function-declaration]
/usr/src/modules/cdfs/2.6/root.c: At top level:
/usr/src/modules/cdfs/2.6/root.c:612:3: error: unknown field ‘get_sb’ specified 
in initializer
/usr/src/modules/cdfs/2.6/root.c:612:3: warning: initialization makes integer 
from pointer without a cast [enabled by default]
/usr/src/modules/cdfs/2.6/root.c:612:3: warning: (near initialization for 
‘cdfs_fs_type.fs_flags’) [enabled by default]
/usr/src/modules/cdfs/2.6/root.c:612:3: error: initializer element is not 
computable at load time
/usr/src/modules/cdfs/2.6/root.c:612:3: error: (near initialization for 
‘cdfs_fs_type.fs_flags’)
cc1: some warnings being treated as errors

make[2]: *** [/usr/src/modules/cdfs/2.6/root.o] Error 1
make[1]: *** [_module_/usr/src/modules/cdfs/2.6] Error 2
make[1]: Leaving directory `/usr/src/linux-headers-3.0.0-13-generic'
make: *** [all] Error 2

I don't think get_sb_dev exists in kernel 3.0, I think it's renamed to
mount_bdev ...

** Affects: cdfs-src (Ubuntu)
     Importance: Undecided
         Status: New

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/896780

Title:
  cdfs-src doesn't build on oneiric

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/cdfs-src/+bug/896780/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to