ltib
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Ltib] build error for imx31ads


From: hong zhang
Subject: Re: [Ltib] build error for imx31ads
Date: Tue, 20 Apr 2010 08:45:32 -0700 (PDT)

Stuart,

How do I apply this patch?

--henry

--- On Tue, 4/20/10, Stuart Hughes <address@hidden> wrote:

> From: Stuart Hughes <address@hidden>
> Subject: Re: [Ltib] build error for imx31ads
> To: "hong zhang" <address@hidden>
> Cc: address@hidden
> Date: Tuesday, April 20, 2010, 2:51 AM
> Hi Henry,
> 
> You need to remove the failed build:
> 
> $ rm rpm/BUILD/mtd*
> 
> apply this patch:
> http://cvs.savannah.gnu.org/viewvc/ltib/dist/lfs-5.1/mtd-utils/mtd-utils.spec?root=ltib&r1=1.5&r2=1.6
> 
> and then re-run:
> $ ./ltib
> 
> Regards, Stuart
> 
> hong zhang wrote:
> > Stuart,
> > 
> > I downloaded imx31ads-rel6(2.6.24) and run ./ltib
> --configure under my ubuntu 9.04 with kernel 2.6.34-rc2 and
> failed to build. Error message as following,
> > 
> > make: Entering directory
> `/opt/freescale/ltib/usr/src/rpm/BUILD/mtd/util'
> > gcc -I../include -O2 -Wall -g -c -o ftl_format.o
> ftl_format.c -g -Wp,-MD,.ftl_format.c.dep
> > In file included from /usr/include/endian.h:61,
> >               
>   from /usr/include/sys/types.h:217,
> >               
>   from ftl_format.c:38:
> > ../include/bits/byteswap.h:21:3: error: #error "Never
> use <bits/byteswap.h> directly; include
> <byteswap.h> instead."
> > make: *** [ftl_format.o] Error 1
> > make: Leaving directory
> `/opt/freescale/ltib/usr/src/rpm/BUILD/mtd/util'
> > error: Bad exit status from
> /home/intel/Desktop/ltib-imx31ads-20080722/tmp/rpm-tmp.46230
> (%build)
> > 
> > 
> > RPM build errors:
> >     Bad exit status from
> /home/intel/Desktop/ltib-imx31ads-20080722/tmp/rpm-tmp.46230
> (%build)
> > Build time for mtd-utils-20060302: 0 seconds
> > 
> > Failed building mtd-utils-20060302
> > Died at ./ltib line 1226.
> > 
> > Started: Tue Apr 20 00:53:12 2010
> > Ended:   Tue Apr 20 01:06:22 2010
> > Elapsed: 790 seconds
> > 
> > These packages failed to build:
> > mtd-utils-20060302 
> > Build Failed
> > 
> > Do you think my 2.6.34-rc2 do not fits imx31-rel6?
> > 
> > ---henry
> > 
> > 
> >       
> > 
> > 
> > _______________________________________________
> > LTIB home page: http://ltib.org
> > 
> > Ltib mailing list
> > address@hidden
> > http://lists.nongnu.org/mailman/listinfo/ltib
> > 
> 







reply via email to

[Prev in Thread] Current Thread [Next in Thread]