[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
bug: compiling gettext on dec alpha: workaround suggested
From: |
Bruno Haible |
Subject: |
bug: compiling gettext on dec alpha: workaround suggested |
Date: |
Mon, 12 May 2003 19:28:28 +0200 (CEST) |
Paul E. Johnson wrote:
> A build of gettext on our alpha system ends like this:
>
> /bin/ksh ../libtool --mode=link cc -g -L/usr/shlib -lots -o xgettext
> xgettext.o x-c.o x-po.o x-python.o x-lisp.o x-elisp.o x-librep.o x-java.o
> x-awk.o x-ycp.o x-tcl.o x-rst.o x-glade.o libgettextsrc.la
> ../libuniname/libuniname.a
> cc -g -o .libs/xgettext xgettext.o x-c.o x-po.o x-python.o x-lisp.o x-elisp.o
> x-librep.o x-java.o x-awk.o x-ycp.o x-tcl.o x-rst.o x-glade.o -L/usr/shlib
> ./.libs/libgettextsrc.so
> /homea/pauljohn/src/gettext-0.11.5/lib/.libs/libgettextlib.so -liconv -liconv
> -liconv /homea/pauljohn/src/gettext-0.11.5/intl/.libs/libintl.so -lots
> -liconv -liconv -liconv -lc ../libuniname/libuniname.a -rpath
> /homea/pauljohn/packages//lib:/usr/shlib
> ld:
> Unresolved:
> _OtsDivide64
> *** Exit 1
Thanks for reporting this. It will be fixed in gettext 0.12.
> I had to hack a long time until could find a way to make it go away,
> it seemed like no matter which Makefile I hacked it out from, it
> would pop up anyway.
Me too... In the end it turned out that on OSF/1 4.0, one must not use
"-lc" before objects that use integer division, and for gettext the
workaround is to mention libuniname,la before libgettextsrc.la, not
after it.
Bruno