! 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 !
Missing -lm for the gtk-3.0 engine
Status:
CLOSED: FIXED
Product:
Gtk-xfce-engine
Component:
General

Comments

Description Lionel Le Folgoc 2011-12-17 20:59:58 CET
Created attachment 4031 
Proposed patch

Hi,

The build of 2.99.0 fails at linking time here, for the gtk-3.0 engine:
  CCLD   libxfce.la
.libs/libxfce_la-xfce_engine.o: In function `render_line':
/«PKGBUILDDIR»/gtk-3.0/xfce_engine.c:370: undefined reference to `floor'
.libs/libxfce_la-xfce_engine.o: In function `render_frame':
/«PKGBUILDDIR»/gtk-3.0/xfce_engine.c:460: undefined reference to `floor'
/«PKGBUILDDIR»/gtk-3.0/xfce_engine.c:461: undefined reference to `ceil'

The attached patch seems to fix the issue for me.
Thanks.
Comment 1 Peter de Ridder editbugs 2011-12-17 23:59:24 CET
Applied in 0a2d889.

Bug #8253

Reported by:
Lionel Le Folgoc
Reported on: 2011-12-17
Last modified on: 2012-02-10

People

Assignee:
Olivier Fourdan
CC List:
1 user

Version

Version:
Unspecified

Attachments

Proposed patch (1.04 KB, patch)
2011-12-17 20:59 CET , Lionel Le Folgoc
no flags

Additional information