modversion.h improvement suggestion

Sebastian Huber (sebastian-huber@web.de)
Sun, 5 May 2002 18:00:51 +0200


Hello,
I tried to compile a device driver module and got the error that
'modversion.h' cannot be found. My first questions were:
Are the include paths ok?
Do the maintainer now what he or she is doing?
Uses this driver code obsolete kernel stuff?
Has SuSE forgotten something to install?
Then I started a google search for 'modversion.h' and noticed that this was a
common problem. And after a while I found the solution -> modversion.h is an
automatically generated file.

So what about a default modversion.h file:
/* This is an automatically generated file. Do not edit it. */
#error You have not generated the module versions. You have to ...

This hint may save some time for those who are not so fit in kernel issues.

Ciao
Sebastian

PS:
I'm not a member of this mailing list, so please cc me mails related to that
subject.
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/