2007-02-19 12:29:39

by Olaf Hering

[permalink] [raw]
Subject: "compat_agp_ioctl" [drivers/char/agp/agpgart.ko] undefined!


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


2007-02-19 13:26:55

by Zwane Mwaikambo

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

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