Skip to content
View in the app

A better way to browse. Learn more.

Learn more

Pablo J. Cabrera Muñoz

Validating
  • Joined

  • Last visited

Everything posted by Pablo J. Cabrera Muñoz

  1. So I was trying to compile a wifi driver for a somewhat new usb wifi device and it breaks during compilation because it expects a directory named /usr/src/<linux-headers>/arch/aarch64 but on NanoPi NEO3 the directory is named (on NanoPI R4S is the same case btw) /usr/src/<linux-headers>/arch/arm64 In order to make it work, I created a symlink under the "arch" directory called "aarch64" pointing to "arm64" and I was able to compile it. Here is what happens when I try to compile it without the symlink: pablo@callampa:~/repos/github.com/morrownr/rtl8852cu-20240510$ make clean cd phl ; rm -fr */*/*/*/*.mod.c */*/*/*/*.mod */*/*/*/*.o */*/*/*/.*.cmd */*/*/*/*.ko cd phl ; rm -fr */*/*/*.mod.c */*/*/*.mod */*/*/*.o */*/*/.*.cmd */*/*/*.ko cd phl ; rm -fr */*/*.mod.c */*/*.mod */*/*.o */*/.*.cmd */*/*.ko cd phl ; rm -fr */*.mod.c */*.mod */*.o */.*.cmd */*.ko cd phl ; rm -fr *.mod.c *.mod *.o .*.cmd *.ko cd core ; rm -fr */*.mod.c */*.mod */*.o */.*.cmd */*.ko cd core ; rm -fr *.mod.c *.mod *.o .*.cmd *.ko cd os_dep/linux ; rm -fr *.mod.c *.mod *.o .*.cmd *.ko cd os_dep ; rm -fr *.mod.c *.mod *.o .*.cmd *.ko cd platform ; rm -fr *.mod.c *.mod *.o .*.cmd *.ko rm -fr Module.symvers ; rm -fr Module.markers ; rm -fr modules.order rm -fr *.mod.c *.mod *.o .*.cmd *.ko *~ rm -fr .tmp_versions rm -fr MOK.der MOK.priv pablo@callampa:~/repos/github.com/morrownr/rtl8852cu-20240510$ make #rm -f .symvers.8852cu make ARCH=aarch64 CROSS_COMPILE= -C /lib/modules/6.6.58-current-rockchip64/build M=/home/pablo/repos/github.com/morrownr/rtl8852cu-20240510 modules make[1]: Entering directory '/usr/src/linux-headers-6.6.58-current-rockchip64' /usr/src/linux-headers-6.6.58-current-rockchip64/Makefile:768: arch/aarch64/Makefile: No such file or directory make[2]: *** No rule to make target 'arch/aarch64/Makefile'. Stop. make[1]: *** [Makefile:234: __sub-make] Error 2 make[1]: Leaving directory '/usr/src/linux-headers-6.6.58-current-rockchip64' make: *** [Makefile:723: modules] Error 2 pablo@callampa:~/repos/github.com/morrownr/rtl8852cu-20240510$ My question would be, is it correct? Shouldn't it be named "aarch64" in the first place?

Search

Search

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.