[PlanetCCRMA] Can't compile ATI apgart module on 2.4.26 ll kernel, RedHat 9

Craig Maloney craig@ic.net
Sun Jun 20 08:52:01 2004


Hello,

I've tried compiling the ATI apgart module under RedHat 9, with no
success. Here is the output:

ATI module generator V 2.0
==========================
initializing...
cleaning...
patching 'highmem.h'...
skipping patch for 'drmP.h', not needed
skipping patch for 'drm_os_linux.h', not needed
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'...
In file included from
/lib/modules/2.4.26-1.ll.rh90.ccrma/build/drivers/char/drm/drm_proc.h:36,
                 from firegl_public.c:285:
/lib/modules/2.4.26-1.ll.rh90.ccrma/build/drivers/char/drm/drmP.h:180:
redefinition of `__cmpxchg'
/lib/modules/2.4.26-1.ll.rh90.ccrma/build/include/asm/system.h:245:
`__cmpxchg' previously defined here
compiling failed - object file was not generated

Any ideas why this is happening?

Thanks!


-- 
   Craig Maloney  (craig@ic.net)        http://ic.net/~craig
 "You should, without hesitation, pound your typewriter into a 
  plowshare, your paper into fertilizer, and enter agriculture"
                -- Business Professor, University of Georgia