nfc-tools / libfreefare

A convenience API for NFC cards manipulations on top of libnfc.
Other
402 stars 105 forks source link

make ERROR #83

Closed Divide6693 closed 6 years ago

Divide6693 commented 6 years ago

Hi. When i using make. it error:

mifare_key_deriver.c: In function ‘mifare_key_deriver_update_uid’: mifare_key_deriver.c:141:10: error: ‘NMT_BARCODE’ undeclared (first use in this function) case NMT_BARCODE: ^ mifare_key_deriver.c:141:10: note: each undeclared identifier is reported only once for each function it appears in Makefile:605: recipe for target 'mifare_key_deriver.lo' failed make[2]: [mifare_key_deriver.lo] Error 1 make[2]: Leaving directory '/root/libfreefare/libfreefare' Makefile:468: recipe for target 'all-recursive' failed make[1]: [all-recursive] Error 1 make[1]: Leaving directory '/root/libfreefare' Makefile:377: recipe for target 'all' failed make: *** [all] Error 2

i using libnfc 1.7.1 How to fix it