JFFS linker error in kernel 2.4.19
Thomas Gleixner
tglx at linutronix.de
Sun Dec 22 13:21:58 EST 2002
On Sunday 22 December 2002 17:00, Ilan Pollak wrote:
> Hi List,
> i'm porting uClinux 2.4.19-uc1 patched with today's (Dec. 21, 2002) MTD
> snapshot.
> If i'm choosing to compile JFFS2 i get this linking problem:
>
> arm-elf-ld -p -X -T arch/armnommu/vmlinux.lds
> arch/armnommu/kernel/head-armv.o arch/armnommu/kernel/init_task.o
> init/main.o init/version.o init/do_mounts.o \
> --start-group \
> arch/armnommu/kernel/kernel.o arch/armnommu/mm/mm.o
> arch/armnommu/mach-firefox/firefox.o kernel/kernel.o mmnommu/mmnommu.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/mtd/mtdlink.o \
> net/network.o \
> arch/armnommu/lib/lib.a
> /home/ilanp/uClinux-dist/linux-2.4.x/lib/lib.a
> /usr/local/lib/gcc-lib/arm-elf/2.95.3/libgcc.a \
> --end-group \
> -o linux
> fs/fs.o: In function `jffs2_compress':
> fs/fs.o(.text+0x4d728): undefined reference to `jffs2_rtime_compress'
> fs/fs.o: In function `jffs2_decompress':
> fs/fs.o(.text+0x4d7d0): undefined reference to `jffs2_rtime_decompress'
> make[1]: *** [linux] Error 1
Did you use the patchin script ?
If no, use it.
If yes, maybe it's not compatible with uclinux. Check if the Makefile in lib
is patched with the patch in mtd-source/lib
--
Thomas
____________________________________________________
linutronix - competence in embedded & realtime linux
http://www.linutronix.de
mail: tglx at linutronix.de
More information about the linux-mtd
mailing list