cdfs-src doesn't build on oneiric
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
cdfs-src (Ubuntu) |
Confirmed
|
Undecided
|
Unassigned |
Bug Description
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/
make[1]: Entering directory `/usr/src/
CC [M] /usr/src/
/usr/src/
/usr/src/
/usr/src/
/usr/src/
/usr/src/
/usr/src/
/usr/src/
/usr/src/
cc1: some warnings being treated as errors
make[2]: *** [/usr/src/
make[1]: *** [_module_
make[1]: Leaving directory `/usr/src/
make: *** [all] Error 2
I don't think get_sb_dev exists in kernel 3.0, I think it's renamed to mount_bdev ...
Yes, i changed in root.c "get_sb_bdev" to "mount_bdev" , deleted "mnt" in this function call, and in "static struct file_system_type cdfs_fs_type" "get_sb" to "mount". I get a few warnings, but it compiles and works fine.