SCL3711, mfoc error and nfc-tools compile issues

282 views
Skip to first unread message

Nurb

unread,
Feb 25, 2012, 3:55:20 PM2/25/12
to nfc-tools
Hi. I have one PN533 v2.7 SCL3711. Installed Ubuntu 11 in my machine
and libnfc 1.4.2. But I have a few issues.

nfc-list show me that with a card:

nfc-list use libnfc 1.4.2 (r891)
Connected to NFC device: SCM Micro / SCL3711-NFC&RW - PN533 v2.7
(0x07)
2 ISO14443A passive target(s) was found:
ATQA (SENS_RES): 00 04
UID (NFCID1): 6e e6 e5 00
SAK (SEL_RES): 08



But when I use mfoc 0.10.3 (installed by a compiled package from
Thomas Hood) I get:

ATQA (SENS_RES): 00 04
* UID size: single
* bit frame anticollision supported
UID (NFCID1): 6e e6 e5 00
SAK (SEL_RES): 08
* Not compliant with ISO/IEC 14443-4
* Not compliant with ISO/IEC 18092
Fingerprinting based on ATQA & SAK values:
* Mifare Classic 1K
* Mifare Plus (4-byte UID) 2K SL1
* SmartMX with Mifare 1K emulation
[Key: ffffffffffff] -> [................]
[Key: 000000000000] -> [................]

Sector 00 - UNKNOWN_KEY [A] Sector 00 - UNKNOWN_KEY [B]
Sector 01 - UNKNOWN_KEY [A] Sector 01 - UNKNOWN_KEY [B]
Sector 02 - UNKNOWN_KEY [A] Sector 02 - UNKNOWN_KEY [B]
Sector 03 - UNKNOWN_KEY [A] Sector 03 - UNKNOWN_KEY [B]
Sector 04 - UNKNOWN_KEY [A] Sector 04 - UNKNOWN_KEY [B]
Sector 05 - UNKNOWN_KEY [A] Sector 05 - UNKNOWN_KEY [B]
Sector 06 - UNKNOWN_KEY [A] Sector 06 - UNKNOWN_KEY [B]
Sector 07 - UNKNOWN_KEY [A] Sector 07 - UNKNOWN_KEY [B]
Sector 08 - UNKNOWN_KEY [A] Sector 08 - UNKNOWN_KEY [B]
Sector 09 - UNKNOWN_KEY [A] Sector 09 - UNKNOWN_KEY [B]
Sector 10 - UNKNOWN_KEY [A] Sector 10 - UNKNOWN_KEY [B]
Sector 11 - UNKNOWN_KEY [A] Sector 11 - UNKNOWN_KEY [B]
Sector 12 - UNKNOWN_KEY [A] Sector 12 - UNKNOWN_KEY [B]
Sector 13 - UNKNOWN_KEY [A] Sector 13 - UNKNOWN_KEY [B]
Sector 14 - UNKNOWN_KEY [A] Sector 14 - UNKNOWN_KEY [B]
Sector 15 - UNKNOWN_KEY [A] Sector 15 - UNKNOWN_KEY [B]
mfoc: ERROR:

No sector encrypted with the default key has been found, exiting..


I tried to do a lot of things and have been for hours trying to
reinstall but no success. My Linux knowledge is limited also. And nfc-
tools, I can't compile. When I get into "make" I get:

make all-recursive
make[1]: Entering directory `/home/wender/Downloads/nfcutils-0.3.0'
Making all in src
make[2]: Entering directory `/home/wender/Downloads/nfcutils-0.3.0/
src'
CCLD lsnfc
lsnfc.o: In function `mifare_ultralight_identification':
/home/wender/Downloads/nfcutils-0.3.0/src/lsnfc.c:82: undefined
reference to `nfc_initiator_select_passive_target'
/home/wender/Downloads/nfcutils-0.3.0/src/lsnfc.c:83: undefined
reference to `nfc_configure'
/home/wender/Downloads/nfcutils-0.3.0/src/lsnfc.c:84: undefined
reference to `nfc_initiator_transceive_bytes'
/home/wender/Downloads/nfcutils-0.3.0/src/lsnfc.c:86: undefined
reference to `nfc_configure'
/home/wender/Downloads/nfcutils-0.3.0/src/lsnfc.c:87: undefined
reference to `nfc_initiator_deselect_target'
/home/wender/Downloads/nfcutils-0.3.0/src/lsnfc.c:91: undefined
reference to `nfc_configure'
lsnfc.o: In function `mifare_desfire_identification':
/home/wender/Downloads/nfcutils-0.3.0/src/lsnfc.c:120: undefined
reference to `nfc_initiator_select_passive_target'
/home/wender/Downloads/nfcutils-0.3.0/src/lsnfc.c:121: undefined
reference to `nfc_initiator_transceive_bytes'
/home/wender/Downloads/nfcutils-0.3.0/src/lsnfc.c:140: undefined
reference to `nfc_initiator_deselect_target'
/home/wender/Downloads/nfcutils-0.3.0/src/lsnfc.c:126: undefined
reference to `nfc_initiator_transceive_bytes'
lsnfc.o: In function `main':
/home/wender/Downloads/nfcutils-0.3.0/src/lsnfc.c:252: undefined
reference to `nfc_list_devices'
/home/wender/Downloads/nfcutils-0.3.0/src/lsnfc.c:259: undefined
reference to `nfc_connect'
/home/wender/Downloads/nfcutils-0.3.0/src/lsnfc.c:269: undefined
reference to `nfc_initiator_init'
/home/wender/Downloads/nfcutils-0.3.0/src/lsnfc.c:272: undefined
reference to `nfc_configure'
/home/wender/Downloads/nfcutils-0.3.0/src/lsnfc.c:275: undefined
reference to `nfc_configure'
/home/wender/Downloads/nfcutils-0.3.0/src/lsnfc.c:278: undefined
reference to `nfc_configure'
/home/wender/Downloads/nfcutils-0.3.0/src/lsnfc.c:286: undefined
reference to `nfc_initiator_list_passive_targets'
/home/wender/Downloads/nfcutils-0.3.0/src/lsnfc.c:295: undefined
reference to `nfc_initiator_list_passive_targets'
/home/wender/Downloads/nfcutils-0.3.0/src/lsnfc.c:316: undefined
reference to `nfc_configure'
/home/wender/Downloads/nfcutils-0.3.0/src/lsnfc.c:318: undefined
reference to `nfc_disconnect'
/home/wender/Downloads/nfcutils-0.3.0/src/lsnfc.c:308: undefined
reference to `nfc_perror'
collect2: ld returned 1 exit status
make[2]: *** [lsnfc] Error 1
make[2]: Leaving directory `/home/wender/Downloads/nfcutils-0.3.0/src'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/home/wender/Downloads/nfcutils-0.3.0'
make: *** [all] Error 2


I read about change this line LIBS = to LIBS = $(LIBNFC_LIBS) but
nothing happens. Iḿ stuck on this.
What am I doing wrong?
Please help me.

Thanks,

Wender Reis


Reply all
Reply to author
Forward
0 new messages