[Linux-cluster] Compile problems GFS against 2.6.11.6

Lazar Obradovic laza at yu.net
Wed Mar 30 09:16:48 UTC 2005


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 at yu.net>
YUnet International, NOC




More information about the Linux-cluster mailing list