Hello,

I am just trying to make a simple program using libfprint API. The source code 
of my program is below.

_____________________________________________________________________________________
#include <stdio.h>
#include <stdlib.h>
#include <unistd.h>
#include <libfprint/fprint.h>

int main()
{
    int r = 1;
    struct fp_dscv_dev **dev_devices;
    r = fp_init();
    if(r < 0)
    {
        fprintf(stderr,"Failed to initialise libfprint\n");
        exit(1);
    }

    dev_devices = fp_discover_devs();

    return (EXIT_SUCCESS);
}
_____________________________________________________________________________________



I am unable to compile this program. When I compile I get this error

_____________________________________________________________________________________
DeviceDiscovery.c: In function ‘main’:
DeviceDiscovery.c:10: warning: assignment from incompatible pointer type
/tmp/ccmoTdYI.o: In function `main':
DeviceDiscovery.c:(.text+0x9): undefined reference to `fp_discover_devs'
collect2: ld returned 1 exit status
_____________________________________________________________________________________


Any solution?

Regards,
Mahendra Kariya
http://www.mahendrakariya.blogspot.com


_______________________________________________
fprint mailing list
[email protected]
http://lists.reactivated.net/mailman/listinfo/fprint

Reply via email to