Learn how easy it is to sync an existing GitHub or Google Code repo to a SourceForge project! See Demo

Close

#1090 math library missing while linking

git_master
closed-invalid
nobody
None
5
2013-06-27
2013-06-26
tiom
No

Hi

I get the following linking error during

./configure
make

on the current git master

CCLD liferea
/usr/lib/gcc/x86_64-linux-gnu/4.7/../../../x86_64-linux-gnu/libxslt.so: error: undefined reference to 'fmod'
/usr/lib/gcc/x86_64-linux-gnu/4.7/../../../x86_64-linux-gnu/libxslt.so: error: undefined reference to 'pow'
/usr/lib/gcc/x86_64-linux-gnu/4.7/../../../x86_64-linux-gnu/libxslt.so: error: undefined reference to 'floor'

using

LIBS=-lm ./configure
make

solves this problem and the current git master builds without any errors.

OS is Ubuntu 13.04
gcc --version
gcc-4.7.real (Ubuntu/Linaro 4.7.3-1ubuntu1) 4.7.3

Discussion

    • status: open --> closed-invalid
     
  • That is a bug in your libxslt. It should link to libm.so