notgoingbackto_ms
June 8th, 2021, 09:24 PM
Hi, both were installed and working in 20.04, but all my attempts (with terminal commands) to install these now fail with errors on the install. I need some guidance on where to begin, I would like to get the a6100 working first.
I just tried instructions from github, and the make errors are:
CC [M] /home/leary/src/rtl8812AU_8821AU_linux/core/rtw_odm.o
CC [M] /home/leary/src/rtl8812AU_8821AU_linux/core/efuse/rtw_efuse.o
CC [M] /home/leary/src/rtl8812AU_8821AU_linux/os_dep/osdep_service.o
/home/leary/src/rtl8812AU_8821AU_linux/os_dep/osdep_service.c: In function ‘isFileReadable’:
/home/leary/src/rtl8812AU_8821AU_linux/os_dep/osdep_service.c:1951:11: error: implicit declaration of function ‘get_fs’; did you mean ‘get_ds’? [-Werror=implicit-function-declaration]
1951 | oldfs = get_fs();
| ^~~~~~
| get_ds
/home/leary/src/rtl8812AU_8821AU_linux/os_dep/osdep_service.c:1951:11: error: incompatible types when assigning to type ‘mm_segment_t’ from type ‘int’
/home/leary/src/rtl8812AU_8821AU_linux/os_dep/osdep_service.c:1952:3: error: implicit declaration of function ‘set_fs’; did you mean ‘sget_fc’? [-Werror=implicit-function-declaration]
1952 | set_fs(get_ds());
| ^~~~~~
| sget_fc
/home/leary/src/rtl8812AU_8821AU_linux/os_dep/osdep_service.c:37:19: error: ‘KERNEL_DS’ undeclared (first use in this function); did you mean ‘KERNFS_NS’?
37 | #define get_ds() KERNEL_DS
| ^~~~~~~~~
/home/leary/src/rtl8812AU_8821AU_linux/os_dep/osdep_service.c:1952:10: note: in expansion of macro ‘get_ds’
1952 | set_fs(get_ds());
| ^~~~~~
/home/leary/src/rtl8812AU_8821AU_linux/os_dep/osdep_service.c:37:19: note: each undeclared identifier is reported only once for each function it appears in
37 | #define get_ds() KERNEL_DS
| ^~~~~~~~~
/home/leary/src/rtl8812AU_8821AU_linux/os_dep/osdep_service.c:1952:10: note: in expansion of macro ‘get_ds’
1952 | set_fs(get_ds());
| ^~~~~~
/home/leary/src/rtl8812AU_8821AU_linux/os_dep/osdep_service.c: In function ‘retriveFromFile’:
/home/leary/src/rtl8812AU_8821AU_linux/os_dep/osdep_service.c:1980:12: error: incompatible types when assigning to type ‘mm_segment_t’ from type ‘int’
1980 | oldfs = get_fs();
| ^~~~~~
/home/leary/src/rtl8812AU_8821AU_linux/os_dep/osdep_service.c:37:19: error: ‘KERNEL_DS’ undeclared (first use in this function); did you mean ‘KERNFS_NS’?
37 | #define get_ds() KERNEL_DS
| ^~~~~~~~~
/home/leary/src/rtl8812AU_8821AU_linux/os_dep/osdep_service.c:1981:11: note: in expansion of macro ‘get_ds’
1981 | set_fs(get_ds());
| ^~~~~~
/home/leary/src/rtl8812AU_8821AU_linux/os_dep/osdep_service.c: In function ‘storeToFile’:
/home/leary/src/rtl8812AU_8821AU_linux/os_dep/osdep_service.c:2015:12: error: incompatible types when assigning to type ‘mm_segment_t’ from type ‘int’
2015 | oldfs = get_fs();
| ^~~~~~
/home/leary/src/rtl8812AU_8821AU_linux/os_dep/osdep_service.c:37:19: error: ‘KERNEL_DS’ undeclared (first use in this function); did you mean ‘KERNFS_NS’?
37 | #define get_ds() KERNEL_DS
| ^~~~~~~~~
/home/leary/src/rtl8812AU_8821AU_linux/os_dep/osdep_service.c:2016:11: note: in expansion of macro ‘get_ds’
2016 | set_fs(get_ds());
| ^~~~~~
cc1: all warnings being treated as errors
make[2]: *** [scripts/Makefile.build:287: /home/leary/src/rtl8812AU_8821AU_linux/os_dep/osdep_service.o] Error 1
make[1]: *** [Makefile:1848: /home/leary/src/rtl8812AU_8821AU_linux] Error 2
make[1]: Leaving directory '/usr/src/linux-headers-5.11.0-18-generic'
make: *** [Makefile:1622: modules] Error 2
leary@ubuntu-upstairs:~/src/rtl8812AU_8821AU_linux$
Most all other instructions give the same errors above on the make.
Thanks
I just tried instructions from github, and the make errors are:
CC [M] /home/leary/src/rtl8812AU_8821AU_linux/core/rtw_odm.o
CC [M] /home/leary/src/rtl8812AU_8821AU_linux/core/efuse/rtw_efuse.o
CC [M] /home/leary/src/rtl8812AU_8821AU_linux/os_dep/osdep_service.o
/home/leary/src/rtl8812AU_8821AU_linux/os_dep/osdep_service.c: In function ‘isFileReadable’:
/home/leary/src/rtl8812AU_8821AU_linux/os_dep/osdep_service.c:1951:11: error: implicit declaration of function ‘get_fs’; did you mean ‘get_ds’? [-Werror=implicit-function-declaration]
1951 | oldfs = get_fs();
| ^~~~~~
| get_ds
/home/leary/src/rtl8812AU_8821AU_linux/os_dep/osdep_service.c:1951:11: error: incompatible types when assigning to type ‘mm_segment_t’ from type ‘int’
/home/leary/src/rtl8812AU_8821AU_linux/os_dep/osdep_service.c:1952:3: error: implicit declaration of function ‘set_fs’; did you mean ‘sget_fc’? [-Werror=implicit-function-declaration]
1952 | set_fs(get_ds());
| ^~~~~~
| sget_fc
/home/leary/src/rtl8812AU_8821AU_linux/os_dep/osdep_service.c:37:19: error: ‘KERNEL_DS’ undeclared (first use in this function); did you mean ‘KERNFS_NS’?
37 | #define get_ds() KERNEL_DS
| ^~~~~~~~~
/home/leary/src/rtl8812AU_8821AU_linux/os_dep/osdep_service.c:1952:10: note: in expansion of macro ‘get_ds’
1952 | set_fs(get_ds());
| ^~~~~~
/home/leary/src/rtl8812AU_8821AU_linux/os_dep/osdep_service.c:37:19: note: each undeclared identifier is reported only once for each function it appears in
37 | #define get_ds() KERNEL_DS
| ^~~~~~~~~
/home/leary/src/rtl8812AU_8821AU_linux/os_dep/osdep_service.c:1952:10: note: in expansion of macro ‘get_ds’
1952 | set_fs(get_ds());
| ^~~~~~
/home/leary/src/rtl8812AU_8821AU_linux/os_dep/osdep_service.c: In function ‘retriveFromFile’:
/home/leary/src/rtl8812AU_8821AU_linux/os_dep/osdep_service.c:1980:12: error: incompatible types when assigning to type ‘mm_segment_t’ from type ‘int’
1980 | oldfs = get_fs();
| ^~~~~~
/home/leary/src/rtl8812AU_8821AU_linux/os_dep/osdep_service.c:37:19: error: ‘KERNEL_DS’ undeclared (first use in this function); did you mean ‘KERNFS_NS’?
37 | #define get_ds() KERNEL_DS
| ^~~~~~~~~
/home/leary/src/rtl8812AU_8821AU_linux/os_dep/osdep_service.c:1981:11: note: in expansion of macro ‘get_ds’
1981 | set_fs(get_ds());
| ^~~~~~
/home/leary/src/rtl8812AU_8821AU_linux/os_dep/osdep_service.c: In function ‘storeToFile’:
/home/leary/src/rtl8812AU_8821AU_linux/os_dep/osdep_service.c:2015:12: error: incompatible types when assigning to type ‘mm_segment_t’ from type ‘int’
2015 | oldfs = get_fs();
| ^~~~~~
/home/leary/src/rtl8812AU_8821AU_linux/os_dep/osdep_service.c:37:19: error: ‘KERNEL_DS’ undeclared (first use in this function); did you mean ‘KERNFS_NS’?
37 | #define get_ds() KERNEL_DS
| ^~~~~~~~~
/home/leary/src/rtl8812AU_8821AU_linux/os_dep/osdep_service.c:2016:11: note: in expansion of macro ‘get_ds’
2016 | set_fs(get_ds());
| ^~~~~~
cc1: all warnings being treated as errors
make[2]: *** [scripts/Makefile.build:287: /home/leary/src/rtl8812AU_8821AU_linux/os_dep/osdep_service.o] Error 1
make[1]: *** [Makefile:1848: /home/leary/src/rtl8812AU_8821AU_linux] Error 2
make[1]: Leaving directory '/usr/src/linux-headers-5.11.0-18-generic'
make: *** [Makefile:1622: modules] Error 2
leary@ubuntu-upstairs:~/src/rtl8812AU_8821AU_linux$
Most all other instructions give the same errors above on the make.
Thanks