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

Bug in Radeon in kernel 2.6.8?



I have just finished compiling both the 2.6.6 and 2.6.8 kernels and
there appears to be a bug in the radeon_state piece of code in the 2.6.8
kernel that is absent in the 2.6.6 kernel. I receive the following
compilation errors (2.6.8)

  CC      drivers/char/drm/radeon_state.o
  drivers/char/drm/radeon_state.c: In function `radeon_cp_cmdbuf':
  drivers/char/drm/radeon_state.c:2316: warning: implicit declaration of
  function `drm_alloc'
  drivers/char/drm/radeon_state.c:2316: warning: assignment makes
  pointer from integer without a cast
  drivers/char/drm/radeon_state.c:2416: warning: implicit declaration of
  function `drm_free'

That are absent from the compilation of 2.6.6. 

This leads to

drivers/built-in.o(.text+0x51d71): In function `radeon_cp_cmdbuf':
: undefined reference to `drm_free'
drivers/built-in.o(.text+0x51daf): In function `radeon_cp_cmdbuf':
: undefined reference to `drm_free'
drivers/built-in.o(.text+0x524a7): In function `radeon_cp_cmdbuf':
: undefined reference to `drm_alloc'
make: *** [.tmp_vmlinux1] Error 1

I can remove these errors by not using the CONFIG_DRM_RADEON option. In
the make menuconfig proceedure, this amounts to just saying no to

ATI Radeon

in the Character devices menu that is under the Device Drivers option of
the main menu.

Art Edwards


-- 
Art Edwards
Senior Research Physicist
Air Force Research Laboratory
Electronics Foundations Branch
KAFB, New Mexico

(505) 853-6042 (v)
(505) 846-2290 (f)



Reply to: