[Bug 16186] make menuconfig exiting because of ncurses error

bugzilla at busybox.net bugzilla at busybox.net
Mon Sep 30 12:30:58 UTC 2024


https://bugs.busybox.net/show_bug.cgi?id=16186

--- Comment #1 from ChenPi11 <wushengwuxi-msctinoulk at outlook.com> ---
I also encountered this error on Debian/sid GNU/Linux aarch64 gcc version
14.2.0 (Debian 14.2.0-5).
It's caused by `extra/config/lxdialog/check-lxdialog.sh`. In line 45.

```shell
check() {
        $cc -xc - -o $tmp  <<'EOF'
#include CURSES_LOC
main() {}                        <-------- This line
EOF
```

My gcc do not support assuming the return type as int.
Use `int main() { return 0; }` instead of `main() {}` will works.

-- 
You are receiving this mail because:
You are on the CC list for the bug.


More information about the busybox-cvs mailing list