JFFS linker error in kernel 2.4.19

Frank R Callaghan f.callaghan at ieee.org
Fri Jan 10 16:27:20 EST 2003

Hi List,

I'm compiling linux 2.4.19 patched with today's CVS MTD patched
with the patching script
(that states 'no Include Filesytems: yes; Zlib-Patch needed: no)

ld -m elf_i386 -T /home/rtlinux/rtai/linux-2.4.19/arch/i386/vmlinux.lds -e 
stext arch/i386/kernel/head.o arch/i386/kernel/init_task.o init/main.o 
init/version.o init/do_mounts.o \
        --start-group \
        arch/i386/kernel/kernel.o arch/i386/mm/mm.o kernel/kernel.o mm/mm.o 
fs/fs.o ipc/ipc.o \
         drivers/char/char.o drivers/block/block.o drivers/misc/misc.o 
drivers/net/net.o drivers/media/media.o drivers/ide/idedriver.o 
drivers/mtd/mtdlink.o \
        net/network.o \
/home/rtlinux/rtai/linux-2.4.19/arch/i386/lib/lib.a \
        --end-group \
        -o vmlinux
fs/fs.o: In function `jffs2_compress':
fs/fs.o(.text+0x5fc59): undefined reference to `zlib_compress'
fs/fs.o: In function `jffs2_decompress':
fs/fs.o(.text+0x5fced): undefined reference to `zlib_decompress'
fs/fs.o(.text+0x5fd18): undefined reference to `dynrubin_decompress'
make: *** [vmlinux] Error 1

Any Ideas ?


More information about the linux-mtd mailing list