[Buildroot] libglib2 build

Thomas Petazzoni thomas.petazzoni at free-electrons.com
Fri May 21 07:53:53 UTC 2010

On Fri, 21 May 2010 09:02:06 +0200
Peter Korsgaard <jacmet at uclibc.org> wrote:

> Normally it is:
> ./staging/usr/bin/x86_64-linux-nm -D
> target/lib/libuClibc-0.9.31.so|grep res_query 000000000002ff08 T
> __res_query 000000000002ffbf T __res_querydomain

res_query() is defined as soon as either UCLIBC_HAS_IPV4 or
UCLIBC_HAS_IPV6 are defined in uClibc configuration. In the 0.9.31
uClibc configuration that Buildroot uses, UCLIBC_HAS_IPV4 is always
selected. So this should not happen *unless* you created a different
uClibc configuration which doesn't have UCLIBC_HAS_IPV4. Did you made
any change to the default uClibc configuration used in Buildroot ?

Just as Peter showed, could you check if res_query is actually
available in your libc binary ?

Thomas Petazzoni, Free Electrons
Kernel, drivers, real-time and embedded Linux
development, consulting, training and support.

More information about the buildroot mailing list