Buildroot for ARM target and JFFS2

Milrith milrith at gmail.com
Fri Mar 31 15:33:37 UTC 2006


Hi,

> I have tried compilation for both MTD snapshot and for default source
> (mtd_20050122.orig.tar.gz) with the same results.
> 
> Making buildroot I get the following error:
>     ...
>     gcc -I../include -O2 -Wall -g -c -o crc32.o
> crc32.c -g -Wp,-MD,.crc32.c.dep
>     gcc -I../include -O2 -Wall -g -c -o compr_rtime.o
> compr_rtime.c -g -Wp,-MD,.compr_rtime.c.dep
>     gcc -I../include -O2 -Wall -g -c -o mkfs.jffs2.o
> mkfs.jffs2.c -g -Wp,-MD,.mkfs.jffs2.c.dep
>     mkfs.jffs2.c:68:18: zlib.h: No such file or directory
>     make[1]: *** [mkfs.jffs2.o] Error 1

Don't you need the zlib libraries and headers for your native compiler?
You are building mkfs.jffs2 on and for your host platform.

Bye,

Milrith



More information about the uClibc mailing list