Thread fe7310ea

please tell me what I am doing wrong

i do steps 1 and 4

and these are my outputs

–2013-04-28 17:48:21– /attachment/r8168-8.023.00.tar.bz2 Resolving www.foxhop.net (www.foxhop.net)… 76.231.160.38 Connecting to www.foxhop.net (www.foxhop.net)|76.231.160.38|:80… connected. HTTP request sent, awaiting response… 200 OK Length: 59857 (58K) [application/x-tar] Saving to: `r8168-8.023.00.tar.bz2.3’

r8168-8.023.00/ r8168-8.023.00/Makefile r8168-8.023.00/src/ r8168-8.023.00/src/Makefile r8168-8.023.00/src/r8168_asf.h r8168-8.023.00/src/rtl_eeprom.c r8168-8.023.00/src/r8168.h r8168-8.023.00/src/r8168_n.c r8168-8.023.00/src/r8168_asf.c r8168-8.023.00/src/rtl_eeprom.h r8168-8.023.00/src/rtltool.h r8168-8.023.00/src/rtltool.c r8168-8.023.00/src/Makefile_linux24x r8168-8.023.00/README r8168-8.023.00/autorun.sh

Check old driver and unload it. Build the module and install /home/adam/r8168-8.023.00/src/r8168_n.c: In function ‘rtl8168_rx_vlan_skb’: /home/adam/r8168-8.023.00/src/r8168_n.c:1702:3: error: implicit declaration of function ‘vlan_hwaccel_receive_skb’ [-Werror=implicit-function-declaration] /home/adam/r8168-8.023.00/src/r8168_n.c: At top level: /home/adam/r8168-8.023.00/src/r8168_n.c:2076:2: error: unknown field ‘get_rx_csum’ specified in initializer /home/adam/r8168-8.023.00/src/r8168_n.c:2076:2: warning: initialization from incompatible pointer type [enabled by default] /home/adam/r8168-8.023.00/src/r8168_n.c:2076:2: warning: (near initialization for ‘rtl8168_ethtool_ops.nway_reset’) [enabled by default] /home/adam/r8168-8.023.00/src/r8168_n.c:2077:2: error: unknown field ‘set_rx_csum’ specified in initializer /home/adam/r8168-8.023.00/src/r8168_n.c:2077:2: warning: initialization from incompatible pointer type [enabled by default] /home/adam/r8168-8.023.00/src/r8168_n.c:2077:2: warning: (near initialization for ‘rtl8168_ethtool_ops.get_link’) [enabled by default] /home/adam/r8168-8.023.00/src/r8168_n.c:2078:2: error: unknown field ‘get_tx_csum’ specified in initializer /home/adam/r8168-8.023.00/src/r8168_n.c:2078:2: warning: initialization from incompatible pointer type [enabled by default] /home/adam/r8168-8.023.00/src/r8168_n.c:2078:2: warning: (near initialization for ‘rtl8168_ethtool_ops.get_eeprom_len’) [enabled by default] /home/adam/r8168-8.023.00/src/r8168_n.c:2079:2: error: unknown field ‘set_tx_csum’ specified in initializer /home/adam/r8168-8.023.00/src/r8168_n.c:2079:2: warning: initialization from incompatible pointer type [enabled by default] /home/adam/r8168-8.023.00/src/r8168_n.c:2079:2: warning: (near initialization for ‘rtl8168_ethtool_ops.get_eeprom’) [enabled by default] /home/adam/r8168-8.023.00/src/r8168_n.c:2080:2: error: unknown field ‘get_sg’ specified in initializer /home/adam/r8168-8.023.00/src/r8168_n.c:2080:2: warning: initialization from incompatible pointer type [enabled by default] /home/adam/r8168-8.023.00/src/r8168_n.c:2080:2: warning: (near initialization for ‘rtl8168_ethtool_ops.set_eeprom’) [enabled by default] /home/adam/r8168-8.023.00/src/r8168_n.c:2081:2: error: unknown field ‘set_sg’ specified in initializer /home/adam/r8168-8.023.00/src/r8168_n.c:2081:2: warning: initialization from incompatible pointer type [enabled by default] /home/adam/r8168-8.023.00/src/r8168_n.c:2081:2: warning: (near initialization for ‘rtl8168_ethtool_ops.get_coalesce’) [enabled by default] /home/adam/r8168-8.023.00/src/r8168_n.c:2083:2: error: unknown field ‘get_tso’ specified in initializer /home/adam/r8168-8.023.00/src/r8168_n.c:2083:14: error: ‘ethtool_op_get_tso’ undeclared here (not in a function) /home/adam/r8168-8.023.00/src/r8168_n.c:2084:2: error: unknown field ‘set_tso’ specified in initializer /home/adam/r8168-8.023.00/src/r8168_n.c:2084:14: error: ‘ethtool_op_set_tso’ undeclared here (not in a function) /home/adam/r8168-8.023.00/src/r8168_n.c: In function ‘rtl8168_netpoll’: /home/adam/r8168-8.023.00/src/r8168_n.c:9610:2: error: implicit declaration of function ‘disable_irq’ [-Werror=implicit-function-declaration] /home/adam/r8168-8.023.00/src/r8168_n.c:9616:2: error: implicit declaration of function ‘enable_irq’ [-Werror=implicit-function-declaration] /home/adam/r8168-8.023.00/src/r8168_n.c: In function ‘rtl8168_init_one’: /home/adam/r8168-8.023.00/src/r8168_n.c:10858:2: error: ‘struct net_device’ has no member named ‘open’ /home/adam/r8168-8.023.00/src/r8168_n.c:10858:2: error: ‘struct net_device’ has no member named ‘hard_start_xmit’ /home/adam/r8168-8.023.00/src/r8168_n.c:10858:2: error: ‘struct net_device’ has no member named ‘get_stats’ /home/adam/r8168-8.023.00/src/r8168_n.c:10858:2: error: ‘struct net_device’ has no member named ‘stop’ /home/adam/r8168-8.023.00/src/r8168_n.c:10858:2: error: ‘struct net_device’ has no member named ‘tx_timeout’ /home/adam/r8168-8.023.00/src/r8168_n.c:10858:2: error: ‘struct net_device’ has no member named ‘set_multicast_list’ /home/adam/r8168-8.023.00/src/r8168_n.c:10858:2: error: ‘struct net_device’ has no member named ‘change_mtu’ /home/adam/r8168-8.023.00/src/r8168_n.c:10858:2: error: ‘struct net_device’ has no member named ‘set_mac_address’ /home/adam/r8168-8.023.00/src/r8168_n.c:10858:2: error: ‘struct net_device’ has no member named ‘do_ioctl’ /home/adam/r8168-8.023.00/src/r8168_n.c:10858:2: error: ‘struct net_device’ has no member named ‘poll_controller’ /home/adam/r8168-8.023.00/src/r8168_n.c:10858:2: error: ‘struct net_device’ has no member named ‘vlan_rx_register’ /home/adam/r8168-8.023.00/src/r8168_n.c: In function ‘rtl8168_open’: /home/adam/r8168-8.023.00/src/r8168_n.c:11020:2: error: implicit declaration of function ‘request_irq’ [-Werror=implicit-function-declaration] /home/adam/r8168-8.023.00/src/r8168_n.c:11020:91: error: ‘IRQF_SHARED’ undeclared (first use in this function) /home/adam/r8168-8.023.00/src/r8168_n.c:11020:91: note: each undeclared identifier is reported only once for each function it appears in /home/adam/r8168-8.023.00/src/r8168_n.c: In function ‘rtl8168_xmit_frags’: /home/adam/r8168-8.023.00/src/r8168_n.c:12284:3: error: incompatible type for argument 1 of ‘lowmem_page_address’ In file included from /usr/src/linux-headers-3.5.0-17-generic/arch/x86/include/asm/pci.h:4:0, from include/linux/pci.h:1342, from /home/adam/r8168-8.023.00/src/r8168_n.c:41: include/linux/mm.h:739:30: note: expected ’const struct page ’ but argument is of type ‘struct ’ /home/adam/r8168-8.023.00/src/r8168_n.c: In function ‘rtl8168_close’: /home/adam/r8168-8.023.00/src/r8168_n.c:12934:3: error: implicit declaration of function ‘free_irq’ [-Werror=implicit-function-declaration] cc1: some warnings being treated as errors make[3]: ** [/home/adam/r8168-8.023.00/src/r8168_n.o] Error 1 make[2]: *** [module/home/adam/r8168-8.023.00/src] Error 2 make[1]: *** [modules] Error 2 make: *** [modules] Error 2