From mboxrd@z Thu Jan 1 00:00:00 1970 Return-path: Received: from ptx.hi.pengutronix.de ([2001:6f8:1178:2:5054:ff:fec0:8e10] ident=Debian-exim) by metis.ext.pengutronix.de with esmtp (Exim 4.72) (envelope-from ) id 1UD904-00048v-Na for ptxdist@pengutronix.de; Wed, 06 Mar 2013 08:42:56 +0100 Received: from mol by ptx.hi.pengutronix.de with local (Exim 4.72) (envelope-from ) id 1UD904-0006y7-OA for ptxdist@pengutronix.de; Wed, 06 Mar 2013 08:42:56 +0100 Date: Wed, 6 Mar 2013 08:42:56 +0100 From: Michael Olbrich Message-ID: <20130306074256.GG7949@pengutronix.de> References: <20130305103547.GA21624@x61s.8.8.8.8> <20130305111819.GB7949@pengutronix.de> <20130305202743.GA776@x61s.8.8.8.8> MIME-Version: 1.0 Content-Disposition: inline In-Reply-To: <20130305202743.GA776@x61s.8.8.8.8> Subject: Re: [ptxdist] gettext libintl issues Reply-To: ptxdist@pengutronix.de List-Id: PTXdist Development Mailing List List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Sender: ptxdist-bounces@pengutronix.de Errors-To: ptxdist-bounces@pengutronix.de To: ptxdist@pengutronix.de On Tue, Mar 05, 2013 at 09:27:45PM +0100, Alexander Aring wrote: > On Tue, Mar 05, 2013 at 12:18:19PM +0100, Michael Olbrich wrote: > > On Tue, Mar 05, 2013 at 11:35:48AM +0100, Alexander Aring wrote: > > > I have some trouble to port some software and getting a "undefined > > > reference to `textdomain(char const*)'" error. > > > > > > The textdomain function is a part of libintl, so far as I know. > > > > > > In file rules/gettext.in is a useless config entry for GETTEXT_LIBINTL. > > > After I grep GETTEXT_LIBINTL in all configs, this will never used by > > > any package. > > > > > > A git log gives no more information about other important changes. > > > > > > I will try to fix this issue. > > > Has anybody got the same issue. Or is this still on a TODO list? > > > > All the gettext stuff is in a 'It works for me' state. I don't really know > > how this stuff is supposed to work. The only package that generates a > > libintl is gettext-dummy. > > > > Where do you get the prototype for textdomain() anyways? That's usually a > > macro (I think). > > > I solved it. It's not a problem with gettext... some stupid mistake which > was fixed by rebuild of other libaries. :-) :-) > Anyway I could send patches to remove GETTEXT_LIBINTL in rules/gettext.in > if you like that. This config is never used in other rules or will select > some other configs, ptxdist don't need this config. Yes, please. Michael -- Pengutronix e.K. | | Industrial Linux Solutions | http://www.pengutronix.de/ | Peiner Str. 6-8, 31137 Hildesheim, Germany | Phone: +49-5121-206917-0 | Amtsgericht Hildesheim, HRA 2686 | Fax: +49-5121-206917-5555 | -- ptxdist mailing list ptxdist@pengutronix.de