Re: "compat_agp_ioctl" [drivers/char/agp/agpgart.ko] undefined!

From: Zwane Mwaikambo
Date: Mon Feb 19 2007 - 08:27:15 EST


On Mon, 19 Feb 2007, Olaf Hering wrote:

>
> 2.6.20-git14
>
> cp arch/powerpc/configs/g5_defconfig ../O-linus/.config
> time env LC_ALL=C make -k O=../O-linus
> ...
> Building modules, stage 2.
> MODPOST 127 modules
> WARNING: "compat_agp_ioctl" [drivers/char/agp/agpgart.ko] undefined!
> make[2]: *** [__modpost] Error 1

Fixed in Andrew's tree;

Index: drivers/char/agp/Makefile
===================================================================
RCS file: /home/cvsroot/linux-2.6.20-rc3/drivers/char/agp/Makefile,v
retrieving revision 1.1.1.1
diff -u -p -B -r1.1.1.1 Makefile
--- drivers/char/agp/Makefile 8 Jan 2007 06:36:24 -0000 1.1.1.1
+++ drivers/char/agp/Makefile 16 Feb 2007 06:29:10 -0000
@@ -1,5 +1,7 @@
agpgart-y := backend.o frontend.o generic.o isoch.o

+agpgart-$(CONFIG_COMPAT) += compat_ioctl.o
+
obj-$(CONFIG_AGP) += agpgart.o
obj-$(CONFIG_AGP_ALI) += ali-agp.o
obj-$(CONFIG_AGP_ATI) += ati-agp.o
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/