Skip to contentSkip to conversation

Makefile fixes

Cluster-devel Kadlecsik Jozsi 2 participants 2 messages Sep 4, 2007

lore
Share & tools
lore
#0 lore raw

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 --------------

dlm/lib/Makefile +1 -0
diff -urN --exclude=deb cluster-2.01.00.orig/dlm/lib/Makefile cluster-2.01.00/dlm/lib/Makefile
@@ -22,6 +22,7 @@
 CFLAGS += -g -O2 
 CFLAGS += -I.
 CFLAGS += -I${incdir}
+CFLAGS += -I${KERNEL_SRC}/include
 
 LDFLAGS += -lpthread 
 
gfs2/edit/Makefile +1 -0
diff -urN --exclude=deb cluster-2.01.00.orig/gfs2/edit/Makefile cluster-2.01.00/gfs2/edit/Makefile
@@ -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
gfs2/mount/Makefile +1 -0
diff -urN --exclude=deb cluster-2.01.00.orig/gfs2/mount/Makefile cluster-2.01.00/gfs2/mount/Makefile
@@ -29,6 +29,7 @@
 CFLAGS += -I${gfs2kincdir} -I${gfskincdir}
 CFLAGS += -I../include
 CFLAGS += -I${incdir}
+CFLAGS += -I${KERNEL_SRC}/include
 
 all: ${TARGET1} ${TARGET2}
 
gfs2/quota/Makefile +1 -0
diff -urN --exclude=deb cluster-2.01.00.orig/gfs2/quota/Makefile cluster-2.01.00/gfs2/quota/Makefile
@@ -24,6 +24,7 @@
 CFLAGS += -O2
 CFLAGS += -I../include -I../libgfs2/
 CFLAGS += -I${incdir}
+CFLAGS += -I${KERNEL_SRC}/include
 
 LDFLAGS += -L../libgfs2 -lgfs2
 
gfs2/tool/Makefile +1 -0
diff -urN --exclude=deb cluster-2.01.00.orig/gfs2/tool/Makefile cluster-2.01.00/gfs2/tool/Makefile
@@ -29,6 +29,7 @@
 CFLAGS += -O2 -Wall
 CFLAGS += -I../include
 CFLAGS += -I${incdir}
+CFLAGS += -I${KERNEL_SRC}/include
 
 LDFLAGS += -L../libgfs2 -lgfs2
 
group/gfs_controld/Makefile +1 -1
diff -urN --exclude=deb cluster-2.01.00.orig/group/gfs_controld/Makefile cluster-2.01.00/group/gfs_controld/Makefile
@@ -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}
 
#1 lore raw

Hi,

thanks for the patch, but the fix was already in CVS HEAD.

Fabio

Quoted 14 lines · Kadlecsik Jozsi

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
Signature · 1 line
I'm going to make him an offer he can't refuse.