root@Ghost:/home/ocean-driver/setups/aufs/aufs# make -f local.mk
fs/aufs
make CONFIG_AUFS=m AUFS_EXTRA_CFLAGS="-I /home/ocean-driver/setups/aufs/aufs/include -DCONFIG_AUFS_FAKE_DM -DCONFIG_AUFS_BRANCH_MAX_127 -DCONFIG_AUFS_RR_SQUASHFS -DCON FIG_AUFS_DEBUG -DCONFIG_AUFS_SYSAUFS -DCONFIG_AUFS_MODULE -UCONFIG_AUFS -DLKTRHidePrePath=\\\"/home/ocean-driver/setups/aufs/aufs/fs/aufs\\\"" -C /lib/modules/2.6.15-5 1-server/build M=/home/ocean-driver/setups/aufs/aufs/fs/aufs modules
make[1]: Entering directory `/usr/src/linux-headers-2.6.15-51-server'
/home/ocean-driver/setups/aufs/aufs/fs/aufs/Makefile:56: Ignoring TMPFS_MAGIC
CC [M] /home/ocean-driver/setups/aufs/aufs/fs/aufs/module.o
In file included from /home/ocean-driver/setups/aufs/aufs/fs/aufs/branch.h:34,
from /home/ocean-driver/setups/aufs/aufs/fs/aufs/aufs.h:82,
from /home/ocean-driver/setups/aufs/aufs/fs/aufs/module.c:26:
/home/ocean-driver/setups/aufs/aufs/fs/aufs/super.h:59: error: field 'mfs_lock' has incomplete type
/home/ocean-driver/setups/aufs/aufs/fs/aufs/super.h:119: error: field 'si_xib_mtx' has incomplete type
In file included from /home/ocean-driver/setups/aufs/aufs/fs/aufs/aufs.h:94,
from /home/ocean-driver/setups/aufs/aufs/fs/aufs/module.c:26:
/home/ocean-driver/setups/aufs/aufs/fs/aufs/sysaufs.h: In function 'au_sbilist_lock':
/home/ocean-driver/setups/aufs/aufs/fs/aufs/sysaufs.h:99: warning: implicit declaration of function 'mutex_lock'
/home/ocean-driver/setups/aufs/aufs/fs/aufs/sysaufs.h: In function 'au_sbilist_unlock':
/home/ocean-driver/setups/aufs/aufs/fs/aufs/sysaufs.h:104: warning: implicit declaration of function 'mutex_unlock'
/home/ocean-driver/setups/aufs/aufs/fs/aufs/module.c:182:2: error: #error CONFIG_AUFS_SYSAUFS requires linux-2.6.18 and later.
make[2]: *** [/home/ocean-driver/setups/aufs/aufs/fs/aufs/module.o] Error 1
make[1]: *** [_module_/home/ocean-driver/setups/aufs/aufs/fs/aufs] Error 2
make[1]: Leaving directory `/usr/src/linux-headers-2.6.15-51-server'
make: *** [fs/aufs/aufs.ko] Error 2