FW: JFFS2 Utility?

Venkatapuram, Nagaraj Nagaraj.Venkatapuram at netapp.com
Wed Jan 30 22:07:41 EST 2008


Hi, I downloaded mtd-utils-1.1.0 tar ball from the link mentioned below and I did a make. I ran into following compilation errors. Has any body got any insight as to what the problem could be ? Obviously, function definitions are missing and as a result the build is failing.

gcc -I./include -O2 -Wall -g -c -o compr_lzo.o compr_lzo.c -g -Wp,-MD,./.compr_lzo.c.dep
compr_lzo.c:29:23: lzo/lzo1x.h: No such file or directory
compr_lzo.c: In function `jffs2_lzo_cmpr':
compr_lzo.c:54: warning: implicit declaration of function `lzo1x_999_compress'
compr_lzo.c:56: `LZO_E_OK' undeclared (first use in this function)
compr_lzo.c:56: (Each undeclared identifier is reported only once
compr_lzo.c:56: for each function it appears in.)
compr_lzo.c: In function `jffs2_lzo_decompress':
compr_lzo.c:74: warning: implicit declaration of function `lzo1x_decompress_safe'
compr_lzo.c:76: `LZO_E_OK' undeclared (first use in this function)
compr_lzo.c: In function `jffs2_lzo_init':
compr_lzo.c:95: `LZO1X_999_MEM_COMPRESS' undeclared (first use in this function)make: *** [compr_lzo.o] Error 1
rm doc_loadbios.o flash_erase.o mkfs.jffs.o nanddump.o ftl_format.o ftl_check.o

Thanks,
Nagaraj

-----Original Message-----
From: Tallam, Sreenivas 
Sent: Wednesday, January 30, 2008 5:25 PM
To: Venkatapuram, Nagaraj
Subject: FW: JFFS2 Utility?

 Thanks
Sreen

-----Original Message-----
From: Ricard Wanderlof [mailto:ricard.wanderlof at axis.com] 
Sent: Wednesday, December 19, 2007 11:56 PM
To: Tallam, Sreenivas
Cc: linux-mtd at lists.infradead.org
Subject: Re: JFFS2 Utility?


It is not difficult to build from source. A tarball of the source can be found here:

ftp://ftp.infradead.org/pub/mtd-utils/mtd-utils-1.1.0.tar.bz2

Download, unpack, and do 'make' to build them.

/Ricard
--
Ricard Wolf Wanderlöf                           ricardw(at)axis.com
Axis Communications AB, Lund, Sweden            www.axis.com
Phone +46 46 272 2016                           Fax +46 46 13 61 30



More information about the linux-mtd mailing list