BusyBox: make menuconfig gives undefined reference lxdialog

Ran into this problem with BusyBox on my Ubuntu 12.04 trying to do make menuconfig. Couldn’t find this information easily so maybe it’ll help someone.

Problem:

...
scripts/kconfig/lxdialog/util.o: In function `attr_clear':
util.c:(.text+0x83): undefined reference to `wtouchln'
...
scripts/kconfig/lxdialog/msgbox.o: In function `dialog_msgbox':
msgbox.c:(.text+0x1e): undefined reference to `COLS'
...
msgbox.c:(.text+0x1ec): undefined reference to `delwin'
collect2: ld returned 1 exit status
make[2]: *** [scripts/kconfig/lxdialog/lxdialog] Error 1
make[1]: *** [menuconfig] Error 2
make: *** [menuconfig] Error 2

It’s an ncurses library problem. Particularly you need libncurses5-dev so:

apt-get install libncurses5-dev

Advertisements
This entry was posted in troubleshooting and tagged , , , , , . Bookmark the permalink.

3 Responses to BusyBox: make menuconfig gives undefined reference lxdialog

  1. Zhiwei says:

    thank you very much! was stuck on this for the past few days. i tried googling the various errors that came out and even deleted and resync the folder but to no avail until now 😀

  2. raghu says:

    thank you

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s