make menuconfig problem on NixOS

busybox-ml at al.fstn.top busybox-ml at al.fstn.top
Sun Oct 6 16:16:13 UTC 2024


Hello,

I am using NixOS, and I want to test a custom linux kernel with busybox. for both linux and busybox, I installed the following packages in my nix flake:

```
rust-bindgen openssl stdenv git gnumake bc flex bison ncurses elfutils binutils openssl qemu_full gcc gdb clang clang-tools lld libllvm
```

I can successfully compile the linux kernel using this flake, but when I try to run make menuconfig​ in busybox, I got theser errors:

/nix/store/81xsp348yfgmaan9r5055mcdjfw7a8wc-binutils-2.42/bin/ld: scripts/kconfig/lxdialog/lxdialog.o: in function `main':
lxdialog.c:(.text.startup+0x1b2): undefined reference to `stdscr'/nix/store/81xsp348yfgmaan9r5055mcdjfw7a8wc-binutils-2.42/bin/ld: lxdialog.c:(.text.startup+0x1bb): undefined reference to `COLS'

...

What could be the problem here? Because I think that I have installed ncurses already by specifying it as a flake package. And why
can't I open menuconfig in the busybox repo, but I can open it in the linux kernel repo? Thanks!

Pasha
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.busybox.net/pipermail/busybox/attachments/20241006/d0c108b7/attachment.html>


More information about the busybox mailing list