public inbox for linux-mtd@lists.infradead.org
 help / color / mirror / Atom feed
From: Mirco Fuchs <mircofuchs@web.de>
To: linux-mtd@lists.infradead.org
Subject: 2.6.16 compile error with latest cvs mtd source
Date: Thu, 23 Mar 2006 13:02:21 +0100	[thread overview]
Message-ID: <457792036@web.de> (raw)

Hello,

i have a problem compiling the 2.6.16 kernel for my csb637 board. I think this
is an mtd related question because it works without patching the kernel
against the  mtd source code.

I have gcc 3.4.4 and binutils 2.16 and glibx 2.3.5.

The first step was compiling the 2.6.16 kernel without patching against the
mtd cvs sources. --> The compilation was successfull.

But patching the kernel against the head of the mtd cvs repo resulted in the
following warnings and errors:

(I used the command 'patchkernel.sh -2cyv $KERNELDIR' for patching)

...
  CC      drivers/mtd/mtdcore.o
  CC      drivers/mtd/mtdpart.o
  CC      drivers/mtd/mtdconcat.o
  CC      drivers/mtd/cmdlinepart.o
  CC      drivers/mtd/mtdchar.o
  CC      drivers/mtd/mtdblock.o
  CC      drivers/mtd/mtd_blkdevs.o
  CC      drivers/mtd/chips/chipreg.o
  CC      drivers/mtd/chips/cfi_probe.o
  CC      drivers/mtd/chips/cfi_util.o
  CC      drivers/mtd/chips/cfi_cmdset_0020.o
drivers/mtd/chips/cfi_cmdset_0020.c: In function `cfi_staa_init':
drivers/mtd/chips/cfi_cmdset_0020.c:1417: Warnung: »inter_module_register« ist veraltet (deklariert bei
include/linux/module.h:571)
drivers/mtd/chips/cfi_cmdset_0020.c: In function `cfi_staa_exit':
drivers/mtd/chips/cfi_cmdset_0020.c:1423: Warnung: »inter_module_unregister« ist veraltet (deklariert bei
include/linux/module.h:572)
  CC      drivers/mtd/chips/cfi_cmdset_0001.o
drivers/mtd/chips/cfi_cmdset_0001.c: In function `cfi_intelext_init':
drivers/mtd/chips/cfi_cmdset_0001.c:2458: Warnung: »inter_module_register« ist veraltet (deklariert bei
include/linux/module.h:571)
drivers/mtd/chips/cfi_cmdset_0001.c:2459: Warnung: »inter_module_register« ist veraltet (deklariert bei
include/linux/module.h:571)
drivers/mtd/chips/cfi_cmdset_0001.c:2460: Warnung: »inter_module_register« ist veraltet (deklariert bei
include/linux/module.h:571)
drivers/mtd/chips/cfi_cmdset_0001.c: In function `cfi_intelext_exit':
drivers/mtd/chips/cfi_cmdset_0001.c:2466: Warnung: »inter_module_unregister« ist veraltet (deklariert bei
include/linux/module.h:572)
drivers/mtd/chips/cfi_cmdset_0001.c:2467: Warnung: »inter_module_unregister« ist veraltet (deklariert bei
include/linux/module.h:572)
drivers/mtd/chips/cfi_cmdset_0001.c:2468: Warnung: »inter_module_unregister« ist veraltet (deklariert bei
include/linux/module.h:572)
  CC      drivers/mtd/chips/gen_probe.o
drivers/mtd/chips/gen_probe.c: In function `cfi_cmdset_unknown':
drivers/mtd/chips/gen_probe.c:210: Warnung: »inter_module_put« ist veraltet (deklariert bei
include/linux/module.h:575)
  LD      drivers/mtd/chips/built-in.o
  LD      drivers/mtd/devices/built-in.o
  CC      drivers/mtd/maps/physmap.o
  LD      drivers/mtd/maps/built-in.o
  LD      drivers/mtd/nand/built-in.o
  LD      drivers/mtd/onenand/built-in.o
  LD      drivers/mtd/built-in.o

...

  CC      lib/kref.o
  CC      lib/prio_tree.o
  CC      lib/radix-tree.o
  CC      lib/rbtree.o
  CC      lib/rwsem-spinlock.o
  CC      lib/sha1.o
  CC      lib/string.o
  CC      lib/vsprintf.o
  AR      lib/lib.a
  GEN     .version
  CHK     include/linux/compile.h
  UPD     include/linux/compile.h
  CC      init/version.o
  LD      init/built-in.o
  LD      .tmp_vmlinux1
drivers/built-in.o: In function `cfi_cmdset_unknown':
drivers/mtd/chips/gen_probe.c:203: undefined reference to `inter_module_get_request'
drivers/mtd/chips/gen_probe.c:210: undefined reference to `inter_module_put'
drivers/built-in.o: In function `cfi_staa_init':
drivers/mtd/chips/cfi_cmdset_0020.c:1417: undefined reference to `inter_module_register'
drivers/built-in.o: In function `cfi_intelext_init':
drivers/mtd/chips/cfi_cmdset_0001.c:2458: undefined reference to `inter_module_register'
drivers/mtd/chips/cfi_cmdset_0001.c:2459: undefined reference to `inter_module_register'
drivers/mtd/chips/cfi_cmdset_0001.c:2460: undefined reference to `inter_module_register'
make: *** [.tmp_vmlinux1] Fehler 1

Are there any suggestions?

Note: I patched the 2.6.15 kernel against the head of the mtd cvs repo which
resulted in a successfully compilation.


regards

Mirco

__________________________________________________________________________
Erweitern Sie FreeMail zu einem noch leistungsstärkeren E-Mail-Postfach!		
Mehr Infos unter http://freemail.web.de/home/landingpad/?mc=021131

             reply	other threads:[~2006-03-23 12:02 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2006-03-23 12:02 Mirco Fuchs [this message]
2006-03-23 13:10 ` 2.6.16 compile error with latest cvs mtd source Josh Boyer
  -- strict thread matches above, loose matches on Subject: below --
2006-03-24  7:16 Mirco Fuchs

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=457792036@web.de \
    --to=mircofuchs@web.de \
    --cc=linux-mtd@lists.infradead.org \
    /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