Fehler r8168-8.019.00
von halo44- SNIPPET_TEXT:
-
- root@dt-debian:/Daten-1/Software-Downloads/r8168-8.019.00# ./autorun.sh
- Check old driver and unload it.
- Build the module and install
- /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’?
- .get_rx_csum = rtl8168_get_rx_csum,
- ^~~~~~~~~~~
- get_regs
- /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]
- .get_rx_csum = rtl8168_get_rx_csum,
- ^~~~~~~~~~~~~~~~~~~
- /Daten-1/Software-Downloads/r8168-8.019.00/src/r8168_n.c:1918:18: note: (near initialization for ‘rtl8168_ethtool_ops.nway_reset’)
- /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’?
- .set_rx_csum = rtl8168_set_rx_csum,
- ^~~~~~~~~~~
- set_rxnfc
- /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]
- .set_rx_csum = rtl8168_set_rx_csum,
- ^~~~~~~~~~~~~~~~~~~
- /Daten-1/Software-Downloads/r8168-8.019.00/src/r8168_n.c:1919:18: note: (near initialization for ‘rtl8168_ethtool_ops.get_link’)
- /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’?
- .get_tx_csum = rtl8168_get_tx_csum,
- ^~~~~~~~~~~
- get_ts_info
- /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]
- .get_tx_csum = rtl8168_get_tx_csum,
- ^~~~~~~~~~~~~~~~~~~
- /Daten-1/Software-Downloads/r8168-8.019.00/src/r8168_n.c:1920:18: note: (near initialization for ‘rtl8168_ethtool_ops.get_eeprom_len’)
- /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’
- .set_tx_csum = rtl8168_set_tx_csum,
- ^~~~~~~~~~~
- /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]
- .set_tx_csum = rtl8168_set_tx_csum,
- ^~~~~~~~~~~~~~~~~~~
- /Daten-1/Software-Downloads/r8168-8.019.00/src/r8168_n.c:1921:18: note: (near initialization for ‘rtl8168_ethtool_ops.get_eeprom’)
- /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’?
- .get_sg = ethtool_op_get_sg,
- ^~~~~~
- get_regs
- /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]
- #define ethtool_op_get_sg _kc_ethtool_op_get_sg
- ^~~~~~~~~~~~~~~~~~~~~
- /Daten-1/Software-Downloads/r8168-8.019.00/src/r8168_n.c:1922:14: note: in expansion of macro ‘ethtool_op_get_sg’
- .get_sg = ethtool_op_get_sg,
- ^~~~~~~~~~~~~~~~~
- /Daten-1/Software-Downloads/r8168-8.019.00/src/r8168_n.c:1886:27: note: (near initialization for ‘rtl8168_ethtool_ops.set_eeprom’)
- #define ethtool_op_get_sg _kc_ethtool_op_get_sg
- ^~~~~~~~~~~~~~~~~~~~~
- /Daten-1/Software-Downloads/r8168-8.019.00/src/r8168_n.c:1922:14: note: in expansion of macro ‘ethtool_op_get_sg’
- .get_sg = ethtool_op_get_sg,
- ^~~~~~~~~~~~~~~~~
- /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’?
- .set_sg = ethtool_op_set_sg,
- ^~~~~~
- set_wol
- /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]
- #define ethtool_op_set_sg _kc_ethtool_op_set_sg
- ^~~~~~~~~~~~~~~~~~~~~
- /Daten-1/Software-Downloads/r8168-8.019.00/src/r8168_n.c:1923:14: note: in expansion of macro ‘ethtool_op_set_sg’
- .set_sg = ethtool_op_set_sg,
- ^~~~~~~~~~~~~~~~~
- /Daten-1/Software-Downloads/r8168-8.019.00/src/r8168_n.c:1897:27: note: (near initialization for ‘rtl8168_ethtool_ops.get_coalesce’)
- #define ethtool_op_set_sg _kc_ethtool_op_set_sg
- ^~~~~~~~~~~~~~~~~~~~~
- /Daten-1/Software-Downloads/r8168-8.019.00/src/r8168_n.c:1923:14: note: in expansion of macro ‘ethtool_op_set_sg’
- .set_sg = ethtool_op_set_sg,
- ^~~~~~~~~~~~~~~~~
- /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’?
- .get_tso = ethtool_op_get_tso,
- ^~~~~~~
- get_wol
- /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’?
- .get_tso = ethtool_op_get_tso,
- ^~~~~~~~~~~~~~~~~~
- ethtool_op_get_sg
- /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’?
- .set_tso = ethtool_op_set_tso,
- ^~~~~~~
- set_wol
- /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’?
- .set_tso = ethtool_op_set_tso,
- ^~~~~~~~~~~~~~~~~~
- ethtool_op_set_sg
- /Daten-1/Software-Downloads/r8168-8.019.00/src/r8168_n.c: In function ‘rtl8168_request_esd_timer’:
- /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]
- init_timer(timer);
- ^~~~~~~~~~
- init_timers
- /Daten-1/Software-Downloads/r8168-8.019.00/src/r8168_n.c:5965:7: error: ‘struct timer_list’ has no member named ‘data’
- timer->data = (unsigned long)(dev);
- ^~
- /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]
- timer->function = rtl8168_esd_timer;
- ^
- /Daten-1/Software-Downloads/r8168-8.019.00/src/r8168_n.c: In function ‘rtl8168_request_link_timer’:
- /Daten-1/Software-Downloads/r8168-8.019.00/src/r8168_n.c:5986:7: error: ‘struct timer_list’ has no member named ‘data’
- timer->data = (unsigned long)(dev);
- ^~
- /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]
- timer->function = rtl8168_link_timer;
- ^
- /Daten-1/Software-Downloads/r8168-8.019.00/src/r8168_n.c: At top level:
- /Daten-1/Software-Downloads/r8168-8.019.00/src/r8168_n.c:6843:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘rtl8168_init_board’
- rtl8168_init_board(struct pci_dev *pdev,
- ^~~~~~~~~~~~~~~~~~
- /Daten-1/Software-Downloads/r8168-8.019.00/src/r8168_n.c:7170:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘rtl8168_init_one’
- rtl8168_init_one(struct pci_dev *pdev,
- ^~~~~~~~~~~~~~~~
- /Daten-1/Software-Downloads/r8168-8.019.00/src/r8168_n.c:7313:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘rtl8168_remove_one’
- rtl8168_remove_one(struct pci_dev *pdev)
- ^~~~~~~~~~~~~~~~~~
- /Daten-1/Software-Downloads/r8168-8.019.00/src/r8168_n.c: In function ‘rtl8168_schedule_work’:
- /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]
- PREPARE_DELAYED_WORK(&tp->task, task);
- ^~~~~~~~~~~~~~~~~~~~
- DECLARE_DELAYED_WORK
- from /usr/src/linux-headers-4.19.0-5-common/include/linux/dmapool.h:14,
- from /usr/src/linux-headers-4.19.0-5-common/include/linux/pci.h:1346,
- from /Daten-1/Software-Downloads/r8168-8.019.00/src/r8168_n.c:41:
- /Daten-1/Software-Downloads/r8168-8.019.00/src/r8168_n.c: In function ‘rtl8168_xmit_frags’:
- /Daten-1/Software-Downloads/r8168-8.019.00/src/r8168_n.c:8644:37: error: incompatible type for argument 1 of ‘lowmem_page_address’
- addr = ((void *) page_address(frag->page)) + frag->page_offset;
- ~~~~^~~~~~
- /usr/src/linux-headers-4.19.0-5-common/include/linux/mm.h:1197:48: note: in definition of macro ‘page_address’
- #define page_address(page) lowmem_page_address(page)
- ^~~~
- /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>’
- static __always_inline void *lowmem_page_address(const struct page *page)
- ~~~~~~~~~~~~~~~~~~~^~~~
- /Daten-1/Software-Downloads/r8168-8.019.00/src/r8168_n.c: In function ‘rtl8168_start_xmit’:
- /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’?
- dev->trans_start = jiffies;
- ^~~~~~~~~~~
- mem_start
- /Daten-1/Software-Downloads/r8168-8.019.00/src/r8168_n.c: In function ‘rtl8168_rx_interrupt’:
- /Daten-1/Software-Downloads/r8168-8.019.00/src/r8168_n.c:9025:7: error: ‘struct net_device’ has no member named ‘last_rx’
- dev->last_rx = jiffies;
- ^~
- /Daten-1/Software-Downloads/r8168-8.019.00/src/r8168_n.c: At top level:
- /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’?
- .probe = rtl8168_init_one,
- ^~~~~~~~~~~~~~~~
- rtl8168_init_ring
- /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]
- .remove = __devexit_p(rtl8168_remove_one),
- ^~~~~~~~~~~
- __dev_set_mtu
- /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’?
- .remove = __devexit_p(rtl8168_remove_one),
- ^~~~~~~~~~~~~~~~~~
- rtl8168_resume
- /Daten-1/Software-Downloads/r8168-8.019.00/src/r8168_n.c:9405:19: warning: ‘rtl8168_get_stats’ defined but not used [-Wunused-function]
- net_device_stats *rtl8168_get_stats(struct net_device *dev)
- ^~~~~~~~~~~~~~~~~
- /Daten-1/Software-Downloads/r8168-8.019.00/src/r8168_n.c:9164:12: warning: ‘rtl8168_poll’ defined but not used [-Wunused-function]
- static int rtl8168_poll(napi_ptr napi, napi_budget budget)
- ^~~~~~~~~~~~
- /Daten-1/Software-Downloads/r8168-8.019.00/src/r8168_n.c:8708:1: warning: ‘rtl8168_start_xmit’ defined but not used [-Wunused-function]
- rtl8168_start_xmit(struct sk_buff *skb,
- ^~~~~~~~~~~~~~~~~~
- /Daten-1/Software-Downloads/r8168-8.019.00/src/r8168_n.c:8616:1: warning: ‘rtl8168_tx_timeout’ defined but not used [-Wunused-function]
- rtl8168_tx_timeout(struct net_device *dev)
- ^~~~~~~~~~~~~~~~~~
- /Daten-1/Software-Downloads/r8168-8.019.00/src/r8168_n.c:8236:1: warning: ‘rtl8168_change_mtu’ defined but not used [-Wunused-function]
- rtl8168_change_mtu(struct net_device *dev,
- ^~~~~~~~~~~~~~~~~~
- /Daten-1/Software-Downloads/r8168-8.019.00/src/r8168_n.c:7124:17: warning: ‘rtl8168_try_msi’ defined but not used [-Wunused-function]
- static unsigned rtl8168_try_msi(struct pci_dev *pdev, void __iomem *ioaddr)
- ^~~~~~~~~~~~~~~
- /Daten-1/Software-Downloads/r8168-8.019.00/src/r8168_n.c:6741:1: warning: ‘rtl8168_do_ioctl’ defined but not used [-Wunused-function]
- rtl8168_do_ioctl(struct net_device *dev,
- ^~~~~~~~~~~~~~~~
- /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]
- rtl8168_set_mac_address(struct net_device *dev,
- ^~~~~~~~~~~~~~~~~~~~~~~
- /Daten-1/Software-Downloads/r8168-8.019.00/src/r8168_n.c:6014:1: warning: ‘rtl8168_release_board’ defined but not used [-Wunused-function]
- rtl8168_release_board(struct pci_dev *pdev,
- ^~~~~~~~~~~~~~~~~~~~~
- /Daten-1/Software-Downloads/r8168-8.019.00/src/r8168_n.c:5998:1: warning: ‘rtl8168_netpoll’ defined but not used [-Wunused-function]
- rtl8168_netpoll(struct net_device *dev)
- ^~~~~~~~~~~~~~~
- /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]
- rtl8168_hw_phy_config(struct net_device *dev)
- ^~~~~~~~~~~~~~~~~~~~~
- /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]
- rtl8168_print_mac_version(struct rtl8168_private *tp)
- ^~~~~~~~~~~~~~~~~~~~~~~~~
- /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]
- static int rtl8168_get_mac_version(struct rtl8168_private *tp, void __iomem *ioaddr)
- ^~~~~~~~~~~~~~~~~~~~~~~
- /Daten-1/Software-Downloads/r8168-8.019.00/src/r8168_n.c:1910:27: warning: ‘rtl8168_ethtool_ops’ defined but not used [-Wunused-variable]
- static struct ethtool_ops rtl8168_ethtool_ops = {
- ^~~~~~~~~~~~~~~~~~~
- /Daten-1/Software-Downloads/r8168-8.019.00/src/r8168_n.c:1582:13: warning: ‘rtl8168_gset_xmii’ defined but not used [-Wunused-function]
- static void rtl8168_gset_xmii(struct net_device *dev,
- ^~~~~~~~~~~~~~~~~
- /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]
- rtl8168_set_speed_xmii(struct net_device *dev,
- ^~~~~~~~~~~~~~~~~~~~~~
- /Daten-1/Software-Downloads/r8168-8.019.00/src/r8168_n.c:1148:1: warning: ‘rtl8168_link_option’ defined but not used [-Wunused-function]
- rtl8168_link_option(int idx,
- ^~~~~~~~~~~~~~~~~~~
- /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]
- rtl8168_xmii_reset_enable(struct net_device *dev)
- ^~~~~~~~~~~~~~~~~~~~~~~~~
- /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]
- rtl8168_xmii_link_ok(struct net_device *dev)
- ^~~~~~~~~~~~~~~~~~~~
- /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]
- rtl8168_xmii_reset_pending(struct net_device *dev)
- ^~~~~~~~~~~~~~~~~~~~~~~~~~
- /Daten-1/Software-Downloads/r8168-8.019.00/src/r8168_n.c:779:13: warning: ‘rtl8168_driver_stop’ defined but not used [-Wunused-function]
- static void rtl8168_driver_stop(struct rtl8168_private *tp)
- ^~~~~~~~~~~~~~~~~~~
- /Daten-1/Software-Downloads/r8168-8.019.00/src/r8168_n.c:765:13: warning: ‘rtl8168_driver_start’ defined but not used [-Wunused-function]
- static void rtl8168_driver_start(struct rtl8168_private *tp)
- ^~~~~~~~~~~~~~~~~~~~
- cc1: some warnings being treated as errors
- 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
- 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
- make[3]: *** [Makefile:146: sub-make] Fehler 2
- make[2]: *** [Makefile:8: all] Fehler 2
- make[1]: *** [Makefile:46: modules] Fehler 2
- make: *** [Makefile:36: modules] Fehler 2
Quellcode
Hier kannst du den Code kopieren und ihn in deinen bevorzugten Editor einfügen. PASTEBIN_DOWNLOAD_SNIPPET_EXPLAIN