You can fetch development version using libfreefare git repository, more information at libfreefare development site.
git clone https://github.com/nfc-tools/libfreefare.git
我的备注:提示网络未打开,重新修改树莓派网卡dhcp配置
cd libfreefare
Before compile it, remember to run
autoreconf -vis 我的备注:提示libtool错误, 然后运行apt-get install libtool 解决。
Once fetched, you can now compile libfreefare using usual autotools way:
./configure --prefix=/usr 我的备注:提示libcrypto问题,运行 447 apt-get update 448 apt-get install libssl-dev 问题解决 make 我的备注:
build error : error: ‘NMT_BARCODE’ undeclared (first use in this function) #88 answer: simply remove "case NMT_BARCODE:" from libfreefare/mifare_key_deriver.csudo make install