Hello Walter, Walter Barnes: > I'm having some trouble building aufs 20071112 for a 2.6.23.1 vanilla kernel. > > After executing 'make -f local.mk kconfig' I followed the instructions to > update my kernel source but ran 'make silentoldconfig' to update my existing > kernel config file. At this point I could find no instructions on what to do > next so I tried rebuilding the kernel. Everything went fine and the object > files for aufs compiled without error; however, at the very end after the > kernel image is produced I get the following error messages:
Can you see aufs configurations in your menuconfig? If it doesn't appear, it means that you failed to add 'source "fs/aufs/Kconfig"' to linux/fs/Kconfig. Will you show me the output of "grep _AUFS_ /your/build/dir/.config"? And it may be required to add KDIR=... to your 'make -f local.mk kconfig' cmd. But it is not important in this case, since you didn't change the aufs configuration. 'make -f local.mk kconfig' checks the kernel version and builds fs/aufs/Kconfig which depends upon the kernel version. > ERROR: "au_sysrq_init" [fs/aufs/aufs.ko] undefined! > ERROR: "au_sysrq_fin" [fs/aufs/aufs.ko] undefined! > ERROR: "aufs_cond" [fs/aufs/aufs.ko] undefined! > make[1]: *** [__modpost] Error 1 > > Did I skip a step? Am I not supposed to rebuild the kernel at this point? I > did some digging in the source and found these symbols are related to the > AUFS_DEBUG option so it may help to know that I compiled with this option > turned off. These symbols are defined in fs/aufs/debug.c and the file is compiled when you define CONFIG_AUFS_DEBUG properly. Junjiro Okajima ------------------------------------------------------------------------- This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2005. http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
