Latest LQ Deal: Linux Power User Bundle
Go Back > Forums > Linux Forums > Linux - Distributions > Debian
User Name
Debian This forum is for the discussion of Debian Linux.


  Search this Thread
Old 12-29-2003, 08:09 AM   #1
LQ Newbie
Registered: Sep 2003
Posts: 14

Rep: Reputation: 0
Kernel compile problems with "mm"

I've tried a couple, or no, seemes more like a fifteen twenty times to compile my own kernel. I wanted to try the "bootsplash" thing and get vmware to work. I downloaded the 2.4.23 kernel and deployed the patches on the site and chosed the right (or what I thouhgt was the right) options. the latest error I get is when I tailed a nohup from the compilation:

"filemap.c:620: error: redefinition of `filemap_fdatawrite'
filemap.c:577: error: `filemap_fdatawrite' previously defined here
filemap.c:1842: error: redefinition of `do_generic_direct_read'
filemap.c:1831: error: `do_generic_direct_read' previously defined here
make[2]: *** [filemap.o] Error 1
make[2]: Leaving directory `/usr/src/linux-2.4.23/mm'
make[1]: *** [first_rule] Error 2
make[1]: Leaving directory `/usr/src/linux-2.4.23/mm'
make: *** [_dir_mm] Error 2"

I've searched a bit on google and here, but can't come up with a good answer.. anyone who could help..? I really, just for once want to run a homebrewed kernel..

by the way, I run debian 3.0 with the sarge packages...

Old 12-29-2003, 08:49 PM   #2
LQ Guru
Registered: Feb 2003
Location: Blue Ridge Mountain
Distribution: Linux Mint 17, Debian 8
Posts: 7,865

Rep: Reputation: 311Reputation: 311Reputation: 311Reputation: 311
In your sequence of compile commands do you have a make clean? make clean cleans out the trash from previous compiles before you attempt the next compile. If you don't have a make clean step then you can get wierd errors like yours on every compile after the first.

Be prepared. Create a LifeBoat CD.

Steve Stites
Old 12-31-2003, 05:33 AM   #3
LQ Newbie
Registered: Sep 2003
Posts: 14

Original Poster
Rep: Reputation: 0
thanks for your answer.. I manage to get it all to work by deleteing the whole src dir. and started from scratch again, applying the patches and so on. I guess it takes some tries to get a hang of it


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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
What "kernel opts" allow PC to power down with "turning energy off"? kornerr Linux - General 1 03-10-2005 12:07 PM
error message when pressing "Next" "BIOS Problems" , help ! HeRCuLeSX Fedora 3 07-21-2004 02:37 PM
why iam getting problems like "...too many files opened" or "segmentation fault" naren_0101bits Linux - Newbie 2 07-19-2004 12:20 PM
Configuring kernel: Impact of "Y" or "N" vs. "M" Mark_E_Wallace Linux - Newbie 2 02-22-2004 06:02 PM
anging "Protocol" option to "IMPS/2" in XF86Config-4 causes problems zstingx Linux - General 2 10-27-2003 09:47 AM > Forums > Linux Forums > Linux - Distributions > Debian

All times are GMT -5. The time now is 09:08 AM.

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