Re: No rule to make target 'modules'

From: Robert Hancock
Date: Fri May 06 2005 - 18:39:46 EST


Kevin Crofts wrote:
Hi,
I'm a complete Newbie to Linux and I am trying to compile a driver and
application on Red Hat 9.0. I have installed Red Hat 9.0 without GUI
and only development tools. I have installed the source code from Disk2
- Kernel-source-2.4.20-8.I386.rpm.
I then ran
make mrproper
I removed 'custom' from the Makefile in /usr/drc/linux-2.4.20-8/Makefile
EXTRAVERSION = -8custom

Don't do this, you'll trash your existing kernel.

I then ran
make oldconfig
make dep
make modules && make modules_install
I can see files in /lib/modules/2.3.20-8/build and also I can see Rules.make
in this folder.
When I run Make in the application folder I get the following error:
No rule to make target 'modules'.

What application folder?

--
Robert Hancock Saskatoon, SK, Canada
To email, remove "nospam" from hancockr@xxxxxxxxxxxxx
Home Page: http://www.roberthancock.com/

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/