Skip to contentSkip to conversation

mtd jffs2 on 2.4.18-rmk3: undefined references

DISCUSSION Murtada Shah 2 participants 2 messages Apr 24, 2002 Memory technology devices (MTD)

lore
Share & tools
lore
#0 lore raw

Hi,

I'm trying to install the mtd from the cvs rep. for 2.4.18 kernel with rmk3 patch.

I copied (normally it ln -sf, but I cp -f'd) the files over, but I'm getting undefined references to zlib_deflateInit_, zlib_inflateInit_ and some other zlib_<> calls.. which seem to reside in the lib/zlib_deflate & lib/zlib_inflate directories of mtd. How do I copy these to the linux kernel so I can cross-compile 2.4.18-rmk3 with latest mtd without undefined reference errors?

Murtada Shah

#1 lore raw
Quoted 5 lines · [email protected] said:

I'm getting undefined references to zlib_deflateInit_, zlib_inflateInit_ and some other zlib_<> calls.. which seem to reside in the lib/zlib_deflate & lib/zlib_inflate directories of mtd. How do I copy these to the linux kernel so I can cross-compile 2.4.18-rmk3 with latest mtd without undefined reference errors?

ftp://ftp.??.kernel.org/pub/linux/kernel/people/dwmw2/shared-zlib/

The 2.4.19-pre1 version ought to work. Obviously the bits which patch the stable JFFS2 code to work with shared zlib won't work - ignore those and drop in the new code.

--
dwmw2