build error trying to make image after git reorg

Alan Post alanpost at sunflowerriver.org
Thu Nov 18 12:47:11 EST 2010


I've just gotten my repository cleaned up after the new branch
reorganization.  I run make at the top-level:

 make[1] world
 make[2] tools/install
 make[3] -C tools/m4 compile
 make[3] -C tools/m4 install
 make[3] -C tools/autoconf compile
 make[3] -C tools/autoconf install
 make[3] -C tools/automake compile
 make[3] -C tools/automake install
 make[3] -C tools/bison compile
 make[3] -C tools/bison install
 make[3] -C tools/sed compile
 make[3] -C tools/sed install
 make[3] -C tools/pkg-config compile
 make[3] -C tools/pkg-config install
 make[3] -C tools/mklibs compile
 make[3] -C tools/mklibs install
 make[3] -C tools/sstrip compile
 make[3] -C tools/sstrip install
 make[3] -C tools/ipkg-utils compile
 make[3] -C tools/ipkg-utils install
 make[3] -C tools/genext2fs compile
 make[3] -C tools/genext2fs install
 make[3] -C tools/libuuid compile
 make[3] -C tools/libuuid install
 make[3] -C tools/mtd-utils compile
make -r world: build failed. Please re-run make with V=99 to see what's going on
make: *** [world] Error 1

mtd-utils is failing because of a missing header file:

gcc -I./include   -DWITHOUT_XATTR -D_FILE_OFFSET_BITS=64 -O2 -I/home/a/wa/tracking-backfire/staging_dir/host/include -I/home/a/wa/tracking-backfire/build_dir/host/mtd-20090505/include -L/home/a/wa/tracking-backfire/build_dir/host/mtd-20090505 -L/home/a/wa/tracking-backfire/staging_dir/host/lib -DNO_NATIVE_SUPPORT -c -o /home/a/wa/tracking-backfire/build_dir/host/mtd-20090505/compr_lzo.o compr_lzo.c -g -Wp,-MD,/home/a/wa/tracking-backfire/build_dir/host/mtd-20090505/.compr_lzo.c.dep
compr_lzo.c:29:23: error: lzo/lzo1x.h: No such file or directory
compr_lzo.c: In function 'jffs2_lzo_cmpr':
compr_lzo.c:51: error: 'lzo_uint' undeclared (first use in this function)
compr_lzo.c:51: error: (Each undeclared identifier is reported only once
compr_lzo.c:51: error: for each function it appears in.)
compr_lzo.c:51: error: expected ';' before 'compress_size'
compr_lzo.c:54: error: 'compress_size' undeclared (first use in this function)
compr_lzo.c:56: error: 'LZO_E_OK' undeclared (first use in this function)
compr_lzo.c: In function 'jffs2_lzo_decompress':
compr_lzo.c:72: error: 'lzo_uint' undeclared (first use in this function)
compr_lzo.c:72: error: expected ';' before 'dl'
compr_lzo.c:74: error: 'dl' undeclared (first use in this function)
compr_lzo.c:76: error: 'LZO_E_OK' undeclared (first use in this function)
compr_lzo.c: In function 'jffs2_lzo_init':
compr_lzo.c:95: error: 'LZO1X_999_MEM_COMPRESS' undeclared (first use in this function)
make[4]: *** [/home/a/wa/tracking-backfire/build_dir/host/mtd-20090505/compr_lzo.o] Error 1
make[4]: Leaving directory `/home/a/wa/tracking-backfire/build_dir/host/mtd-20090505'
make[3]: *** [/home/a/wa/tracking-backfire/build_dir/host/mtd-20090505/.built] Error 2
make[3]: Leaving directory `/home/a/wa/tracking-backfire/tools/mtd-utils'
make[2]: *** [tools/mtd-utils/compile] Error 2
make[2]: Leaving directory `/home/a/wa/tracking-backfire'
make[1]: *** [/home/a/wa/tracking-backfire/staging_dir/target-mipsel_uClibc-0.9.30.1/stamp/.tools_install_nnnnn] Error 2
make[1]: Leaving directory `/home/a/wa/tracking-backfire'
make: *** [world] Error 2


Is lzo/lzo1x.h a package I'm missing on my build host?  Did I miss a step
configuring something in my build tree?

-Alan
-- 
.i ko djuno fi le do sevzi




More information about the discussion mailing list


interactive