Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Build fails with Wayland 1.20 #21

Closed
Jaakkonen opened this issue Dec 28, 2021 · 0 comments · Fixed by #22
Closed

Build fails with Wayland 1.20 #21

Jaakkonen opened this issue Dec 28, 2021 · 0 comments · Fixed by #22

Comments

@Jaakkonen
Copy link

      CC     build/SDL_virtualjoystick.lo
      CC     build/SDL_dummysensor.lo
      LTLINK build/libSDL2.la
    /usr/bin/ld: build/.libs/SDL_waylanddatamanager.o: in function `wl_data_offer_receive':
    SDL_waylanddatamanager.c:(.text+0x54): undefined reference to `wl_proxy_marshal_flags'
    /usr/bin/ld: build/.libs/SDL_waylanddatamanager.o: in function `wl_data_offer_destroy':
    SDL_waylanddatamanager.c:(.text+0x9f): undefined reference to `wl_proxy_marshal_flags'
    /usr/bin/ld: build/.libs/SDL_waylanddatamanager.o: in function `wl_data_source_offer':
    SDL_waylanddatamanager.c:(.text+0xf1): undefined reference to `wl_proxy_marshal_flags'
    /usr/bin/ld: build/.libs/SDL_waylanddatamanager.o: in function `wl_data_source_destroy':
    SDL_waylanddatamanager.c:(.text+0x138): undefined reference to `wl_proxy_marshal_flags'
    /usr/bin/ld: build/.libs/SDL_waylanddatamanager.o: in function `wl_data_device_set_selection':
    SDL_waylanddatamanager.c:(.text+0x193): undefined reference to `wl_proxy_marshal_flags'
    /usr/bin/ld: build/.libs/SDL_waylandevents.o:SDL_waylandevents.c:(.text+0xb1): more undefined references to `wl_proxy_marshal_flags' follow
    collect2: error: ld returned 1 exit status
    make: *** [Makefile:154: build/libSDL2.la] Error 1
    error: command failed: 'bash' '-c' './build-scripts/esybuild.sh --os=linux' (exited with 2)
    esy-build-package: exiting with errors above...

  building esy-sdl2@2.0.14000
esy: exiting due to errors above

Upstream bug and fixing commit:
libsdl-org/SDL#5088
libsdl-org/SDL@e2ade2b
The fix will probably be included in next release 2.0.19 where this project is still in version 2.0.14

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant