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

Last updated on JULY 04, 2010

Applies to:

Linux OS - Version: 2.6.9 and later   [Release: and later ]
Linux x86
Linux x86-64
Linux Kernel - Version: 2.6.9

Symptoms

Checked for relevance on 2008-09-04.

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