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> _______________________________________________ click mailing list [email protected] https://amsterdam.lcs.mit.edu/mailman/listinfo/click
