ltib
[Top][All Lists]
Advanced

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

Re: [Ltib] [OT?] what's the right way to get lzo1x.h for mtd-utils?


From: Stuart Hughes
Subject: Re: [Ltib] [OT?] what's the right way to get lzo1x.h for mtd-utils?
Date: Tue, 01 Feb 2011 10:00:23 +0000
User-agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.9.2.13) Gecko/20101208 Lightning/1.0b2 Thunderbird/3.1.7

Hi Robert,

Bear in mind that this list is for the public LTIB project.  I've no
idea what Freescale have in there BSPs these days.  However I did
specifically exclude the later mtd-utils from the host config in the
public CVS version precisely so that it does not depend on lzo.  It
looks to me like they have not updated the host distribution package
dependency check-list.  If you install the package you mention I think
all will be well.

It's probably worth reporting this back to Freescale as a bug in their
variant.

Regards, Stuart

On 31/01/11 20:48, Robert P. J. Day wrote:
> 
>   to make a long story short, i just learned that my (potential)
> project is to use the freescale tarball
> L2.6.35_10.11.01_ER_source_bundle.tar.gz to build for the babbage
> i.MX51 evaluation board.
> 
>   following along with what seems the right series of steps, i
> eventually run "ltib" and, after a while, i get:
> 
> ==========
> 
> gcc -I./include   -DWITHOUT_XATTR -D_FILE_OFFSET_BITS=64 -O2 -g -Wall
> -Wextra -Wwrite-strings -Wno-sign-compare -c -o
> /opt/freescale/ltib/usr/src/rpm/BUILD/mtd-utils/compr_lzo.o
> compr_lzo.c -g
> -Wp,-MD,/opt/freescale/ltib/usr/src/rpm/BUILD/mtd-utils/.compr_lzo.c.dep
> compr_lzo.c:29: fatal error: lzo/lzo1x.h: No such file or directory
> compilation terminated.
> make: ***
> [/opt/freescale/ltib/usr/src/rpm/BUILD/mtd-utils/compr_lzo.o] Error 1
> rm /opt/freescale/ltib/usr/src/rpm/BUILD/mtd-utils/doc_loadbios.o
> /opt/freescale/ltib/usr/src/rpm/BUILD/mtd-utils/flash_erase.o
> /opt/freescale/ltib/usr/src/rpm/BUILD/mtd-utils/ftl_format.o
> /opt/freescale/ltib/usr/src/rpm/BUILD/mtd-utils/nanddump.o
> /opt/freescale/ltib/usr/src/rpm/BUILD/mtd-utils/ftl_check.o
> error: Bad exit status from
> /home/rpjday/ltibinstall/ltib/tmp/rpm-tmp.71862 (%build)
> 
> 
> RPM build errors:
>     Bad exit status from
> /home/rpjday/ltibinstall/ltib/tmp/rpm-tmp.71862 (%build)
> Build time for mtd-utils: 3 seconds
> 
> Failed building mtd-utils
> Died at ./ltib line 1380.
> traceback:
>  main::build_host_rpms:1380
>   main::host_checks:1435
>    main:542
> 
> 
> Started: Mon Jan 31 15:30:13 2011
> Ended:   Mon Jan 31 15:38:24 2011
> Elapsed: 491 seconds
> 
> These packages failed to build:
> mtd-utils
> 
> Build Failed
> 
> ===========
> 
> 
>   a quick run of "apt-file find" suggests that the ubuntu package i'm
> missing is
> 
> $ apt-file find lzo1x.h
> liblzo2-dev: /usr/include/lzo/lzo1x.h
> $
> 
>   so since stuart claims to have things running under ubuntu, is it
> simply a case of installing that package, then rerunning "ltib" which
> should pick up where things left off before?
> 
> rday
> 



reply via email to

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