[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Ltib] [OT?] what's the right way to get lzo1x.h for mtd-utils?
From: |
Robert P. J. Day |
Subject: |
[Ltib] [OT?] what's the right way to get lzo1x.h for mtd-utils? |
Date: |
Mon, 31 Jan 2011 15:48:34 -0500 (EST) |
User-agent: |
Alpine 2.00 (DEB 1167 2008-08-23) |
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
--
========================================================================
Robert P. J. Day Waterloo, Ontario, CANADA
http://crashcourse.ca
Twitter: http://twitter.com/rpjday
LinkedIn: http://ca.linkedin.com/in/rpjday
========================================================================
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [Ltib] [OT?] what's the right way to get lzo1x.h for mtd-utils?,
Robert P. J. Day <=