JFFS2 Errors

Carl Przybylek carlp at bioace.net
Tue Sep 17 21:18:28 EDT 2002


Seems the patchin.sh file did not link all the kernel files correctly.
When I try to compile 2.4.19 kernel I get a bunch of undefined reference
errors.

I manually linked the jffs2 directory as that was not included.  Im
assuming Ive missed some more.
The zlib_inflate_workspacesize is in the lib/zlib_inflate directory do
those directories need to be linked into the kernel source as well?

Any help would be greatly appreciated
Carl Przybylek

fs/fs.o: In function `jffs2_compress':
fs/fs.o(.text+0x3d654): undefined reference to `jffs2_rtime_compress'
fs/fs.o: In function `jffs2_decompress':
fs/fs.o(.text+0x3d6d9): undefined reference to `jffs2_rtime_decompress'
fs/fs.o: In function `jffs2_zlib_compress':
fs/fs.o(.text+0x3e051): undefined reference to `zlib_deflateInit_'
fs/fs.o(.text+0x3e0c1): undefined reference to `zlib_deflate'
fs/fs.o(.text+0x3e0fa): undefined reference to `zlib_deflate'
fs/fs.o(.text+0x3e102): undefined reference to `zlib_deflateEnd'
fs/fs.o(.text+0x3e12e): undefined reference to `zlib_deflateEnd'
fs/fs.o: In function `jffs2_zlib_decompress':
fs/fs.o(.text+0x3e18e): undefined reference to `zlib_inflateInit_'
fs/fs.o(.text+0x3e1e0): undefined reference to `zlib_inflate'
fs/fs.o(.text+0x3e200): undefined reference to `zlib_inflateEnd'
fs/fs.o: In function `jffs2_symlink':
fs/fs.o(.text+0x3e7db): undefined reference to `crc32'
fs/fs.o(.text+0x3e7f9): undefined reference to `crc32'
fs/fs.o(.text+0x3e806): undefined reference to `crc32'
fs/fs.o(.text+0x3e957): undefined reference to `crc32'
fs/fs.o(.text+0x3e99b): undefined reference to `crc32'
fs/fs.o(.text+0x3e9b0): more undefined references to `crc32' follow
fs/fs.o: In function `jffs2_garbage_collect_thread':
fs/fs.o(.text+0x46f50): undefined reference to `set_user_nice'
fs/fs.o: In function `jffs2_flush_wbuf':
fs/fs.o(.text+0x47a37): undefined reference to `crc32'
fs/fs.o: In function `jffs2_zlib_init':
fs/fs.o(.text.init+0xc15): undefined reference to
`zlib_deflate_workspacesize'
fs/fs.o(.text.init+0xc4a): undefined reference to
`zlib_deflate_workspacesize'
fs/fs.o(.text.init+0xc65): undefined reference to
`zlib_inflate_workspacesize'
fs/fs.o(.text.init+0xc9a): undefined reference to
`zlib_inflate_workspacesize'





More information about the linux-mtd mailing list