[ Date Index ] [ Thread Index ] [ <= Previous by date / thread ] [ Next by date / thread => ]
On 02/04/2020 17:30, Julian Hall wrote:
Hi All,I wrongly thought that as this supposedly works on a Raspberry Pi it would work in a desktop installation of Linux Mint, as Raspbian and Mint are both Debian based. Wrong. Now I am trying to follow the advice here - https://askubuntu.com/questions/879187/asus-usb-ac68-0b051817-drivers and not having much luck. The make.log file mentioned in isDKMS make.log for rtl8814AU-4.3.21 for kernel 4.15.0-91-generic (x86_64) Thu 2 Apr 17:06:07 BST 2020make ARCH=x86_64 CROSS_COMPILE= -C /lib/modules/4.15.0-91-generic/build M=/var/lib/dkms/rtl8814AU/4.3.21/build modulesmake[1]: Entering directory '/usr/src/linux-headers-4.15.0-91-generic' CC [M] /var/lib/dkms/rtl8814AU/4.3.21/build/core/rtw_cmd.oIn file included from /var/lib/dkms/rtl8814AU/4.3.21/build/include/osdep_service.h:41, from /var/lib/dkms/rtl8814AU/4.3.21/build/include/drv_types.h:32, from /var/lib/dkms/rtl8814AU/4.3.21/build/core/rtw_cmd.c:22: /var/lib/dkms/rtl8814AU/4.3.21/build/include/osdep_service_linux.h: In function ‘_init_timer’: /var/lib/dkms/rtl8814AU/4.3.21/build/include/osdep_service_linux.h:273:8: error: ‘_timer’ {aka ‘struct timer_list’} has no member named ‘data’ptimer->data = (unsigned long)cntx; ^~/var/lib/dkms/rtl8814AU/4.3.21/build/include/osdep_service_linux.h:274:2: error: implicit declaration of function ‘init_timer’; did you mean ‘_init_timer’? [-Werror=implicit-function-declaration]init_timer(ptimer); ^~~~~~~~~~ _init_timerIn file included from /var/lib/dkms/rtl8814AU/4.3.21/build/include/drv_types.h:32, from /var/lib/dkms/rtl8814AU/4.3.21/build/core/rtw_cmd.c:22: /var/lib/dkms/rtl8814AU/4.3.21/build/include/osdep_service.h: In function ‘thread_enter’: /var/lib/dkms/rtl8814AU/4.3.21/build/include/osdep_service.h:343:2: error: implicit declaration of function ‘allow_signal’; did you mean ‘do_signal’? [-Werror=implicit-function-declaration]allow_signal(SIGTERM); ^~~~~~~~~~~~ do_signal/var/lib/dkms/rtl8814AU/4.3.21/build/include/osdep_service.h: In function ‘flush_signals_thread’: /var/lib/dkms/rtl8814AU/4.3.21/build/include/osdep_service.h:353:6: error: implicit declaration of function ‘signal_pending’; did you mean ‘timer_pending’? [-Werror=implicit-function-declaration]if (signal_pending (current)) ^~~~~~~~~~~~~~ timer_pending/var/lib/dkms/rtl8814AU/4.3.21/build/include/osdep_service.h:355:3: error: implicit declaration of function ‘flush_signals’; did you mean ‘do_signal’? [-Werror=implicit-function-declaration]flush_signals(current); ^~~~~~~~~~~~~ do_signal cc1: some warnings being treated as errorsscripts/Makefile.build:330: recipe for target '/var/lib/dkms/rtl8814AU/4.3.21/build/core/rtw_cmd.o' failedmake[2]: *** [/var/lib/dkms/rtl8814AU/4.3.21/build/core/rtw_cmd.o] Error 1Makefile:1577: recipe for target '_module_/var/lib/dkms/rtl8814AU/4.3.21/build' failedmake[1]: *** [_module_/var/lib/dkms/rtl8814AU/4.3.21/build] Error 2 make[1]: Leaving directory '/usr/src/linux-headers-4.15.0-91-generic' Makefile:1699: recipe for target 'modules' failed make: *** [modules] Error 2Also this just makes my head itch - https://github.com/gnab/rtl8812au - I know the answer is here but I have no idea what exactly to do.
Compiles and installs clean for me although I don't have one of those particular devices to actually test it with. Clean up any mess you might have made to this point and do:
git clone https://github.com/gnab/rtl8812au.git cd rtl8812au make # stop here if compilation fails and report # otherwise, continue: sudo mkdir /usr/src/8812au-4.2.2 sudo cp -avr ./* /usr/src/8812au-4.2.2/ sudo dkms add -m 8812au -v 4.2.2 sudo dkms install -m 8812au -v 4.2.2 --force # all done, check your work dkms status # automatically load kernel module at boot: echo 8812au | sudo tee -a /etc/modulesYou'll need (at least) the build-essential, dkms and linux-headers packages for your running kernel which you probably already have. However Mint 19.3 ships with kernel 5.0 so upgrade to that first, god knows why you're still using 4.15.
See how you get on. -- The Mailing List for the Devon & Cornwall LUG https://mailman.dcglug.org.uk/listinfo/list FAQ: http://www.dcglug.org.uk/listfaq