public inbox for linux-mtd@lists.infradead.org
 help / color / mirror / Atom feed
From: "Joakim Tjernlund" <Joakim.Tjernlund@lumentis.se>
To: "Steven Scholz" <steven.scholz@imc-berlin.de>,
	<linux-mtd@lists.infradead.org>
Subject: Re: undefined reference to 'crc32' ?
Date: Sat, 30 Nov 2002 23:43:28 +0100	[thread overview]
Message-ID: <002301c298c1$e6f10360$0300a8c0@jockeXP> (raw)
In-Reply-To: 3DE7CB23.5535F5E6@imc-berlin.de

CVS JFFS2 assumes that  crc32()  is avialable as a generic function. You need my crc32 backport from 2.5 to 2.4. It's somewhere
in the MTD archives(I think). I don't have it handy ATM.

             Jocke

> 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
> 
> ______________________________________________________
> Linux MTD discussion mailing list
> http://lists.infradead.org/mailman/listinfo/linux-mtd/

  parent reply	other threads:[~2002-11-30 22:13 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2002-11-29 20:16 undefined reference to 'crc32' ? Steven Scholz
2002-11-30  7:47 ` Thomas Gleixner
2002-12-04  7:32   ` Steven Scholz
2002-11-30 22:43 ` Joakim Tjernlund [this message]
2002-11-30 23:20   ` Joakim Tjernlund
2002-11-30 23:46   ` Thomas Gleixner
2002-12-04  9:48     ` Steven Scholz

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to='002301c298c1$e6f10360$0300a8c0@jockeXP' \
    --to=joakim.tjernlund@lumentis.se \
    --cc=linux-mtd@lists.infradead.org \
    --cc=steven.scholz@imc-berlin.de \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox