kernel最新分支linux-6.6.y,有build error #7076
Replies: 1 comment 1 reply
-
或者dcbnl.h 里面引用头文件 #include <linux/kabi.h> |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
1.复现方式:
make allyesconfig
make -j$(nproc)
2.error log:
CC drivers/net/ethernet/pensando/ionic/ionic_lif.o
CC drivers/net/ethernet/pensando/ionic/ionic_rx_filter.o
CC drivers/net/ethernet/pensando/ionic/ionic_ethtool.o
In file included from drivers/net/ethernet/microchip/sparx5/sparx5_dcb.c:7:
./include/net/dcbnl.h:135:9: error: expected specifier-qualifier-list before ‘KABI_RESERVE’
135 | KABI_RESERVE(1)
| ^~~~~~~~~~~~
CC drivers/net/ethernet/pensando/ionic/ionic_txrx.o
CC drivers/net/ethernet/pensando/ionic/ionic_stats.o
这是由最后一个提交引起的
9fc763cab25c (origin/linux-6.6.y) Init kabi reservation for driver and net system ([archlinux] 全新安装的arch-deepin,似乎没有打包音频和电源方面的管理 #56)
回退这个提交就可以编译过~
Beta Was this translation helpful? Give feedback.
All reactions