
Hello, I am trying to install 4.1. Two things: drm will not compile..I get the following: cc -O2 -Wall -Wwrite-strings -Wpointer-arith -Wcast-align -Wstrict-prototypes -Wnested-externs -Wpointer-arith -D__KERNEL__ -DMODULE -fomit-frame-pointer -DCONFIG_AGP -DCONFIG_AGP_MODULE -DMODVERSIONS -include /usr/src/linux/include/linux/modversions.h -DKILLFASYNCHASTHREEPARAMETERS -DEXPORT_SYMTAB -I/usr/src/linux/include -c gamma_drv.c -o gamma_drv.o In file included from gamma_drv.c:72: drm_vm.h: In function `gamma_vm_shm_nopage': drm_vm.h:110: structure has no member named `virtual' drm_vm.h:89: warning: `physical' might be used uninitialized in this function make[1]: *** [gamma_drv.o] Error 1 make[1]: Leaving directory `/usr/src/kernel-modules/drm' make: *** [all] Error 2 When I do a make -f Makefile-module Previously also I could force agpmode to be 2x, 4x just hung everything. That does not work anymore, it ignores my option and runs at 1x. So things are slow ! -- Regards Cliff

<feedback@suse.de removed from recipient list.> You shouldn't make -f Makefile.module. There is a Makefile.linux, use it. The process is make sure your kernel source tree is correct by cd /usr/src/linux make cloneconfig make dep cp /boot/vmlinuz.version.h /usr/src/linux/include/linux/ then cd to the drm source and make -f Makefile.linux make -f Makefile.module install On Wednesday 03 October 2001 23.44, Cliff Sarginson wrote:
Hello, I am trying to install 4.1. Two things:
drm will not compile..I get the following:
cc -O2 -Wall -Wwrite-strings -Wpointer-arith -Wcast-align -Wstrict-prototypes -Wnested-externs -Wpointer-arith -D__KERNEL__ -DMODULE -fomit-frame-pointer -DCONFIG_AGP -DCONFIG_AGP_MODULE -DMODVERSIONS -include /usr/src/linux/include/linux/modversions.h -DKILLFASYNCHASTHREEPARAMETERS -DEXPORT_SYMTAB -I/usr/src/linux/include -c gamma_drv.c -o gamma_drv.o In file included from gamma_drv.c:72: drm_vm.h: In function `gamma_vm_shm_nopage': drm_vm.h:110: structure has no member named `virtual' drm_vm.h:89: warning: `physical' might be used uninitialized in this function make[1]: *** [gamma_drv.o] Error 1 make[1]: Leaving directory `/usr/src/kernel-modules/drm' make: *** [all] Error 2
When I do a make -f Makefile-module
Previously also I could force agpmode to be 2x, 4x just hung everything. That does not work anymore, it ignores my option and runs at 1x.
So things are slow !

On Thu, Oct 04, 2001 at 12:49:47AM +0200, Anders Johansson wrote:
<feedback@suse.de removed from recipient list.>
You shouldn't make -f Makefile.module. There is a Makefile.linux, use it.
The process is
make sure your kernel source tree is correct by cd /usr/src/linux make cloneconfig make dep cp /boot/vmlinuz.version.h /usr/src/linux/include/linux/
then cd to the drm source and make -f Makefile.linux make -f Makefile.module install
Suse 7.2 Kernel 2.4.4 I was following the instructions in the README...at least I thought I was .. -- Regards Cliff
participants (3)
-
Anders Johansson
-
Cliff Sarginson
-
Roger L.S.Griffiths BSc