[Buildroot] [PATCH] DNS resolv problem with glibc
Peter Korsgaard
jacmet at uclibc.org
Tue Sep 15 06:52:06 UTC 2009
>>>>> "Anders" == Anders Darander <anders.darander at 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
More information about the buildroot
mailing list