mtd jffs2 on 2.4.18-rmk3: undefined references
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
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 thelib/zlib_deflate&lib/zlib_inflatedirectories 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