我试图构建内核遵循本教程 (我在Ubuntu上)。在执行"make“命令时,我得到了一个错误:
net/sched/sch_htb.c: In function ‘htb_dump_class’:
net/sched/sch_htb.c:1115:10: error: ‘TCA_HTB_PAD’ undeclared (first use in this function)
TCA_HTB_PAD))
^
net/sched/sch_htb.c:1115:10: note: each undeclared identifier is reported only once for each function it appears in
scripts/Makefile.build:300: recipe for target 'net/sched/sch_htb.o' failed
make[2]: *** [net/sched/sch_htb.o] Error 1
scripts/Makefile.build:553: recipe for target 'net/sched' failed
make[1]: *** [net/sched] Error 2
Makefile:1002: recipe for target 'net' failed
make: *** [net] Error 2这个错误已经在这个链接上报告了(我也为kaunetem构建了这个内核):“_HTB_”未声明“,但是用户没有回答他的问题。
发布于 2017-08-03 08:41:42
这个问题是由于我正在使用的包的内核兼容性问题造成的。当我使用内核4.5时,没有问题。
https://unix.stackexchange.com/questions/355554
复制相似问题