LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Debian (http://www.linuxquestions.org/questions/debian-26/)
-   -   Source Directory for Target Kernel (http://www.linuxquestions.org/questions/debian-26/source-directory-for-target-kernel-447350/)

halfpower 05-22-2006 09:02 AM

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?

halfpower 05-22-2006 10: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.

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#


All times are GMT -5. The time now is 10:50 PM.