正在设置 aic8800d80fdrvpackage (0.0.3) ...
udev done
device not exist
cp fw done
x86_64
make -C /lib/modules/6.5.0-26-generic/build M=/usr/src/AIC8800/drivers/aic8800 ARCH=x86_64 CROSS_COMPILE= modules
make[1]: 警告: jobserver 不可用: 正使用 -j1。添加 “+” 到父 make 的规则。
make[1]: 进入目录“/usr/src/linux-headers-6.5.0-26-generic”
warning: the compiler differs from the one used to build the kernel
The kernel was built by: x86_64-linux-gnu-gcc-12 (Ubuntu 12.3.0-1ubuntu1~22.04) 12.3.0
You are using: gcc-12 (Ubuntu 12.3.0-1ubuntu1~22.04) 12.3.0
x86_64
CC [M] /usr/src/AIC8800/drivers/aic8800/aic8800_fdrv/rwnx_rx.o
CC [M] /usr/src/AIC8800/drivers/aic8800/aic8800_fdrv/rwnx_mod_params.o
/usr/src/AIC8800/drivers/aic8800/aic8800_fdrv/rwnx_rx.c: In function ‘rwnx_rx_data_skb’:
/usr/src/AIC8800/drivers/aic8800/aic8800_fdrv/rwnx_rx.c:467:9: error: too few arguments to function ‘ieee80211_amsdu_to_8023s’
467 | ieee80211_amsdu_to_8023s(skb, &list, rwnx_vif->ndev->dev_addr,
| ^~~~~~~~~~~~~~~~~~~~~~~~
In file included from /usr/src/AIC8800/drivers/aic8800/aic8800_fdrv/rwnx_defs.h:20,
from /usr/src/AIC8800/drivers/aic8800/aic8800_fdrv/rwnx_rx.c:15:
./include/net/cfg80211.h:6474:6: note: declared here
6474 | void ieee80211_amsdu_to_8023s(struct sk_buff *skb, struct sk_buff_head *list,
| ^~~~~~~~~~~~~~~~~~~~~~~~
make[4]: *** [scripts/Makefile.build:251:/usr/src/AIC8800/drivers/aic8800/aic8800_fdrv/rwnx_rx.o] 错误 1
make[4]: *** 正在等待未完成的任务....
/usr/src/AIC8800/drivers/aic8800/aic8800_fdrv/rwnx_mod_params.c: In function ‘rwnx_custregd’:
/usr/src/AIC8800/drivers/aic8800/aic8800_fdrv/rwnx_mod_params.c:1747:32: error: ‘REGULATORY_IGNORE_STALE_KICKOFF’ undeclared (first use in this function)
1747 | wiphy->regulatory_flags |= REGULATORY_IGNORE_STALE_KICKOFF;
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/usr/src/AIC8800/drivers/aic8800/aic8800_fdrv/rwnx_mod_params.c:1747:32: note: each undeclared identifier is reported only once for each function it appears in
make[4]: *** [scripts/Makefile.build:251:/usr/src/AIC8800/drivers/aic8800/aic8800_fdrv/rwnx_mod_params.o] 错误 1
make[3]: *** [scripts/Makefile.build:488:/usr/src/AIC8800/drivers/aic8800/aic8800_fdrv] 错误 2
make[2]: *** [/usr/src/linux-headers-6.5.0-26-generic/Makefile:2039:/usr/src/AIC8800/drivers/aic8800] 错误 2
make[1]: *** [Makefile:234:__sub-make] 错误 2
make[1]: 离开目录“/usr/src/linux-headers-6.5.0-26-generic”
make: *** [Makefile:59:modules] 错误 2
make failed, install aic8800 wifi drvier failed
dpkg: 处理软件包 aic8800d80fdrvpackage (--configure)时出错:
已安装 aic8800d80fdrvpackage 软件包 post-installation 脚本 子进程返回错误状态 1
在处理时有错误发生:
aic8800d80fdrvpackage
E: Sub-process /usr/bin/dpkg returned an error code (1)