> "drm.h: No such file or directory" error message while compiling fglrx kernel module This information applies to the following system configurations: ATI Proprietary Linux Driver version 3.14.6 and earlier The following may occur during driver installation: driver module compilation fails to complete The following error message may also appear during driver module compilation:
>     ATI module generator V 2.0
>     ==========================
>     initializing...
>     cleaning...
>     patching 'highmem.h'...
>     probing for VMA API version...
>     doing script based build for kernel 2.4.x and similar
>     compiling './agpgart_be.c'...
>     compiling './agp3.c'...
>     compiling './i7505-agp.c'...
>     compiling './nvidia-agp.c'...
>     compiling './firegl_public.c'...
>     firegl_public.c:292:17: drm.h: No such file or directory
>     firegl_public.c:308:22: drm_proc.h: No such file or directory
>     firegl_public.c: In function `firegl_init_module':
>     firegl_public.c:597: `DRM_PROC_ENTRIES' undeclared (first use in this function)
>     firegl_public.c:597: (Each undeclared identifier is reported only once
>     firegl_public.c:597: for each function it appears in.)
>     firegl_public.c:603: `FGLDRM_proc_list' undeclared (first use in this function)
>     firegl_public.c: In function `do_vm_pcie_nopage':
>     firegl_public.c:2197: `drm_device_t' undeclared (first use in this function)
>     firegl_public.c:2197: `dev' undeclared (first use in this function)
>     firegl_public.c:2197: syntax error before ')' token
>     firegl_public.c: At top level:
>     firegl_public.c:298: warning: `FGLDRM_mem_info' defined but not used
>     compiling failed - object file was not generated
This issue does not occur if the Kernel Source package is installed. This issue has been resolved in the 8.8.25 driver.
Please note: The 8.8.25 driver requires either the Kernel Header package or the Kernel Source package to be installed.