undefined reference to 'crc32' ?

Steven Scholz steven.scholz at imc-berlin.de
Fri Nov 29 15:16:35 EST 2002


Hi there,

I am using linux 2.4.20 on a powerpc platform. 

I just pulled the recent CVS, run patchin.sh on it and tried to build a new
kernel image.
But I get load of these:

ppc_8xx-ld -T arch/ppc/vmlinux.lds -Ttext 0xc0000000 -Bstatic
arch/ppc/kernel/head_8xx.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
arch/ppc/math-emu/math-emu.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 drivers/pcmcia/pcmcia.o drivers/macintosh/macintosh.o
arch/ppc/8xx_io/8xx_io.o \
        net/network.o \
        /home/scholz/Projekte/linuxppc-2.4.20/lib/lib.a \
        --end-group \
        -o vmlinux
fs/fs.o: In function `jffs2_symlink':
fs/fs.o(.text+0x69194): undefined reference to `crc32'
fs/fs.o(.text+0x69194): relocation truncated to fit: R_PPC_REL24 crc32
fs/fs.o(.text+0x691b4): undefined reference to `crc32'
fs/fs.o(.text+0x691b4): relocation truncated to fit: R_PPC_REL24 crc32
fs/fs.o(.text+0x691c8): undefined reference to `crc32'
fs/fs.o(.text+0x691c8): relocation truncated to fit: R_PPC_REL24 crc32
fs/fs.o(.text+0x6933c): undefined reference to `crc32'
fs/fs.o(.text+0x6933c): relocation truncated to fit: R_PPC_REL24 crc32
fs/fs.o(.text+0x69388): undefined reference to `crc32'
fs/fs.o(.text+0x69388): relocation truncated to fit: R_PPC_REL24 crc32
fs/fs.o(.text+0x6939c): more undefined references to `crc32' follow
fs/fs.o: In function `jffs2_symlink':
....


What could that be? 
crc32.o got build...

> ls -l fs/jffs2/crc32.o
-rw-r--r--    1 scholz   devel        1736 Nov 29 21:07 fs/jffs2/crc32.o

Thanks,

Steven




More information about the linux-mtd mailing list