mailarchive of the ptxdist mailing list
 help / color / mirror / Atom feed
* [ptxdist] gettext libintl issues
@ 2013-03-05 10:35 Alexander Aring
  2013-03-05 11:18 ` Michael Olbrich
  0 siblings, 1 reply; 4+ messages in thread
From: Alexander Aring @ 2013-03-05 10:35 UTC (permalink / raw)
  To: ptxdist

Hi,

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?

Regards
Alex

-- 
ptxdist mailing list
ptxdist@pengutronix.de

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: [ptxdist] gettext libintl issues
  2013-03-05 10:35 [ptxdist] gettext libintl issues Alexander Aring
@ 2013-03-05 11:18 ` Michael Olbrich
  2013-03-05 20:27   ` Alexander Aring
  0 siblings, 1 reply; 4+ messages in thread
From: Michael Olbrich @ 2013-03-05 11:18 UTC (permalink / raw)
  To: ptxdist

Hi,

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).

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

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: [ptxdist] gettext libintl issues
  2013-03-05 11:18 ` Michael Olbrich
@ 2013-03-05 20:27   ` Alexander Aring
  2013-03-06  7:42     ` Michael Olbrich
  0 siblings, 1 reply; 4+ messages in thread
From: Alexander Aring @ 2013-03-05 20:27 UTC (permalink / raw)
  To: ptxdist

Hi,

On Tue, Mar 05, 2013 at 12:18:19PM +0100, Michael Olbrich wrote:
> Hi,
> 
> 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.

Alex

-- 
ptxdist mailing list
ptxdist@pengutronix.de

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: [ptxdist] gettext libintl issues
  2013-03-05 20:27   ` Alexander Aring
@ 2013-03-06  7:42     ` Michael Olbrich
  0 siblings, 0 replies; 4+ messages in thread
From: Michael Olbrich @ 2013-03-06  7:42 UTC (permalink / raw)
  To: ptxdist

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

^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2013-03-06  7:42 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2013-03-05 10:35 [ptxdist] gettext libintl issues Alexander Aring
2013-03-05 11:18 ` Michael Olbrich
2013-03-05 20:27   ` Alexander Aring
2013-03-06  7:42     ` Michael Olbrich

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox