Closed NickNothom closed 4 years ago
Somewhat different results after following the steps here
pi@gcs:~/rtl8812au $ sudo ./dkms-install.sh
About to run dkms install steps...
Creating symlink /var/lib/dkms/rtl8812au/5.2.20.2/source ->
/usr/src/rtl8812au-5.2.20.2
DKMS: add completed.
Kernel preparation unnecessary for this kernel. Skipping...
Building module:
cleaning build area...
'make' -j4 KVER=4.19.75-v7+ KSRC=/lib/modules/4.19.75-v7+/build......................(bad exit status: 2)
Error! Bad return status for module build on kernel: 4.19.75-v7+ (armv7l)
Consult /var/lib/dkms/rtl8812au/5.2.20.2/build/make.log for more information.
Kernel preparation unnecessary for this kernel. Skipping...
Building module:
cleaning build area...
'make' -j4 KVER=4.19.75-v7+ KSRC=/lib/modules/4.19.75-v7+/build......(bad exit status: 2)
Error! Bad return status for module build on kernel: 4.19.75-v7+ (armv7l)
Consult /var/lib/dkms/rtl8812au/5.2.20.2/build/make.log for more information.
Finished running dkms install steps.
Disabled IPv6 Successfuly
net.ipv6.conf.all.disable_ipv6 = 1
net.ipv6.conf.default.disable_ipv6 = 1
net.ipv6.conf.lo.disable_ipv6 = 1
net.ipv6.conf.all.disable_ipv6 = 1
net.ipv6.conf.default.disable_ipv6 = 1
net.ipv6.conf.lo.disable_ipv6 = 1
net.ipv6.conf.all.disable_ipv6 = 1
net.ipv6.conf.default.disable_ipv6 = 1
net.ipv6.conf.lo.disable_ipv6 = 1
net.ipv6.conf.all.disable_ipv6 = 1
net.ipv6.conf.default.disable_ipv6 = 1
net.ipv6.conf.lo.disable_ipv6 = 1
net.ipv6.conf.all.disable_ipv6 = 1
net.ipv6.conf.default.disable_ipv6 = 1
net.ipv6.conf.lo.disable_ipv6 = 1
net.ipv6.conf.all.disable_ipv6 = 1
net.ipv6.conf.default.disable_ipv6 = 1
net.ipv6.conf.lo.disable_ipv6 = 1
pi@gcs:~/rtl8812au $ cat /var/lib/dkms/rtl8812au/5.2.20.2/build/make.log
DKMS make.log for rtl8812au-5.2.20.2 for kernel 4.19.75-v7+ (armv7l)
Sat 23 Nov 02:48:32 GMT 2019
make ARCH=arm CROSS_COMPILE= -C /lib/modules/4.19.75-v7+/build M=/var/lib/dkms/rtl8812au/5.2.20.2/build O="" modules
make[1]: Entering directory '/usr/src/linux-headers-4.19.75-v7+'
CC [M] /var/lib/dkms/rtl8812au/5.2.20.2/build/core/rtw_cmd.o
CC [M] /var/lib/dkms/rtl8812au/5.2.20.2/build/core/rtw_security.o
CC [M] /var/lib/dkms/rtl8812au/5.2.20.2/build/core/rtw_debug.o
CC [M] /var/lib/dkms/rtl8812au/5.2.20.2/build/core/rtw_io.o
In file included from <command-line>:
./include/linux/rbtree_latch.h: In function ‘__lt_from_rb’:
./include/linux/rbtree_latch.h:72:35: internal compiler error: Segmentation fault
return container_of(node, struct latch_tree_node, node[idx]);
^~~~~~~~~~~~~~~
././include/linux/compiler_types.h:245:54: note: in definition of macro ‘__compiler_offsetof’
#define __compiler_offsetof(a, b) __builtin_offsetof(a, b)
^
./include/linux/kernel.h:1001:21: note: in expansion of macro ‘offsetof’
((type *)(__mptr - offsetof(type, member))); })
^~~~~~~~
./include/linux/rbtree_latch.h:72:9: note: in expansion of macro ‘container_of’
return container_of(node, struct latch_tree_node, node[idx]);
^~~~~~~~~~~~
0x76b5211f ???
../sysdeps/unix/sysv/linux/arm/sigrestorer.S:64
0x76b3c717 __libc_start_main
/build/glibc-FUvrFr/glibc-2.28/csu/libc-start.c:308
Please submit a full bug report,
with preprocessed source if appropriate.
Please include the complete backtrace with any bug report.
See <file:///usr/share/doc/gcc-8/README.Bugs> for instructions.
make[2]: *** [scripts/Makefile.build:303: /var/lib/dkms/rtl8812au/5.2.20.2/build/core/rtw_io.o] Error 1
make[2]: *** Waiting for unfinished jobs....
make[1]: *** [Makefile:1519: _module_/var/lib/dkms/rtl8812au/5.2.20.2/build] Error 2
make[1]: Leaving directory '/usr/src/linux-headers-4.19.75-v7+'
make: *** [Makefile:1593: modules] Error 2
I didn't see the RPi section in the instructions.. should have kept scrolling.
I get this when I try to install on my Raspberry Pi 3B. Running today's image of Raspbian, completely stock.
I had to install some kernel headers to get it this far. Not sure where to go from here.