Bob Pomeroy

LTIB build error on Fedora 15: lzo/lzo1x.h: No such file or directory

Discussion created by Bob Pomeroy on May 27, 2011
Latest reply on Sep 8, 2011 by Adrian Alonso

I'm trying to build LTIB extracted from L2.6.35_11.03.00_ER_source.  I'm running on Fedora 15.  It runs for a while and them stops with the following error (in host_config.log):

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:23: 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/bob/ltib/tmp/rpm-tmp.46059 (%build)

RPM build errors:
    Bad exit status from /home/bob/ltib/tmp/rpm-tmp.46059 (%build)
Build time for mtd-utils: 2 seconds

Failed building mtd-utils
Died at ./ltib line 1380.

Started: Fri May 27 10:51:14 2011
Ended:   Fri May 27 10:59:11 2011
Elapsed: 477 seconds

These packages failed to build:

Build Failed

I'm a newbie this stuff so any help getting up-to-speed is greatly appreciated.