cfi_interleave undefined build error

From: Jesper Juhl
Date: Sun Jul 08 2007 - 17:35:21 EST


For your information;

I was building a few randconfig kernels today and ran into this little
problem :

...
CC [M] drivers/mtd/chips/cfi_probe.o
In file included from drivers/mtd/chips/cfi_probe.c:19:
include/linux/mtd/cfi.h: In function 'cfi_build_cmd':
include/linux/mtd/cfi.h:293: warning: implicit declaration of function
'cfi_interleave'
CC [M] drivers/mtd/chips/cfi_util.o
In file included from drivers/mtd/chips/cfi_util.c:27:
include/linux/mtd/cfi.h: In function 'cfi_build_cmd':
include/linux/mtd/cfi.h:293: warning: implicit declaration of function
'cfi_interleave'
CC [M] drivers/mtd/chips/cfi_cmdset_0020.o
In file included from drivers/mtd/chips/cfi_cmdset_0020.c:36:
include/linux/mtd/cfi.h: In function 'cfi_build_cmd':
include/linux/mtd/cfi.h:293: warning: implicit declaration of function
'cfi_interleave'
CC [M] drivers/mtd/chips/cfi_cmdset_0002.o
In file included from drivers/mtd/chips/cfi_cmdset_0002.c:39:
include/linux/mtd/cfi.h: In function 'cfi_build_cmd':
include/linux/mtd/cfi.h:293: warning: implicit declaration of function
'cfi_interleave'
CC [M] drivers/mtd/chips/gen_probe.o
In file included from drivers/mtd/chips/gen_probe.c:13:
include/linux/mtd/cfi.h: In function 'cfi_build_cmd':
include/linux/mtd/cfi.h:293: warning: implicit declaration of function
'cfi_interleave'
CC [M] drivers/mtd/chips/jedec_probe.o
In file included from drivers/mtd/chips/jedec_probe.c:24:
include/linux/mtd/cfi.h: In function 'cfi_build_cmd':
include/linux/mtd/cfi.h:293: warning: implicit declaration of function
'cfi_interleave'
...
Kernel: arch/i386/boot/bzImage is ready (#1)
Building modules, stage 2.
MODPOST 102 modules
ERROR: "cfi_interleave" [drivers/mtd/chips/jedec_probe.ko] undefined!
ERROR: "cfi_interleave" [drivers/mtd/chips/cfi_util.ko] undefined!
ERROR: "cfi_interleave" [drivers/mtd/chips/cfi_probe.ko] undefined!
ERROR: "cfi_interleave" [drivers/mtd/chips/cfi_cmdset_0020.ko] undefined!
ERROR: "cfi_interleave" [drivers/mtd/chips/cfi_cmdset_0002.ko] undefined!
make[1]: *** [__modpost] Error 1
make: *** [modules] Error 2

The config file that resulted in this is attached.

(PS. when replying from the linux-mtd list, please keep me on Cc since
I'm not subscribed)

--
Jesper Juhl <jesper.juhl@xxxxxxxxx>
Don't top-post http://www.catb.org/~esr/jargon/html/T/top-post.html
Plain text mails only, please http://www.expita.com/nomime.html

Attachment: config.10
Description: Binary data