timmerk / nfc-tools

Automatically exported from code.google.com/p/nfc-tools
0 stars 0 forks source link

libfreefare installation #18

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
Having trouble installing, any ideas?

make  all-recursive
make[1]: Entering directory `/home/name/libfreefare'
Making all in libfreefare
make[2]: Entering directory `/home/name/libfreefare/libfreefare'
  CC     freefare.lo
  CC     mifare_classic.lo
  CC     mifare_ultralight.lo
  CC     mad.lo
  CC     mifare_application.lo
  CCLD   libfreefare.la
make[2]: Leaving directory `/home/name/libfreefare/libfreefare'
Making all in test
make[2]: Entering directory `/home/name/libfreefare/test'
make[2]: Nothing to be done for `all'.
make[2]: Leaving directory `/home/name/libfreefare/test'
Making all in examples
make[2]: Entering directory `/home/name/libfreefare/examples'
  CC     mifare-classic-format.o
mifare-classic-format.c: In function ‘main’:
mifare-classic-format.c:126: warning: ignoring return value of ‘fgets’,
declared with attribute warn_unused_result
  CCLD   mifare-classic-format
../libfreefare/.libs/libfreefare.so: undefined reference to
`nfc_initiator_transceive_dep_bytes'
collect2: ld returned 1 exit status
make[2]: *** [mifare-classic-format] Error 1
make[2]: Leaving directory `/home/name/libfreefare/examples'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/home/name/libfreefare'
make: *** [all] Error 2

Original issue reported on code.google.com by suci...@gmail.com on 8 Mar 2010 at 2:35

GoogleCodeExporter commented 9 years ago
Hello,
Which version of libnfc do you have ?

Original comment by romu...@libnfc.org on 8 Mar 2010 at 3:39

GoogleCodeExporter commented 9 years ago
I have 1.2.1 and also the latest 1.3.3

Original comment by suci...@gmail.com on 8 Mar 2010 at 5:53

GoogleCodeExporter commented 9 years ago
Do you have both installed at same time ?

BTW, libfreefare can NOT work with libnfc < 1.3.x .

Original comment by romu...@libnfc.org on 9 Mar 2010 at 9:32

GoogleCodeExporter commented 9 years ago

Original comment by romu...@libnfc.org on 9 Mar 2010 at 4:08

GoogleCodeExporter commented 9 years ago
Yes I had both installed. I had removed version 1.3.3 but I'm still getting a 
make error.

Original comment by suci...@gmail.com on 9 Mar 2010 at 7:40

GoogleCodeExporter commented 9 years ago
Why have you removed 1.3.3 version ? libfreefare needs 1.3.X

Original comment by romu...@libnfc.org on 10 Mar 2010 at 8:33

GoogleCodeExporter commented 9 years ago
Sorry my mistake. Will reinstall.

Thanks.

Original comment by suci...@gmail.com on 11 Mar 2010 at 6:07

GoogleCodeExporter commented 9 years ago

Original comment by romu...@libnfc.org on 12 Mar 2010 at 10:53