! Please note that this is a snapshot of our old Bugzilla server, which is read only since May 29, 2020. Please go to gitlab.xfce.org for our new server !
libscreenshooter is missing explicit -lm link in LIBADD (Makefile.am) and fai...
Status:
RESOLVED: FIXED
Product:
Xfce4-screenshooter
Component:
General

Comments

Description Samuli Suominen 2011-12-07 16:47:03 CET
Fails to compile (link) because of missing -lm in LIBADD (in Makefile.am). Will attach a patch.

This was reported by Jeremy Olexa from Gentoo

/home/jolexa/portage/linux-64/usr/lib/gcc/x86_64-pc-linux-gnu/4.5.3/../../../../x86_64-pc-linux-gnu/bin/ld: lib/.libs/libscreenshooter.a(lib_libscreenshooter_la-katze-throbber.o): undefined reference to symbol 'floorf@@GLIBC_2.2.5'
/home/jolexa/portage/linux-64/usr/lib/gcc/x86_64-pc-linux-gnu/4.5.3/../../../../x86_64-pc-linux-gnu/bin/ld: note: 'floorf@@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[2]: *** [src/xfce4-screenshooter] Error 1
Comment 1 Jérôme Guelfucci editbugs 2012-01-02 23:25:10 CET
Fixed in git master branch, thanks.

Bug #8230

Reported by:
Samuli Suominen
Reported on: 2011-12-07
Last modified on: 2012-01-02

People

Assignee:
Jérôme Guelfucci
CC List:
0 users

Version

Version:
unspecified

Attachments

Additional information