[lkml]   [2002]   [Sep]   [7]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
Messages in this thread
Subjectclean before or after dep?
I'm having a problem building a Red Hat kernel

It looks a lot like:

The error message is:
make[4]: *** No rule to make target `/usr/src/linux-2.4.18-10/drivers/pci/devlist.h', needed by `names.o'. Stop.

The fix proposed in <>
is to reverse the order of clean and dep:

a kind soul pointed out that I should do:

make clean dep
make bzimage

instead. Works. Learned a new trick :-)

Now this seems to contradict
which specifies, in step 5:
bash# make dep
bash# make clean

Which is the right order for clean and dep?

I've always assumed that they could be combined, as in:
bash# make dep clean
Am I wrong?

Where is this documented?

Hugh Redelmeier voice: +1 416 482-8253

To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to
More majordomo info at
Please read the FAQ at

 \ /
  Last update: 2005-03-22 13:22    [W:0.075 / U:1.984 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site