On 01/01/2016 11:50, xinglp wrote:
> Log is below:
> 
> gcc -DLOCALEDIR=\"/usr/share/locale\" -DBISON_LOCALEDIR=\"\"
> -DLOCALE_ALIAS_PATH=\"/usr/share/locale\" -DUSEJAVA=0 -DUSEJEXE=0
> -DGETTEXTJEXEDIR=\"/usr/lib/gettext\"
> -DGETTEXTJAR=\"/usr/share/gettext/gettext.jar\" -DLIBDIR=\"/usr/lib\"
> -DGETTEXTDATADIR=\"/usr/share/gettext\"
> -DPROJECTSDIR=\"/usr/share/gettext/projects\" -DHAVE_CONFIG_H -I. -I..
> -I. -I. -I.. -I.. -I../libgrep -I../gnulib-lib -I../gnulib-lib
> -I../intl -I../../gettext-runtime/intl -DINSTALLDIR=\"/usr/bin\"   -O2
> -pipe -flto -fuse-linker-plugin -c -o
> ../../gettext-runtime/intl/msgfmt-hash-string.o `test -f
> '../../gettext-runtime/intl/hash-string.c' || echo
> './'`../../gettext-runtime/intl/hash-string.c
> /bin/sh ../libtool  --tag=CC   --mode=link gcc  -O2 -pipe -flto
> -fuse-linker-plugin  -Wl,-flto -o msgfmt msgfmt-msgfmt.o
> msgfmt-write-mo.o msgfmt-write-java.o msgfmt-write-csharp.o
> msgfmt-write-resources.o msgfmt-write-tcl.o msgfmt-write-qt.o
> msgfmt-write-desktop.o msgfmt-write-xml.o
> ../../gettext-runtime/intl/msgfmt-hash-string.o libgettextsrc.la
> libtool: link: gcc -O2 -pipe -flto -fuse-linker-plugin -Wl,-flto -o
> .libs/msgfmt msgfmt-msgfmt.o msgfmt-write-mo.o msgfmt-write-java.o
> msgfmt-write-csharp.o msgfmt-write-resources.o msgfmt-write-tcl.o
> msgfmt-write-qt.o msgfmt-write-desktop.o msgfmt-write-xml.o
> ../../gettext-runtime/intl/msgfmt-hash-string.o
> ./.libs/libgettextsrc.so -L/usr/lib
> /sources/gettext-0.19.7/gettext-tools/gnulib-lib/.libs/libgettextlib.so
> /usr/lib/libacl.so /usr/lib/libattr.so -lncurses -lc
> /sources/gettext-0.19.7/gettext-tools/gnulib-lib/.libs/libgettextlib.so:
> undefined reference to `fmod'
> /sources/gettext-0.19.7/gettext-tools/gnulib-lib/.libs/libgettextlib.so:
> undefined reference to `pow'
> /sources/gettext-0.19.7/gettext-tools/gnulib-lib/.libs/libgettextlib.so:
> undefined reference to `log10'

Looks like "-lm" is missing in the command above (all missing refs are from
the libm library). Don't know whether it commes from libtool or gettext.

Pierre

-- 
http://lists.linuxfromscratch.org/listinfo/lfs-dev
FAQ: http://www.linuxfromscratch.org/faq/
Unsubscribe: See the above information page

Reply via email to