* [Buildroot] libglib2 build
[not found] <FEB4C28CC3154F1885B80CEB507D4F51@apexjs>
@ 2010-05-21 7:02 ` Peter Korsgaard
2010-05-21 7:53 ` Thomas Petazzoni
0 siblings, 1 reply; 2+ messages in thread
From: Peter Korsgaard @ 2010-05-21 7:02 UTC (permalink / raw)
To: buildroot
>>>>> "Sagaert" == Sagaert Johan <sagaert.johan@skynet.be> writes:
Sagaert> Hi Peter
Sagaert> (should i post to mailinglist ?)
Yes, please - Other people than me might be able to help, or learn from
the solution.
Sagaert> tried again...
Sagaert> snip........
Sagaert> checking wspiapi.h presence... no
Sagaert> checking for wspiapi.h... no
Sagaert> checking for strndup... yes
Sagaert> checking for setresuid... yes
Sagaert> checking for setreuid... yes
Sagaert> checking sys/prctl.h usability... yes
Sagaert> checking sys/prctl.h presence... yes
Sagaert> checking for sys/prctl.h... yes
Sagaert> checking arpa/nameser_compat.h usability... yes
Sagaert> checking arpa/nameser_compat.h presence... yes
Sagaert> checking for arpa/nameser_compat.h... yes
Sagaert> checking for res_query... no
Sagaert> checking for res_query in -lresolv... no
Sagaert> checking for res_query in -lresolv (alternate version)... no
Sagaert> checking for res_query in -lbind... no
Sagaert> configure: error: res_query not found
Sagaert> make: *** [/home/johan/buildroot/output/build/libglib2-2.22.5
Sagaert> /.stamp_configured] Error 1
Sagaert> i wonder where res_query is defined , i guess it is not build into uclibc
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
Could you either have a look yourself in
/home/johan/buildroot/output/build/libglib2-2.22.5/config.log or put it
online somewhere so we can see what fails in the res_query detection?
--
Bye, Peter Korsgaard
^ permalink raw reply [flat|nested] 2+ messages in thread* [Buildroot] libglib2 build
2010-05-21 7:02 ` [Buildroot] libglib2 build Peter Korsgaard
@ 2010-05-21 7:53 ` Thomas Petazzoni
0 siblings, 0 replies; 2+ messages in thread
From: Thomas Petazzoni @ 2010-05-21 7:53 UTC (permalink / raw)
To: buildroot
On Fri, 21 May 2010 09:02:06 +0200
Peter Korsgaard <jacmet@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
--
Thomas Petazzoni, Free Electrons
Kernel, drivers, real-time and embedded Linux
development, consulting, training and support.
http://free-electrons.com
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2010-05-21 7:53 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
[not found] <FEB4C28CC3154F1885B80CEB507D4F51@apexjs>
2010-05-21 7:02 ` [Buildroot] libglib2 build Peter Korsgaard
2010-05-21 7:53 ` Thomas Petazzoni
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox