Re: [2.3.99-pre7-3] via-rhine section type conflict

From: William Cordis (whcordis@Talge-254-A.southern.edu)
Date: Wed May 03 2000 - 16:33:15 EST


On Wed, May 03, 2000 at 08:34:08PM +0200, Urban Widmark wrote:
> I don't think this is specific for this particular driver. The table in
> question is exported via the MODULE_DEVICE_TABLE macro and is referenced
> by a 'struct pci_driver'. Nothing else, and that is common for a few
> drivers.
>
> If you try compiling (for example) the eepro100 driver do you get the same
> error?
[snipped from via-rhine.c line 123]
/* These identify the driver base version and may not be removed. */
static const char version1[] __devinitdata =
"via-rhine.c:v1.05-LK1.1.5 5/2/2000 Written by Donald Becker\n";
static const char version2[] __devinitdata =
" http://www.scyld.com/network/via-rhine.html\n";
[end snip]

Removing the const from these two declarations allows the file to compile.
this fits the explanition in http://gcc.gnu.org/ml/gcc/2000-01/msg00823.html
about another instance of problem. I don't think its the final answer but it
works thus far (now to fix the vmscan.c deal).

William Cordis

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.rutgers.edu
Please read the FAQ at http://www.tux.org/lkml/



This archive was generated by hypermail 2b29 : Sun May 07 2000 - 21:00:13 EST