[Click] Unable to patch e1000 for Linux 2.6.24.7

Martti Kuparinen martti.kuparinen at iki.fi
Mon Feb 8 06:47:31 EST 2010


Adam Greenhalgh wrote:
> change CFLAGS to EXTRA_CFLAGS in the makefile to fix this.

I didn't spend much time on this but after replacing CFLAGS, I get this. 
So the question remains, what is the right way to compile kernel with 
proper e1000 support?

Martti


ROOT router:~/e1000-7.3.20/src> make
make -C /lib/modules/2.6.24.7/build SUBDIRS=/root/e1000-7.3.20/src modules
make[1]: Entering directory `/root/linux-2.6.24.7'
   CC [M]  /root/e1000-7.3.20/src/e1000_main.o
/root/e1000-7.3.20/src/e1000_main.c: In function ‘e1000_update_mng_vlan’:
/root/e1000-7.3.20/src/e1000_main.c:446: error: ‘struct vlan_group’ has 
no member named ‘vlan_devices’
/root/e1000-7.3.20/src/e1000_main.c:456: error: ‘struct vlan_group’ has 
no member named ‘vlan_devices’
/root/e1000-7.3.20/src/e1000_main.c: In function ‘e1000_up’:
/root/e1000-7.3.20/src/e1000_main.c:625: error: implicit declaration of 
function ‘netif_poll_enable’
/root/e1000-7.3.20/src/e1000_main.c: In function ‘e1000_down’:
/root/e1000-7.3.20/src/e1000_main.c:722: error: implicit declaration of 
function ‘netif_poll_disable’
/root/e1000-7.3.20/src/e1000_main.c: In function ‘e1000_probe’:
/root/e1000-7.3.20/src/e1000_main.c:983: error: implicit declaration of 
function ‘SET_MODULE_OWNER’
/root/e1000-7.3.20/src/e1000_main.c:1025: error: ‘struct net_device’ has 
no member named ‘poll’
/root/e1000-7.3.20/src/e1000_main.c:1026: error: ‘struct net_device’ has 
no member named ‘weight’
/root/e1000-7.3.20/src/e1000_main.c:1169:45: error: macro "INIT_WORK" 
passed 3 arguments, but takes just 2
/root/e1000-7.3.20/src/e1000_main.c:1168: error: ‘INIT_WORK’ undeclared 
(first use in this function)

<Lots of errors removed>





More information about the click mailing list