具体错误:

/home/tsit/jna-5.8.0/native/libffi/missing:行81: makeinfo:未找到命令
WARNING: 'makeinfo' is missing on your system.
         You should only need it if you modified a '.texi' file, or
         any other file indirectly affecting the aspect of the manual.
         You might want to install the Texinfo package:
         <https://www.gnu.org/software/texinfo/>
         The spurious makeinfo call might also be the consequence of
         using a buggy 'make' (AIX, DU, IRIX), in which case you might
         want to install GNU make:
         <https://www.gnu.org/software/make/>
make[3]: *** [Makefile:393:/home/tsit/jna-5.8.0/native/libffi/doc/libffi.info] 错误 127
make[3]: 离开目录“/home/tsit/jna-5.8.0/build/native/libffi/doc”
make[2]: *** [Makefile:1370:all-recursive] 错误 1
make[2]: 离开目录“/home/tsit/jna-5.8.0/build/native/libffi”
make[1]: *** [Makefile:615:all] 错误 2
make[1]: 离开目录“/home/tsit/jna-5.8.0/build/native/libffi”
make: *** [Makefile:512:../build/native/libffi/.libs/libffi.a] 错误 2

解决办法:

sudo apt-get install texinfo