linux-mips
[Top] [All Lists]

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

To: myuboot@fastmail.fm
Subject: Re: 2.6.31 kernel for mips compile failure - war.h:12:17: error: war.h: No such file or directory
From: David Daney <ddaney@caviumnetworks.com>
Date: Fri, 16 Oct 2009 16:50:48 -0700
Cc: linux-kernel@vger.kernel.org, linux-mips <linux-mips@linux-mips.org>
In-reply-to: <1255735395.30097.1340523469@webmail.messagingengine.com>
Original-recipient: rfc822;linux-mips@linux-mips.org
References: <1255735395.30097.1340523469@webmail.messagingengine.com>
Sender: linux-mips-bounce@linux-mips.org
User-agent: Thunderbird 2.0.0.21 (X11/20090320)
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>