Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751928AbZJPXuw (ORCPT ); Fri, 16 Oct 2009 19:50:52 -0400 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S1751584AbZJPXuv (ORCPT ); Fri, 16 Oct 2009 19:50:51 -0400 Received: from smtp2.caviumnetworks.com ([209.113.159.134]:11370 "EHLO smtp2.caviumnetworks.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751478AbZJPXuu (ORCPT ); Fri, 16 Oct 2009 19:50:50 -0400 Message-ID: <4AD906D8.3020404@caviumnetworks.com> Date: Fri, 16 Oct 2009 16:50:48 -0700 From: David Daney User-Agent: Thunderbird 2.0.0.21 (X11/20090320) MIME-Version: 1.0 To: myuboot@fastmail.fm CC: linux-kernel@vger.kernel.org, linux-mips Subject: Re: 2.6.31 kernel for mips compile failure - war.h:12:17: error: war.h: No such file or directory References: <1255735395.30097.1340523469@webmail.messagingengine.com> In-Reply-To: <1255735395.30097.1340523469@webmail.messagingengine.com> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-OriginalArrivalTime: 16 Oct 2009 23:50:49.0062 (UTC) FILETIME=[7CA68860:01CA4EBB] Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1265 Lines: 32 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 -- 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/