Thanks MG for the continued help.  The results of the find call are as
shown below:

drwxr-xr-x    3 root     root            26 Apr 22  2015 /tmp/tcloop/ncurses
drwxr-xr-x    3 root     root            26 Apr 22  2015 /tmp/tcloop/ncurses-dev
-rw-r--r--    1 root     root         93600 Apr 22  2015
/tmp/tcloop/ncurses-dev/usr/local/include/curses.h
-rw-r--r--    1 root     root          6582 Apr 22  2015
/tmp/tcloop/ncurses-dev/usr/local/include/cursesapp.h
-rw-r--r--    1 root     root         27630 Apr 22  2015
/tmp/tcloop/ncurses-dev/usr/local/include/cursesf.h
-rw-r--r--    1 root     root         19486 Apr 22  2015
/tmp/tcloop/ncurses-dev/usr/local/include/cursesm.h
-rw-r--r--    1 root     root          8473 Apr 22  2015
/tmp/tcloop/ncurses-dev/usr/local/include/cursesp.h
-rw-r--r--    1 root     root         49264 Apr 22  2015
/tmp/tcloop/ncurses-dev/usr/local/include/cursesw.h
lrwxrwxrwx    1 root     root             8 Apr 22  2015
/tmp/tcloop/ncurses-dev/usr/local/include/ncurses.h -> curses.h
-rw-r--r--    1 root     root          3925 Apr 22  2015
/tmp/tcloop/ncurses-dev/usr/local/include/ncurses_dll.h
lrwxrwxrwx    1 root     root            15 Apr 22  2015
/tmp/tcloop/ncurses-dev/usr/local/lib/libncurses++.a ->
libncurses++w.a
-rw-r--r--    1 root     root        111952 Apr 22  2015
/tmp/tcloop/ncurses-dev/usr/local/lib/libncurses++w.a
lrwxrwxrwx    1 root     root            13 Apr 22  2015
/tmp/tcloop/ncurses-dev/usr/local/lib/libncurses.a -> libncursesw.a
lrwxrwxrwx    1 root     root            15 Apr 22  2015
/tmp/tcloop/ncurses-dev/usr/local/lib/libncurses_g.a ->
libncursesw_g.a
-rw-r--r--    1 root     root        538274 Apr 22  2015
/tmp/tcloop/ncurses-dev/usr/local/lib/libncursesw.a
-rw-r--r--    1 root     root       2839944 Apr 22  2015
/tmp/tcloop/ncurses-dev/usr/local/lib/libncursesw_g.a
-rw-r--r--    1 root     root           304 Apr 22  2015
/tmp/tcloop/ncurses-dev/usr/local/lib/pkgconfig/ncurses++w.pc
-rw-r--r--    1 root     root           266 Apr 22  2015
/tmp/tcloop/ncurses-dev/usr/local/lib/pkgconfig/ncursesw.pc
lrwxrwxrwx    1 root     root            14 Apr 22  2015
/tmp/tcloop/ncurses/usr/local/lib/libncurses.so -> libncursesw.so
lrwxrwxrwx    1 root     root            16 Apr 22  2015
/tmp/tcloop/ncurses/usr/local/lib/libncurses.so.5 -> libncursesw.so.5
lrwxrwxrwx    1 root     root            18 Apr 22  2015
/tmp/tcloop/ncurses/usr/local/lib/libncurses.so.5.9 ->
libncursesw.so.5.9
lrwxrwxrwx    1 root     root            16 Apr 22  2015
/tmp/tcloop/ncurses/usr/local/lib/libncursesw.so -> libncursesw.so.5
lrwxrwxrwx    1 root     root            18 Apr 22  2015
/tmp/tcloop/ncurses/usr/local/lib/libncursesw.so.5 ->
libncursesw.so.5.9
-rwxr-xr-x    1 root     root        346040 Apr 22  2015
/tmp/tcloop/ncurses/usr/local/lib/libncursesw.so.5.9
lrwxrwxrwx    1 root     root            50 Jul 21 08:59
/usr/local/include/curses.h ->
/tmp/tcloop/ncurses-dev/usr/local/include/curses.h
lrwxrwxrwx    1 root     root            53 Jul 21 08:59
/usr/local/include/cursesapp.h ->
/tmp/tcloop/ncurses-dev/usr/local/include/cursesapp.h
lrwxrwxrwx    1 root     root            51 Jul 21 08:59
/usr/local/include/cursesf.h ->
/tmp/tcloop/ncurses-dev/usr/local/include/cursesf.h
lrwxrwxrwx    1 root     root            51 Jul 21 08:59
/usr/local/include/cursesm.h ->
/tmp/tcloop/ncurses-dev/usr/local/include/cursesm.h
lrwxrwxrwx    1 root     root            51 Jul 21 08:59
/usr/local/include/cursesp.h ->
/tmp/tcloop/ncurses-dev/usr/local/include/cursesp.h
lrwxrwxrwx    1 root     root            51 Jul 21 08:59
/usr/local/include/cursesw.h ->
/tmp/tcloop/ncurses-dev/usr/local/include/cursesw.h
lrwxrwxrwx    1 root     root            51 Jul 21 08:59
/usr/local/include/ncurses.h ->
/tmp/tcloop/ncurses-dev/usr/local/include/ncurses.h
lrwxrwxrwx    1 root     root            55 Jul 21 08:59
/usr/local/include/ncurses_dll.h ->
/tmp/tcloop/ncurses-dev/usr/local/include/ncurses_dll.h
lrwxrwxrwx    1 root     root            52 Jul 21 08:59
/usr/local/lib/libncurses++.a ->
/tmp/tcloop/ncurses-dev/usr/local/lib/libncurses++.a
lrwxrwxrwx    1 root     root            53 Jul 21 08:59
/usr/local/lib/libncurses++w.a ->
/tmp/tcloop/ncurses-dev/usr/local/lib/libncurses++w.a
lrwxrwxrwx    1 root     root            50 Jul 21 08:59
/usr/local/lib/libncurses.a ->
/tmp/tcloop/ncurses-dev/usr/local/lib/libncurses.a
lrwxrwxrwx    1 root     root            47 Jul 21 08:59
/usr/local/lib/libncurses.so ->
/tmp/tcloop/ncurses/usr/local/lib/libncurses.so
lrwxrwxrwx    1 root     root            49 Jul 21 08:59
/usr/local/lib/libncurses.so.5 ->
/tmp/tcloop/ncurses/usr/local/lib/libncurses.so.5
lrwxrwxrwx    1 root     root            51 Jul 21 08:59
/usr/local/lib/libncurses.so.5.9 ->
/tmp/tcloop/ncurses/usr/local/lib/libncurses.so.5.9
lrwxrwxrwx    1 root     root            52 Jul 21 08:59
/usr/local/lib/libncurses_g.a ->
/tmp/tcloop/ncurses-dev/usr/local/lib/libncurses_g.a
lrwxrwxrwx    1 root     root            51 Jul 21 08:59
/usr/local/lib/libncursesw.a ->
/tmp/tcloop/ncurses-dev/usr/local/lib/libncursesw.a
lrwxrwxrwx    1 root     root            48 Jul 21 08:59
/usr/local/lib/libncursesw.so ->
/tmp/tcloop/ncurses/usr/local/lib/libncursesw.so
lrwxrwxrwx    1 root     root            50 Jul 21 08:59
/usr/local/lib/libncursesw.so.5 ->
/tmp/tcloop/ncurses/usr/local/lib/libncursesw.so.5
lrwxrwxrwx    1 root     root            52 Jul 21 08:59
/usr/local/lib/libncursesw.so.5.9 ->
/tmp/tcloop/ncurses/usr/local/lib/libncursesw.so.5.9
lrwxrwxrwx    1 root     root            53 Jul 21 08:59
/usr/local/lib/libncursesw_g.a ->
/tmp/tcloop/ncurses-dev/usr/local/lib/libncursesw_g.a
lrwxrwxrwx    1 root     root            61 Jul 21 08:59
/usr/local/lib/pkgconfig/ncurses++w.pc ->
/tmp/tcloop/ncurses-dev/usr/local/lib/pkgconfig/ncurses++w.pc
lrwxrwxrwx    1 root     root            59 Jul 21 08:59
/usr/local/lib/pkgconfig/ncursesw.pc ->
/tmp/tcloop/ncurses-dev/usr/local/lib/pkgconfig/ncursesw.pc
-rw-r--r--    1 tc       staff            0 Jul 21 08:59
/usr/local/tce.installed/ncurses
-rw-r--r--    1 tc       staff            0 Jul 21 08:59
/usr/local/tce.installed/ncurses-dev

I don't see a libcurses.so file, but you may have meant libncurses.so
which is present.  Let me know!

Thanks,
Dave


On 7/21/16, ..mg.. <shoema...@riseup.net> wrote:
> On Thu, Jul 21, 2016 at 09:07:09AM -0400, David Henderson wrote:
>> No problem, here's the entire output:
>
> [snip...]
>>   HOSTCC  scripts/kconfig/zconf.tab.o
>> In file included from scripts/kconfig/zconf.tab.c:152:0:
>> scripts/kconfig/zconf.hash.c:155:43: warning:
>> 'kconf_id_strings_contents' is static but used in inline function
>> 'kconf_id_lookup' which is not static
>>  #define kconf_id_strings ((const char *) &kconf_id_strings_contents)
>>                                            ^
>> scripts/kconfig/zconf.hash.c:222:44: note: in expansion of macro
>> 'kconf_id_strings'
>>                register const char *s = o + kconf_id_strings;
>>                                             ^
>> scripts/kconfig/zconf.hash.c:215:26: warning: 'kconf_id_hash' is
>> static but used in inline function 'kconf_id_lookup' which is not
>> static
>>        register int key = kconf_id_hash (str, len);
>>                           ^
>> scripts/kconfig/zconf.hash.c:171:26: warning: 'wordlist' is static but
>> declared in inline function 'kconf_id_lookup' which is not static
>>    static struct kconf_id wordlist[] =
>
>
> These are just warnings, you should be able to ignore them.
>
>>   HOSTLD  scripts/kconfig/mconf
>>   HOSTCC  scripts/kconfig/lxdialog/checklist.o
>>   HOSTCC  scripts/kconfig/lxdialog/inputbox.o
>>   HOSTCC  scripts/kconfig/lxdialog/lxdialog.o
>>   HOSTCC  scripts/kconfig/lxdialog/menubox.o
>>   HOSTCC  scripts/kconfig/lxdialog/msgbox.o
>>   HOSTCC  scripts/kconfig/lxdialog/textbox.o
>>   HOSTCC  scripts/kconfig/lxdialog/util.o
>>   HOSTCC  scripts/kconfig/lxdialog/yesno.o
>>   HOSTLD  scripts/kconfig/lxdialog/lxdialog
>> scripts/kconfig/lxdialog/checklist.o: In function `print_arrows':
>> checklist.c:(.text+0x29): undefined reference to `wmove'
>
> [ snip many more 'undefined references'... ]
>
> 'wmove' (and most -- maybe all -- of the other undefined references)
> come from the curses library.  Compilation worked, so the header files
> were found, but the linker couldn't find the libcurses.so library file.
>
> If you run:
>
> find / -name '*curses*' | xargs ls -ld
>
> what's the output?
>
> -mg
>
>
>
>> collect2: error: ld returned 1 exit status
>> scripts/Makefile.host:113: recipe for target
>> 'scripts/kconfig/lxdialog/lxdialog' failed
>> make[2]: *** [scripts/kconfig/lxdialog/lxdialog] Error 1
>> /opt/staging/busybox-1.24.1/scripts/kconfig/Makefile:14: recipe for
>> target 'menuconfig' failed
>> make[1]: *** [menuconfig] Error 2
>> Makefile:443: recipe for target 'menuconfig' failed
>> make: *** [menuconfig] Error 2
>>
>
>
>
>>
>>
>>
>> On 7/20/16, Rob Landley <r...@landley.net> wrote:
>> > 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
>> >
>> _______________________________________________
>> busybox mailing list
>> busybox@busybox.net
>> http://lists.busybox.net/mailman/listinfo/busybox
>
_______________________________________________
busybox mailing list
busybox@busybox.net
http://lists.busybox.net/mailman/listinfo/busybox

Reply via email to