Bug#270299: kernel-headers-2.6.8-1: missing headers drm.h and drm_proc.h needed for building radeon modules.
close 270299
thanks
On Tue, Sep 07, 2004 at 03:07:11AM +1000, Donovan Baarda wrote:
> Package: kernel-headers-2.6.8-1
> Version: 2.6.8-1
> Severity: normal
>
>
> Several *.h header files are not included in the kernel-headers
> packages. Some of the missing headers are needed when building
> some kernel modules.
>
> When using make-kpk to build the fglrx radeon modules-image package
> from inside the /usr/src/kernel-headers-2.6.8-1-k7/ directory, an
> error message is displayed reporting that header files drm.h and
> drm_proc.h cannot be found.
This is intentionally. These headers must match the exact version
of the drm drivers used.
> These headers and many others are included in the kernel-source-2.6.8
> package, in the directory drivers/char/drm/, but not in the
> corresponding /usr/src/kernel-headers-2.6.8-1/drivers/char/drm/
> directory. Adding symlinks from this headers directory to all the *.h
> files in the corresponding source directory made the fglrx modules
> build fine.
No. The fglrx must include copies of these headers that match their
driver. It must not use the kernel version.
Reply to: