I just bought a "Hercules 3D Prophet 4000 XT 64 MB" video card. Linux drivers are provided on there web site http://us.hercules.com/support/link_drivers.php3?prodid=22&c=0&p=2 These driver needs to be compiled for the kernel. On Redhat 7.3, which is kernel 2.4.18-3, I was getting an error, while 2.4.18 was compiling fine. I track it down to linux-2.4.18-3/include/linux/mm.h file. In the definition of "typedef struct page", the element "void *virtual;" is conditionaly included (where as on linux-2.4.18, it is not conditional). (I have already recompiled the kernel because I wanted to include some usb stuff. My kernel is compiled without the support of high_mem.) My question is (1) Should I compile the driver with the -DCONFIG_HIGHMEM switch, or (2) recompile the kernel with high_mem and than compile the driver with -DCONFIG_HIGHMEM switch. What is the effect of -DCONFIG_HIGHMEM switch. You can download source from the web site (above), source.tgz. The problem happens in . . . cc -O2 -DMODULE -DMODVERSIONS -include /usr/src/linux/include/linux/modversions.h -D__KERNEL__ -I/usr/src/linux/include -DLINUX -DGCC_IA32 -Idrm -c -o module_drm.o module_drm.c In file included from module_drm.c:69: drm/pvr_drm_vm.h: In function `powervr_vm_shm_nopage': drm/pvr_drm_vm.h:138: structure has no member named `virtual' make: *** [module_drm.o] Error 1 . . . Thanks for reading long posting. If you need copy of mm.h file from Redhat 7.3 let me know. Usman ===== Usman S. Ansari ... Say: My prayers and my devotions, my life and my death, are all for Allaah, Lord of the creations: He has no partners. Thus I am commanded, being the first of the Muslims. __________________________________________________ Do You Yahoo!? Yahoo! Autos - Get free new car price quotes http://autos.yahoo.com -- Kernelnewbies: Help each other learn about the Linux kernel. Archive: http://mail.nl.linux.org/kernelnewbies/ FAQ: http://kernelnewbies.org/faq/