public inbox for linux-kbuild@vger.kernel.org
 help / color / mirror / Atom feed
* Misbehaviour with "make foo.ko"
@ 2011-02-17 16:49 Alan Cox
  2011-02-17 22:31 ` Michal Marek
  0 siblings, 1 reply; 2+ messages in thread
From: Alan Cox @ 2011-02-17 16:49 UTC (permalink / raw)
  To: mmarek, linux-kbuild

Trying to rebuild single modules gets into a mess

[alan@pyx linux-psbdev]$ make drivers/staging/mrst/pvr/psb_gfx.ko
  CHK     include/linux/version.h
  CHK     include/generated/utsrelease.h
  CALL    scripts/checksyscalls.sh
  CC [M]  drivers/staging/mrst/pvr/../drv/psb_fb.o
  CC [M]  drivers/staging/mrst/pvr/../drv/psb_intel_lvds.o
  LD [M]  drivers/staging/mrst/pvr/psb_gfx.o
  MODPOST 1 modules
ERROR: "ttm_object_device_release" [drivers/staging/mrst/pvr/psb_gfx.ko]
undefined!
ERROR ...



The box has lots of modules but it seems the MODPOST stage when you build
a single .ko target erroneously only gets processed for that module,
which goes wrong as a result.

Alan

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2011-02-17 22:32 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2011-02-17 16:49 Misbehaviour with "make foo.ko" Alan Cox
2011-02-17 22:31 ` Michal Marek

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