[Cluster-devel] Makefile fixes
Kadlecsik Jozsi
kadlec at sunserv.kfki.hu
Tue Sep 4 09:27:48 UTC 2007
Hello,
When compiling cluster-2.01.00, a few Makefile fixes were required to
compile the source. Attached you can find the patch which corrects the
files.
Best regards,
Jozsef
--
E-mail : kadlec at sunserv.kfki.hu, kadlec at blackhole.kfki.hu
PGP key: http://www.kfki.hu/~kadlec/pgp_public_key.txt
Address: KFKI Research Institute for Particle and Nuclear Physics
H-1525 Budapest 114, POB. 49, Hungary
-------------- next part --------------
diff -urN --exclude=deb cluster-2.01.00.orig/dlm/lib/Makefile cluster-2.01.00/dlm/lib/Makefile
--- cluster-2.01.00.orig/dlm/lib/Makefile 2007-06-01 11:45:31.000000000 +0200
+++ cluster-2.01.00/dlm/lib/Makefile 2007-08-31 11:47:26.000000000 +0200
@@ -22,6 +22,7 @@
CFLAGS += -g -O2
CFLAGS += -I.
CFLAGS += -I${incdir}
+CFLAGS += -I${KERNEL_SRC}/include
LDFLAGS += -lpthread
diff -urN --exclude=deb cluster-2.01.00.orig/gfs2/edit/Makefile cluster-2.01.00/gfs2/edit/Makefile
--- cluster-2.01.00.orig/gfs2/edit/Makefile 2007-06-26 03:25:32.000000000 +0200
+++ cluster-2.01.00/gfs2/edit/Makefile 2007-08-31 11:49:11.000000000 +0200
@@ -24,6 +24,7 @@
CFLAGS += -I${ncursesincdir}
CFLAGS += -I../include -I../libgfs2
CFLAGS += -I${incdir}
+CFLAGS += -I${KERNEL_SRC}/include
LDFLAGS += -L${ncurseslibdir} -lncurses
LDFLAGS += -L../libgfs2/ -lgfs2
diff -urN --exclude=deb cluster-2.01.00.orig/gfs2/mount/Makefile cluster-2.01.00/gfs2/mount/Makefile
--- cluster-2.01.00.orig/gfs2/mount/Makefile 2007-06-01 11:45:34.000000000 +0200
+++ cluster-2.01.00/gfs2/mount/Makefile 2007-08-31 11:50:29.000000000 +0200
@@ -29,6 +29,7 @@
CFLAGS += -I${gfs2kincdir} -I${gfskincdir}
CFLAGS += -I../include
CFLAGS += -I${incdir}
+CFLAGS += -I${KERNEL_SRC}/include
all: ${TARGET1} ${TARGET2}
diff -urN --exclude=deb cluster-2.01.00.orig/gfs2/quota/Makefile cluster-2.01.00/gfs2/quota/Makefile
--- cluster-2.01.00.orig/gfs2/quota/Makefile 2007-06-01 11:45:34.000000000 +0200
+++ cluster-2.01.00/gfs2/quota/Makefile 2007-08-31 11:51:17.000000000 +0200
@@ -24,6 +24,7 @@
CFLAGS += -O2
CFLAGS += -I../include -I../libgfs2/
CFLAGS += -I${incdir}
+CFLAGS += -I${KERNEL_SRC}/include
LDFLAGS += -L../libgfs2 -lgfs2
diff -urN --exclude=deb cluster-2.01.00.orig/gfs2/tool/Makefile cluster-2.01.00/gfs2/tool/Makefile
--- cluster-2.01.00.orig/gfs2/tool/Makefile 2007-06-01 11:45:34.000000000 +0200
+++ cluster-2.01.00/gfs2/tool/Makefile 2007-08-31 11:52:17.000000000 +0200
@@ -29,6 +29,7 @@
CFLAGS += -O2 -Wall
CFLAGS += -I../include
CFLAGS += -I${incdir}
+CFLAGS += -I${KERNEL_SRC}/include
LDFLAGS += -L../libgfs2 -lgfs2
diff -urN --exclude=deb cluster-2.01.00.orig/group/gfs_controld/Makefile cluster-2.01.00/group/gfs_controld/Makefile
--- cluster-2.01.00.orig/group/gfs_controld/Makefile 2007-06-08 21:01:10.000000000 +0200
+++ cluster-2.01.00/group/gfs_controld/Makefile 2007-08-31 11:42:49.000000000 +0200
@@ -24,7 +24,7 @@
CFLAGS += -g -O2
CFLAGS += -I${ccsincdir}
CFLAGS += -I${cmanincdir}
-CFLAGS += -idirafter ${KERNEL_SRC}/include/linux
+CFLAGS += -idirafter ${KERNEL_SRC}/include
CFLAGS += -I../include/ -I../lib/
CFLAGS += -I${incdir}
More information about the Cluster-devel
mailing list