LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Debian (http://www.linuxquestions.org/questions/debian-26/)
-   -   Help (!?) with rebuild kernel 2.4.26 (http://www.linuxquestions.org/questions/debian-26/help-with-rebuild-kernel-2-4-26-a-336007/)

WoofDeF 06-22-2005 02:27 AM

Help (!?) with rebuild kernel 2.4.26
 
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!!!!!!

WoofDeF 06-22-2005 09:11 AM

Never mind.

This problem was SOLVED (after much cursing and wringing of hands) by apt-getting the kernel sources in .deb form from unstable and using those, instead of the official sources from www.kernel.org, which was what I was using (that newbiedoc DID say to apt-get kernel_ources, too --!@#$!!! grrr!!).

Must be somehting to do with the patches in the .deb version?

Now to see if the kernel works ....


All times are GMT -5. The time now is 08:39 PM.