Error compiling unionfs module for 2.6.27-7 kernel (Intrepid)

Bug #302002 reported by Adrián Santos Marrero
2
Affects Status Importance Assigned to Milestone
unionfs (Ubuntu)
New
Undecided
Unassigned

Bug Description

I can't compile unionfs module in the last Ubuntu version (8.10, Intrepid).

Versions detail:

Description: Ubuntu 8.10
Release: 8.10

ii unionfs-source 2.2.3-2.6.24-1 Source for the union filesystem
ii unionfs-tools 1:0.2.1-1 Tools to manage unionfs filesystems

Full output of the m-a execution:

$ LANG=C sudo m-a -t build unionfs
Extracting the package tarball, /usr/src/unionfs.tar.bz2, please wait...
dh_testdir
#dh_testroot
rm -f build-stamp configure-stamp
# Cleaning package
rm -rf unpack build
dh_clean
/usr/bin/make -f debian/rules kdist_clean kdist_config binary-modules
make[1]: Entering directory `/usr/src/modules/unionfs'
dh_testdir
#dh_testroot
rm -f build-stamp configure-stamp
# Cleaning package
rm -rf unpack build
dh_clean
make[1]: Nothing to be done for `kdist_config'.
for templ in ; do \
    cp $templ `echo $templ | sed -e 's/_KVERS_/2.6.27-7-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.27-7-generic/g ;s/#KVERS#/2.6.27-7-generic/g ; s/_KVERS_/2.6.27-7-generic/g ; s/##KDREV##/2.6.27-7.16/g ; s/#KDREV#/2.6.27-7.16/g ; s/_KDREV_/2.6.27-7.16/g ' < $templ > ${templ%.modules.in}; \
  done
dh_testroot
dh_clean -k
# Build the module
CFLAGS="-Wall -g -O2 -O2" CONFIG_UNIONFS=m /usr/bin/make -C /usr/src/linux M=/usr/src/modules/unionfs modules
make[2]: Entering directory `/usr/src/linux-headers-2.6.27-7-generic'
  CC [M] /usr/src/modules/unionfs/inode.o
/usr/src/modules/unionfs/inode.c: In function 'check_for_whiteout':
/usr/src/modules/unionfs/inode.c:65: error: too few arguments to function 'vfs_unlink'
/usr/src/modules/unionfs/inode.c: In function 'unionfs_lookup':
/usr/src/modules/unionfs/inode.c:258: error: 'struct nameidata' has no member named 'dentry'
/usr/src/modules/unionfs/inode.c:259: error: 'struct nameidata' has no member named 'mnt'
/usr/src/modules/unionfs/inode.c:270: error: 'struct nameidata' has no member named 'dentry'
/usr/src/modules/unionfs/inode.c:271: error: 'struct nameidata' has no member named 'mnt'
/usr/src/modules/unionfs/inode.c: In function 'unionfs_link':
/usr/src/modules/unionfs/inode.c:350: error: too few arguments to function 'vfs_unlink'
/usr/src/modules/unionfs/inode.c:383: warning: passing argument 2 of 'vfs_link' from incompatible pointer type
/usr/src/modules/unionfs/inode.c:383: warning: passing argument 3 of 'vfs_link' from incompatible pointer type
/usr/src/modules/unionfs/inode.c:383: error: too few arguments to function 'vfs_link'
/usr/src/modules/unionfs/inode.c:416: warning: passing argument 2 of 'vfs_link' from incompatible pointer type
/usr/src/modules/unionfs/inode.c:416: warning: passing argument 3 of 'vfs_link' from incompatible pointer type
/usr/src/modules/unionfs/inode.c:416: error: too few arguments to function 'vfs_link'
/usr/src/modules/unionfs/inode.c: In function 'unionfs_symlink':
/usr/src/modules/unionfs/inode.c:499: warning: passing argument 3 of 'vfs_symlink' from incompatible pointer type
/usr/src/modules/unionfs/inode.c:499: warning: passing argument 4 of 'vfs_symlink' makes pointer from integer without a cast
/usr/src/modules/unionfs/inode.c: In function 'unionfs_mkdir':
/usr/src/modules/unionfs/inode.c:623: warning: passing argument 3 of 'vfs_mkdir' makes pointer from integer without a cast
/usr/src/modules/unionfs/inode.c:623: error: too few arguments to function 'vfs_mkdir'
/usr/src/modules/unionfs/inode.c: In function 'unionfs_mknod':
/usr/src/modules/unionfs/inode.c:719: warning: passing argument 3 of 'vfs_mknod' makes pointer from integer without a cast
/usr/src/modules/unionfs/inode.c:719: error: too few arguments to function 'vfs_mknod'
/usr/src/modules/unionfs/inode.c: In function 'unionfs_permission':
/usr/src/modules/unionfs/inode.c:864: error: 'struct nameidata' has no member named 'dentry'
/usr/src/modules/unionfs/inode.c:905: error: implicit declaration of function 'permission'
/usr/src/modules/unionfs/inode.c:939: error: 'struct nameidata' has no member named 'dentry'
/usr/src/modules/unionfs/inode.c: In function 'unionfs_setattr':
/usr/src/modules/unionfs/inode.c:1024: warning: passing argument 2 of 'notify_change' from incompatible pointer type
/usr/src/modules/unionfs/inode.c:1024: error: too few arguments to function 'notify_change'
/usr/src/modules/unionfs/inode.c: At top level:
/usr/src/modules/unionfs/inode.c:1056: warning: initialization from incompatible pointer type
/usr/src/modules/unionfs/inode.c:1072: warning: initialization from incompatible pointer type
/usr/src/modules/unionfs/inode.c:1083: warning: initialization from incompatible pointer type
make[3]: *** [/usr/src/modules/unionfs/inode.o] Error 1
make[2]: *** [_module_/usr/src/modules/unionfs] Error 2
make[2]: Leaving directory `/usr/src/linux-headers-2.6.27-7-generic'
make[1]: *** [binary-modules] Error 2
make[1]: Leaving directory `/usr/src/modules/unionfs'
make: *** [kdist_build] Error 2
BUILD FAILED!

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.