Subject: Re: gettext broken on IRIX
To: None <tech-pkg@NetBSD.org>
From: Stuart Shelton <stuart@zeus.com>
List: tech-pkg
Date: 08/11/2005 20:22:10
> gettext-0.11.5nb5 compiles fine on IRIX 5.3 with SGI IDO cc.

Okay - that's interesting to know...

It definitely *doesn't* compile on IRIX 6.5.28 with the MIPSpro 7.4.3m
suite.

There's a #if around the definition of pr_gram_error (IIRC) which
disables the macro for this function and just declares it "extern" for
DEC_CC and other situations (I forget which - I'm not at the machine),
and if SGI_CC is added to the list then I not longer get macro parameter
errors.

However, it still fails to link due to intl_* symbols missing - which
might be because it needs to compile with -lintl, or might be something
wrong in the src/intl directory of the package.

I'll report back if I can fix these myself, but if anyone has any
suggestions I'm all ears!

(I did send a post with further details and exact error messages, but
AFAICS it's been lost in transit.  I'll be able to check tomorrow)

Cheers,

	Stuart