NoPaste

Fehler r8168-8.019.00

von halo44

SNIPPET_TEXT:
  1. root@dt-debian:/Daten-1/Software-Downloads/r8168-8.019.00# ./autorun.sh
  2.  
  3. Check old driver and unload it.
  4. Build the module and install
  5. /Daten-1/Software-Downloads/r8168-8.019.00/src/r8168_n.c:1918:3: error: ‘struct ethtool_ops’ has no member named ‘get_rx_csum’; did you mean ‘get_regs’?
  6.   .get_rx_csum  = rtl8168_get_rx_csum,
  7.    ^~~~~~~~~~~
  8.    get_regs
  9. /Daten-1/Software-Downloads/r8168-8.019.00/src/r8168_n.c:1918:18: error: initialization of ‘int (*)(struct net_device *)’ from incompatible pointer type ‘u32 (*)(struct net_device *)’ {aka ‘unsigned int (*)(struct net_device *)’} [-Werror=incompatible-pointer-types]
  10.   .get_rx_csum  = rtl8168_get_rx_csum,
  11.                   ^~~~~~~~~~~~~~~~~~~
  12. /Daten-1/Software-Downloads/r8168-8.019.00/src/r8168_n.c:1918:18: note: (near initialization for ‘rtl8168_ethtool_ops.nway_reset’)
  13. /Daten-1/Software-Downloads/r8168-8.019.00/src/r8168_n.c:1919:3: error: ‘struct ethtool_ops’ has no member named ‘set_rx_csum’; did you mean ‘set_rxnfc’?
  14.   .set_rx_csum  = rtl8168_set_rx_csum,
  15.    ^~~~~~~~~~~
  16.    set_rxnfc
  17. /Daten-1/Software-Downloads/r8168-8.019.00/src/r8168_n.c:1919:18: error: initialization of ‘u32 (*)(struct net_device *)’ {aka ‘unsigned int (*)(struct net_device *)’} from incompatible pointer type ‘int (*)(struct net_device *, u32)’ {aka ‘int (*)(struct net_device *, unsigned int)’} [-Werror=incompatible-pointer-types]
  18.   .set_rx_csum  = rtl8168_set_rx_csum,
  19.                   ^~~~~~~~~~~~~~~~~~~
  20. /Daten-1/Software-Downloads/r8168-8.019.00/src/r8168_n.c:1919:18: note: (near initialization for ‘rtl8168_ethtool_ops.get_link’)
  21. /Daten-1/Software-Downloads/r8168-8.019.00/src/r8168_n.c:1920:3: error: ‘struct ethtool_ops’ has no member named ‘get_tx_csum’; did you mean ‘get_ts_info’?
  22.   .get_tx_csum  = rtl8168_get_tx_csum,
  23.    ^~~~~~~~~~~
  24.    get_ts_info
  25. /Daten-1/Software-Downloads/r8168-8.019.00/src/r8168_n.c:1920:18: error: initialization of ‘int (*)(struct net_device *)’ from incompatible pointer type ‘u32 (*)(struct net_device *)’ {aka ‘unsigned int (*)(struct net_device *)’} [-Werror=incompatible-pointer-types]
  26.   .get_tx_csum  = rtl8168_get_tx_csum,
  27.                   ^~~~~~~~~~~~~~~~~~~
  28. /Daten-1/Software-Downloads/r8168-8.019.00/src/r8168_n.c:1920:18: note: (near initialization for ‘rtl8168_ethtool_ops.get_eeprom_len’)
  29. /Daten-1/Software-Downloads/r8168-8.019.00/src/r8168_n.c:1921:3: error: ‘struct ethtool_ops’ has no member named ‘set_tx_csum’
  30.   .set_tx_csum  = rtl8168_set_tx_csum,
  31.    ^~~~~~~~~~~
  32. /Daten-1/Software-Downloads/r8168-8.019.00/src/r8168_n.c:1921:18: error: initialization of ‘int (*)(struct net_device *, struct ethtool_eeprom *, u8 *)’ {aka ‘int (*)(struct net_device *, struct ethtool_eeprom *, unsigned char *)’} from incompatible pointer type ‘int (*)(struct net_device *, u32)’ {aka ‘int (*)(struct net_device *, unsigned int)’} [-Werror=incompatible-pointer-types]
  33.   .set_tx_csum  = rtl8168_set_tx_csum,
  34.                   ^~~~~~~~~~~~~~~~~~~
  35. /Daten-1/Software-Downloads/r8168-8.019.00/src/r8168_n.c:1921:18: note: (near initialization for ‘rtl8168_ethtool_ops.get_eeprom’)
  36. /Daten-1/Software-Downloads/r8168-8.019.00/src/r8168_n.c:1922:3: error: ‘struct ethtool_ops’ has no member named ‘get_sg’; did you mean ‘get_regs’?
  37.   .get_sg   = ethtool_op_get_sg,
  38.    ^~~~~~
  39.    get_regs
  40. /Daten-1/Software-Downloads/r8168-8.019.00/src/r8168_n.c:1886:27: error: initialization of ‘int (*)(struct net_device *, struct ethtool_eeprom *, u8 *)’ {aka ‘int (*)(struct net_device *, struct ethtool_eeprom *, unsigned char *)’} from incompatible pointer type ‘u32 (*)(struct net_device *)’ {aka ‘unsigned int (*)(struct net_device *)’} [-Werror=incompatible-pointer-types]
  41.  #define ethtool_op_get_sg _kc_ethtool_op_get_sg
  42.                           ^~~~~~~~~~~~~~~~~~~~~
  43. /Daten-1/Software-Downloads/r8168-8.019.00/src/r8168_n.c:1922:14: note: in expansion of macro ‘ethtool_op_get_sg’
  44.   .get_sg   = ethtool_op_get_sg,
  45.               ^~~~~~~~~~~~~~~~~
  46. /Daten-1/Software-Downloads/r8168-8.019.00/src/r8168_n.c:1886:27: note: (near initialization for ‘rtl8168_ethtool_ops.set_eeprom’)
  47.  #define ethtool_op_get_sg _kc_ethtool_op_get_sg
  48.                           ^~~~~~~~~~~~~~~~~~~~~
  49. /Daten-1/Software-Downloads/r8168-8.019.00/src/r8168_n.c:1922:14: note: in expansion of macro ‘ethtool_op_get_sg’
  50.   .get_sg   = ethtool_op_get_sg,
  51.               ^~~~~~~~~~~~~~~~~
  52. /Daten-1/Software-Downloads/r8168-8.019.00/src/r8168_n.c:1923:3: error: ‘struct ethtool_ops’ has no member named ‘set_sg’; did you mean ‘set_wol’?
  53.   .set_sg   = ethtool_op_set_sg,
  54.    ^~~~~~
  55.    set_wol
  56. /Daten-1/Software-Downloads/r8168-8.019.00/src/r8168_n.c:1897:27: error: initialization of ‘int (*)(struct net_device *, struct ethtool_coalesce *)’ from incompatible pointer type ‘int (*)(struct net_device *, u32)’ {aka ‘int (*)(struct net_device *, unsigned int)’} [-Werror=incompatible-pointer-types]
  57.  #define ethtool_op_set_sg _kc_ethtool_op_set_sg
  58.                           ^~~~~~~~~~~~~~~~~~~~~
  59. /Daten-1/Software-Downloads/r8168-8.019.00/src/r8168_n.c:1923:14: note: in expansion of macro ‘ethtool_op_set_sg’
  60.   .set_sg   = ethtool_op_set_sg,
  61.               ^~~~~~~~~~~~~~~~~
  62. /Daten-1/Software-Downloads/r8168-8.019.00/src/r8168_n.c:1897:27: note: (near initialization for ‘rtl8168_ethtool_ops.get_coalesce’)
  63.  #define ethtool_op_set_sg _kc_ethtool_op_set_sg
  64.                           ^~~~~~~~~~~~~~~~~~~~~
  65. /Daten-1/Software-Downloads/r8168-8.019.00/src/r8168_n.c:1923:14: note: in expansion of macro ‘ethtool_op_set_sg’
  66.   .set_sg   = ethtool_op_set_sg,
  67.               ^~~~~~~~~~~~~~~~~
  68. /Daten-1/Software-Downloads/r8168-8.019.00/src/r8168_n.c:1925:3: error: ‘struct ethtool_ops’ has no member named ‘get_tso’; did you mean ‘get_wol’?
  69.   .get_tso  = ethtool_op_get_tso,
  70.    ^~~~~~~
  71.    get_wol
  72. /Daten-1/Software-Downloads/r8168-8.019.00/src/r8168_n.c:1925:14: error: ‘ethtool_op_get_tso’ undeclared here (not in a function); did you mean ‘ethtool_op_get_sg’?
  73.   .get_tso  = ethtool_op_get_tso,
  74.               ^~~~~~~~~~~~~~~~~~
  75.               ethtool_op_get_sg
  76. /Daten-1/Software-Downloads/r8168-8.019.00/src/r8168_n.c:1926:3: error: ‘struct ethtool_ops’ has no member named ‘set_tso’; did you mean ‘set_wol’?
  77.   .set_tso  = ethtool_op_set_tso,
  78.    ^~~~~~~
  79.    set_wol
  80. /Daten-1/Software-Downloads/r8168-8.019.00/src/r8168_n.c:1926:14: error: ‘ethtool_op_set_tso’ undeclared here (not in a function); did you mean ‘ethtool_op_set_sg’?
  81.   .set_tso  = ethtool_op_set_tso,
  82.               ^~~~~~~~~~~~~~~~~~
  83.               ethtool_op_set_sg
  84. /Daten-1/Software-Downloads/r8168-8.019.00/src/r8168_n.c: In function ‘rtl8168_request_esd_timer’:
  85. /Daten-1/Software-Downloads/r8168-8.019.00/src/r8168_n.c:5963:2: error: implicit declaration of function ‘init_timer’; did you mean ‘init_timers’? [-Werror=implicit-function-declaration]
  86.   init_timer(timer);
  87.   ^~~~~~~~~~
  88.   init_timers
  89. /Daten-1/Software-Downloads/r8168-8.019.00/src/r8168_n.c:5965:7: error: ‘struct timer_list’ has no member named ‘data’
  90.   timer->data = (unsigned long)(dev);
  91.        ^~
  92. /Daten-1/Software-Downloads/r8168-8.019.00/src/r8168_n.c:5966:18: error: assignment to ‘void (*)(struct timer_list *)’ from incompatible pointer type ‘void (*)(long unsigned int)’ [-Werror=incompatible-pointer-types]
  93.   timer->function = rtl8168_esd_timer;
  94.                   ^
  95. /Daten-1/Software-Downloads/r8168-8.019.00/src/r8168_n.c: In function ‘rtl8168_request_link_timer’:
  96. /Daten-1/Software-Downloads/r8168-8.019.00/src/r8168_n.c:5986:7: error: ‘struct timer_list’ has no member named ‘data’
  97.   timer->data = (unsigned long)(dev);
  98.        ^~
  99. /Daten-1/Software-Downloads/r8168-8.019.00/src/r8168_n.c:5987:18: error: assignment to ‘void (*)(struct timer_list *)’ from incompatible pointer type ‘void (*)(long unsigned int)’ [-Werror=incompatible-pointer-types]
  100.   timer->function = rtl8168_link_timer;
  101.                   ^
  102. /Daten-1/Software-Downloads/r8168-8.019.00/src/r8168_n.c: At top level:
  103. /Daten-1/Software-Downloads/r8168-8.019.00/src/r8168_n.c:6843:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘rtl8168_init_board’
  104.  rtl8168_init_board(struct pci_dev *pdev,
  105.  ^~~~~~~~~~~~~~~~~~
  106. /Daten-1/Software-Downloads/r8168-8.019.00/src/r8168_n.c:7170:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘rtl8168_init_one’
  107.  rtl8168_init_one(struct pci_dev *pdev,
  108.  ^~~~~~~~~~~~~~~~
  109. /Daten-1/Software-Downloads/r8168-8.019.00/src/r8168_n.c:7313:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘rtl8168_remove_one’
  110.  rtl8168_remove_one(struct pci_dev *pdev)
  111.  ^~~~~~~~~~~~~~~~~~
  112. /Daten-1/Software-Downloads/r8168-8.019.00/src/r8168_n.c: In function ‘rtl8168_schedule_work’:
  113. /Daten-1/Software-Downloads/r8168-8.019.00/src/r8168_n.c:8511:2: error: implicit declaration of function ‘PREPARE_DELAYED_WORK’; did you mean ‘DECLARE_DELAYED_WORK’? [-Werror=implicit-function-declaration]
  114.   PREPARE_DELAYED_WORK(&tp->task, task);
  115.   ^~~~~~~~~~~~~~~~~~~~
  116.   DECLARE_DELAYED_WORK
  117. In file included from /usr/src/linux-headers-4.19.0-5-common/include/linux/scatterlist.h:8,
  118.                  from /usr/src/linux-headers-4.19.0-5-common/include/linux/dmapool.h:14,
  119.                  from /usr/src/linux-headers-4.19.0-5-common/include/linux/pci.h:1346,
  120.                  from /Daten-1/Software-Downloads/r8168-8.019.00/src/r8168_n.c:41:
  121. /Daten-1/Software-Downloads/r8168-8.019.00/src/r8168_n.c: In function ‘rtl8168_xmit_frags’:
  122. /Daten-1/Software-Downloads/r8168-8.019.00/src/r8168_n.c:8644:37: error: incompatible type for argument 1 of ‘lowmem_page_address’
  123.    addr = ((void *) page_address(frag->page)) + frag->page_offset;
  124.                                  ~~~~^~~~~~
  125. /usr/src/linux-headers-4.19.0-5-common/include/linux/mm.h:1197:48: note: in definition of macro ‘page_address’
  126.  #define page_address(page) lowmem_page_address(page)
  127.                                                ^~~~
  128. /usr/src/linux-headers-4.19.0-5-common/include/linux/mm.h:1169:69: note: expected ‘const struct page *’ but argument is of type ‘struct <anonymous>’
  129.  static __always_inline void *lowmem_page_address(const struct page *page)
  130.                                                   ~~~~~~~~~~~~~~~~~~~^~~~
  131. /Daten-1/Software-Downloads/r8168-8.019.00/src/r8168_n.c: In function ‘rtl8168_start_xmit’:
  132. /Daten-1/Software-Downloads/r8168-8.019.00/src/r8168_n.c:8771:7: error: ‘struct net_device’ has no member named ‘trans_start’; did you mean ‘mem_start’?
  133.   dev->trans_start = jiffies;
  134.        ^~~~~~~~~~~
  135.        mem_start
  136. /Daten-1/Software-Downloads/r8168-8.019.00/src/r8168_n.c: In function ‘rtl8168_rx_interrupt’:
  137. /Daten-1/Software-Downloads/r8168-8.019.00/src/r8168_n.c:9025:7: error: ‘struct net_device’ has no member named ‘last_rx’
  138.     dev->last_rx = jiffies;
  139.        ^~
  140. /Daten-1/Software-Downloads/r8168-8.019.00/src/r8168_n.c: At top level:
  141. /Daten-1/Software-Downloads/r8168-8.019.00/src/r8168_n.c:9510:12: error: ‘rtl8168_init_one’ undeclared here (not in a function); did you mean ‘rtl8168_init_ring’?
  142.   .probe  = rtl8168_init_one,
  143.             ^~~~~~~~~~~~~~~~
  144.             rtl8168_init_ring
  145. /Daten-1/Software-Downloads/r8168-8.019.00/src/r8168_n.c:9511:13: error: implicit declaration of function ‘__devexit_p’; did you mean ‘__dev_set_mtu’? [-Werror=implicit-function-declaration]
  146.   .remove  = __devexit_p(rtl8168_remove_one),
  147.              ^~~~~~~~~~~
  148.              __dev_set_mtu
  149. /Daten-1/Software-Downloads/r8168-8.019.00/src/r8168_n.c:9511:25: error: ‘rtl8168_remove_one’ undeclared here (not in a function); did you mean ‘rtl8168_resume’?
  150.   .remove  = __devexit_p(rtl8168_remove_one),
  151.                          ^~~~~~~~~~~~~~~~~~
  152.                          rtl8168_resume
  153. /Daten-1/Software-Downloads/r8168-8.019.00/src/r8168_n.c:9405:19: warning: ‘rtl8168_get_stats’ defined but not used [-Wunused-function]
  154.  net_device_stats *rtl8168_get_stats(struct net_device *dev)
  155.                    ^~~~~~~~~~~~~~~~~
  156. /Daten-1/Software-Downloads/r8168-8.019.00/src/r8168_n.c:9164:12: warning: ‘rtl8168_poll’ defined but not used [-Wunused-function]
  157.  static int rtl8168_poll(napi_ptr napi, napi_budget budget)
  158.             ^~~~~~~~~~~~
  159. /Daten-1/Software-Downloads/r8168-8.019.00/src/r8168_n.c:8708:1: warning: ‘rtl8168_start_xmit’ defined but not used [-Wunused-function]
  160.  rtl8168_start_xmit(struct sk_buff *skb,
  161.  ^~~~~~~~~~~~~~~~~~
  162. /Daten-1/Software-Downloads/r8168-8.019.00/src/r8168_n.c:8616:1: warning: ‘rtl8168_tx_timeout’ defined but not used [-Wunused-function]
  163.  rtl8168_tx_timeout(struct net_device *dev)
  164.  ^~~~~~~~~~~~~~~~~~
  165. /Daten-1/Software-Downloads/r8168-8.019.00/src/r8168_n.c:8236:1: warning: ‘rtl8168_change_mtu’ defined but not used [-Wunused-function]
  166.  rtl8168_change_mtu(struct net_device *dev,
  167.  ^~~~~~~~~~~~~~~~~~
  168. /Daten-1/Software-Downloads/r8168-8.019.00/src/r8168_n.c:7124:17: warning: ‘rtl8168_try_msi’ defined but not used [-Wunused-function]
  169.  static unsigned rtl8168_try_msi(struct pci_dev *pdev, void __iomem *ioaddr)
  170.                  ^~~~~~~~~~~~~~~
  171. /Daten-1/Software-Downloads/r8168-8.019.00/src/r8168_n.c:6741:1: warning: ‘rtl8168_do_ioctl’ defined but not used [-Wunused-function]
  172.  rtl8168_do_ioctl(struct net_device *dev,
  173.  ^~~~~~~~~~~~~~~~
  174. /Daten-1/Software-Downloads/r8168-8.019.00/src/r8168_n.c:6033:1: warning: ‘rtl8168_set_mac_address’ defined but not used [-Wunused-function]
  175.  rtl8168_set_mac_address(struct net_device *dev,
  176.  ^~~~~~~~~~~~~~~~~~~~~~~
  177. /Daten-1/Software-Downloads/r8168-8.019.00/src/r8168_n.c:6014:1: warning: ‘rtl8168_release_board’ defined but not used [-Wunused-function]
  178.  rtl8168_release_board(struct pci_dev *pdev,
  179.  ^~~~~~~~~~~~~~~~~~~~~
  180. /Daten-1/Software-Downloads/r8168-8.019.00/src/r8168_n.c:5998:1: warning: ‘rtl8168_netpoll’ defined but not used [-Wunused-function]
  181.  rtl8168_netpoll(struct net_device *dev)
  182.  ^~~~~~~~~~~~~~~
  183. /Daten-1/Software-Downloads/r8168-8.019.00/src/r8168_n.c:2246:1: warning: ‘rtl8168_hw_phy_config’ defined but not used [-Wunused-function]
  184.  rtl8168_hw_phy_config(struct net_device *dev)
  185.  ^~~~~~~~~~~~~~~~~~~~~
  186. /Daten-1/Software-Downloads/r8168-8.019.00/src/r8168_n.c:2204:1: warning: ‘rtl8168_print_mac_version’ defined but not used [-Wunused-function]
  187.  rtl8168_print_mac_version(struct rtl8168_private *tp)
  188.  ^~~~~~~~~~~~~~~~~~~~~~~~~
  189. /Daten-1/Software-Downloads/r8168-8.019.00/src/r8168_n.c:2114:12: warning: ‘rtl8168_get_mac_version’ defined but not used [-Wunused-function]
  190.  static int rtl8168_get_mac_version(struct rtl8168_private *tp, void __iomem *ioaddr)
  191.             ^~~~~~~~~~~~~~~~~~~~~~~
  192. /Daten-1/Software-Downloads/r8168-8.019.00/src/r8168_n.c:1910:27: warning: ‘rtl8168_ethtool_ops’ defined but not used [-Wunused-variable]
  193.  static struct ethtool_ops rtl8168_ethtool_ops = {
  194.                            ^~~~~~~~~~~~~~~~~~~
  195. /Daten-1/Software-Downloads/r8168-8.019.00/src/r8168_n.c:1582:13: warning: ‘rtl8168_gset_xmii’ defined but not used [-Wunused-function]
  196.  static void rtl8168_gset_xmii(struct net_device *dev,
  197.              ^~~~~~~~~~~~~~~~~
  198. /Daten-1/Software-Downloads/r8168-8.019.00/src/r8168_n.c:1330:1: warning: ‘rtl8168_set_speed_xmii’ defined but not used [-Wunused-function]
  199.  rtl8168_set_speed_xmii(struct net_device *dev,
  200.  ^~~~~~~~~~~~~~~~~~~~~~
  201. /Daten-1/Software-Downloads/r8168-8.019.00/src/r8168_n.c:1148:1: warning: ‘rtl8168_link_option’ defined but not used [-Wunused-function]
  202.  rtl8168_link_option(int idx,
  203.  ^~~~~~~~~~~~~~~~~~~
  204. /Daten-1/Software-Downloads/r8168-8.019.00/src/r8168_n.c:1080:1: warning: ‘rtl8168_xmii_reset_enable’ defined but not used [-Wunused-function]
  205.  rtl8168_xmii_reset_enable(struct net_device *dev)
  206.  ^~~~~~~~~~~~~~~~~~~~~~~~~
  207. /Daten-1/Software-Downloads/r8168-8.019.00/src/r8168_n.c:1068:1: warning: ‘rtl8168_xmii_link_ok’ defined but not used [-Wunused-function]
  208.  rtl8168_xmii_link_ok(struct net_device *dev)
  209.  ^~~~~~~~~~~~~~~~~~~~
  210. /Daten-1/Software-Downloads/r8168-8.019.00/src/r8168_n.c:1053:1: warning: ‘rtl8168_xmii_reset_pending’ defined but not used [-Wunused-function]
  211.  rtl8168_xmii_reset_pending(struct net_device *dev)
  212.  ^~~~~~~~~~~~~~~~~~~~~~~~~~
  213. /Daten-1/Software-Downloads/r8168-8.019.00/src/r8168_n.c:779:13: warning: ‘rtl8168_driver_stop’ defined but not used [-Wunused-function]
  214.  static void rtl8168_driver_stop(struct rtl8168_private *tp)
  215.              ^~~~~~~~~~~~~~~~~~~
  216. /Daten-1/Software-Downloads/r8168-8.019.00/src/r8168_n.c:765:13: warning: ‘rtl8168_driver_start’ defined but not used [-Wunused-function]
  217.  static void rtl8168_driver_start(struct rtl8168_private *tp)
  218.              ^~~~~~~~~~~~~~~~~~~~
  219. cc1: some warnings being treated as errors
  220. make[5]: *** [/usr/src/linux-headers-4.19.0-5-common/scripts/Makefile.build:309: /Daten-1/Software-Downloads/r8168-8.019.00/src/r8168_n.o] Fehler 1
  221. make[4]: *** [/usr/src/linux-headers-4.19.0-5-common/Makefile:1539: _module_/Daten-1/Software-Downloads/r8168-8.019.00/src] Fehler 2
  222. make[3]: *** [Makefile:146: sub-make] Fehler 2
  223. make[2]: *** [Makefile:8: all] Fehler 2
  224. make[1]: *** [Makefile:46: modules] Fehler 2
  225. make: *** [Makefile:36: modules] Fehler 2
  226.  

Quellcode

Hier kannst du den Code kopieren und ihn in deinen bevorzugten Editor einfügen. PASTEBIN_DOWNLOAD_SNIPPET_EXPLAIN