Re: Building on Solaris 7 - gettext/iconv warnings.



Drazen Kacar wrote:
> 
> Murray Cumming wrote:
> > Drazen Kacar wrote:
> 
> > > I suppose your libintl.so should be linked against GNU libiconv. If it
> > > isn't, it will probably fall back to libc iconv functions.
> >
> > Sorry, I thought that would give enough information. You mean from the
> > Makefile?:
> >
> >
> > libintl.la libgnuintl.la: $(OBJECTS)
> >       $(LIBTOOL) --mode=link \
> >         $(CC) $(CPPFLAGS) $(CFLAGS) $(XCFLAGS) $(LDFLAGS) -o $@ \
> >         $(OBJECTS)  \
> >         -version-info $(LTV_CURRENT):$(LTV_REVISION):$(LTV_AGE) \
> >         -rpath $(libdir) \
> >         -no-undefined
> 
> I meant the compiler (or linker) invocation produced by this Makefile
> target. Go to directory where libintl.la lives, type "rm libintl.la",
> then "make" and tell me what happens.

Sorry for accidentally cc-ing this to gnome-components before.

OK, here goes:

popeye:~/downloads/gettext-0.10.38/intl> rm -rf libintl.la
popeye:~/downloads/gettext-0.10.38/intl> make
/bin/sh ../libtool --mode=link \
  gcc  -g -O2   -o libintl.la \
  intl-compat.lo bindtextdom.lo dcgettext.lo dgettext.lo gettext.lo
finddomain.lo loadmsgcat.lo localealias.lo textdomain.lo l10nflist.lo
explodename.lo dcigettext.lo dcngettext.lo dngettext.lo ngettext.lo
plural.lo localcharset.lo  \
  -version-info 1:1:0 \
  -rpath /home/mcumming/lib \
  -no-undefined
rm -fr .libs/libintl.la .libs/libintl.* .libs/libintl.*
/usr/ccs/bin/ld -G -z text -h libintl.so.1 -o .libs/libintl.so.1.0.1 
intl-compat.lo bindtextdom.lo dcgettext.lo dgettext.lo gettext.lo
finddomain.lo loadmsgcat.lo localealias.lo textdomain.lo l10nflist.lo
explodename.lo dcigettext.lo dcngettext.lo dngettext.lo ngettext.lo
plural.lo localcharset.lo  -lc
(cd .libs && rm -f libintl.so.1 && ln -s libintl.so.1.0.1 libintl.so.1)
(cd .libs && rm -f libintl.so && ln -s libintl.so.1.0.1 libintl.so)
ar cru .libs/libintl.a  intl-compat.o bindtextdom.o dcgettext.o
dgettext.o gettext.o finddomain.o loadmsgcat.o localealias.o
textdomain.o l10nflist.o explodename.o dcigettext.o dcngettext.o
dngettext.o ngettext.o plural.o localcharset.o
ranlib .libs/libintl.a
creating libintl.la
(cd .libs && rm -f libintl.la && ln -s ../libintl.la libintl.la)   

-- 
Murray Cumming
www.murrayc.com
murrayc usa net




[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]