Package: r8168-dkms
Version: 8.051.02-3
Severity: important

Dear Maintainer,

I confirm that the bug is present.
"PascalHambourg" on our forum found a workaround by directly editing the file /usr/src/r8168-8.051.02/r8168_n.c

Replace
#if LINUX_VERSION_CODE >= KERNEL_VERSION(6,5,0)

By
#if LINUX_VERSION_CODE >= KERNEL_VERSION(6,4,10)

And the compilation of the module happens without error.

Best regards,
Lol.

PS: You can delete https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1050328 which is a duplicate.

-- System Information:
Debian Release: trixie/sid
  APT prefers stable-updates
  APT policy: (500, 'stable-updates'), (500, 'stable-security'), (500,
'oldstable-updates'), (500, 'oldstable-security'), (500,
'oldoldstable'), (500, 'unstable'), (500, '>Architecture: amd64 (x86_64)

Kernel: Linux 6.4.0-2-amd64 (SMP w/4 CPU threads; PREEMPT)
Kernel taint flags: TAINT_OOT_MODULE, TAINT_UNSIGNED_MODULE
Locale: LANG=fr_FR.UTF-8, LC_CTYPE=fr_FR.UTF-8 (charmap=UTF-8), LANGUAGE
not set
Shell: /bin/sh linked to /usr/bin/dash
Init: systemd (via /run/systemd/system)
LSM: AppArmor: enabled

Versions of packages r8168-dkms depends on:
ii  dkms  3.0.11-3

r8168-dkms recommends no packages.

r8168-dkms suggests no packages.

-- no debconf information

cat /var/lib/dkms/r8168/8.051.02/build/make.log
DKMS make.log for r8168-8.051.02 for kernel 6.4.0-3-amd64 (x86_64)
mer. 23 août 2023 12:13:03 EAT
make : on entre dans le répertoire
« /usr/src/linux-headers-6.4.0-3-amd64 »
  CC [M]  /var/lib/dkms/r8168/8.051.02/build/r8168_n.o
  CC [M]  /var/lib/dkms/r8168/8.051.02/build/r8168_asf.o
  CC [M]  /var/lib/dkms/r8168/8.051.02/build/rtl_eeprom.o
  CC [M]  /var/lib/dkms/r8168/8.051.02/build/rtltool.o
/var/lib/dkms/r8168/8.051.02/build/r8168_n.c: In function
‘r8168_csum_workaround’:
/var/lib/dkms/r8168/8.051.02/build/r8168_n.c:29212:24: error: implicit
declaration of function ‘skb_gso_segment’; did you mean ‘skb_gso_reset’?
[-Werror=implicit-function-declaration]
29212 |                 segs = skb_gso_segment(skb, features);
      |                        ^~~~~~~~~~~~~~~
      |                        skb_gso_reset
/var/lib/dkms/r8168/8.051.02/build/r8168_n.c:29212:22: warning:
assignment to ‘struct sk_buff *’ from ‘int’ makes pointer from integer
without a cast [-Wint-conversion]
29212 |                 segs = skb_gso_segment(skb, features);
      |                      ^
cc1: some warnings being treated as errors
make[1]: ***
[/usr/src/linux-headers-6.4.0-3-common/scripts/Makefile.build:257 :
/var/lib/dkms/r8168/8.051.02/build/r8168_n.o] Erreur 1
make: *** [/usr/src/linux-headers-6.4.0-3-common/Makefile:2057 :
/var/lib/dkms/r8168/8.051.02/build] Erreur 2
make : on quitte le répertoire « /usr/src/linux-headers-6.4.0-3-amd64 »

Reply via email to