LinuxQuestions.org
Visit Jeremy's Blog.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 03-01-2009, 12:45 AM   #1
devika.pict
LQ Newbie
 
Registered: Feb 2009
Posts: 6

Rep: Reputation: 0
No rule to make target DAC960.c , needed by ll_rw_blk.o


Hello everybody,

I am trying to compile 2.4.18 kernel on red-hat8.0(2.4.18-14).
During make -j2 i get the following errors. I am new to linux
and just know few basics about Makefile.Can anybody tell me the
solution.

------------
make[2]: Entering directory `/usr/src/linux-2.4.18/drivers/block'
make all_targets
make[3]: Entering directory `/usr/src/linux-2.4.18/drivers/block'
make[3]: *** No rule to make target `DAC960.c', needed by `ll_rw_blk.o'. Stop.
make[3]: Leaving directory `/usr/src/linux-2.4.18/drivers/block'
make[2]: *** [first_rule] Error 2
make[2]: Leaving directory `/usr/src/linux-2.4.18/drivers/block'
make[1]: *** [_subdir_block] Error 2
make[1]: Leaving directory `/usr/src/linux-2.4.18/drivers'
make: *** [_dir_drivers] Error 2
---------------

Thanks for your concern.

Last edited by devika.pict; 03-01-2009 at 12:47 AM.
 
Old 03-01-2009, 12:55 AM   #2
Simon Bridge
LQ Guru
 
Registered: Oct 2003
Location: Waiheke NZ
Distribution: Ubuntu
Posts: 9,211

Rep: Reputation: 198Reputation: 198
Quote:
I am trying to compile 2.4.18 kernel on red-hat8.0(2.4.18-14).
Wow - hand maintaining a distro that old is hard work.

Code:
make[3]: *** No rule to make target `DAC960.c', needed by `ll_rw_blk.o'. Stop.
This means that something has issued the command

make DAC960.c

but the makefile does not have a line starting

: DAC960.c

you need to make sure you have everything you need to compile this kernel - including the right libraries and compiler etc.

The DAC960 is a RAID driver ...
http://www.mjmwired.net/kernel/Docum.../README.DAC960
... I don't think it's used any more - but I'm willing to be corrected.

An obvious solution is to disable the module.


Presumably you have a compelling reason not to update your distro?
I'm guessing that you are trying to install a custom 2.4.18 kernel because the stock one is missing something?

Last edited by Simon Bridge; 03-01-2009 at 12:59 AM.
 
  


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
NS2 installation problem: no rule to make target 'VERSION' , needed by gen/version.c bilabongster Linux - Newbie 23 12-07-2011 12:54 PM
Help needed for make file problem : make: *** No rule to make target `flash', needed rameshsatyavaram Linux - Newbie 3 09-11-2008 03:13 AM
Belkin Wirless G RTL8185L make[1]: *** No rule to make target `Makefile'. Stop. SilverRock Linux - Wireless Networking 2 02-11-2007 08:25 AM
No rule to make target `-lwrap', needed by `ftpd' seanog07 SUSE / openSUSE 2 07-14-2006 04:21 AM
No rule to make target `/mkspecs/default/qmake.conf', needed by `Makefile'. Stop Julianus Linux - General 0 12-21-2003 08:17 AM


All times are GMT -5. The time now is 08:45 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