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

Notices

Reply
 
Search this Thread
Old 05-22-2006, 09:02 AM   #1
halfpower
Member
 
Registered: Jul 2005
Distribution: Slackware
Posts: 198

Rep: Reputation: 30
Source Directory for Target Kernel


I'm installing a wireless driver and here is one of the installation instructions.
Quote:
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, 10:48 AM   #2
halfpower
Member
 
Registered: Jul 2005
Distribution: Slackware
Posts: 198

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.

Quote:
A3001:/home/halfpower/RT2500-Linux-STA-1.4.6.4/Module# 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-1.4.6.4/Module/rtmp_main.o
cc1: error: code model `kernel' not supported in the 32 bit mode
make[1]: *** [/home/halfpower/RT2500-Linux-STA-1.4.6.4/Module/rtmp_main.o] Error 1
make: *** [_module_/home/halfpower/RT2500-Linux-STA-1.4.6.4/Module] Error 2
make: Leaving directory `/usr/src/kernel-source-2.6.8'
A3001:/home/halfpower/RT2500-Linux-STA-1.4.6.4/Module#
 
  


Reply


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 06:27 AM
where is linux source build directory/kernel source tree? webazoid Linux - Software 2 07-01-2004 08:37 PM
where is my kernel source directory? Veivann Linux - Newbie 3 02-19-2004 03:15 PM
Where is the kernel source directory in Libranet? seppe Debian 1 09-21-2003 09:40 AM
samba + target directory robyso Linux - Networking 0 07-11-2003 05:07 AM


All times are GMT -5. The time now is 04:07 AM.

Main Menu
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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration