fprint_vfs5011
fprint_vfs5011 copied to clipboard
Does not compile on Ubuntu 13.04
I cannot install this driver on Ubuntu 13.04 amd64 (Even though I could on Ubuntu 12.10).
I run
sudo apt-get install libperl-dev libgtk2.0-dev libusb-1.0-0-dev libnss3-dev cd ~/tmp wget https://github.com/ars3niy/fprint_vfs5011/archive/master.zip unzip ./master.zip cd ./fprint_vfs5011-master ./autogen.sh ./configure make sudo make install sudo apt-get install fprint-demo fprintd fprintd-doc libfprint0 sudo fprint_demo
The output of ./autogen.sh: http://pastebin.com/uWkWpbHi The output of ./configure: http://pastebin.com/VQ23cdbp The output of make: http://pastebin.com/7m10v17Q
Hi, your autogen.sh output shows an error at the end :
checking for Xv extensions... no configure: error: XV is required for X11 examples
so i would assume, that you have to install something like libxcb-xv0-dev (sudo apt-get install libxcb-xv0-dev). Maybe this fixes the error in autogen.sh and therefore maybe also your linking or have you tried this already?
I have installed libxcb-xv0-dev and unfortunately it doesn't help.
Any other errors now?
No. Same as before. Maybe there is some problem with detecting Xv extensions, because I'm using AMD/Intel hybrid graphics card.
Could you please try sudo apt-get install libxv-dev? Maybe this is also missing - if this error is there after installing this i'm not sure which package solves this as i currently don't use 13.04 - maybe i'll give it a try in vbox.
Now there is no error during ./autogen.sh: http://pastebin.com/ymM9JfkT but there is still an error after make: http://pastebin.com/06Uxs3A9
Maybe it's somehow related with this: https://bugs.freedesktop.org/show_bug.cgi?id=63755#c1
Have the same issue on Ubuntu 13.04 x64. Have installed libxv-dev, and got the same error on the step 'make' as @Grycek
Same issue for me on make: /lib/x86_64-linux-gnu/libglib-2.0.so.0: could not read symbols: Invalid operation
After a little searching I found that modifying libfprint/Makefile.am does the trick. The patch can be found here: https://bugs.freedesktop.org/attachment.cgi?id=78274 (Add $(GLIB_LIBS) to fprint_list_udev_rules_LDADD)
I used automake1.12 - don't know if this makes a difference, either.
The driver doesn't compile for me on 14.04, what could I be missing?
CC libfprint_la-core.lo core.c: In function 'fpi_log': core.c:327:3: warning: format '%d' expects argument of type 'int', but argument 3 has type '__time_t' [-Wformat=] function); ^ core.c:327:3: warning: format '%d' expects argument of type 'int', but argument 4 has type '__suseconds_t' [-Wformat=] ... CC drivers/libfprint_la-vfs5011.lo drivers/vfs5011.c:21:14: warning: function declaration isn't a prototype [-Wstrict-prototypes] static char *get_debugfiles_path() ^ drivers/vfs5011.c: In function 'debugprint': drivers/vfs5011.c:43:3: warning: format '%d' expects argument of type 'int', but argument 3 has type '__time_t' [-Wformat=] fprintf(debuglogfile, "%d.%.3d\t", t.tv_sec, t.tv_usec/1000); ^ drivers/vfs5011.c:43:3: warning: format '%d' expects argument of type 'int', but argument 4 has type '__suseconds_t' [-Wformat=] drivers/vfs5011.c: In function 'vfs5011_rescale_image': drivers/vfs5011.c:467:6: warning: unused variable 'on_good_offsets' [-Wunused-variable] int on_good_offsets = 0; ^ drivers/vfs5011.c: In function 'process_chunk': drivers/vfs5011.c:605:6: warning: unused variable 'remainder' [-Wunused-variable] int remainder = transferred % VFS5011_LINE_SIZE; ^ drivers/vfs5011.c: In function 'submit_image': drivers/vfs5011.c:676:8: warning: unused variable 'debugfile' [-Wunused-variable] FILE *debugfile = NULL; ^ drivers/vfs5011.c: At top level: drivers/vfs5011.c:363:12: warning: 'get_deviation_int' defined but not used [-Wunused-function] static int get_deviation_int(int *buf, int size) ^ CC libfprint_la-gdkpixbuf.lo gdkpixbuf.c: In function 'fpi_im_resize': gdkpixbuf.c:35:2: warning: 'g_type_init' is deprecated (declared at /usr/include/glib-2.0/gobject/gtype.h:667) [-Wdeprecated-declarations] g_type_init (); ^
installing "libxv-dev" would help :)
this is an old thread but still thought to comment this since someone would jump in searching for a solution.
The code was merged into kernel upstream or somewhere else? I am on Debian 12 but fingerprint reader does not work (no driver detected).