We are currently migrating Bugzilla to GitHub issues.
Any changes made to the bug tracker now will be lost, so please do not post new bugs or make changes to them.
When we're done, all bug URLs will redirect to their equivalent location on the new bug tracker.

Bug 3255 - SDL does not compile with Wayland master
Summary: SDL does not compile with Wayland master
Status: RESOLVED DUPLICATE of bug 3265
Alias: None
Product: SDL
Classification: Unclassified
Component: video (show other bugs)
Version: HG 2.1
Hardware: x86 Linux
: P2 normal
Assignee: Ryan C. Gordon
QA Contact: Sam Lantinga
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2016-02-05 03:51 UTC by bluescreen_avenger
Modified: 2016-02-28 05:08 UTC (History)
2 users (show)

See Also:


Attachments
Fix compilation (dynamic) against current wayland. (763 bytes, patch)
2016-02-05 17:28 UTC, Tom Callaway
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description bluescreen_avenger 2016-02-05 03:51:04 UTC
Here is the error output I get:

  CC     build/SDL_waylandevents.lo
  CC     build/SDL_waylandmouse.lo
  CC     build/SDL_waylandopengles.lo
  CC     build/SDL_waylandtouch.lo
  CC     build/SDL_waylandvideo.lo
  CC     build/SDL_waylandwindow.lo
  LTLINK build/libSDL2.la
build/.libs/SDL_waylandevents.o: In function `wl_registry_bind':
/opt/include/wayland-client-protocol.h:306: undefined reference to `wl_proxy_marshal_constructor_versioned'
build/.libs/SDL_waylandtouch.o: In function `wl_registry_bind':
/opt/include/wayland-client-protocol.h:306: undefined reference to `wl_proxy_marshal_constructor_versioned'
build/.libs/SDL_waylandvideo.o: In function `wl_registry_bind':
/opt/include/wayland-client-protocol.h:306: undefined reference to `wl_proxy_marshal_constructor_versioned'
/opt/include/wayland-client-protocol.h:306: undefined reference to `wl_proxy_marshal_constructor_versioned'
/opt/include/wayland-client-protocol.h:306: undefined reference to `wl_proxy_marshal_constructor_versioned'
build/.libs/SDL_waylandvideo.o:/opt/include/wayland-client-protocol.h:306: more undefined references to `wl_proxy_marshal_constructor_versioned' follow
collect2: error: ld returned 1 exit status
Makefile:141: recipe for target 'build/libSDL2.la' failed
make: *** [build/libSDL2.la] Error 1



Thanks.
Comment 1 Tom Callaway 2016-02-05 17:28:50 UTC
Created attachment 2376 [details]
Fix compilation (dynamic) against current wayland.
Comment 2 bluescreen_avenger 2016-02-06 03:59:53 UTC
That patch fixed it. I had to adjust the paths a bit, but after it applied SDL compiles! Thanks!
Comment 3 Ryan C. Gordon 2016-02-28 05:08:56 UTC
Just merging two bugs together here...

*** This bug has been marked as a duplicate of bug 3265 ***