Hello, I am trying to compile the Linux kernel 2.6.32.8 with Aufs as a module in order to create a Linux Live USB of my LFS (Linux From Scratch) partition. I downloaded the aufs2-standalone and aufs2-util. The commands that i executed in order to compile the kernel are the following:
$ git clone [1]http://git.c3sl.ufpr.br/pub/scm/aufs/aufs2-standalone.git aufs2-standalone.git $ cd aufs2-standalone.git $ git checkout origin/aufs2-27 $ git clone [2]http://git.c3sl.ufpr.br/pub/scm/aufs/aufs2-util.git aufs2-util.git $ cd aufs2-util.git # the above is the source folder of the kernel $ cd /sources/linux-2.6.32.8 $ make mrproper $ patch -Np1 -i ../aufs2-standalone.git/aufs2-base.patch $ patch -Np1 -i ../aufs2-standalone.git/aufs2-standalone.patch $ make menuconfig $ make Then, when the kernel compilation is taking place, it gives the following error and it stops: fs/sync.c:123: error: do_fsync undeclared here (not in a function) fs/sync.c:123: warning: type defaults to int in declaration of do_fsync fs/sync.c:266: error: do_fsync redeclared as different kind of symbol fs/sync.c:123: note: previous declaration of do_fsync was here make[1]: *** [fs/sync.o] Error 1 make: *** [fs] Error 2 I followed the README file that exists in aufs2-standalone. I am newbie at kernel compilation and kernel patching. If you have the time, please answer :) Thank you in advance, Pergi References 1. http://git.c3sl.ufpr.br/pub/scm/aufs/aufs2-standalone.git 2. http://git.c3sl.ufpr.br/pub/scm/aufs/aufs2-util.git
------------------------------------------------------------------------------
