[RESOLVED] Error on install of 6.13.5
Install from the ppa.. The dkms log warns about the gcc version and then complains about a missing header:
:: Code :: DKMS make.log for rtl8852bu-1.19.3 for kernel 6.13.5-2-liquorix-amd64 (x86_64)
Fri Mar 7 04:01:03 PM EST 2025 make ARCH=x86_64 CROSS_COMPILE= -C /lib/modules/6.13.5-2-liquorix-amd64/build M=/var/lib/dkms/rtl8852bu/1.19.3/build modules make[1]: Entering directory '/usr/src/linux-headers-6.13.5-2-liquorix-amd64' make[2]: Entering directory '/var/lib/dkms/rtl8852bu/1.19.3/build' warning: the compiler differs from the one used to build the kernel The kernel was built by: gcc (Ubuntu 13.3.0-6ubuntu2~24.04) 13.3.0 You are using: gcc (Ubuntu 14.2.0-4ubuntu2~24.04) 14.2.0 CC [M] platform/platform_ops.o CC [M] os_dep/osdep_service.o CC [M] os_dep/osdep_service_linux.o os_dep/osdep_service_linux.c:16:10: fatal error: drv_types.h: No such file or directory 16 | #include <drv_types.h> | ^~~~~~~~~~~~~ compilation terminated. make[4]: *** [/usr/src/linux-headers-6.13.5-2-liquorix-amd64/scripts/Makefile.build:196: os_dep/osdep_service_linux.o] Error 1 make[4]: *** Waiting for unfinished jobs.... platform/platform_ops.c:15:10: fatal error: drv_types.h: No such file or directory 15 | #include <drv_types.h> | ^~~~~~~~~~~~~ compilation terminated. make[4]: *** [/usr/src/linux-headers-6.13.5-2-liquorix-amd64/scripts/Makefile.build:196: platform/platform_ops.o] Error 1 os_dep/osdep_service.c:17:10: fatal error: drv_types.h: No such file or directory 17 | #include <drv_types.h> | ^~~~~~~~~~~~~ compilation terminated. make[4]: *** [/usr/src/linux-headers-6.13.5-2-liquorix-amd64/scripts/Makefile.build:196: os_dep/osdep_service.o] Error 1 make[3]: *** [/usr/src/linux-headers-6.13.5-2-liquorix-amd64/Makefile:1994: .] Error 2 make[2]: *** [/usr/src/linux-headers-6.13.5-2-liquorix-amd64/Makefile:251: __sub-make] Error 2 make[2]: Leaving directory '/var/lib/dkms/rtl8852bu/1.19.3/build' make[1]: *** [Makefile:251: __sub-make] Error 2 make[1]: Leaving directory '/usr/src/linux-headers-6.13.5-2-liquorix-amd64' make: *** [Makefile:746: modules] Error 2 Seems like there might be something simple I can do, I don't really want to roll back gcc, but, if necessary ok. However, before I do that I thought I'd ask about this here. Here's the system info: :: Code :: inxi -bGxxz
System: Kernel: 6.12.17-1-liquorix-amd64 arch: x86_64 bits: 64 compiler: gcc v: 13.3.0 Desktop: LXQt v: 1.4.0 tk: Qt v: 5.15.12 wm: Openbox dm: SDDM Distro: Lubuntu 24.04.2 LTS (Noble Numbat) base: Ubuntu Machine: Type: Portable System: Dell product: Inspiron 3542 v: N/A serial: <superuser required> Chassis: type: 8 serial: <superuser required> Mobo: Dell model: 0PVK7T v: A14 serial: <superuser required> part-nu: 0651 UEFI: Dell v: A14 date: 05/23/2018 Battery: ID-1: BAT0 charge: 18.1 Wh (100.0%) condition: 18.1/41.4 Wh (43.6%) volts: 16.6 min: 14.8 model: SANYO DELL 4WY7C45 serial: <filter> status: full CPU: Info: dual core Intel Core i5-4210U [MT MCP] arch: Haswell speed (MHz): avg: 1872 min/max: 782/1701 Graphics: Device-1: Intel Haswell-ULT Integrated Graphics vendor: Dell driver: i915 v: kernel arch: Gen-7.5 ports: active: HDMI-A-1,eDP-1 empty: none bus-ID: 00:02.0 chip-ID: 8086:0a16 Device-2: Realtek Integrated_Webcam_HD driver: uvcvideo type: USB rev: 2.0 speed: 480 Mb/s lanes: 1 bus-ID: 2-1.5:4 chip-ID: 0bda:5756 Display: server: X.Org v: 21.1.13 compositor: Picom v: 10 driver: X: loaded: modesetting unloaded: fbdev,vesa dri: swrast gpu: i915 display-ID: localhost:10.0 screens: 1 Screen-1: 0 s-res: 3840x1080 s-dpi: 96 Monitor-1: not-matched mapped: DP-1 pos: right res: 1920x1080 dpi: 102 diag: 545mm (21.46") Monitor-2: not-matched mapped: HDMI-1 pos: primary,left res: 1920x1080 dpi: 102 diag: 545mm (21.46") API: EGL v: 1.5 platforms: device: 0 drv: crocus device: 1 drv: swrast gbm: drv: crocus surfaceless: drv: crocus x11: drv: swrast inactive: wayland API: OpenGL v: 4.6 compat-v: 4.5 vendor: mesa v: 24.2.8-1ubuntu1~24.04.1 glx-v: 1.4 direct-render: yes renderer: llvmpipe (LLVM 19.1.1 256 bits) device-ID: ffffffff:ffffffff Network: Device-1: Intel Wi-Fi 6 AX200 driver: iwlwifi v: kernel pcie: speed: 5 GT/s lanes: 1 bus-ID: 06:00.0 chip-ID: 8086:2723 Device-2: Realtek RTL810xE PCI Express Fast Ethernet vendor: Dell driver: r8169 v: kernel pcie: speed: 2.5 GT/s lanes: 1 port: e000 bus-ID: 07:00.0 chip-ID: 10ec:8136 Drives: Local Storage: total: 931.51 GiB used: 47.26 GiB (5.1%) Info: Memory: total: N/A available: 7.67 GiB used: 1.11 GiB (14.4%) Processes: 223 Power: uptime: 2h 46m wakeups: 0 Init: systemd v: 255 target: graphical (5) default: graphical Packages: 2777 pm: dpkg pkgs: 2754 pm: flatpak pkgs: 9 pm: snap pkgs: 14 Compilers: gcc: 14.2.0 alt: 13 Shell: Bash v: 5.2.21 running-in: sshd inxi: 3.3.34 Otherwise, I've had no issues with install and running of liquorix up to 6.13 Thanks in any case. Back to top |
|||||
Re: Error on install of 6.13.5
I purged and reinstalled dkms and this seems to have done the trick. I don't know why it became so munged in the first place as the version of liquorix that did install wasn't released so long ago. Weirdness.. whatever. Thanks anyway.
Back to top |
|||||
I do that sometimes as well to force rebuild of all kernels/drivers to help resync what dkms knows of your current compiler so that it all matches should things get out of sync.
Back to top |
|||||
:: Quote :: I purged and reinstalled dkms and this seems to have done the trick. I don't know why it became so munged in the first place as the version of liquorix that did install wasn't released so long ago. Weirdness.. whatever. Thanks anyway.That _is_ odd, I've seen a similar report where reinstalling the kernel packages and some others fixes the issue. I'll mark this as resolved since it was transient. Back to top |
|||||
All times are GMT - 8 Hours
|