Closed maxberger closed 1 month ago
INSTALL /home/cjs.linux/repos/skiff-configs/skiff/workspaces/desktop/host/x86_64-buildroot-linux-uclibc/sysroot/usr/include if ! support/scripts/check-kernel-headers.sh /home/cjs.linux/repos/skiff-configs/skiff/workspaces/desktop/build /home/cjs.linux/repos/skiff-configs/skiff/workspaces/desktop/host/x86_64-buildroot-linux-uclibc/sysroot 2.6 strict; then exit 1; fi Incorrect selection of kernel headers: expected 2.6.x, got 6.11.x
For whatever reason this happens when building x86, so I think we need the line selecting the latest kernel headers revision.
INSTALL /home/cjs.linux/repos/skiff-configs/skiff/workspaces/desktop/host/x86_64-buildroot-linux-uclibc/sysroot/usr/include if ! support/scripts/check-kernel-headers.sh /home/cjs.linux/repos/skiff-configs/skiff/workspaces/desktop/build /home/cjs.linux/repos/skiff-configs/skiff/workspaces/desktop/host/x86_64-buildroot-linux-uclibc/sysroot 2.6 strict; then exit 1; fi Incorrect selection of kernel headers: expected 2.6.x, got 6.11.x
For whatever reason this happens when building x86, so I think we need the line selecting the latest kernel headers revision.
Interesting. In my case the Error Message was the Same, but the other way round.
But why does x86 need kernel 2.6 Headers? That seems quite outdated.
-> If we need this line, so bei it. But it should probably always reflect the current kernel Version (at the time it said 6_8 but kernel was 6.10)
The line, if you check menu config, says "Kernel version 6.10.x or newer"
Unfortunately there isn't a "latest" option as far as I see, so I'm just setting it to the most recent (highest) one.
If you have that error, wherever you configure the kernel version, also need to set the kernel headers major version.
This causes build failures when trying to build a 6.10 kernel