Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1757228AbaFSDkO (ORCPT ); Wed, 18 Jun 2014 23:40:14 -0400 Received: from mail-la0-f47.google.com ([209.85.215.47]:44032 "EHLO mail-la0-f47.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1753540AbaFSDkM (ORCPT ); Wed, 18 Jun 2014 23:40:12 -0400 MIME-Version: 1.0 In-Reply-To: <20140618122020.GB32514@n2100.arm.linux.org.uk> References: <20140618115602.GA32514@n2100.arm.linux.org.uk> <20140618122020.GB32514@n2100.arm.linux.org.uk> Date: Thu, 19 Jun 2014 09:10:10 +0530 X-Google-Sender-Auth: SgkOM2kBnMW-PGvd9XA-N37-cXg Message-ID: Subject: Re: Build error - vmlinux.lds [Re: linux-next: Tree for Jun 18] From: Sachin Kamat To: Russell King - ARM Linux Cc: linux-next@vger.kernel.org, linux-kernel@vger.kernel.org, "linux-arm-kernel@lists.infradead.org" , Stephen Rothwell Content-Type: text/plain; charset=UTF-8 Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Wed, Jun 18, 2014 at 5:50 PM, Russell King - ARM Linux wrote: > On Wed, Jun 18, 2014 at 05:38:14PM +0530, Sachin Kamat wrote: >> On Wed, Jun 18, 2014 at 5:26 PM, Russell King - ARM Linux >> wrote: >> > On Wed, Jun 18, 2014 at 04:50:43PM +0530, Sachin Kamat wrote: >> >> Hi, >> >> >> >> I observe the following build error while building uImage for ARM. >> >> >> >> Kernel: arch/arm/boot/Image is ready >> >> make[2]: *** No rule to make target >> >> `arch/arm/boot/compressed/vmlinux.lds', needed by >> >> `arch/arm/boot/compressed/vmlinux'. Stop. >> >> make[1]: *** [arch/arm/boot/compressed/vmlinux] Error 2 >> >> make: *** [uImage] Error 2 >> > >> > Works fine here against an empty object tree: >> > >> > http://www.arm.linux.org.uk/developer/build/file.php?lid=9591 >> > >> > Are you building into an already-built object tree or rebuilding an >> > already built tree? >> >> I did a clean build after updating the tree to next-20140618. >> git status show me the following after doing make clean >> >> # On branch master >> # Changes not staged for commit: >> # (use "git add/rm ..." to update what will be committed) >> # (use "git checkout -- ..." to discard changes in working directory) >> # >> # deleted: arch/arm/boot/compressed/vmlinux.lds.S >> >> >> My tip of kernel points to commit 4ca1fbc122fcb ("Add linux-next specific >> files for 20140618") >> >> > >> > This is likely caused by make getting confused over the dependencies. >> > I suggest making clean to recover from this error. >> >> I get this error when I do a clean build too. > > Hmm. Please try removing vmlinux.lds.S from extra-y in > arch/arm/boot/compressed/Makefile and restoring the deleted file. The above steps work for me. I do not get the aforementioned build error now. Thanks. Regards, Sachin -- 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/