It's something I wrote about long time ago, but everyone seems to forgot it, including me :( Try this one, it should work, though I'm not sure it's a right way to do it, kernel wise :) --------------------- --- gfs-kernel/src/gfs/Makefile 2005-01-13 00:04:18.000000000 +0100 +++ /usr/src/cluster/gfs-kernel/src/gfs/Makefile 2005-03-30 10:46:45.289226768 +0200 @@ -63,14 +63,16 @@ super.o \ trans.o \ unlinked.o \ - util.o + util.o \ + fs/posix_acl.o EXTRA_CFLAGS += -I$(obj) all: - rm -f linux lm_interface.h + rm -f linux lm_interface.h fs ln -s . linux ln -s ${top_srcdir}/src/harness/lm_interface.h . + ln -s ${KERNEL_SRC}/fs . ${MAKE} -C ${KERNEL_SRC} M=${PWD} modules USING_KBUILD=yes install: all @@ -85,7 +87,7 @@ clean: rm -rf linux *.o .*.o.cmd .gfs.ko.cmd lm_interface.h \ - gfs.ko gfs.mod.c .tmp_versions *~ + gfs.ko gfs.mod.c .tmp_versions fs *~ patches: pre add post --------------------- -- Lazar Obradovic <laza@xxxxxx> YUnet International, NOC