[Pvfs2-users] latest CVS and linux kernel 2.6.25

Pete Wyckoff pw at osc.edu
Sat Apr 19 18:07:25 EDT 2008


suzu0037 at aem.umn.edu wrote on Sat, 19 Apr 2008 16:38 -0500:
> Are we supposed to be able to build pvfs2 kernel module against kernel
> 2.6.25?
> I got a build failure during make kmod.
[..]
>  LD [M]
> /home/ryuta/local/pvfs2/src/pvfs2-build/src/kernel/linux-2.6/pvfs2.o
> /bin/sh: -c: line 0: syntax error near unexpected token `cat'
> /bin/sh: -c: line 0: `echo(cat /dev/null;   echo
> kernel//home/ryuta/local/pvfs2/src/pvfs2-build/src/kernel/linux-2.6/pvfs2.ko;)

I've been carrying around this patch for the rcs.  Never expected
this problem would be in the linux release.

		-- Pete

commit 7657ef02e5c4ec657c6df24d2def6d0a8da8345d
Author: Pete Wyckoff <pw at osc.edu>
Date:   Sat Mar 8 12:58:05 2008 -0500

    quiet build problem
    
    Maybe a bug in the build system; keep it quiet when trying
    to build out-of-tree modules.

diff --git a/scripts/Makefile.build b/scripts/Makefile.build
index 67fb453..a21dd91 100644
--- a/scripts/Makefile.build
+++ b/scripts/Makefile.build
@@ -293,7 +293,7 @@ modorder-cmds =						\
 			cat $m;, echo kernel/$m;))
 
 $(modorder-target): $(subdir-ym) FORCE
-	$(Q)(cat /dev/null; $(modorder-cmds)) > $@
+	@(cat /dev/null; $(modorder-cmds)) > $@
 
 #
 # Rule to compile a set of .o files into one .a file


More information about the Pvfs2-users mailing list