LinuxQuestions.org
Visit Jeremy's Blog.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Mandriva
User Name
Password
Mandriva This Forum is for the discussion of Mandriva (Mandrake) Linux.

Notices


Reply
  Search this Thread
Old 01-06-2004, 04:27 PM   #1
chichibabin
Member
 
Registered: Sep 2003
Posts: 63

Rep: Reputation: 15
Problems with make dep


Hi
I am trying to recompile a mandrake custom kernel (2.4.22-10mdk) as provided by mandrake 9.2. To start with I am trying to compile the kernel using the /boot/config-linux-2.4.22-10 file copied over to the source directory and renamed to .config. When I run make dep I get the following error:

make -C 3rdparty fastdep
make[2]: Entering directory `/usr/src/linux-2.4.22-10mdk/3rdparty'
make[2]: *** No rule to make target `fastdep'. Stop.
make[2]: Leaving directory `/usr/src/linux-2.4.22-10mdk/3rdparty'
make[1]: *** [_sfdep_3rdparty] Error 2
make[1]: Leaving directory `/usr/src/linux-2.4.22-10mdk'
make: *** [dep-files] Error 2

When I do the same with a linux-2.4.24 source from kernel.org I get this error:

make -C kernel fastdep
make[2]: Entering directory `/usr/src/linux-2.4.24/kernel'
make[2]: *** No rule to make target `/usr/src/linux-2.4.24/include/linux/autoconf.h', needed by `/usr/src/linux-2.4.24/include/linux/modules/signal.ver'. Stop.
make[2]: Leaving directory `/usr/src/linux-2.4.24/kernel'
make[1]: *** [_sfdep_kernel] Error 2
make[1]: Leaving directory `/usr/src/linux-2.4.24'
make: *** [dep-files] Error 2

It's probably worth mentioning that I installed the custom source code from the corresponding kernel-source rpm.

Any ides?
Sat
 
Old 01-06-2004, 04:29 PM   #2
chichibabin
Member
 
Registered: Sep 2003
Posts: 63

Original Poster
Rep: Reputation: 15
It seems that whatever source or config I use I get an error of some sort??
 
Old 01-07-2004, 04:20 PM   #3
Gary987
Member
 
Registered: Oct 2003
Distribution: Gentoo, Mint, Ubuntu, Vector
Posts: 174

Rep: Reputation: 17
Mandrake kernel sources seem to be a real pain if you want to customize them.

I think I had problems getting the particular kernel to compile correctly. I would go with Mandrake linux-2.4.22-21mdk.

Anywho try this.

Before you do any configuring, In linux directory type: make distclean. There's some crap it seems in some of the mdk kernel-sources. This solved alot of problems for me.

I don't know what options you want to customize but I didn't bother with much except changing the target (athlon-xp in my case) I tried to get rid of alot modules I didnt' use and every time I got an error...

So my advice, If you want to use the mandrake kernel ... change the bare minimum and hope for the best..

BTW it take a very long time to compile ALL the modules... so go order yourself a pizza or something

Gary
 
  


Reply


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
problems with make dep hellixor Linux - Newbie 3 06-06-2004 03:37 PM
Look the output of: make dep && make clean bzImage modules modules_install Hell-Shooter Linux - General 2 06-05-2004 05:05 AM
make clean, make dep problem carscht Linux - Newbie 2 02-21-2004 10:32 AM
make dep? secprovider Linux - Newbie 4 10-05-2003 08:50 AM
make dep,make clean,make bzImage problem Babba Linux - Newbie 2 01-08-2003 03:49 AM

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

All times are GMT -5. The time now is 03:02 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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration