Skip to contentSkip to conversation

2.5.12 compile error ( e100, Alternate Intel driver )

DISCUSSION Seiichi Nakashima 3 participants 4 messages May 1, 2002

lore
Share & tools
lore
#0 lore raw

Hi.

I compile 2.5.12 without framebuffer console and boot up fine. First I use EtherExpressPro/100 support ( e100, Altrenate Intel driver ), but compile error occured. this driver is default.
I change EtherExpressPro/100 support ( eepro100, original Becker driver ), then compile and boot up fine.

=== compile error EtherExpressPro/100 support ( e100, Altrenate Intel driver ) ===

io_apic.c:221: warning: move' defined but not used drivers/net/net.o: In function e100_diag_config_loopback':
drivers/net/net.o(.text+0x52ff): undefined reference to `e100_phy_reset'
make: *** [vmlinux] Error 1

--------------------------------
Seiichi Nakashima
Email [email protected]
--------------------------------

#1 lore raw
Quoted 6 lines · Seiichi Nakashima

=== compile error EtherExpressPro/100 support ( e100, Altrenate Intel driver ) ===

io_apic.c:221: warning: move' defined but not used drivers/net/net.o: In function e100_diag_config_loopback':
drivers/net/net.o(.text+0x52ff): undefined reference to `e100_phy_reset'
make: *** [vmlinux] Error 1

Remove the __devexit tag from e100_phy_reset()'s definition in drivers/net/e100/e100_phy.c around line 873

I already sent Jeff a patch for this.

Signature · 2 lines
| Dave Jones.        http://www.codemonkey.org.uk
| SuSE Labs
#2 lore raw

Thanks.

I change drivers/net/e100/e100_phy.c at line 876 from void __devexit to void, then I change kernel configuration from eepro100 to e100, compile, and boot up fine.

=====

Quoted 9 lines · Seiichi Nakashima
Quoted 7 lines

=== compile error EtherExpressPro/100 support ( e100, Altrenate Intel driver ) ===

io_apic.c:221: warning: move' defined but not used drivers/net/net.o: In function e100_diag_config_loopback':
drivers/net/net.o(.text+0x52ff): undefined reference to `e100_phy_reset'
make: *** [vmlinux] Error 1

Quoted 10 lines

Remove the __devexit tag from e100_phy_reset()'s definition in drivers/net/e100/e100_phy.c around line 873

I already sent Jeff a patch for this.

Signature · 2 lines
| Dave Jones.        http://www.codemonkey.org.uk
| SuSE Labs

--------------------------------
Seiichi Nakashima
Email [email protected]
--------------------------------

#3 lore raw
In reply to Seiichi Nakashima
Quoted 8 lines · Seiichi Nakashima

Hi.

I compile 2.5.12 without framebuffer console and boot up fine. First I use EtherExpressPro/100 support ( e100, Altrenate Intel driver ), but compile error occured. this driver is default.
I change EtherExpressPro/100 support ( eepro100, original Becker driver ), then compile and boot up fine.

Quoted 7 lines

=== compile error EtherExpressPro/100 support ( e100, Altrenate Intel driver ) ===

io_apic.c:221: warning: move' defined but not used drivers/net/net.o: In function e100_diag_config_loopback':
drivers/net/net.o(.text+0x52ff): undefined reference to `e100_phy_reset'
make: *** [vmlinux] Error 1

this has been fixed and the fix has been sent to Linus.