Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752932AbYLCPWr (ORCPT ); Wed, 3 Dec 2008 10:22:47 -0500 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S1751236AbYLCPWj (ORCPT ); Wed, 3 Dec 2008 10:22:39 -0500 Received: from smtp.zeuux.org ([210.51.160.52]:53213 "EHLO z.billxu.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751213AbYLCPWj (ORCPT ); Wed, 3 Dec 2008 10:22:39 -0500 Date: Wed, 3 Dec 2008 23:22:34 +0800 From: Jianjun Kong To: Ingo Molnar Cc: Linux-Kernel-Mailing-List , mingo@redhat.com Subject: Re: v2.6.28-rc7: Fail compile arch/x86/kernel/cpu/common.c Message-ID: <20081203152234.GA6924@ubuntu> References: <20081203070115.GA32403@ubuntu> <20081203073504.GB17580@elte.hu> <20081203112725.GA6822@ubuntu> <20081203114748.GB19664@elte.hu> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: <20081203114748.GB19664@elte.hu> User-Agent: Mutt/1.5.18 (2008-05-17) Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1068 Lines: 29 On Wed, Dec 03, 2008 at 12:47:48PM +0100, Ingo Molnar wrote: >* Jianjun Kong wrote: >> >> arch/x86/kernel/cpu/common.c: In function ‘early_identify_cpu’: >> >> arch/x86/kernel/cpu/common.c:555: error: ‘boot_cpu_id’ undeclared (first >> >> use in this function) > >the error message is not consistent with what the code does: <....> >how can this not build? Do you have __ASSEMBLY__ defined in your CFLAGS >perhaps? When I compile the code with another system(Fedora).There is another error "include/asm is a directory but a symlink was expected". I think there maybe a file problem :< So I remove the include directory, and update the code. Then I can compile it rightly :) Sorry for disturbande. -- Jianjun Kong | Happy Hacking HOMEPAGE: http://kongove.cn/ GTALK: kongjianjun@gmail.com -- 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/