View previous topic :: View next topic |
Author |
Message |
/usr/src/linux n00b
Joined: 17 Nov 2003 Posts: 2
|
Posted: Mon Nov 17, 2003 4:51 am Post subject: make: *** No rule to make target `dep´. Stop. |
|
|
# 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? |
|
Back to top |
|
|
scootersmk Apprentice
Joined: 17 May 2003 Posts: 186 Location: Knoxville, TN
|
Posted: Mon Nov 17, 2003 5:06 am Post subject: |
|
|
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 |
|
|
/usr/src/linux n00b
Joined: 17 Nov 2003 Posts: 2
|
Posted: Mon Nov 17, 2003 5:19 am Post subject: make dep.... |
|
|
Thanks for quick reply! im in root directory ,kernel 2.4.20 im in the middle of install, compiling kernel! |
|
Back to top |
|
|
scootersmk Apprentice
Joined: 17 May 2003 Posts: 186 Location: Knoxville, TN
|
Posted: Mon Nov 17, 2003 5:40 am Post subject: |
|
|
that should do the trick _________________ Long live the gentoo forums!!!!! |
|
Back to top |
|
|
mukwuknuk Tux's lil' helper
Joined: 23 Dec 2003 Posts: 80 Location: Colorado, USA
|
Posted: Thu Jan 01, 2004 7:35 am Post subject: |
|
|
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 |
|
|
dol-sen Retired Dev
Joined: 30 Jun 2002 Posts: 2805 Location: Richmond, BC, Canada
|
Posted: Thu Jan 01, 2004 8:40 am Post subject: |
|
|
You want it to point to the kernel you intend on using.
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 |
|
|
mukwuknuk Tux's lil' helper
Joined: 23 Dec 2003 Posts: 80 Location: Colorado, USA
|
Posted: Thu Jan 01, 2004 11:20 pm Post subject: |
|
|
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 |
|
|
|