Bug 63755

Summary: build: Fix underlinking against glib
Product: libfprint Reporter: Jeremy Bicha <jbicha>
Component: libfprintAssignee: libfprint-bugs
Status: RESOLVED FIXED QA Contact:
Severity: major    
Priority: medium CC: bugzilla, jbicha
Version: unspecified   
Hardware: Other   
OS: All   
Whiteboard:
i915 platform: i915 features:
Attachments: buildlog
patch

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.