Attempting To Build Linux Kernel Or Device Driver Gets Make(1) Error

(Doc ID 401544.1)

Last updated on JANUARY 17, 2018

Applies to:

Linux OS - Version 2.6.9 and later
Linux x86
Linux x86-64
Linux Kernel - Version: 2.6.9
Checked for relevance on 17-Jan-2018.
Checked for relevance on 2008-09-04.

Symptoms


You have the source code to a device driver, but when you try to build a kernel module, you see an error from make(1) similar to:

# make V=1 -C/lib/modules/2.6.9-42.ELsmp/build M=/path/to/driver/directory modules
make[1]: *** No rule to make target `modules'.
Stop.

Cause

Sign In with your My Oracle Support account

Don't have a My Oracle Support account? Click to get started

My Oracle Support provides customers with access to over a
Million Knowledge Articles and hundreds of Community platforms