I use on libnfc project on github:
when i try to compile this file
https://github.com/nfc-tools/libnfc/blob/master/examples/pn53x-diagnose.c
i got error of undefined reference to pn53x_transceive'
on line 106+117
why? on line 53 it do #include "libnfc/chips/pn53x.h"
and on this file:
https://github.com/nfc-tools/libnfc/blob/master/libnfc/chips/pn53x.h
i have this function (line 305):
int pn53x_transceive(struct nfc_device *pnd, const uint8_t *pbtTx, const size_t szTx, uint8_t *pbtRx, const size_t szRxLen, int timeout);
what can i do please? thanks!