[fprint] Long time since able to compile libfprint
Bastien Nocera
hadess at hadess.net
Sat May 31 21:24:14 BST 2008
On Sat, 2008-05-31 at 23:05 +0300, Alon Bar-Lev wrote:
> Hello,
>
> Getting:
> i686-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I.. -fvisibility=hidden
> -I./nbis/include -I/usr/include/libusb-1.0 -I/usr/include/glib-2.0
> -I/usr/lib/glib-2.0/include -I/usr/kerberos/include -std=gnu99 -Wall
> -Wundef -Wunused -Wstrict-prototypes
> -Werror-implicit-function-declaration -Wno-pointer-sign -Wshadow -O3
> -march=pentium-m -fomit-frame-pointer -pipe -MT libfprint_la-core.lo
> -MD -MP -MF .deps/libfprint_la-core.Tpo -c core.c -fPIC -DPIC -o
> .libs/libfprint_la-core.o
> async.c: In function 'fp_async_dev_open':
> async.c:48: error: too few arguments to function 'libusb_open'
> make[2]: *** [libfprint_la-async.lo] Error 1
> make[2]: *** Waiting for unfinished jobs....
>
> int libusb_open(libusb_device *dev, libusb_device_handle **handle);
>
> While:
> udevh = libusb_open(ddev->udev);
Should be:
libusb_open(ddev->udev, &udevh);
as I posted in a recent patch, but t should probably have some better
error checking as well.
Cheers
More information about the fprint
mailing list