RE: Module compiling issue

From: Scott Bardone
Date: Wed Mar 23 2005 - 13:04:19 EST


Andy,
These Makefiles are not written as a stand-alone make, they are for the kernel to build the objects. If you want the modules built, just run "make modules" from the top-level kernel after configuring the drivers to be built as modules.

Scott Bardone
Chelsio Communications


-----Original Message-----
From: linux-kernel-owner@xxxxxxxxxxxxxxx on behalf of AndyLiebman@xxxxxxx
Sent: Wed 3/23/2005 9:38 AM
To: linux-kernel@xxxxxxxxxxxxxxx
Cc:
Subject: Module compiling issue
I know this isn't the best place to ask this question -- it's kind of a
newbie question -- but I'm very frustrated.

Ever since I started using the 2.6.9 kernel and above, I have had frequent
troubles compiling drivers AFTER the new kernel is installed and booted up.

In other words, no issue compiling the kernel itself, as well as all the
modules. But then, if I try to compile a module later (i.e., 3ware 9xxx driver
or Chelsio 10 Gigabit NIC driver), when I type:

"make" or "make -f Makefile" I get back an error:

"No rule to make target 'for' " or "No rule to make target 'driver' ".
Have I missed configuring something in the kernel. I have gotten this to work
once with the 2.6.10 kernel, but I don't know what I did differently then.

I would appreciate your help here.

Andy Liebman

-
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/



-
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/