各位大神,更新内核5.0以后无线网卡无法安装还请指教
Tofloor
poster avatar
zouhao81
deepin
2019-11-30 23:13
Author
各位大神,更新内核5.0以后无线网卡无法安装还请指教,谢谢make ARCH=x86_64 CROSS_COMPILE= -C /lib/modules/5.4.0-050400rc8-generic/build M=/home/zouwu/Downloads/rtl8821ce/rtl8821ce  modules
make[1]: Entering directory '/usr/src/linux-headers-5.4.0-050400rc8-generic'
  CC [M]  /home/zouwu/Downloads/rtl8821ce/rtl8821ce/core/rtw_cmd.o
In file included from :0:0:
./arch/x86/include/asm/page_64.h: In function ‘clear_page’:
././include/linux/compiler_types.h:210:24: error: expected ‘(’ before ‘__inline’
#define asm_inline asm __inline
                        ^
./arch/x86/include/asm/alternative.h:256:2: note: in expansion of macro ‘asm_inline’
  asm_inline volatile (ALTERNATIVE_2("call %P[old]", "call %P[new1]", feature1,\
  ^~~~~~~~~~
./arch/x86/include/asm/page_64.h:49:2: note: in expansion of macro ‘alternative_call_2’
  alternative_call_2(clear_page_orig,
  ^~~~~~~~~~~~~~~~~~

Reply Favorite View the author
All Replies
avatar
superendermansm
deepin
2019-11-30 23:37
#1
帮顶帮顶
Reply View the author
avatar
Feng Yu
deepin
2019-12-01 00:54
#2
你这是哪看到的奇怪的编译参数?
Reply View the author
avatar
michaelyajun
deepin
2019-12-01 01:13
#3
为什么不根据网卡的型号去下载对应的无线网卡驱动呢,我的笔记本就是下载了驱动才能正常使用。
Reply View the author