mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
* misleading kernel config error msg when building module against kernel
@ 2010-06-18 21:25 Robert P. J. Day
  0 siblings, 0 replies; only message in thread
From: Robert P. J. Day @ 2010-06-18 21:25 UTC (permalink / raw)
  To: Linux Kernel Mailing List


  when one tries to build a simple module against a "make distclean"ed
source tree, one gets:

 ERROR: Kernel configuration is invalid.
         include/generated/autoconf.h or include/config/auto.conf are missing.
         Run 'make oldconfig && make prepare' on kernel src to fix it.

that diagnostic seems inaccurate in two ways.

  first, "make oldconfig" is unnecessarily specific -- it should
really just say, "you must configure your kernel source first."

  and second, "make prepare" should really say "make modules_prepare",
should it not?

  anyone mind if i submit a patch?

rday

-- 

========================================================================
Robert P. J. Day                               Waterloo, Ontario, CANADA

        Top-notch, inexpensive online Linux/OSS/kernel courses
                        http://crashcourse.ca

Twitter:                                       http://twitter.com/rpjday
LinkedIn:                               http://ca.linkedin.com/in/rpjday
========================================================================

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2010-06-18 21:25 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2010-06-18 21:25 misleading kernel config error msg when building module against kernel Robert P. J. Day

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

all inboxes | Powered by JetHome®