Hello
could you please help me in understand how to resolve the following problem
during linking phase?
make[2]: Nothing to be done for `all_targets'.
make[2]: Leaving directory `/usr/linuxppc/src-linuxppc_2_4/arch/ppc/lib'
make[1]: Leaving directory `/usr/linuxppc/src-linuxppc_2_4/arch/ppc/lib'
/usr/linuxppc/ppc/powerpc-linux/bin/ld -T arch/ppc/vmlinux.lds -Ttext
0xc0000000 -Bstatic arch/ppc/kernel/head.o arch/ppc/kernel/idle_6xx.o
init/main.o init/version.o init/do_mounts.o \
--start-group \
arch/ppc/kernel/kernel.o arch/ppc/platforms/platform.o
arch/ppc/mm/mm.o arch/ppc/lib/lib.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/ieee1394/ieee1394drv.o
drivers/pci/driver.o drivers/macintosh/macintosh.o \
net/network.o \
/usr/linuxppc/src-linuxppc_2_4/lib/lib.a \
--end-group \
-o vmlinux
mm/mm.o: In function `do_wp_page':
mm/mm.o(.text+0x12a4): undefined reference to `flush_tlb_page'
mm/mm.o(.text+0x12a4): relocation truncated to fit: R_PPC_REL24
flush_tlb_page
mm/mm.o(.text+0x1444): undefined reference to `flush_tlb_page'
mm/mm.o(.text+0x1444): relocation truncated to fit: R_PPC_REL24
flush_tlb_page
mm/mm.o: In function `handle_mm_fault':
mm/mm.o(.text+0x1cf8): undefined reference to `flush_tlb_page'
mm/mm.o(.text+0x1cf8): relocation truncated to fit: R_PPC_REL24
flush_tlb_page
fs/fs.o: In function `dput':
fs/fs.o(.text+0x17924): undefined reference to `atomic_dec_and_lock'
fs/fs.o(.text+0x17924): relocation truncated to fit: R_PPC_REL24
atomic_dec_and_lock
make: *** [vmlinux] Error 1
I did the following:
# make clean
# make dep
# make zImage.initrd
Many Thanks for any your help
Salvatore
===================================================================
Salvatore Palma e: spalma@lynuxworks.fr
Consulting Engineer v: +33 1 30 85 06 00
LYNUXWORKS S.A. f: +33 1 30 85 06 06
2 allee de la Fresnerie www.lynuxworks.com
78330 Fontenay-Le-Fleury
France
Open source and true real-time embedded solutions for the post-PC era
=====================================================================
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
This archive was generated by hypermail 2b29 : Sat Nov 23 2002 - 22:00:32 EST