« Return to Thread: Re: Upgrade to gettext-0.16.1 gives ceil undefined reference

Re: Upgrade to gettext-0.16.1 gives ceil undefined reference

by Bruno Haible :: Rate this Message:

Reply to Author | View in Thread

I. Thomas Cundiff wrote:

> I am trying to upgrade gettext from 0.12.1 to 0.16.1 and after reading
> INSTALL, README, and NEWS, gave ./configure which as far as I could tell
> ran okay.  So I gave
>
> make aliaspath='/usr/lib/X11/locale:/usr/local/lib/locale'
>
> which ran for some time but unfortunately ended with the message
> make[4]: Entering directory `/Aux/Install/gettext-0.16.1/gettext-tools/src'
> /bin/sh ../libtool --tag=CC   --mode=link gcc   -g -O2   -o msgmerge msgmerge-msgmerge.o msgmerge-msgl-fsearch.o msgmerge-plural-count.o libgettextsrc.la
> gcc -g -O2 -o .libs/msgmerge msgmerge-msgmerge.o msgmerge-msgl-fsearch.o msgmerge-plural-count.o  ./.libs/libgettextsrc.so /Aux/Install/gettext-0.16.1/gettext-tools/gnulib-lib/.libs/libgettextlib.so -lc
> msgmerge-msgl-fsearch.o: In function `message_fuzzy_index_search':
> /Aux/Install/gettext-0.16.1/gettext-tools/src/msgl-fsearch.c:589: undefined reference to `ceil'
> collect2: ld returned 1 exit status
> make[4]: *** [msgmerge] Error 1

This indicates a failure of the test for MSGMERGE_LIBM in
gettext-tools/configure.ac. There is no "-lm" option on the command line here.
Therefore probably gettext-tools/config.status contains an empty value for
MSGMERGE_LIBM. Can you confirm this?

Then, what is the info in the gettext-tools/config.log regarding this test?
Does it reveal a useful error message?

Last not least, if I want to reproduce this, you need to tell me which system
(OS) this is happening on.

Bruno



_______________________________________________
bug-gnu-utils@...
http://lists.gnu.org/mailman/listinfo/bug-gnu-utils

 « Return to Thread: Re: Upgrade to gettext-0.16.1 gives ceil undefined reference