[PATCH] 2.5.42: UML build error

From: Olaf Dietsche (olaf.dietsche#list.linux-kernel@t-online.de)
Date: Sat Oct 12 2002 - 10:16:35 EST


When building 2.5.42 UML it fails with:

make -C arch/um/sys-i386/util mk_sc
  gcc -Wp,-MD,./.mk_sc.o.d -Wall -Wstrict-prototypes -O2 -fomit-frame-pointer -c -o mk_sc
.o mk_sc.c
/bin/sh: scripts/fixdep: No such file or directory
make[1]: *** [mk_sc.o] Error 1
make[1]: Target `mk_sc' not remade because of errors.
make: *** [arch/um/sys-i386/util/mk_sc] Error 2

This patch readds the path to scripts/fixdep in Rules.make. It doesn't
break _my_ regular build, but I can't tell for others.

diff -urN a/Rules.make b/Rules.make
--- a/Rules.make Sat Oct 12 14:24:11 2002
+++ b/Rules.make Sat Oct 12 16:45:47 2002
@@ -561,7 +561,7 @@
         @set -e; \
         $(if $($(quiet)cmd_$(1)),echo ' $($(quiet)cmd_$(1))';) \
         $(cmd_$(1)); \
- scripts/fixdep $(depfile) $@ '$(cmd_$(1))' > $(@D)/.$(@F).tmp; \
+ $(TOPDIR)/scripts/fixdep $(depfile) $@ '$(cmd_$(1))' > $(@D)/.$(@F).tmp; \
         rm -f $(depfile); \
         mv -f $(@D)/.$(@F).tmp $(@D)/.$(@F).cmd)
 
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/



This archive was generated by hypermail 2b29 : Tue Oct 15 2002 - 22:00:43 EST