public inbox for linux-mtd@lists.infradead.org
 help / color / mirror / Atom feed
* Compilation of MTD Utils
@ 2005-02-14 12:46 Niraj Maheshwari
  2005-02-14 13:37 ` Artem B. Bityuckiy
  0 siblings, 1 reply; 2+ messages in thread
From: Niraj Maheshwari @ 2005-02-14 12:46 UTC (permalink / raw)
  To: linux-mtd

Hi,

I am trying to compile the MTD utils ( Specifically mkfs.jffs2  ) for
ARM-Linux platform. I am getting lot of errors while compiling this.
Does anyone already have mkfs.jffs2 executable for ARM-Linux platform
then pl. send it to me.

Or if you can help me how to do this compilation then it will be of
great help. I am getting following error. It's not able to find
deflate() etc functions.

arm-linux-gcc  -o mkfs.jffs2 crc32.o compr_rtime.o mkfs.jffs2.o
deftree.o deflate.o compr_zlib.o compr.o compr_lzari.o compr_lzo.o
-L./libz.so.1.1.4
compr_zlib.o(.text+0x34): In function `jffs2_zlib_compress':
/root/temp/mtd/util/compr_zlib.c:68: undefined reference to `deflateInit_'
compr_zlib.o(.text+0x98):/root/temp/mtd/util/compr_zlib.c:80:
undefined reference to `deflate'
compr_zlib.o(.text+0xe4):/root/temp/mtd/util/compr_zlib.c:88:
undefined reference to `deflate'
compr_zlib.o(.text+0xf4):/root/temp/mtd/util/compr_zlib.c:93:
undefined reference to `deflateEnd'
compr_zlib.o(.text+0x128):/root/temp/mtd/util/compr_zlib.c:82:
undefined reference to `deflateEnd'
compr_zlib.o(.text+0x158): In function `jffs2_zlib_decompress':
/root/temp/mtd/util/compr_zlib.c:113: undefined reference to `inflateInit_'
compr_zlib.o(.text+0x188):/root/temp/mtd/util/compr_zlib.c:124:
undefined reference to `inflate'
compr_zlib.o(.text+0x198):/root/temp/mtd/util/compr_zlib.c:127:
undefined reference to `inflateEnd'
collect2: ld returned 1 exit status
make: *** [mkfs.jffs2] Error 1

Thanks
Niraj

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2005-02-14 13:38 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2005-02-14 12:46 Compilation of MTD Utils Niraj Maheshwari
2005-02-14 13:37 ` Artem B. Bityuckiy

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox