Re: 2.6.8.1-mm1

From: Sam Ravnborg
Date: Tue Aug 17 2004 - 00:01:42 EST


On Mon, Aug 16, 2004 at 08:32:24PM -0500, Nathan Lynch wrote:
> On Mon, 2004-08-16 at 18:39, Martin J. Bligh wrote:
> > > ftp://ftp.kernel.org/pub/linux/kernel/people/akpm/patches/2.6/2.6.8.1/2.6.8.1-mm1
> >
> > make install from this config file:
> >
> > ftp://ftp.kernel.org/pub/linux/kernel/people/mbligh/config/config.numaq
> >
> > results in this failure:
> >
> > make: *** No rule to make target `.tmp_kallsyms2.S', needed by `.tmp_kallsyms2.o'. Stop.
>
> I hit the same thing on ppc64 with gcc 3.3.2-ish. Doing a non-parallel
> make (i.e. without -j) seems to work around it for me.
Fix below:

Sam

===== Makefile 1.516 vs edited =====
--- 1.516/Makefile 2004-08-12 23:09:08 +02:00
+++ edited/Makefile 2004-08-16 23:40:09 +02:00
@@ -600,6 +600,9 @@
.tmp_vmlinux3: $(vmlinux-objs) .tmp_kallsyms2.o arch/$(ARCH)/kernel/vmlinux.lds FORCE
$(call if_changed_rule,vmlinux__)

+# Needs to visit scripts/ before $(KALLSYMS) can be used.
+$(KALLSYMS): scripts ;
+
endif

# Finally the vmlinux rule

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/