morrownr / rtl8852bu

Linux Driver for USB WiFi Adapters that are based on the RTL8852BU and RTL8832BU Chipsets - v1.19.3 - 20230505
Other
109 stars 22 forks source link

Kernel 6.8.10 not working PopOS 22.04 #28

Open birdup000 opened 6 months ago

birdup000 commented 6 months ago

trying to make using dkms

make ARCH=x86_64 CROSS_COMPILE= -C /lib/modules/6.8.10-x64v3-xanmod1/build M=/home/bird/Downloads/rtl8852bu-1.19.3  modules
make[1]: Entering directory '/usr/src/linux-headers-6.8.10-x64v3-xanmod1'
warning: the compiler differs from the one used to build the kernel
  The kernel was built by: gcc-13 (Debian 13.2.0-24) 13.2.0
  You are using:           gcc (Ubuntu 13.1.0-8ubuntu1~22.04) 13.1.0
  CC [M]  /home/bird/Downloads/rtl8852bu-1.19.3/platform/platform_ops.o
  CC [M]  /home/bird/Downloads/rtl8852bu-1.19.3/os_dep/osdep_service.o
  CC [M]  /home/bird/Downloads/rtl8852bu-1.19.3/os_dep/osdep_service_linux.o
  CC [M]  /home/bird/Downloads/rtl8852bu-1.19.3/os_dep/linux/rtw_cfg.o
  CC [M]  /home/bird/Downloads/rtl8852bu-1.19.3/os_dep/linux/os_intfs.o
  CC [M]  /home/bird/Downloads/rtl8852bu-1.19.3/os_dep/linux/ioctl_linux.o
  CC [M]  /home/bird/Downloads/rtl8852bu-1.19.3/os_dep/linux/xmit_linux.o
  CC [M]  /home/bird/Downloads/rtl8852bu-1.19.3/os_dep/linux/mlme_linux.o
./tools/objtool/objtool: /lib/x86_64-linux-gnu/libc.so.6: version `GLIBC_2.38' not found (required by ./tools/objtool/objtool)
make[3]: *** [scripts/Makefile.build:243: /home/bird/Downloads/rtl8852bu-1.19.3/platform/platform_ops.o] Error 1
make[3]: *** Deleting file '/home/bird/Downloads/rtl8852bu-1.19.3/platform/platform_ops.o'
make[3]: *** Waiting for unfinished jobs....
./tools/objtool/objtool: /lib/x86_64-linux-gnu/libc.so.6: version `GLIBC_2.38' not found (required by ./tools/objtool/objtool)
make[3]: *** [scripts/Makefile.build:243: /home/bird/Downloads/rtl8852bu-1.19.3/os_dep/linux/mlme_linux.o] Error 1
make[3]: *** Deleting file '/home/bird/Downloads/rtl8852bu-1.19.3/os_dep/linux/mlme_linux.o'
./tools/objtool/objtool: /lib/x86_64-linux-gnu/libc.so.6: version `GLIBC_2.38' not found (required by ./tools/objtool/objtool)
make[3]: *** [scripts/Makefile.build:243: /home/bird/Downloads/rtl8852bu-1.19.3/os_dep/linux/xmit_linux.o] Error 1
make[3]: *** Deleting file '/home/bird/Downloads/rtl8852bu-1.19.3/os_dep/linux/xmit_linux.o'
./tools/objtool/objtool: /lib/x86_64-linux-gnu/libc.so.6: version `GLIBC_2.38' not found (required by ./tools/objtool/objtool)
make[3]: *** [scripts/Makefile.build:243: /home/bird/Downloads/rtl8852bu-1.19.3/os_dep/osdep_service_linux.o] Error 1
make[3]: *** Deleting file '/home/bird/Downloads/rtl8852bu-1.19.3/os_dep/osdep_service_linux.o'
./tools/objtool/objtool: /lib/x86_64-linux-gnu/libc.so.6: version `GLIBC_2.38' not found (required by ./tools/objtool/objtool)
make[3]: *** [scripts/Makefile.build:243: /home/bird/Downloads/rtl8852bu-1.19.3/os_dep/linux/rtw_cfg.o] Error 1
make[3]: *** Deleting file '/home/bird/Downloads/rtl8852bu-1.19.3/os_dep/linux/rtw_cfg.o'
./tools/objtool/objtool: /lib/x86_64-linux-gnu/libc.so.6: version `GLIBC_2.38' not found (required by ./tools/objtool/objtool)
make[3]: *** [scripts/Makefile.build:243: /home/bird/Downloads/rtl8852bu-1.19.3/os_dep/osdep_service.o] Error 1
make[3]: *** Deleting file '/home/bird/Downloads/rtl8852bu-1.19.3/os_dep/osdep_service.o'
./tools/objtool/objtool: /lib/x86_64-linux-gnu/libc.so.6: version `GLIBC_2.38' not found (required by ./tools/objtool/objtool)
make[3]: *** [scripts/Makefile.build:243: /home/bird/Downloads/rtl8852bu-1.19.3/os_dep/linux/os_intfs.o] Error 1
make[3]: *** Deleting file '/home/bird/Downloads/rtl8852bu-1.19.3/os_dep/linux/os_intfs.o'
./tools/objtool/objtool: /lib/x86_64-linux-gnu/libc.so.6: version `GLIBC_2.38' not found (required by ./tools/objtool/objtool)
make[3]: *** [scripts/Makefile.build:243: /home/bird/Downloads/rtl8852bu-1.19.3/os_dep/linux/ioctl_linux.o] Error 1
make[3]: *** Deleting file '/home/bird/Downloads/rtl8852bu-1.19.3/os_dep/linux/ioctl_linux.o'
make[2]: *** [/usr/src/linux-headers-6.8.10-x64v3-xanmod1/Makefile:2073: /home/bird/Downloads/rtl8852bu-1.19.3] Error 2
make[1]: *** [Makefile:240: __sub-make] Error 2
make[1]: Leaving directory '/usr/src/linux-headers-6.8.10-x64v3-xanmod1'
make: *** [Makefile:746: modules] Error 2

regular make

make ARCH=x86_64 CROSS_COMPILE= -C /lib/modules/6.8.10-x64v3-xanmod1/build M=/home/bird/Downloads/rtl8852bu-1.19.3  modules
make[1]: Entering directory '/usr/src/linux-headers-6.8.10-x64v3-xanmod1'
warning: the compiler differs from the one used to build the kernel
  The kernel was built by: gcc-13 (Debian 13.2.0-24) 13.2.0
  You are using:           gcc (Ubuntu 13.1.0-8ubuntu1~22.04) 13.1.0
  CC [M]  /home/bird/Downloads/rtl8852bu-1.19.3/platform/platform_ops.o
./tools/objtool/objtool: /lib/x86_64-linux-gnu/libc.so.6: version `GLIBC_2.38' not found (required by ./tools/objtool/objtool)
make[3]: *** [scripts/Makefile.build:243: /home/bird/Downloads/rtl8852bu-1.19.3/platform/platform_ops.o] Error 1
make[3]: *** Deleting file '/home/bird/Downloads/rtl8852bu-1.19.3/platform/platform_ops.o'
make[2]: *** [/usr/src/linux-headers-6.8.10-x64v3-xanmod1/Makefile:2073: /home/bird/Downloads/rtl8852bu-1.19.3] Error 2
make[1]: *** [Makefile:240: __sub-make] Error 2
make[1]: Leaving directory '/usr/src/linux-headers-6.8.10-x64v3-xanmod1'
make: *** [Makefile:746: modules] Error 2
birdup000 commented 6 months ago

I didn't really read the error

./tools/objtool/objtool: /lib/x86_64-linux-gnu/libc.so.6: version `GLIBC_2.38' not found (required by ./tools/objtool/objtool)

I suppose I need to install something

birdup000 commented 6 months ago

ldd (Ubuntu GLIBC 2.35-0ubuntu3.7) 2.35

birdup000 commented 6 months ago

ah yes no wonder why it doesn't compile