netdev
[Top] [All Lists]

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

To: "John W. Linville" <linville@xxxxxxxxxxxxx>
Subject: Re: [patch 2.6.9 9/11] r8169: Add MODULE_VERSION
From: "Richard B. Johnson" <root@xxxxxxxxxxxxxxxxxx>
Date: Thu, 21 Oct 2004 08:33:51 -0400 (EDT)
Cc: netdev@xxxxxxxxxxx, Linux kernel <linux-kernel@xxxxxxxxxxxxxxx>, jgarzik@xxxxxxxxx, romieu@xxxxxxxxxxxxx
In-reply-to: <20041020155938.T8775@tuxdriver.com>
References: <20041020141146.C8775@tuxdriver.com> <20041020142858.L8775@tuxdriver.com> <Pine.LNX.4.61.0410201629120.6918@chaos.analogic.com> <20041020155938.T8775@tuxdriver.com>
Reply-to: root@xxxxxxxxxxxxxxxxxx
Sender: netdev-bounce@xxxxxxxxxxx
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

<Prev in Thread] Current Thread [Next in Thread>