[Wayland-bugs] [Bug 71530] New: weston/tests does not compile - missing library during linking

bugzilla-daemon at freedesktop.org bugzilla-daemon at freedesktop.org
Tue Nov 12 02:24:18 PST 2013


https://bugs.freedesktop.org/show_bug.cgi?id=71530

          Priority: medium
            Bug ID: 71530
          Assignee: wayland-bugs at lists.freedesktop.org
           Summary: weston/tests does not compile - missing library during
                    linking
          Severity: normal
    Classification: Unclassified
                OS: Linux (All)
          Reporter: ulf.dambacher at web.de
          Hardware: Other
            Status: NEW
           Version: 1.3.0
         Component: weston
           Product: Wayland

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...

-- 
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freedesktop.org/archives/wayland-bugs/attachments/20131112/75efeda2/attachment.html>


More information about the Wayland-bugs mailing list