[Users] cvs14 build fails...

Holger Berndt berndth at gmx.de
Wed Nov 21 16:19:43 CET 2012


On Di, 20.11.2012 11:49, Pierre Fortin wrote:

>/usr/bin/ld: printing.o: undefined reference to symbol
>'floor@@GLIBC_2.2.5' /usr/bin/ld: note: 'floor@@GLIBC_2.2.5' is defined
>in DSO /lib64/libm.so.6 so try adding it to the linker command
>line /lib64/libm.so.6: could not read symbols: Invalid operation
>collect2: ld returned 1 exit status make[3]: *** [claws-contacts] Error 1
>make[2]: *** [all-recursive] Error 1
>make[1]: *** [all-recursive] Error 1
>make: *** [all] Error 2

Looks like a build system bug, missing the -lm linker flag. Some
systems / compiler versions add this automatically, or it gets pulled
in by dependencies, or whatever -- so such a bug can get away unnoticed
for some time.

Maybe contacts should get a product on bugzilla?

As a workaround, you can try setting the LDFLAGS environment variable
(on bash,

export LDFLAGS="-lm"

before doing the configure/make dance).

Holger



More information about the Users mailing list