public inbox for linux-mtd@lists.infradead.org
 help / color / mirror / Atom feed
From: Tino Keitel <tino.keitel@innominate.com>
To: Linux MTD <linux-mtd@lists.infradead.org>
Subject: Re: unresolved symbols in kernel (jffs2.o from CVS)
Date: Wed, 17 Apr 2002 16:52:59 +0200	[thread overview]
Message-ID: <20020417145259.GA2662@tino> (raw)
In-Reply-To: <3CBD85B6.8EF9E122@seranoa.com>

On Wed, Apr 17, 2002 at 10:24:54 -0400, Andrew Dixon wrote:
> Hi Everyone,
> 
> I'm trying to compile the latest jffs2 stuff with my 2.4.16 Linux
> kernel.  I'm trying to keep the jffs2 source separate from Linux (who
> wants to track Linux with CVS?) so I'm compiling jffs2 as a modules and
> then insmoding jffs2.o.  I've symlinked linux/fs/jffs2 to mtd/fs/jffs2
> and I've also linked some files from linux/include/linux to
> mtd/include/linux.  I can now do a:
> 	#make modules
> and get a jffs2.o module which I can insmod into my kernel.  The problem
> is that now I get a list of unresolved kernel symbols:
> 
> 	root@wombat7:~#insmod ./jffs2.o 
> 	./jffs2.o: unresolved symbol zlib_inflate
> 	./jffs2.o: unresolved symbol zlib_inflate_workspacesize
> 	./jffs2.o: unresolved symbol zlib_deflate_workspacesize
> 	./jffs2.o: unresolved symbol zlib_inflateInit_
> 	./jffs2.o: unresolved symbol zlib_deflate
> 	./jffs2.o: unresolved symbol zlib_inflateEnd
> 	./jffs2.o: unresolved symbol zlib_deflateInit_
> 	./jffs2.o: unresolved symbol zlib_deflateEnd
> 	root@wombat7:~#grep zlib /proc/ksyms 
> 	root@wombat7:~#

The current CVS of JFFS2 uses the shared zlib that is part of the
2.4.19-preX-acY kernel. There is a patch to provide the shared zlib for older
kernels but it seems like JFFS2 also needs other portions of the new
kernels. I tried it with 2.4.18 and it doesn't work.

Regards,
Tino

-- 
tino.keitel@innominate.com
dipl.-inf.                        Innominate Security Technologies AG
software engineer                                   networking people
tel: +49.30.6392-3308                      http://www.innominate.com/

      parent reply	other threads:[~2002-04-17 15:00 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2002-04-17 14:24 unresolved symbols in kernel (jffs2.o from CVS) Andrew Dixon
2002-04-17 14:47 ` Chris Wilson
2002-04-17 14:52 ` Tino Keitel [this message]

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=20020417145259.GA2662@tino \
    --to=tino.keitel@innominate.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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox