Re: [patch 2.6.9 9/11] r8169: Add MODULE_VERSION

From: Richard B. Johnson
Date: Thu Oct 21 2004 - 08:00:40 EST


On Wed, 20 Oct 2004, John W. Linville wrote:

On Wed, Oct 20, 2004 at 04:34:45PM -0400, Richard B. Johnson wrote:

This makes warning error about :

Warning: could not find versions for .tmp_versions/r8169.mod

Do I have to enable something in .config (like CONFIG_MODVERSIONS)?
If so, how does one make this transparent, to get rid of the
warning if CONFIG_MODVERSIONS is not set?

Odd...I don't get any such warning, with or without
CONFIG_MODVERSIONS...

MODULE_VERSION is used elsewhere -- do you get that warning
from any other modules? Was this from a clean build?

Send me your .config, and I'll look into it.

Thanks,

John

It's a generic problem with compiling modules outside of
the kernel. The attached module, complete with its Makefile
shows the problem.

We really need to fix such problems because, to use the
same kernel for a development effort means that the kernel
sources are on some NFS server, not writable by developers.
They have write permissions only for their own workstations.
Therefore, one can't copy their sources to the kernel tree,
modify .config and then develop their modules.

Cheers,
Dick Johnson
Penguin : Linux version 2.6.9 on an i686 machine (5537.79 GrumpyMips).
98.36% of all statistics are fiction.

Attachment: demo.tar.gz
Description: GNU Zip compressed data