Re: build error

From: AmÃrico Wang
Date: Fri May 28 2010 - 00:17:11 EST


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@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/