Messages in this thread |  | | From | Sebastian Huber <> | Subject | Re: modversion.h improvement suggestion | Date | Sun, 5 May 2002 18:36:34 +0200 |
| |
On Sunday 05 May 2002 18:19, you wrote: > On Sun, 5 May 2002, Sebastian Huber wrote: > > 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. > > you should include module.h in any case - this also includes modversions.h > (if you compile your kernel/module with MODVERSIONS enabled) > > ++dent
They include modules.h, but if modversion.h doesn't exist you get of course the error that the file cannot be found. And if you don't play every day with the kernel this information alone don't help you very much. So an appropriate message might help you.
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/
|  |