Hi,

shaqtsui <shaqt...@163.com> writes:

> Hi Guix team,
>
> I am struggling on this error but can not get it resolved.
> Please kindly help.
>
>
> Config code snippet
>
> ```
> (kernel (customize-linux
>                                #:linux linux-libre-with-bpf
>                                #:configs '(
>                                                                               
>  "CONFIG_DEBUG_INFO_BTF=y"
>                                                                               
>  )))
>

[...]

I think I've answered on IRC in #guix, but in case it didn't reach you,
the reason the configure validation step fails is probably due to a
missing KConfig dependency.  CONFIG_DEBUG_INFO_BTF depends on
CONFIG_DEBUG_INFO, among others.

In doubt, you can run 'make menuconfig' from the Linux-libre kernel
source directory in a 'guix shell -D linux-libre ncurses' environment.
There you'll be able to inspect dependencies.

After configuring the kernel to your needs (starting from the base
config of Guix if you like), you can even save a 'defconfig' file, via
'make savedefconfig' and provide that directly to customize-linux.

This way of doing things ensure all the KConfig dependencies are
satisfied and avoids any surprise.

-- 
Thanks,
Maxim

Reply via email to