| Summary: | Busybox fails to build with linux kernels >= 6.8 | ||
|---|---|---|---|
| Product: | Busybox | Reporter: | Andreas Ziegler <br015> |
| Component: | Networking | Assignee: | unassigned |
| Status: | RESOLVED DUPLICATE | ||
| Severity: | normal | CC: | admwiggin+busyboxbugs, busybox-cvs, slyich |
| Priority: | P5 | ||
| Version: | 1.36.x | ||
| Target Milestone: | --- | ||
| Hardware: | All | ||
| OS: | Linux | ||
| Host: | Target: | ||
| Build: | |||
I think this might be a duplicate of https://bugs.busybox.net/show_bug.cgi?id=15931 (opened just a few hours earlier!) :) |
Linux kernel 6.8 removed a number of traffic control related symbols from include/uapi/linux/pkt_sched.h [1]. When using kernel 6.8 headers, compilation of tc.c fails with: networking/tc.c: In function ‘cbq_print_opt’: networking/tc.c:236:27: error: ‘TCA_CBQ_MAX’ undeclared (first use in this function); did you mean ‘TCA_CBS_MAX’? 236 | struct rtattr *tb[TCA_CBQ_MAX+1]; | ^~~~~~~~~~~ | TCA_CBS_MAX Temporary workaround: remove tc from the build with: # CONFIG_TC is not defined [1] https://lore.kernel.org/all/20231223140154.1319084-1-jhs@mojatatu.com/T/