On Tue, Sep 05, 2006 at 05:47:25PM +0400, Kirill Korotaev wrote:ok. is it ok for you to introduce new Make target 'modules_check'?
At stage 2 modpost utility is used to check modules.
In case of unresolved symbols modpost only prints warning.
IMHO it is a good idea to fail compilation process in case of
unresolved symbols, since usually such errors are left unnoticed,
but kernel modules are broken.
The primary reason why we do not fail in this case is that building
external modules often result in unresolved symbols at modpost time.
And there is many legitime uses of external modules that we shall support.