Kernel 2.6 build error

Stefan Bruda yellowdog-general@lists.terrasoftsolutions.com
Mon Feb 9 08:02:02 2004


Hi.

Trying for the first time to compile a 2.6 kernel (have extensive
experience with 2.4 and below though), the build of 2.6.2-ben1 gives
back the following error:

  LD      drivers/built-in.o
drivers/video/built-in.o(.text+0x16bb8): In function `radeon_engine_reset':
: multiple definition of `radeon_engine_reset'
drivers/char/built-in.o(.text+0x29440): first defined here
ld: Warning: size of symbol `radeon_engine_reset' changed from 168 in drivers/char/built-in.o to 1104 in drivers/video/built-in.o
make[1]: *** [drivers/built-in.o] Error 1
make: *** [drivers] Error 2

Radeon related configuration is as follows:

[bruda@Titi linux-2.5]% grep -i radeon .config
CONFIG_DRM_RADEON=y
# CONFIG_FB_RADEON_OLD is not set
CONFIG_FB_RADEON=y

(Is there any other relevant configuration option?  Please let me know
and I will post it as well.)

What is as far as I know an identical configuration for 2.4 works fine.
What am I doing wrong?

Thanks,
Stefan

-- 
If it was so, it might be; and if it were so, it would be; but as
it isn't, it ain't. That's logic.
    --Lewis Carroll, Through the Looking-Glass