I'm trying to install drivers for my Ati Radeon 9800 Pro video card
I got the message of missing kernel module build environment, so I have to build it. But when I try to make
#/lib/modules/fglrx/build_mod/ sh make.sh
I get this
ATI module generator V 2.0
skipping patch for 'drmP.h', not needed
skipping patch for 'drm_os_linux.h', not needed
assuming new VMA API since we do have kernel 2.6.x...
doing Makefile based build for kernel 2.6.x and higher
make -C /lib/modules/2.6.6/build SUBDIRS=/lib/modules/fglrx/build_mod/2.6.x modules
make: *** /lib/modules/2.6.6/build: No such file or directory. Stop.
make: *** [kmod_build] Error 2
build succeeded with return value 0
duplicating results into driver repository...
You must change your working directory to /lib/modules/fglrx
and then call ./make_install.sh in order to install the built module.
I checked the dir /lib/modules and the dir 2.6.6 is really missing
Where should I get it from? Thx for suggestions.
I'm running Debian with kernel 2.6.6