linux-mips
[Top] [All Lists]

Re: 2.6.31 kernel for mips compile failure - war.h:12:17: error: war.h:

To: "David Daney" <ddaney@caviumnetworks.com>
Subject: Re: 2.6.31 kernel for mips compile failure - war.h:12:17: error: war.h: No such file or directory
From: myuboot@fastmail.fm
Date: Mon, 19 Oct 2009 18:49:49 -0500
Cc: linux-kernel@vger.kernel.org, "linux-mips" <linux-mips@linux-mips.org>
Dkim-signature: v=1; a=rsa-sha1; c=relaxed/relaxed; d=messagingengine.com; h=message-id:from:to:cc:mime-version:content-transfer-encoding:content-type:in-reply-to:references:subject:date; s=smtpout; bh=T4bXUDO0Z3ayUMDU+y7hOLVsGUA=; b=pth8b8Lq6WK4FLBCbLkMdWI5KUnS/ONyE0T/QZy8rVrQ9GBJpVS+65uLoxqXknlenjwpyfHHI6odbhXGCyk502xOkp8PTwdbQjZpScXt5Pv9aLVVjGOHreoQKXshhaiHFh2O6Ve3VuqVKei4zeAVhau3BHJTu84vHu94khdvZCQ=
In-reply-to: <4AD906D8.3020404@caviumnetworks.com>
Original-recipient: rfc822;linux-mips@linux-mips.org
References: <1255735395.30097.1340523469@webmail.messagingengine.com> <4AD906D8.3020404@caviumnetworks.com>
Sender: linux-mips-bounce@linux-mips.org
Thanks. This issue is fixed now. In 2.6.31 the directory
include/asm-mips  is moved as arch/mips/include/asm/. I need to change
my Makefile accordingly.

On Fri, 16 Oct 2009 16:50 -0700, "David Daney"
<ddaney@caviumnetworks.com> wrote:
> mips-linux questions will get more attention if you send them to 
> linux-mips@linux-mips.org.
> 
> 
> myuboot@fastmail.fm wrote:
> > I am trying to use buildroot 2009.08 to compile kernel 2.6.31 for mips,
> > but it fails to error -" war.h can't be found". I used the same
> > buildroot to build kernel version 2.6.29 with no problem. 
> > 
> > Please give me some suggestion on how to fix this issue. The file 
> > ./arch/mips/include/asm/war.h is there with no problem. Thanks a lot.
> > 
> [...]
> >   CC      arch/mips/kernel/asm-offsets.s
> > In file included from
> > /home/root123/sources/buildroot-2009.08-k/project_build_mips/f1/linux-2.6.31/arch/mips/include/asm/bitops.h:24,
> >                  from include/linux/bitops.h:17,
> >                  from include/linux/kernel.h:15,
> >                  from include/linux/sched.h:52,
> >                  from arch/mips/kernel/asm-offsets.c:13:
> 
> What does your .config look like?
> 
> Also try make V=1 so we can see the exact compiler command line that the 
> build process is generating.
> 
> David Daney

<Prev in Thread] Current Thread [Next in Thread>