Bug 63755 - build: Fix underlinking against glib
Summary: build: Fix underlinking against glib
Status: RESOLVED FIXED
Alias: None
Product: libfprint
Classification: Unclassified
Component: libfprint (show other bugs)
Version: unspecified
Hardware: Other All
: medium major
Assignee: libfprint-bugs
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2013-04-20 15:36 UTC by Jeremy Bicha
Modified: 2013-06-26 12:15 UTC (History)
2 users (show)

See Also:
i915 platform:
i915 features:


Attachments
buildlog (197.01 KB, text/plain)
2013-04-20 15:36 UTC, Jeremy Bicha
Details
patch (982 bytes, patch)
2013-04-20 15:38 UTC, Jeremy Bicha
Details | Splinter Review

Note You need to log in before you can comment on or make changes to this bug.
Description Jeremy Bicha 2013-04-20 15:36:52 UTC
Created attachment 78273 [details]
buildlog

libfprint 0.5.0 fails to build on Ubuntu 13.04:

libtool: link: gcc -fvisibility=hidden -I./nbis/include -I/usr/include/libusb-1.0 -I/usr/include/glib-2.0 -I/usr/lib/x86_64-linux-gnu/glib-2.0/include -I/usr/include/nss -I/usr/include/nspr -std=gnu99 -fgnu89-inline -Wall -Wundef -Wunused -Wstrict-prototypes -Werror-implicit-function-declaration -Wno-pointer-sign -Wshadow -g -O2 -fstack-protector --param=ssp-buffer-size=4 -Wformat -Werror=format-security -Wl,-Bsymbolic-functions -Wl,-z -Wl,relro -o .libs/fprint-list-udev-rules fprint_list_udev_rules-fprint-list-udev-rules.o  ./.libs/libfprint.so -pthread
/usr/bin/ld: fprint_list_udev_rules-fprint-list-udev-rules.o: undefined reference to symbol 'g_str_equal'
/usr/bin/ld: note: 'g_str_equal' is defined in DSO /lib/x86_64-linux-gnu/libglib-2.0.so.0 so try adding it to the linker command line
/lib/x86_64-linux-gnu/libglib-2.0.so.0: could not read symbols: Invalid operation
Comment 1 Jeremy Bicha 2013-04-20 15:38:31 UTC
Created attachment 78274 [details] [review]
patch
Comment 2 Bastien Nocera 2013-06-26 12:15:13 UTC
Pushed to master, thanks


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.