Compiling and installing Wifi driver
#3
I don't really know what I'm doing but I changed this line in the Makefile from

Code:
SUBARCH := $(shell uname -m | sed -e s/i.86/i386/ | sed -e s/ppc/powerpc/ | sed -e s/armv.l/arm/)
ARCH ?= $(SUBARCH)


to

Code:
SUBARCH := "arm64"
ARCH ?= $(SUBARCH)
 
and I got a different error while make:


Code:
rock64@rock64:~/.git/rtl8723bu$ sudo make
[sudo] password for rock64:
make ARCH="arm64" CROSS_COMPILE= -C /lib/modules/4.4.77-rockchip-ayufan-93/build M=/home/rock64/.git/rtl8723bu  modules
make[1]: Entering directory '/usr/src/linux-headers-4.4.77-rockchip-ayufan-93'
 CC [M]  /home/rock64/.git/rtl8723bu/core/rtw_cmd.o
In file included from ./arch/arm64/include/asm/sysreg.h:25:0,
                from ./arch/arm64/include/asm/cputype.h:89,
                from ./arch/arm64/include/asm/cachetype.h:19,
                from ./arch/arm64/include/asm/cache.h:19,
                from include/linux/cache.h:5,
                from include/linux/printk.h:8,
                from include/linux/kernel.h:13,
                from include/linux/list.h:8,
                from include/linux/preempt.h:10,
                from include/linux/spinlock.h:50,
                from /home/rock64/.git/rtl8723bu/include/osdep_service_linux.h:24,
                from /home/rock64/.git/rtl8723bu/include/osdep_service.h:40,
                from /home/rock64/.git/rtl8723bu/include/drv_types.h:32,
                from /home/rock64/.git/rtl8723bu/core/rtw_cmd.c:22:
./arch/arm64/include/asm/opcodes.h:5:43: fatal error: ../../arm/include/asm/opcodes.h: No such file or directory
compilation terminated.
scripts/Makefile.build:258: recipe for target '/home/rock64/.git/rtl8723bu/core/rtw_cmd.o' failed
make[2]: *** [/home/rock64/.git/rtl8723bu/core/rtw_cmd.o] Error 1
Makefile:1424: recipe for target '_module_/home/rock64/.git/rtl8723bu' failed
make[1]: *** [_module_/home/rock64/.git/rtl8723bu] Error 2
make[1]: Leaving directory '/usr/src/linux-headers-4.4.77-rockchip-ayufan-93'
Makefile:321: recipe for target 'modules' failed
make: *** [modules] Error 2
  Reply


Messages In This Thread
Compiling and installing Wifi driver - by Lexstar - 08-29-2017, 07:05 AM
RE: Compiling and installing Wifi driver - by Lexstar - 08-29-2017, 08:04 AM

Possibly Related Threads…
Thread Author Replies Views Last Post
  Installing DietPie on Rock64 and set 1280x1024 resolution Dape97 2 3,745 05-26-2020, 07:20 AM
Last Post: Dape97
  on-board ethernet driver michaelanburaj 0 1,827 03-26-2020, 12:01 PM
Last Post: michaelanburaj
  Ayufan Debian Stretch Openmediavault 4 5G Wifi Not Connecting Poincare 0 2,230 03-26-2019, 07:28 PM
Last Post: Poincare
  Can't connect to wifi on a Rock64 SuperSaiyanCaleb 2 4,090 12-18-2018, 11:51 PM
Last Post: SuperSaiyanCaleb
Lightbulb Wifi problem Nether494 13 17,148 11-28-2018, 01:48 PM
Last Post: Nether494
  8812au wifi driver OS pane 9 10,719 11-19-2018, 02:46 AM
Last Post: pane
  Freeze/reboot/errors when compiling - unable to make - reproducible and not isolated jovval 2 3,810 10-02-2018, 08:10 AM
Last Post: jovval
  WiFi on Armbian problem scalextrix 14 17,479 09-08-2018, 01:13 AM
Last Post: scalextrix
  If installing free software system which devices will not work? heocb 6 6,751 08-17-2018, 09:42 AM
Last Post: heocb
  Rock64: Debian root fs on software RAID1 of eMMC and microSD - is installing it the s jovval 2 3,678 08-03-2018, 12:33 PM
Last Post: jovval

Forum Jump:


Users browsing this thread: 2 Guest(s)