Bug 45761 - 0.9 build error:gtk/usb-device-manager.c:296: undefined reference to `usbredirfilter_string_to_rules'
Summary: 0.9 build error:gtk/usb-device-manager.c:296: undefined reference to `usbredi...
Status: RESOLVED FIXED
Alias: None
Product: Spice
Classification: Unclassified
Component: spice-gtk (show other bugs)
Version: unspecified
Hardware: Other All
: medium blocker
Assignee: Spice Bug List
QA Contact:
URL: http://pkgsubmit.mageia.org/uploads/f...
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2012-02-08 01:28 UTC by Olav Vitters
Modified: 2012-02-09 01:27 UTC (History)
0 users

See Also:
i915 platform:
i915 features:


Attachments

Description Olav Vitters 2012-02-08 01:28:14 UTC
I get the following build error under spice-gtk 0.9:

/bin/sh ../libtool  --tag=CC   --mode=link gcc -std=gnu99  -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fomit-frame-pointer -march=i586 -mtune=generic -fasynchronous-unwind-tables -version-info 5:0:4 -no-undefined -Wl,--version-script=./map-file  -Wl,--as-needed -Wl,--no-undefined -Wl,-z,relro -Wl,-O1 -Wl,--build-id -Wl,--enable-new-dtags -o libspice-client-glib-2.0.la -rpath /usr/lib glib-compat.lo spice-audio.lo spice-util.lo spice-option.lo spice-client.lo spice-session.lo spice-channel.lo gio-coroutine.lo channel-base.lo channel-cursor.lo channel-display.lo channel-display-mjpeg.lo channel-inputs.lo channel-main.lo channel-playback.lo channel-record.lo channel-smartcard.lo channel-usbredir.lo smartcard-manager.lo usb-device-manager.lo usb-acl-helper.lo decode-glz.lo decode-jpeg.lo decode-zlib.lo mem.lo marshaller.lo canvas_utils.lo sw_canvas.lo pixman_utils.lo lines.lo rop3.lo quic.lo lz.lo region.lo ssl_verify.lo  spice-pulse.lo   continuation.lo coroutine_ucontext.lo   generated_demarshallers.lo generated_demarshallers1.lo generated_marshallers.lo generated_marshallers1.lo spice-glib-enums.lo spice-marshal.lo  -lglib-2.0   -lgio-2.0 -lgobject-2.0 -lglib-2.0   -lgobject-2.0 -lglib-2.0   -lcelt051 -lm   -ljpeg -lz -lpixman-1   -L/usr/lib/ -lssl -lcrypto -ldl -lpthread -lz   -lpulse-mainloop-glib -lpulse -lglib-2.0    -lsasl2 -lcacard -lssl3 -lsmime3 -lnss3 -lsoftokn3 -lnssutil3 -lplds4 -lplc4 -lnspr4 -lpthread -ldl   -L/lib -lgudev-1.0 -lgobject-2.0 -lglib-2.0 -lusb-1.0 -lusbredirhost     
libtool: link: gcc -shared -Wl,--as-needed  -fPIC -DPIC  .libs/glib-compat.o .libs/spice-audio.o .libs/spice-util.o .libs/spice-option.o .libs/spice-client.o .libs/spice-session.o .libs/spice-channel.o .libs/gio-coroutine.o .libs/channel-base.o .libs/channel-cursor.o .libs/channel-display.o .libs/channel-display-mjpeg.o .libs/channel-inputs.o .libs/channel-main.o .libs/channel-playback.o .libs/channel-record.o .libs/channel-smartcard.o .libs/channel-usbredir.o .libs/smartcard-manager.o .libs/usb-device-manager.o .libs/usb-acl-helper.o .libs/decode-glz.o .libs/decode-jpeg.o .libs/decode-zlib.o .libs/mem.o .libs/marshaller.o .libs/canvas_utils.o .libs/sw_canvas.o .libs/pixman_utils.o .libs/lines.o .libs/rop3.o .libs/quic.o .libs/lz.o .libs/region.o .libs/ssl_verify.o .libs/spice-pulse.o .libs/continuation.o .libs/coroutine_ucontext.o .libs/generated_demarshallers.o .libs/generated_demarshallers1.o .libs/generated_marshallers.o .libs/generated_marshallers1.o .libs/spice-glib-enums.o .libs/spice-marshal.o   -O2 -march=i586 -mtune=generic -Wl,--version-script=./map-file -Wl,--as-needed -Wl,--no-undefined -Wl,-z -Wl,relro -Wl,-O1 -Wl,--build-id -Wl,--enable-new-dtags    -lgio-2.0 /usr/lib/libcelt051.so -lm -ljpeg -lpixman-1 -L/usr/lib/ -lssl -lcrypto -lz -lpulse-mainloop-glib -lpulse -lsasl2 -lcacard -lssl3 -lsmime3 -lnss3 -lsoftokn3 -lnssutil3 -lplds4 -lplc4 -lnspr4 -lpthread -ldl -L/lib -lgudev-1.0 -lgobject-2.0 -lglib-2.0 -lusb-1.0 -lusbredirhost -Wl,-soname -Wl,libspice-client-glib-2.0.so.1 -o .libs/libspice-client-glib-2.0.so.1.4.0
.libs/usb-device-manager.o: In function `spice_usb_device_manager_set_property':
/home/iurt/rpm/BUILD/spice-gtk-0.9/gtk/usb-device-manager.c:296: undefined reference to `usbredirfilter_string_to_rules'


Full build output (includes all the dependencies, configure stage, etc) at:
http://pkgsubmit.mageia.org/uploads/failure/cauldron/core/release/20120208091216.ovitters.valstar.6453/log/botcmd.1328692382.ecosse.log
Comment 1 Christophe Fergeau 2012-02-08 02:29:55 UTC
The patch in http://lists.freedesktop.org/archives/spice-devel/2012-February/007200.html should fix this.
Comment 2 Christophe Fergeau 2012-02-08 02:50:46 UTC
Olav, will you be able to test this patch so that we are 100% sure it fixes your issue, or should I push it without waiting for you?
Comment 3 Olav Vitters 2012-02-08 04:08:42 UTC
I can test it easily, but no access to Mageia buildsystem earlier than tonight.
Comment 4 Olav Vitters 2012-02-08 11:21:07 UTC
Patch fixes the build!
Comment 5 Christophe Fergeau 2012-02-09 01:27:23 UTC
Thanks for testing, patch pushed.


Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct. How we collect and use information is described in our Privacy Policy.