Bug 69732

Summary: Weston 1.2.91 fails to link
Product: Wayland Reporter: Hrvoje Senjan <hrvoje.senjan>
Component: westonAssignee: Wayland bug list <wayland-bugs>
Status: RESOLVED FIXED QA Contact:
Severity: normal    
Priority: medium    
Version: unspecified   
Hardware: Other   
OS: All   
Whiteboard:
i915 platform: i915 features:

Description Hrvoje Senjan 2013-09-23 19:49:55 UTC
[  124s] weston_multi_resource-multi-resource.o: In function `create_display':
[  124s] /home/abuild/rpmbuild/BUILD/weston-1.2.91/clients/multi-resource.c:235: undefined reference to `ceil'
[  124s] collect2: error: ld returned 1 exit status

Building against Wayland 1.2.91 and Mesa master.
Comment 1 Kristian Høgsberg 2013-09-23 20:47:54 UTC
Fixed in

commit 639fd864930c2e96bf9c529356ee8d6d6aac373b
Author: Stefan Schmidt <s.schmidt@samsung.com>
Date:   Mon Sep 23 11:25:29 2013 +0100

    clients: Include and link against math lib for new multi-resource
    
    Linking failed with missing ceil() here. Making sure that we include
    the header and add the missing -lm.
    
    Signed-off-by: Stefan Schmidt <s.schmidt@samsung.com>

Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct. How we collect and use information is described in our Privacy Policy.