Hello. I tried to compile aufs with kernel version 2.6.36.3. I get a compile error (Debian Lenny). Here my procedure : ------------------- $cd /usr/local/src $wget [1]http://www.kernel.org/pub/linux/kernel/v2.6/linux-2.6.36.3.tar.bz2 $tar -xjf linux-2.6.36.3.tar.bz2 $cd /usr/local/src $git clone [2]http://git.c3sl.ufpr.br/pub/scm/aufs/aufs2-standalone.git aufs2-standalone.git $cd aufs2-standalone.git $git checkout origin/aufs2.1-36 $cd /usr/local/src/linux-2.6.36.3 $patch -p1 < ../aufs2-standalone.git/aufs2-kbuild.patch $patch -p1 < ../aufs2-standalone.git/aufs2-base.patch $patch -p1 < ../aufs2-standalone.git/aufs2-standalone.patch $cp-a../aufs2-standalone.git/{fs,include/linux/aufs_type.h,Documentation} . $make menuconfig $make-kpkg clean $make-kpkg --initrd --append-to-version=.`date +%y%m%d`.cluster --revision=2.6.36.3 kernel-image And the error : --------------- fs/aufs/fstype.h: In function âau_test_aufsâ: fs/aufs/fstype.h:35: error: âAUFS_SUPER_MAGICâ undeclared (first use in this function) In file included from fs/aufs/aufs.h:51, from fs/aufs/module.c:25: fs/aufs/opts.h: At top level: fs/aufs/opts.h:121: error: expected specifier-qualifier-list before âaufs_bindex_tâ fs/aufs/opts.h:144: error: expected specifier-qualifier-list before âaufs_bindex_tâ In file included from fs/aufs/aufs.h:55, from fs/aufs/module.c:25: fs/aufs/sysaufs.h:76: error: expected declaration specifiers or â...â before âaufs_bindex_tâ fs/aufs/sysaufs.h:77: error: expected declaration specifiers or â...â before âaufs_bindex_tâ In file included from fs/aufs/aufs.h:57, from fs/aufs/module.c:25: fs/aufs/whout.h:53: error: expected declaration specifiers or â...â before âaufs_bindex_tâ fs/aufs/whout.h:57: error: expected declaration specifiers or â...â before âaufs_bindex_tâ fs/aufs/whout.h:70: error: expected declaration specifiers or â...â before âaufs_bindex_tâ fs/aufs/whout.h:72: error: expected declaration specifiers or â...â before âaufs_bindex_tâ fs/aufs/whout.h:78: error: expected declaration specifiers or â...â before âaufs_bindex_tâ fs/aufs/whout.h: In function âau_diropq_createâ: fs/aufs/whout.h:80: error: âbindexâ undeclared (first use in this function) fs/aufs/whout.h:80: error: too many arguments to function âau_diropq_sioâ fs/aufs/whout.h: At top level: fs/aufs/whout.h:83: error: expected declaration specifiers or â...â before âaufs_bindex_tâ fs/aufs/whout.h: In function âau_diropq_removeâ: fs/aufs/whout.h:85: error: âbindexâ undeclared (first use in this function) fs/aufs/whout.h:85: error: too many arguments to function âau_diropq_sioâ fs/aufs/module.c: In function âaufs_initâ: fs/aufs/module.c:149: error: expected â)â before âAUFS_NAMEâ make[3]: *** [fs/aufs/module.o] Error 1 make[2]: *** [fs/aufs] Error 2 make[1]: *** [fs] Error 2 make[1]: Leaving directory `/usr/local/src/linux-2.6.36.3' make: *** [debian/stamp/build/kernel] Error 2" AUFS in .config : ----------------- $grep AUFS .config CONFIG_AUFS_FS=y # CONFIG_AUFS_BRANCH_MAX_127 is not set # CONFIG_AUFS_BRANCH_MAX_511 is not set # CONFIG_AUFS_BRANCH_MAX_1023 is not set CONFIG_AUFS_BRANCH_MAX_32767=y CONFIG_AUFS_HNOTIFY=y CONFIG_AUFS_HFSNOTIFY=y # CONFIG_AUFS_HINOTIFY is not set CONFIG_AUFS_EXPORT=y CONFIG_AUFS_INO_T_64=y CONFIG_AUFS_RDU=y CONFIG_AUFS_SP_IATTR=y CONFIG_AUFS_SHWH=y CONFIG_AUFS_BR_RAMFS=y CONFIG_AUFS_BDEV_LOOP=y # CONFIG_AUFS_DEBUG is not set I think i made something wrong but i don't know what. Thanks,
References 1. http://www.kernel.org/pub/linux/kernel/v2.6/linux-2.6.36.3.tar.bz2 2. http://git.c3sl.ufpr.br/pub/scm/aufs/aufs2-standalone.git
------------------------------------------------------------------------------ Protect Your Site and Customers from Malware Attacks Learn about various malware tactics and how to avoid them. Understand malware threats, the impact they can have on your business, and how you can protect your company and customers by using code signing. http://p.sf.net/sfu/oracle-sfdevnl