2003-02-09 08:49:25

by Petr Kulhavy

[permalink] [raw]
Subject: 3c509 driver doesn't compile in 2.5.59

Hello.

When I turn on 3c509 support in 2.5.59 kernel and try to compile, I get:

gcc -Wp,-MD,drivers/net/.3c509.o.d -D__KERNEL__ -Iinclude -Wall
-Wstrict-prototypes -Wno-trigraphs -O2 -fno-strict-aliasing -fno-common -pipe
-mpreferred-stack-boundary=2 -march=k6 -Iinclude/asm-i386/mach-default
-nostdinc -iwithprefix include -DKBUILD_BASENAME=3c509
-DKBUILD_MODNAME=3c509 -c -o drivers/net/3c509.o drivers/net/3c509.c
drivers/net/3c509.c: In function `el3_probe':
drivers/net/3c509.c:479: warning: `__check_region' is deprecated (declared at
include/linux/ioport.h:111)
drivers/net/3c509.c: In function `el3_close':
drivers/net/3c509.c:1083: structure has no member named `edev'
make[2]: *** [drivers/net/3c509.o] Error 1
make[1]: *** [drivers/net] Error 2
make: *** [drivers] Error 2

I'm not able to attach my config file because you'r mailing system rejects the
mail even when I put the config into body of the message.

Brain

--------------------------------
Petr `Brain' Kulhavy
<[email protected]>
http://artax.karlin.mff.cuni.cz/~brain
Faculty of Mathematics and Physics, Charles University Prague, Czech Republic

---
Mr. Cole's Axiom:
The sum of the intelligence on the planet is a constant; the
population is growing.





2003-02-09 09:45:05

by Marc Zyngier

[permalink] [raw]
Subject: Re: 3c509 driver doesn't compile in 2.5.59

>>>>> "brain" == brain <[email protected]> writes:

brain> Hello.
brain> When I turn on 3c509 support in 2.5.59 kernel and try to compile, I get:

[snip]

You need to update to the latest BK patches (so you get the MCA
stuff), and then apply the patch I sent to the list yesterday.

brain> I'm not able to attach my config file because you'r mailing
brain> system rejects the mail even when I put the config into body of
brain> the message.

Nope. Your messages made it to the list, 4 times.
The messages you get is from some very annoying badly configured
machine from linuxgroup.net, which hit me twice yesterday...

M.
--
Places change, faces change. Life is so very strange.