pacer Posted March 14, 2022 Share Posted March 14, 2022 Hello. Since NanoPI Air is no longer in the list of supported boards, I'm trying to build the image myself. Kernel compilation problem. I am using current version 5.15, compilation.log: drivers/net/wireless/rtl8822bs/os_dep/osdep_service.c:2095:11: error: implicit declaration of function ‘get_fs’; did you mean ‘get_sa’? [-Werror=implicit-function-declaration] oldfs = get_fs(); ^~~~~~ get_sa drivers/net/wireless/rtl8822bs/os_dep/osdep_service.c:2095:9: error: incompatible types when assigning to type ‘mm_segment_t’ {aka ‘struct <anonymous>’} from type ‘int’ oldfs = get_fs(); ^ drivers/net/wireless/rtl8822bs/os_dep/osdep_service.c:2096:3: error: implicit declaration of function ‘set_fs’; did you mean ‘sget_fc’? [-Werror=implicit-function-declaration] set_fs(KERNEL_DS); ^~~~~~ sget_fc drivers/net/wireless/rtl8822bs/os_dep/osdep_service.c:2096:10: error: ‘KERNEL_DS’ undeclared (first use in this function); did you mean ‘KERNFS_NS’? set_fs(KERNEL_DS); ^~~~~~~~~ KERNFS_NS drivers/net/wireless/rtl8822bs/os_dep/osdep_service.c:2096:10: note: each undeclared identifier is reported only once for each function it appears in drivers/net/wireless/rtl8822bs/os_dep/osdep_service.c: In function ‘retriveFromFile’: drivers/net/wireless/rtl8822bs/os_dep/osdep_service.c:2133:10: error: incompatible types when assigning to type ‘mm_segment_t’ {aka ‘struct <anonymous>’} from type ‘int’ oldfs = get_fs(); ^ drivers/net/wireless/rtl8822bs/os_dep/osdep_service.c:2134:11: error: ‘KERNEL_DS’ undeclared (first use in this function); did you mean ‘KERNFS_NS’? set_fs(KERNEL_DS); ^~~~~~~~~ KERNFS_NS drivers/net/wireless/rtl8822bs/os_dep/osdep_service.c: In function ‘storeToFile’: drivers/net/wireless/rtl8822bs/os_dep/osdep_service.c:2168:10: error: incompatible types when assigning to type ‘mm_segment_t’ {aka ‘struct <anonymous>’} from type ‘int’ oldfs = get_fs(); ^ drivers/net/wireless/rtl8822bs/os_dep/osdep_service.c:2169:11: error: ‘KERNEL_DS’ undeclared (first use in this function); did you mean ‘KERNFS_NS’? set_fs(KERNEL_DS); ^~~~~~~~~ KERNFS_NS cc1: some warnings being treated as errors make[4]: *** [scripts/Makefile.build:277: drivers/net/wireless/rtl8822bs/os_dep/osdep_service.o] Error 1 Build options: - Full OS image for flashing - Do not change the kernel configuration - nanopiair (from community list) - current kernel - bullsyey package base - minimal image What is the problem and how can it be solved? 0 Quote Link to comment Share on other sites More sharing options...
Igor Posted March 16, 2022 Share Posted March 16, 2022 On 3/14/2022 at 2:34 PM, pacer said: how can it be solved? - workaround can be found in manual or by searching this forum. - solving this problem is an expense. Supported or not supported hardware. Its general problem, so ticket was opened: https://armbian.atlassian.net/browse/AR-1116 Look how many problems there are - which is one of main reasons why this board is not supported anymore: https://armbian.atlassian.net/jira/dashboards/10000 0 Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.