Re: [PATCH 0000/2297] [ANNOUNCE, RFC] "Fast Kernel Headers" Tree -v1: Eliminate the Linux kernel's "Dependency Hell"
From: Ingo Molnar
Date: Sat Jan 08 2022 - 06:19:09 EST
* Nathan Chancellor <nathan@xxxxxxxxxx> wrote:
> 3. Build failure with CONFIG_SAMPLE_CONNECTOR=m and O=...
>
> I am guessing this has a similar root cause as above, since that commit
> mentions an error similar to this.
>
> $ make -skj"$(nproc)" ARCH=x86_64 O=.build/x86_64 allmodconfig samples/connector/
> In file included from /home/nathan/cbl/src/linux-fast-headers/samples/connector/ucon.c:14:
> usr/include/linux/netlink.h:5:10: fatal error: uapi/linux/types.h: No such file or directory
> 5 | #include <uapi/linux/types.h>
> | ^~~~~~~~~~~~~~~~~~~~
> compilation terminated.
Correct - this test now passes with the UAPI symlink fix applied:
kepler:~/mingo.tip.git> make -skj"$(nproc)" ARCH=x86_64 O=.build/x86_64 allmodconfig samples/connector/
kepler:~/mingo.tip.git>
Thanks,
Ingo