Same here. The package seems to be missing configuration for the 2.6.x
kernel. Or it might be that I have finaly found my retarded brother.

dh_clean
find -name '*.o' | xargs rm -f
/usr/bin/make  -f debian/rules kdist_clean kdist_config binary-modules
make[1]: Entering directory `/usr/src/modules/lufs'
dh_clean
find -name '*.o' | xargs rm -f
for templ in /usr/src/modules/lufs/debian/lufs-module-_KVERS_.postinst 
/usr/src/modules/lufs/debian/lufs-module-_KVERS_.postinst.backup 
/usr/src/modules/lufs/debian/lufs-module-_KVERS_.postinst.modules.in; do \
    cp $templ `echo $templ | sed -e 's/_KVERS_/2.6.20-16-generic/g'` ; \
  done
for templ in `ls debian/*.modules.in` ; do \
    test -e ${templ%.modules.in}.backup || cp ${templ%.modules.in} 
${templ%.modules.in}.backup 2>/dev/null || true; \
    sed -e 's/##KVERS##/2.6.20-16-generic/g ;s/#KVERS#/2.6.20-16-generic/g ; 
s/_KVERS_/2.6.20-16-generic/g ; s/##KDREV##/2.6.20-16-generic-10.00.Custom/g ; 
s/#KDREV#/2.6.20-16-generic-10.00.Custom/g ; 
s/_KDREV_/2.6.20-16-generic-10.00.Custom/g  ' < $templ > ${templ%.modules.in}; \
  done
mkdir -p 
debian/lufs-module-2.6.20-16-generic/lib/modules/2.6.20-16-generic/kernel/fs
cd kernel/Linux/2.6 && /usr/bin/make .DEFAULT 
KDIR="/lib/modules/2.6.20-16-generic/build" && cp lufs.ko 
/usr/src/modules/lufs/debian/lufs-module-2.6.20-16-generic/lib/modules/2.6.20-16-generic/kernel/fs/
make[2]: Entering directory `/usr/src/modules/lufs/kernel/Linux/2.6'
/usr/bin/make -C /lib/modules/2.6.20-16-generic/build SUBDIRS=`pwd` modules
make[3]: Entering directory `/usr/src/linux-headers-2.6.20-16-generic'
  CC [M]  /usr/src/modules/lufs/kernel/Linux/2.6/proc.o
  CC [M]  /usr/src/modules/lufs/kernel/Linux/2.6/inode.o
/usr/src/modules/lufs/kernel/Linux/2.6/inode.c:62: warning: initialization from 
incompatible pointer type
/usr/src/modules/lufs/kernel/Linux/2.6/inode.c: In function ‘set_inode_attr’:
/usr/src/modules/lufs/kernel/Linux/2.6/inode.c:181: error: ‘struct inode’ has 
no member named ‘i_blksize’
/usr/src/modules/lufs/kernel/Linux/2.6/inode.c:414:5: warning: 
"KERNEL_VERSION_CODE" is not defined
/usr/src/modules/lufs/kernel/Linux/2.6/inode.c: In function ‘lu_get_sb’:
/usr/src/modules/lufs/kernel/Linux/2.6/inode.c:515: error: too few arguments to 
function ‘get_sb_nodev’
/usr/src/modules/lufs/kernel/Linux/2.6/inode.c: At top level:
/usr/src/modules/lufs/kernel/Linux/2.6/inode.c:521: warning: initialization 
from incompatible pointer type
make[4]: *** [/usr/src/modules/lufs/kernel/Linux/2.6/inode.o] Error 1
make[3]: *** [_module_/usr/src/modules/lufs/kernel/Linux/2.6] Error 2
make[3]: Leaving directory `/usr/src/linux-headers-2.6.20-16-generic'
make[2]: *** [.DEFAULT] Error 2
make[2]: Leaving directory `/usr/src/modules/lufs/kernel/Linux/2.6'
make[1]: *** [binary-modules] Error 2
make[1]: Leaving directory `/usr/src/modules/lufs'
make: *** [kdist_build] Error 2

-- 
cannot build kernel module
https://bugs.launchpad.net/bugs/116991
You received this bug notification because you are a member of Ubuntu
Bugs, which is the bug contact for Ubuntu.

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

Reply via email to