nfc-tools / libnfc

Platform independent Near Field Communication (NFC) library
http://nfc-tools.org
GNU Lesser General Public License v3.0
1.73k stars 443 forks source link

libnfc-1.6.0 rc1 fails to compile #199

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. ./configure
2. make

Selected drivers:
   acr122........... yes
   acr122s.......... yes
   arygon........... yes
   pn53x_usb........ yes
   pn532_uart....... no

What do you see instead?

pn53x_usb.c: In function 'pn53x_usb_receive':
pn53x_usb.c:535:7: warning: implicit declaration of function 'MIN' 
[-Wimplicit-function-declaration]
  CCLD   libnfcdrivers.la
make[3]: Leaving directory 
`/home/fkooman/rpmbuild/SOURCES/libnfc-1.6.0-rc1/libnfc/drivers'
Making all in .
make[3]: Entering directory 
`/home/fkooman/rpmbuild/SOURCES/libnfc-1.6.0-rc1/libnfc'
  CC     libnfc_la-iso14443-subr.lo
  CC     libnfc_la-mirror-subr.lo
  CC     libnfc_la-nfc.lo
  CC     libnfc_la-nfc-device.lo
  CC     libnfc_la-nfc-emulation.lo
  CC     libnfc_la-nfc-internal.lo
  CCLD   libnfc.la
make[3]: Leaving directory 
`/home/fkooman/rpmbuild/SOURCES/libnfc-1.6.0-rc1/libnfc'
make[2]: Leaving directory 
`/home/fkooman/rpmbuild/SOURCES/libnfc-1.6.0-rc1/libnfc'
Making all in utils
make[2]: Entering directory 
`/home/fkooman/rpmbuild/SOURCES/libnfc-1.6.0-rc1/utils'
  CC     nfc-utils.lo
  CCLD   libnfcutils.la
  CC     nfc-emulate-forum-tag4.o
  CCLD   nfc-emulate-forum-tag4
../libnfc/.libs/libnfc.so: undefined reference to `MIN'
collect2: ld returned 1 exit status
make[2]: *** [nfc-emulate-forum-tag4] Error 1
make[2]: Leaving directory 
`/home/fkooman/rpmbuild/SOURCES/libnfc-1.6.0-rc1/utils'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/home/fkooman/rpmbuild/SOURCES/libnfc-1.6.0-rc1'
make: *** [all] Error 2
[fkooman@localhost libnfc-1.6.0-rc1]$ 

What version of the product are you using? On what operating system?

Fedora 16, i386

Original issue reported on code.google.com by mooknarf@gmail.com on 7 Jul 2012 at 8:35

GoogleCodeExporter commented 9 years ago
Hello,

Could you try with r1454, please ? I think this bug is now fixed.

Original comment by romu...@libnfc.org on 27 Sep 2012 at 7:13

GoogleCodeExporter commented 9 years ago
Yes it compiles now! Thanks! Any idea when a next RC or 1.6.0 final will 
appear? 

Original comment by mooknarf@gmail.com on 30 Sep 2012 at 7:23

GoogleCodeExporter commented 9 years ago
Great!

I can release a new RC soon, if you need one.
Final 1.6.0 (or 1.6.1) will be released within two next weeks, I hope.

Original comment by romu...@libnfc.org on 30 Sep 2012 at 8:39