-   Debian (
-   -   Source Directory for Target Kernel (

halfpower 05-22-2006 10:02 AM

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?

halfpower 05-22-2006 11:48 AM

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'

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