Skip to content

Instantly share code, notes, and snippets.

@hbt
Created September 29, 2020 00:39
Show Gist options
  • Save hbt/a278725431212e2575dd840237e544be to your computer and use it in GitHub Desktop.
Save hbt/a278725431212e2575dd840237e544be to your computer and use it in GitHub Desktop.
Creating robotgostatic ... done
Attaching to robotgostatic
robotgostatic | # github.com/hbt/invrobotgo
robotgostatic | /root/goroot/pkg/tool/linux_amd64/link: running gcc failed: exit status 1
robotgostatic | /tmp/go-link-484287535/000019.o: In function `mygetgrouplist':
robotgostatic | /workdir/go/src/os/user/getgrouplist_unix.go:16: warning: Using 'getgrouplist' in statically linked applications requires at runtime the shared libraries from the glibc version used for linking
robotgostatic | /tmp/go-link-484287535/000018.o: In function `mygetgrgid_r':
robotgostatic | /workdir/go/src/os/user/cgo_lookup_unix.go:38: warning: Using 'getgrgid_r' in statically linked applications requires at runtime the shared libraries from the glibc version used for linking
robotgostatic | /tmp/go-link-484287535/000018.o: In function `mygetgrnam_r':
robotgostatic | /workdir/go/src/os/user/cgo_lookup_unix.go:43: warning: Using 'getgrnam_r' in statically linked applications requires at runtime the shared libraries from the glibc version used for linking
robotgostatic | /tmp/go-link-484287535/000018.o: In function `mygetpwnam_r':
robotgostatic | /workdir/go/src/os/user/cgo_lookup_unix.go:33: warning: Using 'getpwnam_r' in statically linked applications requires at runtime the shared libraries from the glibc version used for linking
robotgostatic | /tmp/go-link-484287535/000018.o: In function `mygetpwuid_r':
robotgostatic | /workdir/go/src/os/user/cgo_lookup_unix.go:28: warning: Using 'getpwuid_r' in statically linked applications requires at runtime the shared libraries from the glibc version used for linking
robotgostatic | /tmp/go-link-484287535/000025.o: In function `_cgo_26061493d47f_C2func_getaddrinfo':
robotgostatic | /tmp/go-build/cgo-gcc-prolog:58: warning: Using 'getaddrinfo' in statically linked applications requires at runtime the shared libraries from the glibc version used for linking
robotgostatic | /usr/lib/gcc/x86_64-linux-gnu/7/../../../x86_64-linux-gnu/libX11.a(CrGlCur.o): In function `open_library':
robotgostatic | (.text+0x2e): undefined reference to `dlopen'
robotgostatic | /usr/lib/gcc/x86_64-linux-gnu/7/../../../x86_64-linux-gnu/libX11.a(CrGlCur.o): In function `fetch_symbol':
robotgostatic | (.text+0x61): undefined reference to `dlsym'
robotgostatic | (.text+0x85): undefined reference to `dlsym'
robotgostatic | /usr/lib/gcc/x86_64-linux-gnu/7/../../../x86_64-linux-gnu/libXtst.a(XRecord.o): In function `find_display':
robotgostatic | (.text+0x224): undefined reference to `XextFindDisplay'
robotgostatic | (.text+0x281): undefined reference to `XextCreateExtension'
robotgostatic | /usr/lib/gcc/x86_64-linux-gnu/7/../../../x86_64-linux-gnu/libXtst.a(XRecord.o): In function `XRecordQueryVersion':
robotgostatic | (.text+0xb7d): undefined reference to `XMissingExtension'
robotgostatic | /usr/lib/gcc/x86_64-linux-gnu/7/../../../x86_64-linux-gnu/libXtst.a(XRecord.o): In function `XRecordCreateContext':
robotgostatic | (.text+0xc9b): undefined reference to `XMissingExtension'
robotgostatic | /usr/lib/gcc/x86_64-linux-gnu/7/../../../x86_64-linux-gnu/libXtst.a(XRecord.o): In function `XRecordRegisterClients':
robotgostatic | (.text+0xdc5): undefined reference to `XMissingExtension'
robotgostatic | /usr/lib/gcc/x86_64-linux-gnu/7/../../../x86_64-linux-gnu/libXtst.a(XRecord.o): In function `XRecordUnregisterClients':
robotgostatic | (.text+0xe9d): undefined reference to `XMissingExtension'
robotgostatic | /usr/lib/gcc/x86_64-linux-gnu/7/../../../x86_64-linux-gnu/libXtst.a(XRecord.o): In function `XRecordGetContext':
robotgostatic | (.text+0x113d): undefined reference to `XMissingExtension'
robotgostatic | /usr/lib/gcc/x86_64-linux-gnu/7/../../../x86_64-linux-gnu/libXtst.a(XRecord.o):(.text+0x167e): more undefined references to `XMissingExtension' follow
robotgostatic | /usr/lib/gcc/x86_64-linux-gnu/7/../../../x86_64-linux-gnu/libXtst.a(XRecord.o): In function `find_display':
robotgostatic | (.text+0x27c): undefined reference to `XextAddDisplay'
robotgostatic | /usr/lib/gcc/x86_64-linux-gnu/7/../../../x86_64-linux-gnu/libXtst.a(XRecord.o): In function `close_display':
robotgostatic | (.text+0x35a): undefined reference to `XextRemoveDisplay'
robotgostatic | /usr/lib/gcc/x86_64-linux-gnu/7/../../../x86_64-linux-gnu/libXtst.a(XTest.o): In function `find_display':
robotgostatic | (.text+0x38): undefined reference to `XextFindDisplay'
robotgostatic | (.text+0x61): undefined reference to `XextCreateExtension'
robotgostatic | (.text+0xc7): undefined reference to `XextAddDisplay'
robotgostatic | /usr/lib/gcc/x86_64-linux-gnu/7/../../../x86_64-linux-gnu/libXtst.a(XTest.o): In function `XTestCompareCursorWithWindow':
robotgostatic | (.text+0x4ad): undefined reference to `XMissingExtension'
robotgostatic | /usr/lib/gcc/x86_64-linux-gnu/7/../../../x86_64-linux-gnu/libXtst.a(XTest.o): In function `XTestFakeKeyEvent':
robotgostatic | (.text+0x585): undefined reference to `XMissingExtension'
robotgostatic | /usr/lib/gcc/x86_64-linux-gnu/7/../../../x86_64-linux-gnu/libXtst.a(XTest.o): In function `XTestFakeButtonEvent':
robotgostatic | (.text+0x655): undefined reference to `XMissingExtension'
robotgostatic | /usr/lib/gcc/x86_64-linux-gnu/7/../../../x86_64-linux-gnu/libXtst.a(XTest.o): In function `XTestFakeMotionEvent':
robotgostatic | (.text+0x75d): undefined reference to `XMissingExtension'
robotgostatic | /usr/lib/gcc/x86_64-linux-gnu/7/../../../x86_64-linux-gnu/libXtst.a(XTest.o): In function `XTestFakeRelativeMotionEvent':
robotgostatic | (.text+0x82d): undefined reference to `XMissingExtension'
robotgostatic | /usr/lib/gcc/x86_64-linux-gnu/7/../../../x86_64-linux-gnu/libXtst.a(XTest.o):(.text+0x955): more undefined references to `XMissingExtension' follow
robotgostatic | /usr/lib/gcc/x86_64-linux-gnu/7/../../../x86_64-linux-gnu/libXtst.a(XTest.o): In function `close_display':
robotgostatic | (.text+0xb): undefined reference to `XextRemoveDisplay'
robotgostatic | /usr/lib/gcc/x86_64-linux-gnu/7/../../../x86_64-linux-gnu/libxcb.a(xcb_auth.o): In function `get_authptr':
robotgostatic | (.text+0x16b): undefined reference to `XauGetBestAuthByAddr'
robotgostatic | /usr/lib/gcc/x86_64-linux-gnu/7/../../../x86_64-linux-gnu/libxcb.a(xcb_auth.o): In function `_xcb_get_auth_info':
robotgostatic | (.text+0x342): undefined reference to `XauDisposeAuth'
robotgostatic | (.text+0x549): undefined reference to `XauDisposeAuth'
robotgostatic | (.text+0x5fa): undefined reference to `XdmcpWrap'
robotgostatic | /usr/lib/gcc/x86_64-linux-gnu/7/../../../x86_64-linux-gnu/libxkbcommon-x11.a(libxkbcommon_x11_la-keymap.o): In function `xkb_x11_keymap_new_from_device':
robotgostatic | (.text+0x322): undefined reference to `xcb_xkb_get_map'
robotgostatic | (.text+0x332): undefined reference to `xcb_xkb_get_map_reply'
robotgostatic | (.text+0x409): undefined reference to `xcb_xkb_get_map_map'
robotgostatic | (.text+0x43d): undefined reference to `xcb_xkb_get_map_map_unpack'
robotgostatic | (.text+0x44c): undefined reference to `xcb_xkb_get_map_map_types_rtrn_length'
robotgostatic | (.text+0x45a): undefined reference to `xcb_xkb_get_map_map_types_rtrn_iterator'
robotgostatic | (.text+0x50f): undefined reference to `xcb_xkb_key_type_map_length'
robotgostatic | (.text+0x519): undefined reference to `xcb_xkb_key_type_map_iterator'
robotgostatic | (.text+0x5ad): undefined reference to `xcb_xkb_kt_map_entry_next'
robotgostatic | (.text+0x5ba): undefined reference to `xcb_xkb_key_type_preserve_length'
robotgostatic | (.text+0x5c4): undefined reference to `xcb_xkb_key_type_preserve_iterator'
robotgostatic | (.text+0x61b): undefined reference to `xcb_xkb_mod_def_next'
robotgostatic | (.text+0x62a): undefined reference to `xcb_xkb_key_type_next'
robotgostatic | (.text+0x735): undefined reference to `xcb_xkb_get_map_map_syms_rtrn_length'
robotgostatic | (.text+0x744): undefined reference to `xcb_xkb_get_map_map_syms_rtrn_iterator'
robotgostatic | (.text+0x887): undefined reference to `xcb_xkb_key_sym_map_syms_length'
robotgostatic | (.text+0x891): undefined reference to `xcb_xkb_key_sym_map_syms'
robotgostatic | (.text+0x91d): undefined reference to `xcb_xkb_key_sym_map_next'
robotgostatic | (.text+0x9e0): undefined reference to `xcb_xkb_get_map_map_acts_rtrn_count_length'
robotgostatic | (.text+0x9eb): undefined reference to `xcb_xkb_get_map_map_acts_rtrn_count'
robotgostatic | (.text+0x9fb): undefined reference to `xcb_xkb_get_map_map_acts_rtrn_acts_iterator'
robotgostatic | (.text+0xa10): undefined reference to `xcb_xkb_get_map_map_syms_rtrn_iterator'
robotgostatic | (.text+0xa93): undefined reference to `xcb_xkb_key_sym_map_syms_length'
robotgostatic | (.text+0xad8): undefined reference to `xcb_xkb_action_next'
robotgostatic | (.text+0xb27): undefined reference to `xcb_xkb_key_sym_map_next'
robotgostatic | (.text+0xb49): undefined reference to `xcb_xkb_get_map_map_vmods_rtrn'
robotgostatic | (.text+0xbb4): undefined reference to `xcb_xkb_get_map_map_explicit_rtrn_length'
robotgostatic | (.text+0xbc2): undefined reference to `xcb_xkb_get_map_map_explicit_rtrn_iterator'
robotgostatic | (.text+0xc9b): undefined reference to `xcb_xkb_set_explicit_next'
robotgostatic | (.text+0xcaf): undefined reference to `xcb_xkb_get_map_map_modmap_rtrn_length'
robotgostatic | (.text+0xcbd): undefined reference to `xcb_xkb_get_map_map_modmap_rtrn_iterator'
robotgostatic | (.text+0xd38): undefined reference to `xcb_xkb_key_mod_map_next'
robotgostatic | (.text+0xd48): undefined reference to `xcb_xkb_get_map_map_vmodmap_rtrn_length'
robotgostatic | (.text+0xd56): undefined reference to `xcb_xkb_get_map_map_vmodmap_rtrn_iterator'
robotgostatic | (.text+0xdcb): undefined reference to `xcb_xkb_key_v_mod_map_next'
robotgostatic | (.text+0xded): undefined reference to `xcb_xkb_get_indicator_map'
robotgostatic | (.text+0xdf9): undefined reference to `xcb_xkb_get_indicator_map_reply'
robotgostatic | (.text+0xe0d): undefined reference to `xcb_xkb_get_indicator_map_maps_iterator'
robotgostatic | (.text+0xf0d): undefined reference to `xcb_xkb_indicator_map_next'
robotgostatic | (.text+0xf44): undefined reference to `xcb_xkb_get_compat_map'
robotgostatic | (.text+0xf50): undefined reference to `xcb_xkb_get_compat_map_reply'
robotgostatic | (.text+0xf6b): undefined reference to `xcb_xkb_get_compat_map_si_rtrn_length'
robotgostatic | (.text+0xf76): undefined reference to `xcb_xkb_get_compat_map_si_rtrn_iterator'
robotgostatic | (.text+0x123e): undefined reference to `xcb_xkb_sym_interpret_next'
robotgostatic | (.text+0x1264): undefined reference to `xcb_xkb_get_names'
robotgostatic | (.text+0x1270): undefined reference to `xcb_xkb_get_names_reply'
robotgostatic | (.text+0x1363): undefined reference to `xcb_xkb_get_names_value_list'
robotgostatic | (.text+0x138a): undefined reference to `xcb_xkb_get_names_value_list_unpack'
robotgostatic | (.text+0x140f): undefined reference to `xcb_xkb_get_names_value_list_type_names_length'
robotgostatic | (.text+0x141a): undefined reference to `xcb_xkb_get_names_value_list_type_names'
robotgostatic | (.text+0x142a): undefined reference to `xcb_xkb_get_names_value_list_n_levels_per_type_length'
robotgostatic | (.text+0x1435): undefined reference to `xcb_xkb_get_names_value_list_n_levels_per_type'
robotgostatic | (.text+0x1442): undefined reference to `xcb_xkb_get_names_value_list_kt_level_names'
robotgostatic | (.text+0x15bb): undefined reference to `xcb_xkb_get_names_value_list_indicator_names'
robotgostatic | (.text+0x1658): undefined reference to `xcb_xkb_get_names_value_list_virtual_mod_names'
robotgostatic | (.text+0x16e0): undefined reference to `xcb_xkb_get_names_value_list_groups_length'
robotgostatic | (.text+0x16eb): undefined reference to `xcb_xkb_get_names_value_list_groups'
robotgostatic | (.text+0x173a): undefined reference to `xcb_xkb_get_names_value_list_key_names_length'
robotgostatic | (.text+0x1749): undefined reference to `xcb_xkb_get_names_value_list_key_names_iterator'
robotgostatic | (.text+0x17da): undefined reference to `xcb_xkb_key_name_next'
robotgostatic | (.text+0x1831): undefined reference to `xcb_xkb_get_names_value_list_key_aliases_length'
robotgostatic | (.text+0x1840): undefined reference to `xcb_xkb_get_names_value_list_key_aliases_iterator'
robotgostatic | (.text+0x18da): undefined reference to `xcb_xkb_key_alias_next'
robotgostatic | (.text+0x1924): undefined reference to `xcb_xkb_get_controls'
robotgostatic | (.text+0x1930): undefined reference to `xcb_xkb_get_controls_reply'
robotgostatic | /usr/lib/gcc/x86_64-linux-gnu/7/../../../x86_64-linux-gnu/libxkbcommon-x11.a(libxkbcommon_x11_la-state.o): In function `xkb_x11_state_new_from_device':
robotgostatic | (.text+0x28): undefined reference to `xcb_xkb_get_state'
robotgostatic | (.text+0x34): undefined reference to `xcb_xkb_get_state_reply'
robotgostatic | /usr/lib/gcc/x86_64-linux-gnu/7/../../../x86_64-linux-gnu/libxkbcommon-x11.a(libxkbcommon_x11_la-util.o): In function `xkb_x11_setup_xkb_extension':
robotgostatic | (.text+0x5d): undefined reference to `xcb_xkb_id'
robotgostatic | (.text+0xb7): undefined reference to `xcb_xkb_use_extension'
robotgostatic | (.text+0xc6): undefined reference to `xcb_xkb_use_extension_reply'
robotgostatic | /usr/lib/gcc/x86_64-linux-gnu/7/../../../x86_64-linux-gnu/libxkbcommon-x11.a(libxkbcommon_x11_la-util.o): In function `xkb_x11_get_core_keyboard_device_id':
robotgostatic | (.text+0x178): undefined reference to `xcb_xkb_get_device_info'
robotgostatic | (.text+0x184): undefined reference to `xcb_xkb_get_device_info_reply'
robotgostatic | collect2: error: ld returned 1 exit status
robotgostatic |
robotgostatic exited with code 2
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment