bug-gnu-utils
[Top][All Lists]
Advanced

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

bug: compiling gettext on dec alpha: workaround suggested


From: Paul E. Johnson
Subject: bug: compiling gettext on dec alpha: workaround suggested
Date: Sat, 10 May 2003 23:38:06 -0500
User-agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.2.1) Gecko/20030225

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
Stop.
*** Exit 1
Stop.
*** Exit 1
Stop.
*** Exit 1
Stop.

I have learned from our sysadmin that _OtsDivide64 is in libc.so in Tru64 >= 4.0, not in libots as it was.

So to make gettext compile, I needed to get -lc out of the linker command. 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. In the end, I had to find -lc in several text files in the gettext/src directory and kill it there.

I'm no master of automake and configure scripts, but it seems like this would be an important element for alpha-osf systems.

pj

--
Paul E. Johnson                       email: address@hidden
Dept. of Political Science            http://lark.cc.ukans.edu/~pauljohn
University of Kansas                  Office: (785) 864-9086
Lawrence, Kansas 66045                FAX: (785) 864-5700





reply via email to

[Prev in Thread] Current Thread [Next in Thread]