Linux - General This Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place. |
Notices |
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
Are you new to LinuxQuestions.org? Visit the following links:
Site Howto |
Site FAQ |
Sitemap |
Register Now
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
|
 |
12-04-2005, 04:06 PM
|
#1
|
Member
Registered: Jul 2005
Location: Arlington, VA
Distribution: CentOS 4.1 Kernel 2.6.9-11.EL
Posts: 77
Rep:
|
Please help!
All I want to do is this:
make -C /usr/src/linux- 'uname -r' SUBDIRS='pwd' modules
I can't do it because /usr/src/linux blah blah is not there. How can I do this?
|
|
|
12-04-2005, 04:17 PM
|
#2
|
Member
Registered: Dec 2005
Location: Chicago
Distribution: Gentoo, Slackware, and FreeBSD
Posts: 38
Rep:
|
Why are you using that command? If you want though, create a symlink to your kernel source.
ln -s /usr/src/linux-version-number /usr/src/linux
When installing the new kernels [version 2.6] you only need to do:
cd /usr/src/linux
make && make modules_install
|
|
|
12-04-2005, 04:20 PM
|
#3
|
Senior Member
Registered: May 2004
Location: In the DC 'burbs
Distribution: Arch, Scientific Linux, Debian, Ubuntu
Posts: 4,290
|
You probably don't have your kernel source installed in /usr/src/linux-`uname -r`. According to your profile, you're running a 2.6 kernel on a RH9 system, so you or someone must've done some custom tweaking to the system since RH9 used a 2.4 kernel by default. You need replace the /usr/src etc. part with the actual location of your kernel source.
Oh, and please use more descriptive subject headers. "Please help!" doesn't give anyone who might want to respond to your post any idea of what your post is about.
|
|
|
12-04-2005, 05:21 PM
|
#4
|
Moderator
Registered: Jun 2001
Location: UK
Distribution: Gentoo, RHEL, Fedora, Centos
Posts: 43,417
|
Please do not post the same thread in more than one forum. Picking the most relevant forum and posting it once there makes it easier for other members to help you and keeps the discussion all in one place.
http://www.linuxquestions.org/rules.php
also, that's a really really bad title...
|
|
|
All times are GMT -5. The time now is 04:18 PM.
|
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.
|
Latest Threads
LQ News
|
|