在 Kali Linux 上安装/编译 mfcuk/libnfc 的问题

在 Kali Linux 上安装/编译 mfcuk/libnfc 的问题

我正在尝试编译这个 mfcuk 版本 https://github.com/DrSchottky/mfcuk

当我尝试编译 mfcuk 时,我在 kali 上收到此错误 在此处输入图片描述

root@kali:~/mfcuk# ./configure
checking for gcc... gcc
checking whether the C compiler works... yes
checking for C compiler default output file name... a.out
checking for suffix of executables...
checking whether we are cross compiling... no
checking for suffix of object files... o
checking whether we are using the GNU C compiler... yes
checking whether gcc accepts -g... yes
checking for gcc option to accept ISO C89... none needed
checking whether gcc understands -c and -o together... yes
checking for a BSD-compatible install... /usr/bin/install -c
checking whether build environment is sane... yes
checking for a thread-safe mkdir -p... /usr/bin/mkdir -p
checking for gawk... gawk
checking whether make sets $(MAKE)... yes
checking whether make supports the include directive... yes (GNU style)
checking whether make supports nested variables... yes
checking dependency style of gcc... gcc3
checking whether make supports nested variables... (cached) yes
./configure: line 3927: syntax error near unexpected token `libnfc,'
./configure: line 3927: `PKG_CHECK_MODULES(libnfc, libnfc >= $LIBNFC_REQUIRED_VERSION, , AC_MSG_ERROR([libnfc >= $LIBNFC_REQUIRED_VERSION is mandatory.]))'
root@kali:~/mfcuk#

相关内容