Re: 2.6.22-rc6-mm1

Andrew Morton
2007-06-28T17:54:53Z

On Thu, 28 Jun 2007 14:08:49 +0200 Gabriel C <nix.or.die@googlemail.com> wrote:

> Andrew Morton wrote:
> > ftp://ftp.kernel.org/pub/linux/kernel/people/akpm/patches/2.6/2.6.22-rc6/2.6.22-rc6-mm1/
> >
> >
>
> Compile error here.
>
> ...
>
> Kernel: arch/i386/boot/bzImage is ready (#1)
> ERROR: "check_signature" [drivers/input/misc/wistron_btns.ko] undefined!
> ERROR: "check_signature" [drivers/block/xd.ko] undefined!
> make[1]: *** [__modpost] Error 1
> make: *** [modules] Error 2
>

grrr.

--- a/lib/Makefile~uninline-check_signature-fix
+++ a/lib/Makefile
@@ -5,8 +5,7 @@
lib-y := ctype.o string.o vsprintf.o cmdline.o \
rbtree.o radix-tree.o dump_stack.o \
idr.o int_sqrt.o bitmap.o extable.o prio_tree.o \
- sha1.o irq_regs.o reciprocal_div.o argv_split.o \
- check_signature.o
+ sha1.o irq_regs.o reciprocal_div.o argv_split.o

lib-$(CONFIG_MMU) += ioremap.o pagewalk.o
lib-$(CONFIG_SMP) += cpumask.o
@@ -14,7 +13,7 @@ lib-$(CONFIG_SMP) += cpumask.o
lib-y += kobject.o kref.o kobject_uevent.o klist.o

obj-y += div64.o sort.o parser.o halfmd4.o debug_locks.o random32.o \
- bust_spinlocks.o hexdump.o
+ bust_spinlocks.o hexdump.o check_signature.o

ifeq ($(CONFIG_DEBUG_KOBJECT),y)
CFLAGS_kobject.o += -DDEBUG
_