La descomprimí he hice un ls para ver lo que contenía y era esto:
Código:
autorun.sh
log.txt
Makefile
README
src
Código:
./autorun.sh
Código:
Check old driver and unload it.
rmmod r8169
Build the module and install
/home/thork/Escritorio/LAN/r8168-8.026.00/src/r8168_n.c: In function ‘rtl8168_set_features’:
/home/thork/Escritorio/LAN/r8168-8.026.00/src/r8168_n.c:1746:22: error: ‘NETIF_F_HW_VLAN_RX’ undeclared (first use in this function)
if (dev->features & NETIF_F_HW_VLAN_RX)
^
/home/thork/Escritorio/LAN/r8168-8.026.00/src/r8168_n.c:1746:22: note: each undeclared identifier is reported only once for each function it appears in
/home/thork/Escritorio/LAN/r8168-8.026.00/src/r8168_n.c: In function ‘rtl8168_rx_vlan_skb’:
/home/thork/Escritorio/LAN/r8168-8.026.00/src/r8168_n.c:1793:3: error: too few arguments to function ‘__vlan_hwaccel_put_tag’
__vlan_hwaccel_put_tag(skb, swab16(opts2 & 0xffff));
^
In file included from /home/thork/Escritorio/LAN/r8168-8.026.00/src/r8168_n.c:47:0:
include/linux/if_vlan.h:337:31: note: declared here
static inline struct sk_buff *__vlan_hwaccel_put_tag(struct sk_buff *skb,
^
/home/thork/Escritorio/LAN/r8168-8.026.00/src/r8168_n.c: At top level:
/home/thork/Escritorio/LAN/r8168-8.026.00/src/r8168_n.c:2167:2: error: unknown field ‘get_rx_csum’ specified in initializer
.get_rx_csum = rtl8168_get_rx_csum,
^
/home/thork/Escritorio/LAN/r8168-8.026.00/src/r8168_n.c:2167:2: warning: initialization from incompatible pointer type [enabled by default]
/home/thork/Escritorio/LAN/r8168-8.026.00/src/r8168_n.c:2167:2: warning: (near initialization for ‘rtl8168_ethtool_ops.nway_reset’) [enabled by default]
/home/thork/Escritorio/LAN/r8168-8.026.00/src/r8168_n.c:2168:2: error: unknown field ‘set_rx_csum’ specified in initializer
.set_rx_csum = rtl8168_set_rx_csum,
^
/home/thork/Escritorio/LAN/r8168-8.026.00/src/r8168_n.c:2168:2: warning: initialization from incompatible pointer type [enabled by default]
/home/thork/Escritorio/LAN/r8168-8.026.00/src/r8168_n.c:2168:2: warning: (near initialization for ‘rtl8168_ethtool_ops.get_link’) [enabled by default]
/home/thork/Escritorio/LAN/r8168-8.026.00/src/r8168_n.c:2169:2: error: unknown field ‘get_tx_csum’ specified in initializer
.get_tx_csum = rtl8168_get_tx_csum,
^
/home/thork/Escritorio/LAN/r8168-8.026.00/src/r8168_n.c:2169:2: warning: initialization from incompatible pointer type [enabled by default]
/home/thork/Escritorio/LAN/r8168-8.026.00/src/r8168_n.c:2169:2: warning: (near initialization for ‘rtl8168_ethtool_ops.get_eeprom_len’) [enabled by default]
/home/thork/Escritorio/LAN/r8168-8.026.00/src/r8168_n.c:2170:2: error: unknown field ‘set_tx_csum’ specified in initializer
.set_tx_csum = rtl8168_set_tx_csum,
^
/home/thork/Escritorio/LAN/r8168-8.026.00/src/r8168_n.c:2170:2: warning: initialization from incompatible pointer type [enabled by default]
/home/thork/Escritorio/LAN/r8168-8.026.00/src/r8168_n.c:2170:2: warning: (near initialization for ‘rtl8168_ethtool_ops.get_eeprom’) [enabled by default]
/home/thork/Escritorio/LAN/r8168-8.026.00/src/r8168_n.c:2171:2: error: unknown field ‘get_sg’ specified in initializer
.get_sg = ethtool_op_get_sg,
^
/home/thork/Escritorio/LAN/r8168-8.026.00/src/r8168_n.c:2171:2: warning: initialization from incompatible pointer type [enabled by default]
/home/thork/Escritorio/LAN/r8168-8.026.00/src/r8168_n.c:2171:2: warning: (near initialization for ‘rtl8168_ethtool_ops.set_eeprom’) [enabled by default]
/home/thork/Escritorio/LAN/r8168-8.026.00/src/r8168_n.c:2172:2: error: unknown field ‘set_sg’ specified in initializer
.set_sg = ethtool_op_set_sg,
^
/home/thork/Escritorio/LAN/r8168-8.026.00/src/r8168_n.c:2172:2: warning: initialization from incompatible pointer type [enabled by default]
/home/thork/Escritorio/LAN/r8168-8.026.00/src/r8168_n.c:2172:2: warning: (near initialization for ‘rtl8168_ethtool_ops.get_coalesce’) [enabled by default]
/home/thork/Escritorio/LAN/r8168-8.026.00/src/r8168_n.c:2174:2: error: unknown field ‘get_tso’ specified in initializer
.get_tso = ethtool_op_get_tso,
^
/home/thork/Escritorio/LAN/r8168-8.026.00/src/r8168_n.c:2174:14: error: ‘ethtool_op_get_tso’ undeclared here (not in a function)
.get_tso = ethtool_op_get_tso,
^
/home/thork/Escritorio/LAN/r8168-8.026.00/src/r8168_n.c:2175:2: error: unknown field ‘set_tso’ specified in initializer
.set_tso = ethtool_op_set_tso,
^
/home/thork/Escritorio/LAN/r8168-8.026.00/src/r8168_n.c:2175:14: error: ‘ethtool_op_set_tso’ undeclared here (not in a function)
.set_tso = ethtool_op_set_tso,
^
/home/thork/Escritorio/LAN/r8168-8.026.00/src/r8168_n.c:12326:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘rtl8168_init_board’
rtl8168_init_board(struct pci_dev *pdev,
^
/home/thork/Escritorio/LAN/r8168-8.026.00/src/r8168_n.c:12651:2: warning: initialization from incompatible pointer type [enabled by default]
.ndo_fix_features = rtl8168_fix_features,
^
/home/thork/Escritorio/LAN/r8168-8.026.00/src/r8168_n.c:12651:2: warning: (near initialization for ‘rtl8168_netdev_ops.ndo_fix_features’) [enabled by default]
/home/thork/Escritorio/LAN/r8168-8.026.00/src/r8168_n.c:12652:2: warning: initialization from incompatible pointer type [enabled by default]
.ndo_set_features = rtl8168_set_features,
^
/home/thork/Escritorio/LAN/r8168-8.026.00/src/r8168_n.c:12652:2: warning: (near initialization for ‘rtl8168_netdev_ops.ndo_set_features’) [enabled by default]
/home/thork/Escritorio/LAN/r8168-8.026.00/src/r8168_n.c:12661:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘rtl8168_init_one’
rtl8168_init_one(struct pci_dev *pdev,
^
/home/thork/Escritorio/LAN/r8168-8.026.00/src/r8168_n.c:12821:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘rtl8168_remove_one’
rtl8168_remove_one(struct pci_dev *pdev)
^
/home/thork/Escritorio/LAN/r8168-8.026.00/src/r8168_n.c: In function ‘rtl8168_xmit_frags’:
/home/thork/Escritorio/LAN/r8168-8.026.00/src/r8168_n.c:14332:3: error: incompatible type for argument 1 of ‘lowmem_page_address’
addr = ((void *) page_address(frag->page)) + frag->page_offset;
^
In file included from /usr/src/linux-headers-3.13.0-24-generic/arch/x86/include/asm/pci.h:4:0,
from include/linux/pci.h:1487,
from /home/thork/Escritorio/LAN/r8168-8.026.00/src/r8168_n.c:41:
include/linux/mm.h:852:30: note: expected ‘const struct page *’ but argument is of type ‘struct <anonymous>’
static __always_inline void *lowmem_page_address(const struct page *page)
^
/home/thork/Escritorio/LAN/r8168-8.026.00/src/r8168_n.c: At top level:
/home/thork/Escritorio/LAN/r8168-8.026.00/src/r8168_n.c:15209:12: error: ‘rtl8168_init_one’ undeclared here (not in a function)
.probe = rtl8168_init_one,
^
/home/thork/Escritorio/LAN/r8168-8.026.00/src/r8168_n.c:15210:2: error: implicit declaration of function ‘__devexit_p’ [-Werror=implicit-function-declaration]
.remove = __devexit_p(rtl8168_remove_one),
^
/home/thork/Escritorio/LAN/r8168-8.026.00/src/r8168_n.c:15210:25: error: ‘rtl8168_remove_one’ undeclared here (not in a function)
.remove = __devexit_p(rtl8168_remove_one),
^
/home/thork/Escritorio/LAN/r8168-8.026.00/src/r8168_n.c:14859:12: warning: ‘rtl8168_poll’ defined but not used [-Wunused-function]
static int rtl8168_poll(napi_ptr napi, napi_budget budget)
^
/home/thork/Escritorio/LAN/r8168-8.026.00/src/r8168_n.c:817:13: warning: ‘rtl8168_driver_start’ defined but not used [-Wunused-function]
static void rtl8168_driver_start(struct rtl8168_private *tp)
^
/home/thork/Escritorio/LAN/r8168-8.026.00/src/r8168_n.c:836:13: warning: ‘rtl8168_driver_stop’ defined but not used [-Wunused-function]
static void rtl8168_driver_stop(struct rtl8168_private *tp)
^
/home/thork/Escritorio/LAN/r8168-8.026.00/src/r8168_n.c:1125:1: warning: ‘rtl8168_xmii_reset_pending’ defined but not used [-Wunused-function]
rtl8168_xmii_reset_pending(struct net_device *dev)
^
/home/thork/Escritorio/LAN/r8168-8.026.00/src/r8168_n.c:1140:1: warning: ‘rtl8168_xmii_link_ok’ defined but not used [-Wunused-function]
rtl8168_xmii_link_ok(struct net_device *dev)
^
/home/thork/Escritorio/LAN/r8168-8.026.00/src/r8168_n.c:1152:1: warning: ‘rtl8168_xmii_reset_enable’ defined but not used [-Wunused-function]
rtl8168_xmii_reset_enable(struct net_device *dev)
^
/home/thork/Escritorio/LAN/r8168-8.026.00/src/r8168_n.c:1285:1: warning: ‘rtl8168_link_option’ defined but not used [-Wunused-function]
rtl8168_link_option(int idx,
^
/home/thork/Escritorio/LAN/r8168-8.026.00/src/r8168_n.c:1526:1: warning: ‘rtl8168_set_speed_xmii’ defined but not used [-Wunused-function]
rtl8168_set_speed_xmii(struct net_device *dev,
^
/home/thork/Escritorio/LAN/r8168-8.026.00/src/r8168_n.c:1821:13: warning: ‘rtl8168_gset_xmii’ defined but not used [-Wunused-function]
static void rtl8168_gset_xmii(struct net_device *dev,
^
/home/thork/Escritorio/LAN/r8168-8.026.00/src/r8168_n.c:2159:27: warning: ‘rtl8168_ethtool_ops’ defined but not used [-Wunused-variable]
static struct ethtool_ops rtl8168_ethtool_ops = {
^
/home/thork/Escritorio/LAN/r8168-8.026.00/src/r8168_n.c:2504:12: warning: ‘rtl8168_get_mac_version’ defined but not used [-Wunused-function]
static int rtl8168_get_mac_version(struct rtl8168_private *tp, void __iomem *ioaddr)
^
/home/thork/Escritorio/LAN/r8168-8.026.00/src/r8168_n.c:2603:1: warning: ‘rtl8168_print_mac_version’ defined but not used [-Wunused-function]
rtl8168_print_mac_version(struct rtl8168_private *tp)
^
/home/thork/Escritorio/LAN/r8168-8.026.00/src/r8168_n.c:2645:1: warning: ‘rtl8168_hw_phy_config’ defined but not used [-Wunused-function]
rtl8168_hw_phy_config(struct net_device *dev)
^
/home/thork/Escritorio/LAN/r8168-8.026.00/src/r8168_n.c:11485:1: warning: ‘rtl8168_release_board’ defined but not used [-Wunused-function]
rtl8168_release_board(struct pci_dev *pdev,
^
/home/thork/Escritorio/LAN/r8168-8.026.00/src/r8168_n.c:12606:17: warning: ‘rtl8168_try_msi’ defined but not used [-Wunused-function]
static unsigned rtl8168_try_msi(struct pci_dev *pdev, void __iomem *ioaddr)
^
cc1: some warnings being treated as errors
make[3]: *** [/home/thork/Escritorio/LAN/r8168-8.026.00/src/r8168_n.o] Error 1
make[2]: *** [_module_/home/thork/Escritorio/LAN/r8168-8.026.00/src] Error 2
make[1]: *** [modules] Error 2
make: *** [modules] Error 2
Entonces ejecuto un make y me da el mismo error, después intento ejecutar un make install e igualmente, ¿alguien puede darme una orientacion acerca de esto?
En cuanto ejecuto el .autorun.sh la conexion ethernet se desconecta y me quedo sin internet, un poco raro no? :S gracias a todos de antemano.