[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

module mach64 does not compile under kernel 2.6.



Hello all,
after upgrade from sarge to etch direct rendering for my ati rage mobility 
mach64 card is not working anymore. I have self-compiled kernel 2.6.19.
I downloaded both :
common-20060403-linux.i386.tar.bz2 
mach64-20060325-linux.i386.tar.bz2
but I am unable to install the second one, it aborts attempting to build 
mach64 module for the kernel, saying that I need the latest kernel source 
(!):
This version of the script supports 2.4.x and 2.6.x kernels.

Kernel Version   : 2.6.19.1
Module Directory : /lib/modules/2.6.19.1
[...]
Compiling...
ERROR: Kernel modules did not compile
The DRI drivers can not be installed without the latest kernel modules.
Installation will be aborted. See the dri.log file for information on
what went wrong.

This is the content of the dri.log file:
make DRM_MODULES=mach64.o modules
make[1]: Entering directory 
`/usr/local/src/mach64-20060325-linux.i386/drm/linux-core'
make -C /lib/modules/2.6.19.1/source  SUBDIRS=`pwd` DRMSRCDIR=`pwd` modules
make[2]: Entering directory `/usr/src/linux-2.6.19.1'
  CC [M]  /usr/local/src/mach64-20060325-linux.i386/drm/linux-core/drm_auth.o
In file included 
from /usr/local/src/mach64-20060325-linux.i386/drm/linux-core/drm_auth.c:36:
/usr/local/src/mach64-20060325-linux.i386/drm/linux-core/drmP.h:44:26: error: 
linux/config.h: No such file or directory
make[3]: *** 
[/usr/local/src/mach64-20060325-linux.i386/drm/linux-core/drm_auth.o] Error 1
make[2]: *** 
[_module_/usr/local/src/mach64-20060325-linux.i386/drm/linux-core] Error 2
make[2]: Leaving directory `/usr/src/linux-2.6.19.1'
make[1]: *** [modules] Error 2
make[1]: Leaving directory 
`/usr/local/src/mach64-20060325-linux.i386/drm/linux-core'
make: *** [mach64.o] Error 2

I did not clean the kernel source after compilation. All I did was the 
following commands:
# make-kpkg clean
# make menuconfig
# make-kpkg --revision=some-test.1.0 kernel_image modules_image
As a consequence of that, currently the only way for me to watch a video is to 
use mplayer with "x11/xv" which is far from optimum (previously "vidix" was 
working flawlessy).
Any help will be appreciated.
-- 
On this laptop no Windows system survives and LINUX POWER reigns UNLIMITED.
Successfully Microsoft free since December 2002.



Reply to: