make menuconfig deps
Rob Landley
rob at landley.net
Wed Jul 20 21:13:20 UTC 2016
On 07/20/2016 03:49 PM, David Henderson wrote:
> msgbox.c:(.text+0x130): undefined reference to `waddch'
> msgbox.c:(.text+0x160): undefined reference to `wrefresh'
> msgbox.c:(.text+0x190): undefined reference to `wgetch'
> msgbox.c:(.text+0x1a1): undefined reference to `delwin'
> msgbox.c:(.text+0x1f5): undefined reference to `wrefresh'
> msgbox.c:(.text+0x201): undefined reference to `delwin'
> collect2: error: ld returned 1 exit status
That's not a failure to find collect2, that's an error message returned
_from_ collect2, saying its attempt to link couldn't find symbols the
program referred to.
Googling for delwin found:
http://linux.die.net/man/3/delwin
And it's a curses function. Looks like it's not finding the curses
library, although if it attempted to link a library that it couldn't
find that would yet again have been in the part of the error output you
didn't include (further up).
Rob
More information about the busybox
mailing list