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

          Priority: medium
            Bug ID: 71530
          Assignee: [email protected]
           Summary: weston/tests does not compile - missing library during
                    linking
          Severity: normal
    Classification: Unclassified
                OS: Linux (All)
          Reporter: [email protected]
          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.
_______________________________________________
Wayland-bugs mailing list
[email protected]
http://lists.freedesktop.org/mailman/listinfo/wayland-bugs

Reply via email to