All of lore.kernel.org
 help / color / mirror / Atom feed
From: Niraj Maheshwari <niraj.maheshwari@gmail.com>
To: linux-mtd@lists.infradead.org
Subject: Compilation of MTD Utils
Date: Mon, 14 Feb 2005 18:16:13 +0530	[thread overview]
Message-ID: <f6d0cd0605021404467195684f@mail.gmail.com> (raw)

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

             reply	other threads:[~2005-02-14 12:46 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2005-02-14 12:46 Niraj Maheshwari [this message]
2005-02-14 13:37 ` Compilation of MTD Utils Artem B. Bityuckiy

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=f6d0cd0605021404467195684f@mail.gmail.com \
    --to=niraj.maheshwari@gmail.com \
    --cc=linux-mtd@lists.infradead.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.