I'm trying to rebuild kernel 2.4.26 with loop devices switched off on a new install of Debian stable 3.1.
I'm following the directions for Debian
here to the letter and I understand how to turn off loop devices and ensure that module support is Y in 'make xconfig'. I'm taking semi-intelligent stabs at the other config options.
However I keep getting the following errors at the end of compiling (running make mrproper first makes no difference):
In file included from tdfx_drv.c:35:
drmP.h:180: error: redefinition of `__cmpxchg'
/usr/src/linux-2.4.26/include/asm/system.h:245: error: `__cmpxchg' previously defined here
make[5]: *** [tdfx_drv.o] Error 1
make[5]: Leaving directory `/usr/src/linux-2.4.26/drivers/char/drm'
make[4]: *** [first_rule] Error 2
make[4]: Leaving directory `/usr/src/linux-2.4.26/drivers/char/drm'
make[3]: *** [_subdir_drm] Error 2
make[3]: Leaving directory `/usr/src/linux-2.4.26/drivers/char'
make[2]: *** [_subdir_char] Error 2
make[2]: Leaving directory `/usr/src/linux-2.4.26/drivers'
make[1]: *** [_dir_drivers] Error 2
make[1]: Leaving directory `/usr/src/linux-2.4.26'
make: *** [stamp-build] Error 2
Can anybody help?? What am I missing or not doing here?? Aggghhhh!!!!!!