! 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 !
xfce4-session FTBFS because of missing -lm
Status:
RESOLVED: FIXED
Product:
Xfce4-session
Component:
General

Comments

Description Yves-Alexis Perez editbugs 2011-09-04 21:50:31 CEST
Created attachment 3850 
add -lm to LIBADD in balou Makefile.am

Hey,

xfce4-session fails to build when using -z,defs because of mising -lm:

.libs/libbalou_la-balou-theme.o: In function `load_pixbuf':
/tmp/buildd/xfce4-session-4.8.1/engines/balou/balou-theme.c:435: undefined reference to `RINT'
/tmp/buildd/xfce4-session-4.8.1/engines/balou/balou-theme.c:441: undefined reference to `RINT'
collect2: ld returned 1 exit status

Attached patch fixes the problem.
Comment 1 Yves-Alexis Perez editbugs 2011-09-05 22:09:32 CEST
Ok that's because libpng recently removed -lm from Requires.private, see http://mail.gnome.org/archives/desktop-devel-list/2011-August/msg00236.html
Comment 2 Brian J. Tarricone (not reading bugmail) 2011-09-26 10:41:27 CEST
Fixed per the suggestion in the mailing list thread.  Some systems don't have libm, so it needs to be checked for in configure.

Bug #7953

Reported by:
Yves-Alexis Perez
Reported on: 2011-09-04
Last modified on: 2011-09-26

People

Assignee:
Xfce Bug Triage
CC List:
1 user

Version

Attachments

add -lm to LIBADD in balou Makefile.am (364 bytes, text/plain)
2011-09-04 21:50 CEST , Yves-Alexis Perez
no flags

Additional information