Skip to contentSkip to conversation

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

DISCUSSION Olaf Hering 2 participants 2 messages Feb 19, 2007

lore
Share & tools
lore
#0 lore raw

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

#1 lore raw
Quoted 10 lines · Olaf Hering

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

char/agp/Makefile +2 -0
diff -u -p -B -r1.1.1.1 Makefile
@@ -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