* [Buildroot] [PATCH] DNS resolv problem with glibc
@ 2009-09-15 6:13 Anders Darander
2009-09-15 6:52 ` Peter Korsgaard
0 siblings, 1 reply; 3+ messages in thread
From: Anders Darander @ 2009-09-15 6:13 UTC (permalink / raw)
To: buildroot
Fix problem with dns resolv, by copying the libnss_dns.so to the rootfs.
Using glibc from external toolchain, name resolving does not work,
unless libnss_dns.so is available on the target.
Signed-off-by: Anders Darander <ad@datarespons.se>
---
toolchain/external-toolchain/ext-tool.mk | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/toolchain/external-toolchain/ext-tool.mk b/toolchain/external-toolchain/ext-tool.mk
index 568ac3a..1f5aa19 100644
--- a/toolchain/external-toolchain/ext-tool.mk
+++ b/toolchain/external-toolchain/ext-tool.mk
@@ -198,7 +198,7 @@ EXTERNAL_LIBS=libc.so libcrypt.so libdl.so libgcc_s.so libm.so libnsl.so libpthr
ifeq ($(BR2_TOOLCHAIN_EXTERNAL_UCLIBC),y)
EXTERNAL_LIBS+=ld-uClibc.so
else
-EXTERNAL_LIBS+=ld-linux.so libnss_files.so
+EXTERNAL_LIBS+=ld-linux.so libnss_files.so libnss_dns.so
endif
ifeq ($(BR2_INSTALL_LIBSTDCPP),y)
--
1.6.3.3
^ permalink raw reply related [flat|nested] 3+ messages in thread
* [Buildroot] [PATCH] DNS resolv problem with glibc
2009-09-15 6:13 [Buildroot] [PATCH] DNS resolv problem with glibc Anders Darander
@ 2009-09-15 6:52 ` Peter Korsgaard
2009-09-15 9:02 ` Anders Darander
0 siblings, 1 reply; 3+ messages in thread
From: Peter Korsgaard @ 2009-09-15 6:52 UTC (permalink / raw)
To: buildroot
>>>>> "Anders" == Anders Darander <anders.darander@gmail.com> writes:
Anders> Fix problem with dns resolv, by copying the libnss_dns.so to the rootfs.
Anders> Using glibc from external toolchain, name resolving does not work,
Anders> unless libnss_dns.so is available on the target.
Thanks, committed.
Anders> diff --git a/toolchain/external-toolchain/ext-tool.mk b/toolchain/external-toolchain/ext-tool.mk
Anders> index 568ac3a..1f5aa19 100644
Anders> --- a/toolchain/external-toolchain/ext-tool.mk
Anders> +++ b/toolchain/external-toolchain/ext-tool.mk
Anders> @@ -198,7 +198,7 @@ EXTERNAL_LIBS=libc.so libcrypt.so libdl.so libgcc_s.so libm.so libnsl.so libpthr
Anders> ifeq ($(BR2_TOOLCHAIN_EXTERNAL_UCLIBC),y)
Anders> EXTERNAL_LIBS+=ld-uClibc.so
Anders> else
Anders> -EXTERNAL_LIBS+=ld-linux.so libnss_files.so
Anders> +EXTERNAL_LIBS+=ld-linux.so libnss_files.so libnss_dns.so
Anders> endif
Anders> ifeq ($(BR2_INSTALL_LIBSTDCPP),y)
Your MTA seems to have swallowed the empty line above the LIBSTDCPP
line, causing the patch to not apply. Please check your settings.
--
Bye, Peter Korsgaard
^ permalink raw reply [flat|nested] 3+ messages in thread
* [Buildroot] [PATCH] DNS resolv problem with glibc
2009-09-15 6:52 ` Peter Korsgaard
@ 2009-09-15 9:02 ` Anders Darander
0 siblings, 0 replies; 3+ messages in thread
From: Anders Darander @ 2009-09-15 9:02 UTC (permalink / raw)
To: buildroot
On Tue, Sep 15, 2009 at 08:52, Peter Korsgaard <jacmet@uclibc.org> wrote:
>>>>>> "Anders" == Anders Darander <anders.darander@gmail.com> writes:
> ?Anders> -EXTERNAL_LIBS+=ld-linux.so libnss_files.so
> ?Anders> +EXTERNAL_LIBS+=ld-linux.so libnss_files.so libnss_dns.so
> ?Anders> ?endif
> ?Anders> ?ifeq ($(BR2_INSTALL_LIBSTDCPP),y)
>
> Your MTA seems to have swallowed the empty line above the LIBSTDCPP
> line, causing the patch to not apply. Please check your settings.
>
Hm, yep, that seems strange.
I'll have look into that...
Thanks for applying the patch anyway!
Regards,
Anders
--
Anders Darander
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2009-09-15 9:02 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2009-09-15 6:13 [Buildroot] [PATCH] DNS resolv problem with glibc Anders Darander
2009-09-15 6:52 ` Peter Korsgaard
2009-09-15 9:02 ` Anders Darander
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.