Download your favorite Linux distribution at LQ ISO.
Go Back > Forums > Linux Forums > Linux - Distributions > Debian
User Name
Debian This forum is for the discussion of Debian Linux.


  Search this Thread
Old 05-22-2006, 10:02 AM   #1
Registered: Jul 2005
Distribution: Slackware
Posts: 205

Rep: Reputation: 30
Source Directory for Target Kernel

I'm installing a wireless driver and here is one of the installation instructions.
b. $make -C /path/to/source SUBDIRS=$PWD modules

Where /path/to/source is the path to the source directory for the (configured and built) target kernel.
Is "/path/to/source" just /usr/src? Do I actually need to have the kernel source on hand in this directory?
Old 05-22-2006, 11:48 AM   #2
Registered: Jul 2005
Distribution: Slackware
Posts: 205

Original Poster
Rep: Reputation: 30
I installed the kernel source. But I'm still having trouble with the command above. Apparently I need a .config file. Any help is appreciated. This is all taking too much effort.

A3001:/home/halfpower/RT2500-Linux-STA- make -C /usr/src/kernel-source-2.6.8/ SUBDIRS=$PWD modules
make: Entering directory `/usr/src/kernel-source-2.6.8'
Makefile:418: .config: No such file or directory
CC [M] /home/halfpower/RT2500-Linux-STA-
cc1: error: code model `kernel' not supported in the 32 bit mode
make[1]: *** [/home/halfpower/RT2500-Linux-STA-] Error 1
make: *** [_module_/home/halfpower/RT2500-Linux-STA-] Error 2
make: Leaving directory `/usr/src/kernel-source-2.6.8'


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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

Similar Threads
Thread Thread Starter Forum Replies Last Post
Kernel source directory way too large Ahmed Linux - Software 3 12-28-2005 07:27 AM
where is linux source build directory/kernel source tree? webazoid Linux - Software 2 07-01-2004 09:37 PM
where is my kernel source directory? Veivann Linux - Newbie 3 02-19-2004 04:15 PM
Where is the kernel source directory in Libranet? seppe Debian 1 09-21-2003 10:40 AM
samba + target directory robyso Linux - Networking 0 07-11-2003 06:07 AM > Forums > Linux Forums > Linux - Distributions > Debian

All times are GMT -5. The time now is 11:40 AM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration