Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 19 Dec 2023 02:45:20 +0100
From:      Jan Beich <jbeich@FreeBSD.org>
To:        Maxim V Filimonov <che@bein.link>
Cc:        freebsd-ports@freebsd.org
Subject:   Re: security/libfprint: any updates?
Message-ID:  <msu7-0xu7-wny@FreeBSD.org>
In-Reply-To: <cbe0ef50-d768-4254-8d36-2b2c98316908@bein.link> (Maxim V. Filimonov's message of "Tue, 19 Dec 2023 02:02:24 %2B0400")
References:  <cbe0ef50-d768-4254-8d36-2b2c98316908@bein.link>

next in thread | previous in thread | raw e-mail | index | archive | help
Maxim V Filimonov <che@bein.link> writes:

> Hello,
>
> I'm trying to build new-ish versions of libfprint on FreeBSD
> (probably, that could result in an update to the port as well), but I
> encountered a problem:
>
> ../libfprint/fpi-spi-transfer.c:22:10: fatal error:
> 'linux/spi/spidev.h' file not found
> #include <linux/spi/spidev.h>
>          ^~~~~~~~~~~~~~~~~~~~

Perhaps <sys/spigenio.h> as documented in spigen(4) manpage. Neither
linuxulator nor ports/ tree have examples how to translate SPI_IOC_MESSAGE
into SPIGENIOC_TRANSFER or similar. However, spi(8) can probably help both
debugging and learning the API.

Disclaimer: I don't use this port and not familar with SPI.



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?msu7-0xu7-wny>