LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   'make' command not working in redhat 9 (https://www.linuxquestions.org/questions/linux-newbie-8/make-command-not-working-in-redhat-9-a-430064/)

sparrott 03-30-2006 11:58 AM

'make' command not working in redhat 9
 
Hi,

I'm running redhat 9 and trying to make some files. I'm installing a belkin wireless desktop network card and the ways I've found to do this are ndiswrapper and downloading the rt2500 drivers. In both cases I get to a point where I have to use 'make'. I'll talk about the drivers error because it's shorter!

When I try to make using 'make -f Makefile' I get a message to say
The present kernel configuration has modules disabled. Type 'make config' and enable loadable module support. Then build a kernel with module support enabled.

make[1]: *** [modules] Error 1
leaving directory '/usr/src/linux-2.4.20-31.9'
rt2500.o failed to build!


If I then type 'make config' I get
make: *** No rule to make target 'config'. Stop.

There isn't a file called config in the directory I'm in, but there is one called 'Makefile'.

All help much appreciated!

Thanks!

masonm 03-30-2006 02:49 PM

In the kernel source directory, as root, try "make menuconfig"


All times are GMT -5. The time now is 07:20 PM.