Skip to contentSkip to conversation

No rule to make target 'modules'

DISCUSSION Robert Hancock 1 participant 1 message May 6, 2005 1 message not in the archive

lore
Share & tools
lore

A message that is not in the archive (sent off-list or not yet received): [email protected]

#1 lore raw
Quoted 9 lines · Kevin Crofts

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.

Quoted 8 lines

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?

Signature · 3 lines
Robert Hancock      Saskatoon, SK, Canada
To email, remove "nospam" from [email protected]
Home Page: http://www.roberthancock.com/