astroarch icon indicating copy to clipboard operation
astroarch copied to clipboard

Missing `/lib/modules/6.6.32-1-rpi/build` directory

Open vectorcrumb opened this issue 6 months ago • 1 comments

Hi, I'm trying to build the driver for a TP Link Archer T2U Wifi dongle following the instructions in this repository. However, the install script checks for the presence of the following directory:

/lib/modules/$(uname -r)/build

This directory does not exist, as the kernel version reported by uname -r is 6.6.32-1-rpi. There is however a build directory in the newer kernel folder, 6.12.47-1-rpi. I tried searching for headers for the 6.6.32-1-rpi version, but it seems that Arch only holds the latest version of packages, which in the case of linux-rpi-headers, would be 6.12.55-1 (according to this).

I would try installing this, but I previously also tried upgrading the system with sudo pacman -Syu and that failed with the following output, so I got a bit scared of messing up the system. Sorry if I'm missing something obvious, this is my first time trying out Arch

...
Total (831/831)                       1591.3 MiB  3.81 MiB/s 06:57 [------------------------------------] 100%
(831/831) checking keys in keyring                                 [------------------------------------] 100%
(831/831) checking package integrity                               [------------------------------------] 100%
(831/831) loading package files                                    [------------------------------------] 100%
(831/831) checking for file conflicts                              [------------------------------------] 100%
error: failed to commit transaction (conflicting files)
indi-3rdparty-libs: /usr/lib/libqhyccd.so.20 exists in filesystem
linux-firmware-nvidia: /usr/lib/firmware/nvidia/ad103 exists in filesystem
linux-firmware-nvidia: /usr/lib/firmware/nvidia/ad104 exists in filesystem
linux-firmware-nvidia: /usr/lib/firmware/nvidia/ad106 exists in filesystem
linux-firmware-nvidia: /usr/lib/firmware/nvidia/ad107 exists in filesystem
Errors occurred, no packages were upgraded.

vectorcrumb avatar Oct 25 '25 23:10 vectorcrumb

hi @vectorcrumb, a new updated image has been released and the link to it is in the README, the folder you are looking for is there already (checked) and all software is at the latest version. You shoul dbe able to compile the driver now

MattBlack85 avatar Oct 30 '25 11:10 MattBlack85