Re: 0.42: build fails

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 





On Wed, Sep 6, 2023 at 11:17 AM Tomasz Kłoczko <kloczko.tomasz@xxxxxxxxx> wrote:
HI,

Hi,
 

Looks like it is some issue with 0.42.
Build fails on linking libspice-client-glib with missing vevent_*  symbols.
I'm configuring source code with:

%meson \
        -D alignment-checks=false \
        -D builtin-mjpeg=false \
        -D gtk=enabled \
        -D introspection=enabled \
        -D lz4=enabled \
        -D polkit=enabled \
        -D usb-acl-helper-dir=%{_libexecdir}/spice-gtk-%{_arch}/ \
        -D usb-ids-path=%{_datadir}/hwdata/usb.ids \
        -D usbredir=enabled \
        -D vapi=enabled \
        -D webdav=enabled \
        %{nil}


What distribution are you building this on ?
Seems like there is a problem with the libcacard-devel package.
Meson seems to find it but libcacard.so is not found by the gcc command.

I can build spice-gtk on a Fedora38 with this meson command.

Regards,
    Uri.


 

Here is meso output

+ /usr/bin/meson setup --buildtype=plain --prefix=/usr --libdir=/usr/lib64 --libexecdir=/usr/libexec --bindir=/usr/bin --sbindir=/usr/sbin --includedir=/usr/include --datadir=/usr/share --mandir=/usr/share/man --infodir=/usr/share/info --localedir=/usr/share/locale --sysconfdir=/etc --localstatedir=/var --sharedstatedir=/var/lib --wrap-mode=nodownload --auto-features=enabled . x86_64-redhat-linux-gnu -D alignment-checks=false -D builtin-mjpeg=false -D gtk=enabled -D introspection=enabled -D lz4=enabled -D polkit=enabled -D usb-acl-helper-dir=/usr/libexec/spice-gtk-x86_64/ -D usb-ids-path=/usr/share/hwdata/usb.ids -D usbredir=enabled -D vapi=enabled -D webdav=enabled
The Meson build system
Version: 1.2.1
Source dir: /home/tkloczko/rpmbuild/BUILD/spice-gtk-0.42
Build dir: /home/tkloczko/rpmbuild/BUILD/spice-gtk-0.42/x86_64-redhat-linux-gnu
Build type: native build
Project name: spice-gtk
Project version: 0.42
C compiler for the host machine: /usr/bin/gcc (gcc 13.2.1 "gcc (GCC) 13.2.1 20230728 (Red Hat 13.2.1-1)")
C linker for the host machine: /usr/bin/gcc ld.bfd 2.41-5
Host machine cpu family: x86_64
Host machine cpu: x86_64
Library m found: YES

Executing subproject spice-common

spice-common| Project name: spice-common
spice-common| Project version: undefined
spice-common| C compiler for the host machine: /usr/bin/gcc (gcc 13.2.1 "gcc (GCC) 13.2.1 20230728 (Red Hat 13.2.1-1)")
spice-common| C linker for the host machine: /usr/bin/gcc ld.bfd 2.41-5
spice-common| Has header "alloca.h" : YES
spice-common| Has header "arpa/inet.h" : YES
spice-common| Has header "dlfcn.h" : YES
spice-common| Has header "inttypes.h" : YES
spice-common| Has header "netinet/in.h" : YES
spice-common| Has header "stdlib.h" : YES
spice-common| Has header "sys/socket.h" : YES
spice-common| Has header "sys/stat.h" : YES
spice-common| Has header "sys/types.h" : YES
spice-common| Has header "unistd.h" : YES
spice-common| Has header "regex.h" : YES
spice-common| Has header "sys/mman.h" : YES
spice-common| Checking for function "alloca" : YES
spice-common| Checking for function "sigaction" : YES
spice-common| Checking for function "drand48" : YES
spice-common| Checking for function "setlinebuf" : YES
spice-common| Library m found: YES
spice-common| Found pkg-config: /usr/bin/pkg-config (1.9.5)
spice-common| Run-time dependency spice-protocol found: YES 0.14.4
spice-common| Run-time dependency glib-2.0 found: YES 2.77.3
spice-common| Run-time dependency pixman-1 found: YES 0.42.2
spice-common| Run-time dependency openssl found: YES 3.0.9-dev
spice-common| Run-time dependency gio-2.0 found: YES 2.77.3
spice-common| Run-time dependency opus found: YES 1.4
spice-common| Program python3 found: YES (/usr/bin/python3)
spice-common| Message: Checking for python module six
spice-common| WARNING: You should add the boolean check kwarg to the run_command call.
spice-common| It currently defaults to false,
spice-common| but it will default to true in future releases of meson.
spice-common| See also: https://github.com/mesonbuild/meson/issues/9300
spice-common| Message: Checking for python module pyparsing
spice-common| Run-time dependency libcacard found: YES 2.8.1
spice-common| Compiler for C supports arguments -DG_LOG_DOMAIN="Spice": YES
spice-common| Compiler for C supports arguments -Wno-unused-parameter: YES
spice-common| Compiler for C supports arguments -DGLIB_VERSION_MIN_REQUIRED=GLIB_VERSION_2_38: YES
spice-common| Compiler for C supports arguments -DGLIB_VERSION_MAX_ALLOWED=GLIB_VERSION_2_38: YES
spice-common| Run-time dependency gdk-pixbuf-2.0 found: YES 2.42.10
spice-common| Program asciidoc found: NO
spice-common| Configuring config.h using configuration
spice-common| Build targets in project: 14
spice-common| Subproject spice-common finished.


Executing subproject keycodemapdb

keycodemapdb| Project name: keycodemapdb
keycodemapdb| Project version: undefined
keycodemapdb| Program tools/keymap-gen found: YES (/home/tkloczko/rpmbuild/BUILD/spice-gtk-0.42/subprojects/keycodemapdb/tools/keymap-gen)
keycodemapdb| Build targets in project: 14
keycodemapdb| Subproject keycodemapdb finished.

Program tools/keymap-gen found: YES (overridden)
Has header "termios.h" : YES
Has header "X11/XKBlib.h" : YES
Has header "sys/socket.h" : YES (cached)
Has header "sys/types.h" : YES (cached)
Has header "netinet/in.h" : YES (cached)
Has header "arpa/inet.h" : YES (cached)
Has header "valgrind/valgrind.h" : NO
Has header "sys/disk.h" : NO
Has header "epoxy/egl.h" : YES
Checking for function "clearenv" : YES
Checking for function "strtok_r" : YES
Dependency spice-protocol found: YES 0.14.4 (cached)
Dependency glib-2.0 found: YES 2.77.3 (cached)
Dependency gio-2.0 found: YES 2.77.3 (cached)
Run-time dependency gobject-2.0 found: YES 2.77.3
Dependency pixman-1 found: YES 0.42.2 (cached)
Dependency openssl found: YES 3.0.9-dev (cached)
Run-time dependency libjpeg found: YES 3.0.0
Run-time dependency zlib found: YES 1.2.13.zlib-ng
Run-time dependency json-glib-1.0 found: YES 1.6.6
Run-time dependency gio-unix-2.0 found: YES 2.77.3
Dependency opus found: YES 1.4 (cached)
Run-time dependency gtk+-3.0 found: YES 3.24.38
Run-time dependency epoxy found: YES 1.5.10
Run-time dependency x11 found: YES 1.8.6
Run-time dependency libva-x11 found: YES 1.19.0
Has header "gtk-3.0/gdk/gdkwayland.h" : YES
Run-time dependency wayland-protocols found: YES 1.32
Found pkg-config: /usr/bin/pkg-config (1.9.5)
Build-time dependency wayland-scanner found: YES 1.22.0
Program /usr/bin/wayland-scanner found: YES (/usr/bin/wayland-scanner)
Run-time dependency wayland-server found: YES 1.22.0
Run-time dependency wayland-cursor found: YES 1.22.0
Run-time dependency wayland-client found: YES 1.22.0
Run-time dependency libphodav-3.0 found: YES 3.0
Run-time dependency libsoup-3.0 found: YES 3.4.2
Run-time dependency gstreamer-1.0 found: YES 1.22.5
Run-time dependency gstreamer-base-1.0 found: YES 1.22.5
Run-time dependency gstreamer-app-1.0 found: YES 1.22.5
Run-time dependency gstreamer-audio-1.0 found: YES 1.22.5
Run-time dependency gstreamer-video-1.0 found: YES 1.22.5
Run-time dependency libusbredirparser-0.5 found: YES 0.13.0
Run-time dependency libusbredirhost found: YES 0.13.0
Run-time dependency libusb-1.0 found: YES 1.0.26
Run-time dependency libcap-ng found: YES 0.8.3
Run-time dependency polkit-gobject-1 found: YES 123
Checking for function "acl_get_file" : NO
Library acl found: YES
Checking for function "acl_get_file" with dependency -lacl: YES
Dependency gio-unix-2.0 found: YES 2.77.3 (cached)
Checking for function "makecontext" : YES
Checking for function "swapcontext" : YES
Checking for function "getcontext" : YES
Run-time dependency gobject-introspection-1.0 found: YES 1.76.1
Run-time dependency vapigen found: YES 0.56.13
Run-time dependency liblz4 found: YES 1.9.4
Run-time dependency libsasl2 found: YES 2.1.29
Dependency libcacard found: YES 2.8.1 (cached)
Compiler for C supports arguments -DHAVE_CONFIG_H: YES
Compiler for C supports arguments -DSPICE_COMPILATION: YES
Compiler for C supports arguments -DG_LOG_DOMAIN="GSpice": YES
Compiler for C supports arguments -Wno-sign-compare: YES
Compiler for C supports arguments -Wno-unused-parameter: YES (cached)
Compiler for C supports arguments -Wno-cast-function-type: YES
Compiler for C supports arguments -DGLIB_VERSION_MIN_REQUIRED=GLIB_VERSION_2_52: YES
Compiler for C supports arguments -DGLIB_VERSION_MAX_ALLOWED=GLIB_VERSION_2_52: YES
Compiler for C supports arguments -DGDK_VERSION_MIN_REQUIRED=GDK_VERSION_3_22: YES
Compiler for C supports arguments -DGDK_VERSION_MAX_ALLOWED=GDK_VERSION_3_22: YES
Configuring config.h using configuration
src/meson.build:27: WARNING: Project targets '>= 0.56' but uses feature introduced in '0.58.0': str.replace.
Configuring spice-version.h using configuration
Program glib-genmarshal found: YES (/usr/bin/glib-genmarshal)
Program glib-mkenums found: YES (/usr/bin/glib-mkenums)
Program glib-mkenums found: YES (/usr/bin/glib-mkenums)
Compiler for C supports link arguments -Wl,--version-script=/home/tkloczko/rpmbuild/BUILD/spice-gtk-0.42/src/test-map-file: YES
Dependency gobject-introspection-1.0 found: YES 1.76.1 (cached)
Dependency gobject-introspection-1.0 found: YES 1.76.1 (cached)
Program g-ir-scanner found: YES (/usr/bin/g-ir-scanner)
Dependency gobject-introspection-1.0 found: YES 1.76.1 (cached)
Program g-ir-compiler found: YES (/usr/bin/g-ir-compiler)
Program glib-mkenums found: YES (/usr/bin/glib-mkenums)
Program glib-mkenums found: YES (/usr/bin/glib-mkenums)
Program gtkdoc-scan found: YES (/usr/bin/gtkdoc-scan)
Dependency glib-2.0 found: YES 2.77.3 (cached)
Dependency gtk+-3.0 found: YES 3.24.38 (cached)
Program gtkdoc-scan found: YES (/usr/bin/gtkdoc-scan)
Program gtkdoc-scangobj found: YES (/usr/bin/gtkdoc-scangobj)
Program gtkdoc-mkdb found: YES (/usr/bin/gtkdoc-mkdb)
Program gtkdoc-mkhtml found: YES (/usr/bin/gtkdoc-mkhtml)
Program gtkdoc-fixxref found: YES (/usr/bin/gtkdoc-fixxref)
Program pod2man found: YES (/usr/bin/pod2man)
Program msgfmt found: YES (/usr/bin/msgfmt)
Program msginit found: YES (/usr/bin/msginit)
Program msgmerge found: YES (/usr/bin/msgmerge)
Program xgettext found: YES (/usr/bin/xgettext)
Program vapigen found: YES (/usr/bin/vapigen)
Program vapigen found: YES (/usr/bin/vapigen)
Build targets in project: 67
WARNING: Project specifies a minimum meson_version '>= 0.56' but uses features which were added in newer versions:
 * 0.58.0: {'str.replace'}

spice-gtk 0.42

    prefix                         : /usr
    opus                           : YES
    gtk                            : YES
    wayland-protocols              : YES
    webdav                         : YES
    builtin-mjpeg                  : NO
    usbredir                       : YES
    libcap-ng                      : YES
    polkit                         : YES
    pie                            : YES
    usb-acl-helper-dir             : /usr/libexec/spice-gtk-x86_64/
    usb-ids-path                   : /usr/share/hwdata/usb.ids
    coroutine                      : ucontext
    introspection                  : YES
    vapi                           : YES
    lz4                            : YES
    sasl                           : YES
    smartcard                      : YES
    valgrind                       : NO
    libspice-client-glib.so version: 8.8.2
    libspice-client-gtk.so version : 5.1.1
    gtk_doc                        : YES

  Subprojects
    keycodemapdb                   : YES
    spice-common                   : YES 2 warnings

  User defined options
    auto_features                  : enabled
    bindir                         : /usr/bin
    buildtype                      : plain
    datadir                        : /usr/share
    includedir                     : /usr/include
    infodir                        : /usr/share/info
    libdir                         : /usr/lib64
    libexecdir                     : /usr/libexec
    localedir                      : /usr/share/locale
    localstatedir                  : /var
    mandir                         : /usr/share/man
    prefix                         : /usr
    sbindir                        : /usr/sbin
    sharedstatedir                 : /var/lib
    sysconfdir                     : /etc
    wrap_mode                      : nodownload
    alignment-checks               : false
    builtin-mjpeg                  : false
    gtk                            : enabled
    introspection                  : enabled
    lz4                            : enabled
    polkit                         : enabled
    usb-acl-helper-dir             : /usr/libexec/spice-gtk-x86_64/
    usb-ids-path                   : /usr/share/hwdata/usb.ids
    usbredir                       : enabled
    vapi                           : enabled
    webdav                         : enabled

aAnd above is filing on

[tkloczko@pers-jacek x86_64-redhat-linux-gnu]$ ninja
[1/22] Linking target src/libspice-client-glib-2.0.so.8.8.2
FAILED: src/libspice-client-glib-2.0.so.8.8.2
/usr/bin/gcc  -o src/libspice-client-glib-2.0.so.8.8.2 src/libspice-client-glib-2.0.so.8.8.2.p/meson-generated_.._spice-marshal.c.o src/libspice-client-glib-2.0.so.8.8.2.p/meson-generated_.._spice-glib-enums.c.o src/libspice-client-glib-2.0.so.8.8.2.p/channel-cursor.c.o src/libspice-client-glib-2.0.so.8.8.2.p/channel-display.c.o src/libspice-client-glib-2.0.so.8.8.2.p/channel-inputs.c.o src/libspice-client-glib-2.0.so.8.8.2.p/channel-main.c.o src/libspice-client-glib-2.0.so.8.8.2.p/channel-playback.c.o src/libspice-client-glib-2.0.so.8.8.2.p/channel-port.c.o src/libspice-client-glib-2.0.so.8.8.2.p/channel-record.c.o src/libspice-client-glib-2.0.so.8.8.2.p/channel-smartcard.c.o src/libspice-client-glib-2.0.so.8.8.2.p/channel-usbredir.c.o src/libspice-client-glib-2.0.so.8.8.2.p/channel-webdav.c.o src/libspice-client-glib-2.0.so.8.8.2.p/qmp-port.c.o src/libspice-client-glib-2.0.so.8.8.2.p/smartcard-manager.c.o src/libspice-client-glib-2.0.so.8.8.2.p/spice-audio.c.o src/libspice-client-glib-2.0.so.8.8.2.p/spice-channel.c.o src/libspice-client-glib-2.0.so.8.8.2.p/spice-client.c.o src/libspice-client-glib-2.0.so.8.8.2.p/spice-option.c.o src/libspice-client-glib-2.0.so.8.8.2.p/spice-session.c.o src/libspice-client-glib-2.0.so.8.8.2.p/spice-util.c.o src/libspice-client-glib-2.0.so.8.8.2.p/spice-util-glib.c.o src/libspice-client-glib-2.0.so.8.8.2.p/usb-device-manager.c.o src/libspice-client-glib-2.0.so.8.8.2.p/bio-gio.c.o src/libspice-client-glib-2.0.so.8.8.2.p/channel-base.c.o src/libspice-client-glib-2.0.so.8.8.2.p/channel-display-gst.c.o src/libspice-client-glib-2.0.so.8.8.2.p/client_sw_canvas.c.o src/libspice-client-glib-2.0.so.8.8.2.p/decode-glz.c.o src/libspice-client-glib-2.0.so.8.8.2.p/decode-jpeg.c.o src/libspice-client-glib-2.0.so.8.8.2.p/decode-zlib.c.o src/libspice-client-glib-2.0.so.8.8.2.p/gio-coroutine.c.o src/libspice-client-glib-2.0.so.8.8.2.p/spice-file-transfer-task.c.o src/libspice-client-glib-2.0.so.8.8.2.p/spice-glib-main.c.o src/libspice-client-glib-2.0.so.8.8.2.p/spice-gstaudio.c.o src/libspice-client-glib-2.0.so.8.8.2.p/spice-uri.c.o src/libspice-client-glib-2.0.so.8.8.2.p/vmcstream.c.o src/libspice-client-glib-2.0.so.8.8.2.p/usb-acl-helper.c.o src/libspice-client-glib-2.0.so.8.8.2.p/giopipe.c.o src/libspice-client-glib-2.0.so.8.8.2.p/continuation.c.o src/libspice-client-glib-2.0.so.8.8.2.p/coroutine_ucontext.c.o src/libspice-client-glib-2.0.so.8.8.2.p/usbutil.c.o src/libspice-client-glib-2.0.so.8.8.2.p/usb-backend.c.o src/libspice-client-glib-2.0.so.8.8.2.p/usb-device-cd.c.o src/libspice-client-glib-2.0.so.8.8.2.p/cd-scsi.c.o src/libspice-client-glib-2.0.so.8.8.2.p/cd-usb-bulk-msd.c.o -Wl,--as-needed -Wl,--no-undefined -shared -fPIC -Wl,--start-group -Wl,-soname,libspice-client-glib-2.0.so.8 -Wl,--gc-sections -Wl,--as-needed -flto=auto -flto-partition=none -fuse-linker-plugin -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -Wl,--build-id=sha1 -O2 -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fdata-sections -ffunction-sections -flto=auto -flto-partition=none subprojects/spice-common/common/libspice-common-client.a subprojects/spice-common/common/libspice-common.a -Wl,--version-script=/home/tkloczko/rpmbuild/BUILD/spice-gtk-0.42/src/map-file-glib -lm /usr/lib64/libglib-2.0.so /usr/lib64/libpixman-1.so /usr/lib64/libssl.so /usr/lib64/libcrypto.so /usr/lib64/libopus.so /usr/lib64/libgio-2.0.so /usr/lib64/libgobject-2.0.so /usr/lib64/libjpeg.so /usr/lib64/libz.so /usr/lib64/libjson-glib-1.0.so /usr/lib64/libphodav-3.0.so /usr/lib64/libsoup-3.0.so -Wl,--export-dynamic /usr/lib64/libgmodule-2.0.so -pthread /usr/lib64/libgstreamer-1.0.so /usr/lib64/libgstbase-1.0.so /usr/lib64/libgstapp-1.0.so /usr/lib64/libgstaudio-1.0.so /usr/lib64/libgstvideo-1.0.so /usr/lib64/libusbredirparser.so /usr/lib64/libusbredirhost.so /usr/lib64/libusb-1.0.so /usr/lib64/liblz4.so /usr/lib64/libsasl2.so -Wl,--end-group
../subprojects/spice-common/common/canvas_base.c: In function ‘canvas_draw_stroke’:
../subprojects/spice-common/common/canvas_base.c:2945:55: warning: writing 1 byte into a region of size 0 [-Wstringop-overflow=]
 2945 |             gc.base.dash[stroke->attr.style_nseg - 1] = fix_to_int(style[0]);
      |                                                       ^
/usr/bin/ld: /tmp/cc4Z1SP9.lto.o: in function `spice_smartcard_channel_init':
/home/tkloczko/rpmbuild/BUILD/spice-gtk-0.42/x86_64-redhat-linux-gnu/../src/channel-smartcard.c:116:(.text.spice_smartcard_channel_init+0x25): undefined reference to `vreader_free'
/usr/bin/ld: /tmp/cc4Z1SP9.lto.o: in function `spice_smartcard_manager_finalize':
/home/tkloczko/rpmbuild/BUILD/spice-gtk-0.42/x86_64-redhat-linux-gnu/../src/smartcard-manager.c:119:(.text.spice_smartcard_manager_finalize+0x2e): undefined reference to `vreader_free'
/usr/bin/ld: /tmp/cc4Z1SP9.lto.o: in function `spice_smartcard_reader_get_type_once':
/home/tkloczko/rpmbuild/BUILD/spice-gtk-0.42/x86_64-redhat-linux-gnu/../src/smartcard-manager.c:63:(.text.spice_smartcard_reader_get_type_once+0x13): undefined reference to `vreader_free'
/usr/bin/ld: /home/tkloczko/rpmbuild/BUILD/spice-gtk-0.42/x86_64-redhat-linux-gnu/../src/smartcard-manager.c:63:(.text.spice_smartcard_reader_get_type_once+0x1a): undefined reference to `vreader_reference'
/usr/bin/ld: /tmp/cc4Z1SP9.lto.o: in function `smartcard_source_finalize':
/home/tkloczko/rpmbuild/BUILD/spice-gtk-0.42/x86_64-redhat-linux-gnu/../src/smartcard-manager.c:341:(.text.smartcard_source_finalize+0x19): undefined reference to `vevent_delete'
/usr/bin/ld: /tmp/cc4Z1SP9.lto.o: in function `smartcard_source_dispatch':
/home/tkloczko/rpmbuild/BUILD/spice-gtk-0.42/x86_64-redhat-linux-gnu/../src/smartcard-manager.c:329:(.text.smartcard_source_dispatch+0x3d): undefined reference to `vevent_delete'
/usr/bin/ld: /tmp/cc4Z1SP9.lto.o: in function `smartcard_source_prepare':
/home/tkloczko/rpmbuild/BUILD/spice-gtk-0.42/x86_64-redhat-linux-gnu/../src/smartcard-manager.c:302:(.text.smartcard_source_prepare+0x34): undefined reference to `vevent_get_next_vevent'
/usr/bin/ld: /tmp/cc4Z1SP9.lto.o: in function `smartcard_source_check':
/home/tkloczko/rpmbuild/BUILD/spice-gtk-0.42/x86_64-redhat-linux-gnu/../src/smartcard-manager.c:302:(.text.smartcard_source_check+0x2d): undefined reference to `vevent_get_next_vevent'
/usr/bin/ld: /tmp/cc4Z1SP9.lto.o: in function `spice_smartcard_reader_is_software':
/home/tkloczko/rpmbuild/BUILD/spice-gtk-0.42/x86_64-redhat-linux-gnu/../src/smartcard-manager.c:541:(.text.spice_smartcard_reader_is_software+0xe): undefined reference to `vreader_get_name'
/usr/bin/ld: /tmp/cc4Z1SP9.lto.o: in function `spice_smartcard_reader_insert_card':
/home/tkloczko/rpmbuild/BUILD/spice-gtk-0.42/x86_64-redhat-linux-gnu/../src/smartcard-manager.c:561:(.text.spice_smartcard_reader_insert_card+0x1e): undefined reference to `vcard_emul_force_card_insert'
/usr/bin/ld: /tmp/cc4Z1SP9.lto.o: in function `spice_smartcard_reader_remove_card':
/home/tkloczko/rpmbuild/BUILD/spice-gtk-0.42/x86_64-redhat-linux-gnu/../src/smartcard-manager.c:583:(.text.spice_smartcard_reader_remove_card+0x1e): undefined reference to `vcard_emul_force_card_remove'
/usr/bin/ld: /tmp/cc4Z1SP9.lto.o: in function `spice_smartcard_manager_get_readers':
/home/tkloczko/rpmbuild/BUILD/spice-gtk-0.42/x86_64-redhat-linux-gnu/../src/smartcard-manager.c:609:(.text.spice_smartcard_manager_get_readers+0x16): undefined reference to `vreader_get_reader_list'
/usr/bin/ld: /home/tkloczko/rpmbuild/BUILD/spice-gtk-0.42/x86_64-redhat-linux-gnu/../src/smartcard-manager.c:614:(.text.spice_smartcard_manager_get_readers+0x2d): undefined reference to `vreader_list_get_first'
/usr/bin/ld: /home/tkloczko/rpmbuild/BUILD/spice-gtk-0.42/x86_64-redhat-linux-gnu/../src/smartcard-manager.c:621:(.text.spice_smartcard_manager_get_readers+0x54): undefined reference to `vreader_reference'
/usr/bin/ld: /home/tkloczko/rpmbuild/BUILD/spice-gtk-0.42/x86_64-redhat-linux-gnu/../src/smartcard-manager.c:616:(.text.spice_smartcard_manager_get_readers+0x6a): undefined reference to `vreader_list_get_next'
/usr/bin/ld: /home/tkloczko/rpmbuild/BUILD/spice-gtk-0.42/x86_64-redhat-linux-gnu/../src/smartcard-manager.c:619:(.text.spice_smartcard_manager_get_readers+0x7a): undefined reference to `vreader_list_get_reader'
/usr/bin/ld: /home/tkloczko/rpmbuild/BUILD/spice-gtk-0.42/x86_64-redhat-linux-gnu/../src/smartcard-manager.c:623:(.text.spice_smartcard_manager_get_readers+0xb4): undefined reference to `vreader_list_delete'
/usr/bin/ld: /tmp/cc4Z1SP9.lto.o: in function `send_msg_generic_with_data':
/home/tkloczko/rpmbuild/BUILD/spice-gtk-0.42/x86_64-redhat-linux-gnu/../src/channel-smartcard.c:340:(.text.send_msg_generic_with_data+0x45): undefined reference to `vreader_get_id'
/usr/bin/ld: /home/tkloczko/rpmbuild/BUILD/spice-gtk-0.42/x86_64-redhat-linux-gnu/../src/channel-smartcard.c:343:(.text.send_msg_generic_with_data+0x52): undefined reference to `vreader_get_id'
/usr/bin/ld: /tmp/cc4Z1SP9.lto.o: in function `reader_added_cb':
/home/tkloczko/rpmbuild/BUILD/spice-gtk-0.42/x86_64-redhat-linux-gnu/../src/channel-smartcard.c:376:(.text.reader_added_cb+0x19): undefined reference to `vreader_get_name'
/usr/bin/ld: /home/tkloczko/rpmbuild/BUILD/spice-gtk-0.42/x86_64-redhat-linux-gnu/../src/channel-smartcard.c:378:(.text.reader_added_cb+0x24): undefined reference to `vreader_get_id'
/usr/bin/ld: /tmp/cc4Z1SP9.lto.o: in function `card_removed_cb':
/home/tkloczko/rpmbuild/BUILD/spice-gtk-0.42/x86_64-redhat-linux-gnu/../src/channel-smartcard.c:225:(.text.card_removed_cb+0x15): undefined reference to `vreader_get_id'
/usr/bin/ld: /tmp/cc4Z1SP9.lto.o: in function `send_msg_atr':
/home/tkloczko/rpmbuild/BUILD/spice-gtk-0.42/x86_64-redhat-linux-gnu/../src/channel-smartcard.c:367:(.text.send_msg_atr+0x2d): undefined reference to `vreader_get_id'
/usr/bin/ld: /home/tkloczko/rpmbuild/BUILD/spice-gtk-0.42/x86_64-redhat-linux-gnu/../src/channel-smartcard.c:368:(.text.send_msg_atr+0x45): undefined reference to `vreader_power_on'
/usr/bin/ld: /tmp/cc4Z1SP9.lto.o: in function `card_inserted_cb':
/home/tkloczko/rpmbuild/BUILD/spice-gtk-0.42/x86_64-redhat-linux-gnu/../src/channel-smartcard.c:225:(.text.card_inserted_cb+0x15): undefined reference to `vreader_get_id'
/usr/bin/ld: /home/tkloczko/rpmbuild/BUILD/spice-gtk-0.42/x86_64-redhat-linux-gnu/../src/channel-smartcard.c:239:(.text.card_inserted_cb+0x34): undefined reference to `vreader_reference'
/usr/bin/ld: /tmp/cc4Z1SP9.lto.o: in function `handle_smartcard_msg':
/home/tkloczko/rpmbuild/BUILD/spice-gtk-0.42/x86_64-redhat-linux-gnu/../src/channel-smartcard.c:538:(.text.handle_smartcard_msg+0xf1): undefined reference to `vreader_get_reader_by_id'
/usr/bin/ld: /home/tkloczko/rpmbuild/BUILD/spice-gtk-0.42/x86_64-redhat-linux-gnu/../src/channel-smartcard.c:541:(.text.handle_smartcard_msg+0x113): undefined reference to `vreader_xfr_bytes'
/usr/bin/ld: /home/tkloczko/rpmbuild/BUILD/spice-gtk-0.42/x86_64-redhat-linux-gnu/../src/channel-smartcard.c:500:(.text.handle_smartcard_msg+0x23d): undefined reference to `vreader_get_id'
/usr/bin/ld: /home/tkloczko/rpmbuild/BUILD/spice-gtk-0.42/x86_64-redhat-linux-gnu/../src/channel-smartcard.c:504:(.text.handle_smartcard_msg+0x261): undefined reference to `vreader_set_id'
/usr/bin/ld: /tmp/cc4Z1SP9.lto.o: in function `reader_removed_cb':
/home/tkloczko/rpmbuild/BUILD/spice-gtk-0.42/x86_64-redhat-linux-gnu/../src/channel-smartcard.c:225:(.text.reader_removed_cb+0x15): undefined reference to `vreader_get_id'
/usr/bin/ld: /home/tkloczko/rpmbuild/BUILD/spice-gtk-0.42/x86_64-redhat-linux-gnu/../src/channel-smartcard.c:262:(.text.reader_removed_cb+0x44): undefined reference to `vreader_reference'
/usr/bin/ld: /tmp/cc4Z1SP9.lto.o: in function `smartcard_monitor_dispatch':
/home/tkloczko/rpmbuild/BUILD/spice-gtk-0.42/x86_64-redhat-linux-gnu/../src/smartcard-manager.c:262:(.text.smartcard_monitor_dispatch+0x5e): undefined reference to `vreader_free'
/usr/bin/ld: /home/tkloczko/rpmbuild/BUILD/spice-gtk-0.42/x86_64-redhat-linux-gnu/../src/smartcard-manager.c:251:(.text.smartcard_monitor_dispatch+0x151): undefined reference to `vreader_reference'
/usr/bin/ld: /tmp/cc4Z1SP9.lto.o: in function `smartcard_manager_init':
/home/tkloczko/rpmbuild/BUILD/spice-gtk-0.42/x86_64-redhat-linux-gnu/../src/smartcard-manager.c:443:(.text.smartcard_manager_init+0xee): undefined reference to `vcard_emul_options'
/usr/bin/ld: /home/tkloczko/rpmbuild/BUILD/spice-gtk-0.42/x86_64-redhat-linux-gnu/../src/smartcard-manager.c:456:(.text.smartcard_manager_init+0x1a7): undefined reference to `vcard_emul_init'
/usr/bin/ld: /tmp/cc4Z1SP9.lto.o: in function `spice_smartcard_channel_up_cb':
/home/tkloczko/rpmbuild/BUILD/spice-gtk-0.42/x86_64-redhat-linux-gnu/../src/channel-smartcard.c:454:(.text.spice_smartcard_channel_up_cb+0x206): undefined reference to `vreader_card_is_present'
/usr/bin/ld: /home/tkloczko/rpmbuild/BUILD/spice-gtk-0.42/x86_64-redhat-linux-gnu/../src/channel-smartcard.c:225:(.text.spice_smartcard_channel_up_cb+0x224): undefined reference to `vreader_get_id'
/usr/bin/ld: /home/tkloczko/rpmbuild/BUILD/spice-gtk-0.42/x86_64-redhat-linux-gnu/../src/channel-smartcard.c:239:(.text.spice_smartcard_channel_up_cb+0x244): undefined reference to `vreader_reference'
collect2: error: ld returned 1 exit status

BTW it would be really good to enable issue tracker on https://gitlab.freedesktop.org/spice/spice-gtk/

kloczek
-- 
Tomasz Kłoczko | LinkedIn: http://lnkd.in/FXPWxH

[Index of Archives]     [Linux Virtualization]     [Linux Virtualization]     [Linux ARM Kernel]     [Linux ARM]     [Linux Omap]     [Fedora ARM]     [IETF Annouce]     [Security]     [Bugtraq]     [Linux OMAP]     [Linux MIPS]     [ECOS]     [Asterisk Internet PBX]     [Linux API]     [Monitors]