[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <20100528042057.GC5257@cr0.nay.redhat.com>
Date: Fri, 28 May 2010 12:20:57 +0800
From: Américo Wang <xiyou.wangcong@...il.com>
To: ranjith kumar <ranjithproxy@...il.com>
Cc: linux-kernel@...r.kernel.org
Subject: Re: build error
On Fri, May 28, 2010 at 02:54:38AM +0000, ranjith kumar wrote:
>hi
>On my PC "uname -a" prints
>Linux localhost.localdomain 2.6.29.4-167.fc11.i686.PAE #1 SMP Wed May
>27 17:28:22 EDT 2009 i686 i686 i386 GNU/Linux
>
>1)I tried to build many linux kernel versions. But I always end up
>error lik "file not recognized: File truncated"
>
>For example when I tried to build linux-2.6.34(copied /boot/config
>file, make oldconfig, make all), I got the follwing error:
> CC [M] drivers/mtd/ubi/eba.o
> CC [M] drivers/mtd/ubi/io.o
> CC [M] drivers/mtd/ubi/wl.o
> CC [M] drivers/mtd/ubi/scan.o
> CC [M] drivers/mtd/ubi/misc.o
> LD [M] drivers/mtd/ubi/ubi.o
>drivers/mtd/ubi/eba.o: file not recognized: File truncated
>make[3]: *** [drivers/mtd/ubi/ubi.o] Error 1
>make[2]: *** [drivers/mtd/ubi] Error 2
>make[1]: *** [drivers/mtd] Error 2
>make: *** [drivers] Error 2
>
>How to solve the problem?
Try to do a 'make mrproper' before compiling the kernel.
>2)And how to know processor family of my PC?
Your machine is x86_64, you could choose "Generic x86_64"
instead of these i386 stuffs. I think your distribution
also does this.
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists