Subject: | Troubles compiling RFID::Libnfc against libnfc-1.7 |
Date: | Sun, 27 Jul 2014 23:40:13 +0200 |
To: | bug-RFID-Libnfc [...] rt.cpan.org |
From: | Thomas Bjorn Andersen <tba [...] gen-v.net> |
Hi Andrea,
I'm trying to install your module RFID::Libnfc on raspbian Linux against
libnfc-1.7.0 but the compiler complains about invalid types. Libnfc
seems to have changed their naming policy and dropped _t from their type
definitions (e.g. nfc_device_t vs. nfc_device). Also, byte_t seems to
have been left undefined on the configuration shipped with raspbian (the
distribution recommended for Raspberry Pi's). I attempted to fix these
issues but now I'm getting
Libnfc.xs: In function 'XS_RFID__Libnfc__Device_new':
Libnfc.xs:159:5: error: invalid application of 'sizeof' to incomplete
type 'nfc_device'
instead.
I was therefore wondering if you have already been looking at updating
RFID::Libnfc to work with the latest libnfc release?
Best regards,
Thomas