wget / realtek-r8152-linux

A kernel module for Realtek RTL8152/RTL8153 Based USB Ethernet Adapters - Meant to be used in distributions only - For upstream bugs, please report them to your distribution maintainer or to Realtek.

Home Page:https://www.realtek.com/en/component/zoo/category/network-interface-controllers-10-100-1000m-gigabit-ethernet-usb-3-0-software

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Error compiling the module

JVAQUEROM opened this issue · comments

Hi, I am trying to install this version in Opensuse Leap 15.3, as it has an older version 1.08 and it drops the connection and reconnects every few seconds/minutes. However, I get an error when "making":

make: se entra en el directorio '/usr/src/linux-5.3.18-57-obj/x86_64/default'
  CC [M]  /var/lib/dkms/r8152/2.15.0/build/r8152.o
/var/lib/dkms/r8152/2.15.0/build/r8152.c:18884:21: error: initialization from incompatible pointer type [-Werror=incompatible-pointer-types]
  .ndo_tx_timeout  = rtl8152_tx_timeout,
                     ^~~~~~~~~~~~~~~~~~
/var/lib/dkms/r8152/2.15.0/build/r8152.c:18884:21: note: (near initialization for ‘rtl8152_netdev_ops.ndo_tx_timeout’)
cc1: some warnings being treated as errors
make[2]: *** [/usr/src/linux-5.3.18-57/scripts/Makefile.build:288: /var/lib/dkms/r8152/2.15.0/build/r8152.o] Error 1
make[1]: *** [/usr/src/linux-5.3.18-57/Makefile:1670: _module_/var/lib/dkms/r8152/2.15.0/build] Error 2
make: *** [../../../linux-5.3.18-57/Makefile:179: sub-make] Error 2
make: se sale del directorio '/usr/src/linux-5.3.18-57-obj/x86_64/default'

I close this old issue.

In this repository, we just try to maintain the upstream driver against the latest linux kernel for our personal usage. We are absolutely not affiliated or supported by Realtek. We are not actually maintaining a patchset for all linux versions.