problem in building ncurses with uclibc

Carmelo Amoroso carmelo.amoroso at st.com
Fri Sep 20 04:39:36 UTC 2013


On 9/17/2013 8:38 AM, neutrino network wrote:
> hi,
> gcc 4.3.3
> ncurses 5.7
>
> I am trying to build(cross compiling for mips) ncurses using a uclibc toolchain
> but it gives following error;
>
> lib64\libc.a(nsswitch.o): (.data.rel+0x18):undefined reference to
>   '_nss_files_endaliasent'
>

are you sure you are linking against a mips libc.a from uClibc ?

>
> uclibc does not support nss (it is supported by glibc),  how should i
> solve this?
>
> my config command is given below;
>
> ./configure --prefix=/ncurses_crosscompiled --disable-static --enable-shared
> --target=mips64-xxxx-linux-gnu
> CC=$xxxx_ROOT/tools/bin/mips64-xxxx-linux-gnu-gcc-4.3.3
> LDFLAGS=-L$xxxx_ROOT/tools/lib/gcc/mips64-xxxx-linux-gnu/4.3.3/
>
> plus ncurses mailing list says that ncurses has nothing to do with this
> symbol "_nss_files_endaliasent" or library.
>
>
> Kindly guide.
>
> xxxx-Name of the embeded device concealed
> _______________________________________________
> uClibc mailing list
> uClibc at uclibc.org
> http://lists.busybox.net/mailman/listinfo/uclibc
>
>



More information about the uClibc mailing list