On Sun, Apr 10, 2005 at 09:53:43PM +0200, Dieter Jurzitza wrote:
Dear listmembers, trying to build the drm - modules after having installed kernel 2.6.11 on SuSE 9.2 always fails for me, though using the commands that used to work with the kernel 2.6.8:
script in use: ******************************************************************************* #!/bin/sh
pushd /usr/src/linux; rm -f .config; make cloneconfig; make prepare-all; popd pushd /usr/src/kernel-modules/drm KERNEL_SOURCE=/usr/src/linux make modules KERNEL_SOURCE=/usr/src/linux make install popd *******************************************************************************
I always get compiler errors:
********* make[1]: Entering directory `/usr/src/linux-2.6.11.3-2' CC [M] /usr/src/kernel-modules/drm/i810_drv.o In file included from /usr/src/kernel-modules/drm/i810_drv.c:40: /usr/src/kernel-modules/drm/drm_agpsupport.h:47: error: parse error before '*' token /usr/src/kernel-modules/drm/drm_agpsupport.h:47: warning: type defaults to `int' in declaration of `drm_agp' /usr/src/kernel-modules/drm/drm_agpsupport.h:47: warning: data definition has no type or storage class /usr/src/kernel-modules/drm/drm_agpsupport.h: In function `i810_agp_info': /usr/src/kernel-modules/drm/drm_agpsupport.h:69: error: request for member `copy_info' in something not a structure or union /usr/src/kernel-modules/drm/drm_agpsupport.h: In function `i810_agp_acquire': /usr/src/kernel-modules/drm/drm_agpsupport.h:111: error: request for member `acquire' in something not a structure or union /usr/src/kernel-modules/drm/drm_agpsupport.h:117: error: request for member `acquire' in something not a structure or union ******
and so on and so forth; anyone having an idea how this could be solved?
AFAIK the agp interface has changed in 2.6.11. I recommend to use the DRM modules, which come with the kernel 2.6.11 instead. BTW, this is also what we did with SUSE 9.3. Stefan Public Key available ------------------------------------------------------ Stefan Dirsch (Res. & Dev.) SUSE LINUX Products GmbH Tel: 0911-740 53 0 Maxfeldstraße 5 FAX: 0911-740 53 479 D-90409 Nürnberg http://www.suse.de Germany ------------------------------------------------------