Linker Issue

Problems with packages? Post here, using [tags] of the package name.

Linker Issue

Postby greenbug » Wed Jul 24, 2024 3:47 pm

First off, sorry if this isn't great, I am out of my depth with meson/ninja and am not entirely sure how to explain this issue super well.

Installing [url]https://gitlab.gnome.org/guidog/phosh-osk-stub[/url] I get an issue with the linker as show [url=https://gitlab.gnome.org/guidog/phosh-osk-stub/-/issues/39]here[/url]. Below is the error message from the linker. I don't know how to attach a file here but in the issue linked above, there is a meson log which might be helpful. I was told in that issue that this is an upstream problem and to report it here.



ninja: Entering directory `/home/alarm/Development/phosh-osk-stub/_build'
[1/1] Linking target src/phosh-osk-stub
FAILED: src/phosh-osk-stub
cc -o src/phosh-osk-stub src/phosh-osk-stub.p/meson-generated_.._dbus_pos-osk0-dbus.c.o src/phosh-osk-stub.p/meson-generated_.._pos-enum-types.c.o src/phosh-osk-stub.p/meson-generated_.._pos-resources.c.o src/phosh-osk-stub.p/meson-generated_.._.._protocol_xdg-shell-protocol.c.o src/phosh-osk-stub.p/meson-generated_.._.._protocol_input-method-unstable-v2-protocol.c.o src/phosh-osk-stub.p/meson-generated_.._.._protocol_phoc-device-state-unstable-v1-protocol.c.o src/phosh-osk-stub.p/meson-generated_.._.._protocol_virtual-keyboard-unstable-v1-protocol.c.o src/phosh-osk-stub.p/meson-generated_.._.._protocol_wlr-foreign-toplevel-management-unstable-v1-protocol.c.o src/phosh-osk-stub.p/meson-generated_.._.._protocol_wlr-layer-shell-unstable-v1-protocol.c.o src/phosh-osk-stub.p/phosh-osk-stub.c.o -Wl,--as-needed -Wl,--no-undefined -Wl,--start-group src/libpos.a src/completers/libpos-completer-fzf.a src/completers/libpos-completer-hunspell.a src/completers/libpos-completer-pipe.a /usr/lib/libgio-2.0.so /usr/lib/libgobject-2.0.so /usr/lib/libglib-2.0.so /usr/lib/libgnome-desktop-3.so /usr/lib/libgtk-3.so /usr/lib/libgdk-3.so /usr/lib/libz.so /usr/lib/libharfbuzz.so /usr/lib/libpangocairo-1.0.so /usr/lib/libpango-1.0.so /usr/lib/libatk-1.0.so /usr/lib/libcairo.so /usr/lib/libcairo-gobject.so /usr/lib/libgdk_pixbuf-2.0.so /usr/lib/libjson-glib-1.0.so /usr/lib/libfeedback-0.0.so /usr/lib/libhandy-1.so /usr/lib/libsystemd.so /usr/lib/libwayland-client.so /usr/lib/libxkbcommon.so -lm -lrt /usr/lib/libhunspell-1.7.so -Wl,--end-group
/usr/bin/ld: /usr/lib/libgdk-3.so: undefined reference to `xkb_keymap_key_repeats@V_0.5.0'
/usr/bin/ld: /usr/lib/libgdk-3.so: undefined reference to `xkb_state_new@V_0.5.0'
/usr/bin/ld: /usr/lib/libgdk-3.so: undefined reference to `xkb_state_key_get_layout@V_0.5.0'
/usr/bin/ld: /usr/lib/libgdk-3.so: undefined reference to `xkb_keymap_new_from_string@V_0.5.0'
/usr/bin/ld: /usr/lib/libgdk-3.so: undefined reference to `xkb_context_unref@V_0.5.0'
/usr/bin/ld: /usr/lib/libgdk-3.so: undefined reference to `xkb_keymap_num_layouts_for_key@V_0.5.0'
/usr/bin/ld: /usr/lib/libgdk-3.so: undefined reference to `xkb_state_serialize_mods@V_0.5.0'
/usr/bin/ld: /usr/lib/libgdk-3.so: undefined reference to `xkb_state_key_get_level@V_0.5.0'
/usr/bin/ld: /usr/lib/libgdk-3.so: undefined reference to `xkb_state_unref@V_0.5.0'
/usr/bin/ld: /usr/lib/libgdk-3.so: undefined reference to `xkb_state_led_name_is_active@V_0.5.0'
/usr/bin/ld: /usr/lib/libgdk-3.so: undefined reference to `xkb_keymap_num_levels_for_key@V_0.5.0'
/usr/bin/ld: /usr/lib/libgdk-3.so: undefined reference to `xkb_state_update_mask@V_0.5.0'
/usr/bin/ld: /usr/lib/libgdk-3.so: undefined reference to `xkb_keymap_num_layouts@V_0.5.0'
/usr/bin/ld: /usr/lib/libgdk-3.so: undefined reference to `xkb_keymap_unref@V_0.5.0'
/usr/bin/ld: /usr/lib/libgdk-3.so: undefined reference to `xkb_keysym_to_utf32@V_0.5.0'
/usr/bin/ld: /usr/lib/libgdk-3.so: undefined reference to `xkb_keymap_new_from_names@V_0.5.0'
/usr/bin/ld: /usr/lib/libgdk-3.so: undefined reference to `xkb_state_layout_index_is_active@V_0.5.0'
/usr/bin/ld: /usr/lib/libgdk-3.so: undefined reference to `xkb_state_mod_mask_remove_consumed@V_0.5.0'
/usr/bin/ld: /usr/lib/libgdk-3.so: undefined reference to `xkb_keymap_mod_get_index@V_0.5.0'
/usr/bin/ld: /usr/lib/libgdk-3.so: undefined reference to `xkb_state_key_get_one_sym@V_0.5.0'
/usr/bin/ld: /usr/lib/libgdk-3.so: undefined reference to `xkb_keymap_max_keycode@V_0.5.0'
/usr/bin/ld: /usr/lib/libgdk-3.so: undefined reference to `xkb_keymap_key_get_syms_by_level@V_0.5.0'
/usr/bin/ld: /usr/lib/libgdk-3.so: undefined reference to `xkb_context_new@V_0.5.0'
/usr/bin/ld: /usr/lib/libgdk-3.so: undefined reference to `xkb_keymap_min_keycode@V_0.5.0'
/usr/bin/ld: /usr/lib/libgdk-3.so: undefined reference to `xkb_state_update_key@V_0.5.0'
collect2: error: ld returned 1 exit status
ninja: build stopped: subcommand failed.
INFO: autodetecting backend as ninja
INFO: calculating backend command to run: /usr/bin/ninja -C /home/alarm/Development/phosh-osk-stub/_build
greenbug
 
Posts: 1
Joined: Wed Jul 24, 2024 3:39 pm

Return to Packages

Who is online

Users browsing this forum: No registered users and 14 guests