Open Hamedsamak66 opened 3 years ago
Same issue on Arch.
Got the same on Fedora 35. Any hints ? Thank you,
@jorx-dev @dwBXjj3smad
Had the same on Fedora 35. I managed to compile (after a very long struggle) with this:
dnf install libgudev-devel
and
sudo dnf install valgrind
However, when running this:
for finger in {left,right}-{thumb,{index,middle,ring,little}-finger}; do fprintd-enroll -f "$finger" "$USER"; done
I get this error message:
Impossible to enroll: GDBus.Error:net.reactivated.Fprint.Error.NoSuchDevice: No devices available
although validity-sensors-tools.led-test
is successful (LED is blinking)
I am getting the same error on Mint 21.2 Cinnamon. I would love to have this working. If anyone knows a workaround or a solution please let me know.
Try to disable -Werror flag in build file?
Hi I having Laptop Lenovo Tinkpad P50 and using Fedora 34 ... For Using fingerprintreader After executing ninja command, the following error is displayed :
AILED: libfprint/libnbis.a.p/nbis_bozorth3_bozorth3.c.o cc -Ilibfprint/libnbis.a.p -Ilibfprint -I../libfprint -I. -I.. -Ilibfprint/nbis/include -I../libfprint/nbis/include -Ilibfprint/nbis/libfprint-include -I../libfprint/nbis/libfprint-include -I/usr/include/gio-unix-2.0 -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/sysprof-4 -I/usr/include/libmount -I/usr/include/blkid -I/usr/include/gusb-1 -I/usr/include/libusb-1.0 -I/usr/include/pixman-1 -I/usr/include/nss3 -I/usr/include/nspr4 -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -std=gnu99 -O2 -g -Wall -Wcast-align -Wformat-nonliteral -Wformat-security -Wformat=2 -Wignored-qualifiers -Wlogical-op -Wmissing-declarations -Wmissing-format-attribute -Wmissing-include-dirs -Wmissing-noreturn -Wpointer-arith -Wshadow -Wtype-limits -Wundef -Wunused -Werror=address -Werror=array-bounds -Werror=empty-body -Werror=init-self -Werror=int-to-pointer-cast -Werror=main -Werror=missing-braces -Werror=nonnull -Werror=redundant-decls -Werror=return-type -Werror=sequence-point -Werror=trigraphs -Werror=write-strings -fno-strict-aliasing -DGLIB_VERSION_MIN_REQUIRED=GLIB_VERSION_2_56 -DGLIB_VERSION_MAX_ALLOWED=GLIB_VERSION_2_56 -D_GNU_SOURCE '-DG_LOG_DOMAIN="libfprint"' -Wimplicit-function-declaration -Wmissing-prototypes -Wnested-externs -Wold-style-definition -Wstrict-prototypes -Werror=implicit -Werror=pointer-to-int-cast -fPIC -pthread -Wno-error=redundant-decls -Wno-redundant-decls -Wno-discarded-qualifiers -MD -MQ libfprint/libnbis.a.p/nbis_bozorth3_bozorth3.c.o -MF libfprint/libnbis.a.p/nbis_bozorth3_bozorth3.c.o.d -o libfprint/libnbis.a.p/nbis_bozorth3_bozorth3.c.o -c ../libfprint/nbis/bozorth3/bozorth3.c ../libfprint/nbis/bozorth3/bozorth3.c:87:13: warning: argument 2 of type ‘int[200]’ with mismatched bound [-Warray-parameter=] 87 | int xcol[ MAX_BOZORTH_MINUTIAE ], / INPUT: x cordinates / |
~~^~~~~~~~~~ In file included from ../libfprint/nbis/bozorth3/bozorth3.c:82: ../libfprint/nbis/include/bozorth.h:260:26: note: previously declared as ‘int[]’ 260 | extern void bz_comp(int, int [], int [], int [], int , int [][COLS_SIZE_2], | ^~../libfprint/nbis/bozorth3/bozorth3.c:88:13: warning: argument 3 of type ‘int[200]’ with mismatched bound [-Warray-parameter=] 88 | int ycol[ MAX_BOZORTH_MINUTIAE ], / INPUT: y cordinates / |~~^~~~~~~~~~ In file included from ../libfprint/nbis/bozorth3/bozorth3.c:82: ../libfprint/nbis/include/bozorth.h:260:34: note: previously declared as ‘int[]’ 260 | extern void bz_comp(int, int [], int [], int [], int , int [][COLS_SIZE_2], | ^~../libfprint/nbis/bozorth3/bozorth3.c:89:13: warning: argument 4 of type ‘int[200]’ with mismatched bound [-Warray-parameter=] 89 | int thetacol[ MAX_BOZORTH_MINUTIAE ], / INPUT: theta values / |~~^~~~~~~~~~ In file included from ../libfprint/nbis/bozorth3/bozorth3.c:82: ../libfprint/nbis/include/bozorth.h:260:42: note: previously declared as ‘int[]’ 260 | extern void bz_comp(int, int [], int [], int [], int , int [][COLS_SIZE_2], | ^~In function ‘rtp_insert’, inlined from ‘bz_match’ at ../libfprint/nbis/bozorth3/bozorth3.c:558:3: ../libfprint/nbis/bozorth3/bozorth3.c:331:15: error: ‘__builtin_memmove’ offset [-17179869176, -8] is out of the bounds [0, 160000] of object ‘rtp’ with type ‘int [20000]’ [-Werror=array-bounds] 331 | r1-- = r2--; |~~^~~ ../libfprint/nbis/bozorth3/bozorth3.c: In function ‘bz_match’: ../libfprint/nbis/bozorth3/bozorth3.c:375:14: note: ‘rtp’ declared here 375 | static int * rtp[ ROT_SIZE_1 ]; | ^~~ cc1: some warnings being treated as errors [30/46] Compiling C object tests/test-fpi-device.p/test-fpi-device.c.o ninja: build stopped: subcommand failed.