From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from cantor.suse.de ([195.135.220.2]:57589 "EHLO mx1.suse.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1757315Ab0HQJDF (ORCPT ); Tue, 17 Aug 2010 05:03:05 -0400 Message-ID: <4C6A4FA2.80907@suse.cz> Date: Tue, 17 Aug 2010 11:00:18 +0200 From: Michal Marek MIME-Version: 1.0 Subject: Re: [PATCH 3/4] kbuild: `nconf' needs -lintl References: <1281932346-19067-1-git-send-email-lacombar@gmail.com> <1281932346-19067-3-git-send-email-lacombar@gmail.com> In-Reply-To: <1281932346-19067-3-git-send-email-lacombar@gmail.com> Content-Type: text/plain; charset=ISO-8859-2 Content-Transfer-Encoding: 7bit Sender: linux-kbuild-owner@vger.kernel.org List-ID: To: Arnaud Lacombe Cc: Sam Ravnborg , linux-kbuild On 16.8.2010 06:19, Arnaud Lacombe wrote: > -HOSTLOADLIBES_nconf = -lmenu -lpanel -lncurses > +HOSTLOADLIBES_nconf = -lmenu -lpanel -lncurses -lintl This will not work on Linux though, the libintl functions are part of glibc itself. There is already scripts/kconfig/check.sh and the following snippet in scripts/kconfig/lkc.h #ifndef KBUILD_NO_NLS # include #else static inline const char *gettext(const char *txt) { return txt; } static inline void textdomain(const char *domainname) {} static inline void bindtextdomain(const char *name, const char *dir) {} #endif that take care of disabling libintl support if it doesn't work. Not optimal, but it should build in theory. Could you debug why it does not work on NetBSD? Michal