The DRM kernel modules fail to build on kernel 2.6.25-rc3 with the following error: sh ../scripts/create_linux_pci_lists.sh < ../shared-core/drm_pciids.txt make -C /lib/modules/2.6.25-rc3/source SUBDIRS=`pwd` DRMSRCDIR=`pwd` modules make[1]: Entering directory `/usr/src/linux-2.6.25-rc3' CC [M] /home/vortex/build/nvidia/drm-build/linux-core/drm_auth.o CC [M] /home/vortex/build/nvidia/drm-build/linux-core/drm_bufs.o CC [M] /home/vortex/build/nvidia/drm-build/linux-core/drm_context.o CC [M] /home/vortex/build/nvidia/drm-build/linux-core/drm_dma.o CC [M] /home/vortex/build/nvidia/drm-build/linux-core/drm_drawable.o CC [M] /home/vortex/build/nvidia/drm-build/linux-core/drm_drv.o CC [M] /home/vortex/build/nvidia/drm-build/linux-core/drm_fops.o CC [M] /home/vortex/build/nvidia/drm-build/linux-core/drm_ioctl.o CC [M] /home/vortex/build/nvidia/drm-build/linux-core/drm_irq.o CC [M] /home/vortex/build/nvidia/drm-build/linux-core/drm_lock.o CC [M] /home/vortex/build/nvidia/drm-build/linux-core/drm_memory.o CC [M] /home/vortex/build/nvidia/drm-build/linux-core/drm_proc.o CC [M] /home/vortex/build/nvidia/drm-build/linux-core/drm_stub.o CC [M] /home/vortex/build/nvidia/drm-build/linux-core/drm_vm.o CC [M] /home/vortex/build/nvidia/drm-build/linux-core/drm_sysfs.o CC [M] /home/vortex/build/nvidia/drm-build/linux-core/drm_pci.o CC [M] /home/vortex/build/nvidia/drm-build/linux-core/drm_agpsupport.o /home/vortex/build/nvidia/drm-build/linux-core/drm_agpsupport.c:669: error: ‘drm_agp_flush_chipset’ undeclared here (not in a function) /home/vortex/build/nvidia/drm-build/linux-core/drm_agpsupport.c:669: warning: type defaults to ‘int’ in declaration of ‘drm_agp_flush_chipset’ make[2]: *** [/home/vortex/build/nvidia/drm-build/linux-core/drm_agpsupport.o] Error 1 make[1]: *** [_module_/home/vortex/build/nvidia/drm-build/linux-core] Error 2 make[1]: Leaving directory `/usr/src/linux-2.6.25-rc3' make: *** [modules] Error 2
Created attachment 14568 [details] [review] drm_agpsupport.c patch This fixes the error during building from drm_agpsupport.c. The file now builds properly but another build failure happens with the following output: ... CC [M] /home/vortex/build/nvidia/drm-build/linux-core/drm_fence.o CC [M] /home/vortex/build/nvidia/drm-build/linux-core/drm_ttm.o /home/vortex/build/nvidia/drm-build/linux-core/drm_ttm.c: In function ‘drm_ttm_set_caching’: /home/vortex/build/nvidia/drm-build/linux-core/drm_ttm.c:132: error: implicit declaration of function ‘flush_agp_mappings’ make[2]: *** [/home/vortex/build/nvidia/drm-build/linux-core/drm_ttm.o] Error 1 make[1]: *** [_module_/home/vortex/build/nvidia/drm-build/linux-core] Error 2 make[1]: Leaving directory `/usr/src/linux-2.6.25-rc3' make: *** [modules] Error 2
Closing due to inactivity. Reopen if this is still a problem.
Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct. How we collect and use information is described in our Privacy Policy.