Interrupt / Interrupt/systemshock

wayland being installed causes linker with SDL to fail

Open
#376 2 comments 0 reactions 0 assignees View on GitHub
Dominant language
C
Stars
900
Forks
77
Avg merge
2d 2h
Merged PRs (30d)
1

Description

this was with the latest code on a basic compile in both x11 and wayland with SDL_VIDEODRIVER=x11 and SDL_VIDEODRIVER=wayland
all error messages were with WAYLAND_wl_proxy_something
both 32bit and 64bit versions tried

archlinux

``` LTLINK build/libSDL2.la
/sbin/ld: build/.libs/SDL_assert.o:(.bss+0x0): multiple definition of `WAYLAND_wl_proxy_get_user_data'; build/.libs/SDL.o:(.bss+0x0): first defined here
/sbin/ld: build/.libs/SDL_assert.o:(.bss+0x8): multiple definition of `WAYLAND_wl_proxy_set_user_data'; build/.libs/SDL.o:(.bss+0x8): first defined here
/sbin/ld: build/.libs/SDL_assert.o:(.bss+0x10): multiple definition of `WAYLAND_wl_proxy_add_listener'; build/.libs/SDL.o:(.bss+0x10): first defined here
/sbin/ld: build/.libs/SDL_assert.o:(.bss+0x18): multiple definition of `WAYLAND_wl_proxy_destroy'; build/.libs/SDL.o:(.bss+0x18): first defined here
/sbin/ld: build/.libs/SDL_assert.o:(.bss+0x20): multiple definition of `WAYLAND_wl_proxy_marshal_constructor_versioned'; build/.libs/SDL.o:(.bss+0x20): first defined here
/sbin/ld: build/.libs/SDL_assert.o:(.bss+0x28): multiple definition of `WAYLAND_wl_proxy_marshal_constructor'; build/.libs/SDL.o:(.bss+0x28): first defined here```

```sbin/ld: build/.libs/SDL_fcitx.o:(.bss+0x30): multiple definition of `WAYLAND_wl_proxy_create'; build/.libs/SDL.o:(.bss+0x30): first defined here
/sbin/ld: build/.libs/SDL_fcitx.o:(.bss+0x38): multiple definition of `WAYLAND_wl_proxy_marshal'; build/.libs/SDL.o:(.bss+0x38): first defined here
/sbin/ld: build/.libs/SDL_sysjoystick.o:(.bss+0x0): multiple definition of `WAYLAND_wl_proxy_get_user_data'; build/.libs/SDL.o:(.bss+0x0): first defined here
/sbin/ld: build/.libs/SDL_sysjoystick.o:(.bss+0x8): multiple definition of `WAYLAND_wl_proxy_set_user_data'; build/.libs/SDL.o:(.bss+0x8): first defined here
/sbin/ld: build/.libs/SDL_sysjoystick.o:(.bss+0x10): multiple definition of `WAYLAND_wl_proxy_add_listener'; build/.libs/SDL.o:(.bss+0x10): first defined here
/sbin/ld: build/.libs/SDL_sysjoystick.o:(.bss+0x18): multiple definition of `WAYLAND_wl_proxy_destroy'; build/.libs/SDL.o:(.bss+0x18): first defined here
/sbin/ld: build/.libs/SDL_sysjoystick.o:(.bss+0x20): multiple definition of `WAYLAND_wl_proxy_marshal_constructor_versioned'; build/.libs/SDL.o:(.bss+0x20): first defined here
/sbin/ld: build/.libs/SDL_sysjoystick.o:(.bss+0x28): multiple definition of `WAYLAND_wl_proxy_marshal_constructor'; build/.libs/SDL.o:(.bss+0x28): first defined here
/sbin/ld: build/.libs/SDL_sysjoystick.o:(.bss+0x30): multiple definition of `WAYLAND_wl_proxy_create'; build/.libs/SDL.o:(.bss+0x30): first defined here
/sbin/ld: build/.libs/SDL_sysjoystick.o:(.bss+0x38): multiple definition of `WAYLAND_wl_proxy_marshal'; build/.libs/SDL.o:(.bss+0x38): first defined here
/sbin/ld: build/.libs/SDL_evdev.o:(.bss+0x0): multiple definition of `WAYLAND_wl_proxy_get_user_data'; build/.libs/SDL.o:(.bss+0x0): first defined here
/sbin/ld: build/.libs/SDL_evdev.o:(.bss+0x8): multiple definition of `WAYLAND_wl_proxy_set_user_data'; build/.libs/SDL.o:(.bss+0x8): first defined here
/sbin/ld: build/.libs/SDL_evdev.o:(.bss+0x10): multiple definition of `WAYLAND_wl_proxy_add_listener'; build/.libs/SDL.o:(.bss+0x10): first defined here
/sbin/ld: build/.libs/SDL_evdev.o:(.bss+0x18): multiple definition of `WAYLAND_wl_proxy_destroy'; build/.libs/SDL.o:(.bss+0x18): first defined here
/sbin/ld: build/.libs/SDL_evdev.o:(.bss+0x20): multiple definition of `WAYLAND_wl_proxy_marshal_constructor_versioned'; build/.libs/SDL.o:(.bss+0x20): first defined here
/sbin/ld: build/.libs/SDL_evdev.o:(.bss+0x28): multiple definition of `WAYLAND_wl_proxy_marshal_constructor'; build/.libs/SDL.o:(.bss+0x28): first defined here
/sbin/ld: build/.libs/SDL_evdev.o:(.bss+0x30): multiple definition of `WAYLAND_wl_proxy_create'; build/.libs/SDL.o:(.bss+0x30): first defined here
/sbin/ld: build/.libs/SDL_evdev.o:(.bss+0x38): multiple definition of `WAYLAND_wl_proxy_marshal'; build/.libs/SDL.o:(.bss+0x38): first defined here
/sbin/ld: build/.libs/SDL_evdev_kbd.o:(.bss+0x10): multiple definition of `WAYLAND_wl_proxy_get_user_data'; build/.libs/SDL.o:(.bss+0x0): first defined here
/sbin/ld: build/.libs/SDL_evdev_kbd.o:(.bss+0x18): multiple definition of `WAYLAND_wl_proxy_set_user_data'; build/.libs/SDL.o:(.bss+0x8): first defined here
/sbin/ld: build/.libs/SDL_evdev_kbd.o:(.bss+0x20): multiple definition of `WAYLAND_wl_proxy_add_listener'; build/.libs/SDL.o:(.bss+0x10): first defined here
/sbin/ld: build/.libs/SDL_evdev_kbd.o:(.bss+0x28): multiple definition of `WAYLAND_wl_proxy_destroy'; build/.libs/SDL.o:(.bss+0x18): first defined here
/sbin/ld: build/.libs/SDL_evdev_kbd.o:(.bss+0x30): multiple definition of `WAYLAND_wl_proxy_marshal_constructor_versioned'; build/.libs/SDL.o:(.bss+0x20): first defined here
/sbin/ld: build/.libs/SDL_evdev_kbd.o:(.bss+0x38): multiple definition of `WAYLAND_wl_proxy_marshal_constructor'; build/.libs/SDL.o:(.bss+0x28): first defined here
/sbin/ld: build/.libs/SDL_evdev_kbd.o:(.bss+0x40): multiple definition of `WAYLAND_wl_proxy_create'; build/.libs/SDL.o:(.bss+0x30): first defined here
/sbin/ld: build/.libs/SDL_evdev_kbd.o:(.bss+0x48): multiple definition of `WAYLAND_wl_proxy_marshal'; build/.libs/SDL.o:(.bss+0x38): first defined here
collect2: error: ld returned 1 exit status
make: *** [Makefile:147: build/libSDL2.la] Error 1```

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.