LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - General
User Name
Password
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


Reply
  Search this Thread
Old 12-04-2005, 04:06 PM   #1
iansoundz
Member
 
Registered: Jul 2005
Location: Arlington, VA
Distribution: CentOS 4.1 Kernel 2.6.9-11.EL
Posts: 77

Rep: Reputation: 15
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?
 
Old 12-04-2005, 04:17 PM   #2
j79zlr
Member
 
Registered: Dec 2005
Location: Chicago
Distribution: Gentoo, Slackware, and FreeBSD
Posts: 38

Rep: Reputation: 15
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
 
Old 12-04-2005, 04:20 PM   #3
btmiller
Senior Member
 
Registered: May 2004
Location: In the DC 'burbs
Distribution: Arch, Scientific Linux, Debian, Ubuntu
Posts: 4,290

Rep: Reputation: 378Reputation: 378Reputation: 378Reputation: 378
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.
 
Old 12-04-2005, 05:21 PM   #4
acid_kewpie
Moderator
 
Registered: Jun 2001
Location: UK
Distribution: Gentoo, RHEL, Fedora, Centos
Posts: 43,417

Rep: Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985
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...
 
  


Reply



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 On
HTML code is Off



LinuxQuestions.org > Forums > Linux Forums > Linux - General

All times are GMT -5. The time now is 05:16 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
Open Source Consulting | Domain Registration