LinuxQuestions.org
Review your favorite Linux distribution.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Debian
User Name
Password
Debian This forum is for the discussion of Debian Linux.

Notices


Reply
  Search this Thread
Old 06-22-2005, 02:27 AM   #1
WoofDeF
Member
 
Registered: Jan 2005
Distribution: Debian3.1, DamnSmallLinux, FC4
Posts: 70

Rep: Reputation: 15
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!!!!!!

Last edited by WoofDeF; 06-22-2005 at 02:55 AM.
 
Old 06-22-2005, 09:11 AM   #2
WoofDeF
Member
 
Registered: Jan 2005
Distribution: Debian3.1, DamnSmallLinux, FC4
Posts: 70

Original Poster
Rep: Reputation: 15
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 ....

Last edited by WoofDeF; 06-22-2005 at 09:16 AM.
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
how to rebuild kernel bhanu12 Linux - Newbie 2 10-26-2005 04:42 PM
How do you rebuild a kernel? Thaidog Linux - General 4 07-26-2005 12:15 PM
kernel rebuild Present Yoper 9 11-26-2004 06:08 PM
Rebuild kernel And then !!! left-hand Linux - Software 4 02-06-2004 09:59 AM
No poweroff after kernel rebuild sleddog Linux - Software 4 01-27-2002 08:39 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Debian

All times are GMT -5. The time now is 10:52 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration