Public bug reported:

reopening the bug, since doing it the "normal" way does not work here...

Steps to reproduce:
- apt-get install linux-source-2.6.27
- copy the generic intrepid kernel config and make a kernel package 
linux-image-2.6.27.2...deb
- m-a a-i -l 2.6.27.2 aufs

results in:
# Build the module
/usr/bin/make -C /lib/modules/2.6.27.2/source M=/usr/src/modules/aufs modules
make[2]: Entering directory `/usr/src/linux-source-2.6.27'
  CC [M]  /usr/src/modules/aufs/module.o
In file included from /usr/src/modules/aufs/dentry.h:35,
                 from /usr/src/modules/aufs/aufs.h:40,
                 from /usr/src/modules/aufs/module.c:26:
/usr/src/modules/aufs/vfsub.h: In function ‘do_vfsub_permission’:
/usr/src/modules/aufs/vfsub.h:215: error: implicit declaration of function 
‘permission’
In file included from /usr/src/modules/aufs/aufs.h:44,
                 from /usr/src/modules/aufs/module.c:26:
/usr/src/modules/aufs/inode.h: In function ‘au_security_inode_permission’:
/usr/src/modules/aufs/inode.h:145: error: too many arguments to function 
‘security_inode_permission’
make[3]: *** [/usr/src/modules/aufs/module.o] Error 1
make[2]: *** [_module_/usr/src/modules/aufs] Error 2
make[2]: Leaving directory `/usr/src/linux-source-2.6.27'
make[1]: *** [binary-modules] Error 2
make[1]: Leaving directory `/usr/src/modules/aufs'
make: *** [kdist_build] Error 2

I'm not able to run the kernel without aufs, so I need to build the module this 
way. kernel source is installed, links are ok, ...
Any hints how to get this working ?

regards
 André

** Affects: aufs (Ubuntu)
     Importance: Undecided
         Status: New

-- 
Cannot build: m-a a-i -l 2.6.27.2 aufs
https://bugs.launchpad.net/bugs/296764
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to