Bug 69732 - Weston 1.2.91 fails to link
Summary: Weston 1.2.91 fails to link
Status: RESOLVED FIXED
Alias: None
Product: Wayland
Classification: Unclassified
Component: weston (show other bugs)
Version: unspecified
Hardware: Other All
: medium normal
Assignee: Wayland bug list
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2013-09-23 19:49 UTC by Hrvoje Senjan
Modified: 2013-09-23 20:47 UTC (History)
0 users

See Also:
i915 platform:
i915 features:


Attachments

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.