<html>
<head>
<base href="https://bugs.freedesktop.org/" />
</head>
<body><table border="1" cellspacing="0" cellpadding="8">
<tr>
<th>Priority</th>
<td>medium
</td>
</tr>
<tr>
<th>Bug ID</th>
<td><a class="bz_bug_link
bz_status_NEW "
title="NEW --- - weston/tests does not compile - missing library during linking"
href="https://bugs.freedesktop.org/show_bug.cgi?id=71530">71530</a>
</td>
</tr>
<tr>
<th>Assignee</th>
<td>wayland-bugs@lists.freedesktop.org
</td>
</tr>
<tr>
<th>Summary</th>
<td>weston/tests does not compile - missing library during linking
</td>
</tr>
<tr>
<th>Severity</th>
<td>normal
</td>
</tr>
<tr>
<th>Classification</th>
<td>Unclassified
</td>
</tr>
<tr>
<th>OS</th>
<td>Linux (All)
</td>
</tr>
<tr>
<th>Reporter</th>
<td>ulf.dambacher@web.de
</td>
</tr>
<tr>
<th>Hardware</th>
<td>Other
</td>
</tr>
<tr>
<th>Status</th>
<td>NEW
</td>
</tr>
<tr>
<th>Version</th>
<td>1.3.0
</td>
</tr>
<tr>
<th>Component</th>
<td>weston
</td>
</tr>
<tr>
<th>Product</th>
<td>Wayland
</td>
</tr></table>
<p>
<div>
<pre>I get compile errors because of missing libraries in weston/tests:
libtool: link: x86_64-pc-linux-gnu-gcc -Wall -Wextra -Wno-unused-parameter
-Wno-missing-field-initializers -g -fvisibility=hidden -Wstrict-prototypes
-Wmissing-prototypes -march=native -O2 -pipe -Wl,-O1 -o keyboard.weston
keyboard-test.o weston-test-client-helper.o wayland-test-protocol.o
subsurface-protocol.o -Wl,--as-needed ../shared/.libs/libshared.a
./.libs/libshared-test.a
weston-test-client-helper.o: In function `wl_output_get_user_data':
/usr/include/wayland-client-protocol.h:2340: undefined reference to
`wl_proxy_get_user_data'
/usr/include/wayland-client-protocol.h:2340: undefined reference to
`wl_proxy_get_user_data'
weston-test-client-helper.o: In function `wl_surface_get_user_data':
/usr/include/wayland-client-protocol.h:1439: undefined reference to
`wl_proxy_get_user_data'
/usr/include/wayland-client-protocol.h:1439: undefined reference to
`wl_proxy_get_user_data'
/usr/include/wayland-client-protocol.h:1439: undefined reference to
`wl_proxy_get_user_data'
-- more errors follow
I changed the Makefile:
SIMPLE_CLIENT_LIBS = -lwayland-client
and it compiles.
I failed to change Makefile.am accordingly - have to read manuals...</pre>
</div>
</p>
<hr>
<span>You are receiving this mail because:</span>
<ul>
<li>You are the assignee for the bug.</li>
</ul>
</body>
</html>