Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
make: *** No rule to make target `dep´. Stop.
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Installing Gentoo
View previous topic :: View next topic  
Author Message
/usr/src/linux
n00b
n00b


Joined: 17 Nov 2003
Posts: 2

PostPosted: Mon Nov 17, 2003 4:51 am    Post subject: make: *** No rule to make target `dep´. Stop. Reply with quote

# make dep && make clean bzImage modules modules_install
This is what i try to do, but i get: make: *** No rule to make target `dep´. Stop. Any 1 knows whats wrong here? :cry:
Back to top
View user's profile Send private message
scootersmk
Apprentice
Apprentice


Joined: 17 May 2003
Posts: 186
Location: Knoxville, TN

PostPosted: Mon Nov 17, 2003 5:06 am    Post subject: Reply with quote

what directory are you in?

you need to make sure that you are in the directory of the kernel that you are compiling

make sure that the sym link of /usr/src/linux is pointing to that directory if that is the directory that you are in

what kernel are you compiling? if it is a 2.6 kernel than there is no longer a need to do make dep.
_________________
Long live the gentoo forums!!!!!
Back to top
View user's profile Send private message
/usr/src/linux
n00b
n00b


Joined: 17 Nov 2003
Posts: 2

PostPosted: Mon Nov 17, 2003 5:19 am    Post subject: make dep.... Reply with quote

Thanks for quick reply! im in root directory ,kernel 2.4.20 im in the middle of install, compiling kernel!
Back to top
View user's profile Send private message
scootersmk
Apprentice
Apprentice


Joined: 17 May 2003
Posts: 186
Location: Knoxville, TN

PostPosted: Mon Nov 17, 2003 5:40 am    Post subject: Reply with quote

Code:
cd /usr/src/linux


that should do the trick
_________________
Long live the gentoo forums!!!!!
Back to top
View user's profile Send private message
mukwuknuk
Tux's lil' helper
Tux's lil' helper


Joined: 23 Dec 2003
Posts: 80
Location: Colorado, USA

PostPosted: Thu Jan 01, 2004 7:35 am    Post subject: Reply with quote

scootersmk wrote:
make sure that the sym link of /usr/src/linux is pointing to that directory if that is the directory that you are in.


Make sure what sym link is pointing where? I'm getting the same error even when located in the correct directory. Thanks for any help.
_________________
"If there are back-slashes in your path, you're heading down the wrong path ... backwards."
Back to top
View user's profile Send private message
dol-sen
Retired Dev
Retired Dev


Joined: 30 Jun 2002
Posts: 2805
Location: Richmond, BC, Canada

PostPosted: Thu Jan 01, 2004 8:40 am    Post subject: Reply with quote

You want it to point to the kernel you intend on using.

Code:
cd /usr/src
ls -l

make sure that there is a listing for "linux" and that it is pointing "->" to the directory that has the kernel you desire "/usr/src/linux-2.6.0"

look for a symlink like this one in the listing
Code:

lrwxrwxrwx    1 root     root           27 Dec 23 20:38 linux -> /usr/src/linux-2.6.0-gentoo


e.g. here is my listing

Code:
brian@big_squirt src $ ls -l
total 148
-rw-r--r--    1 root     root        25874 Nov 27 16:49 config.2.6.0
-rw-r--r--    1 root     root        27746 Aug  5 00:50 kernel-2.4.20.works
-rw-r--r--    1 root     root        25377 Aug  4 07:04 kernel.2.4.20
-rw-r--r--    1 root     root        27815 Aug  4 09:34 kernel.2.4.20.b
-rw-r--r--    1 root     root        27275 Aug  4 01:02 kernel.config
lrwxrwxrwx    1 root     root           27 Dec 23 20:38 linux -> /usr/src/linux-2.6.0-gentoo
drwxr-xr-x   16 root     root          624 Dec 23 19:29 linux-2.4.22-gentoo-r2
drwxr-xr-x   14 root     root          544 Dec 29 22:12 linux-2.4.22_pre2-gss
drwxr-xr-x   16 root     root          680 Dec  8 04:07 linux-2.4.23_pre8-gss
drwxr-xr-x   19 root     root         1216 Dec 26 16:02 linux-2.6.0-gentoo
drwxr-xr-x   18 root     root          632 Dec 23 19:45 linux-2.6.0-mm1
drwxr-xr-x   18 root     root         1056 Dec 29 22:06 linux-2.6.0-test10-mm1
lrwxrwxrwx    1 root     root           22 Nov 26 22:27 linux-beta -> linux-2.6.0-test10-mm1


Remember if you are compiling a 2.6.0 kernel you no longer need the command "make dep"

P.S. ignore some of the files in the listing, I still have some mere cleanup to do.
_________________
Brian
Porthole, the Portage GUI frontend irc@freenode: #gentoo-guis, #porthole, Blog
layman, gentoolkit, CoreBuilder, esearch...
Back to top
View user's profile Send private message
mukwuknuk
Tux's lil' helper
Tux's lil' helper


Joined: 23 Dec 2003
Posts: 80
Location: Colorado, USA

PostPosted: Thu Jan 01, 2004 11:20 pm    Post subject: Reply with quote

Got it, thank you (not on 2.6 yet; need to drink a few beers to get up my courage).
_________________
"If there are back-slashes in your path, you're heading down the wrong path ... backwards."
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Installing Gentoo All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum