Trying to compile on Ubuntu - 5.4.0-65-generic #73~18.04.1-Ubuntu SMP Tue Jan 19 09:02:24 UTC 2021 x86_64 x86_64 x86_64 GNU/Linux. All updated as of today.
root@mcqueen:~/libfreefare# make
make all-recursive
make[1]: Entering directory '/root/libfreefare'
Making all in contrib
make[2]: Entering directory '/root/libfreefare/contrib'
Making all in libutil
make[3]: Entering directory '/root/libfreefare/contrib/libutil'
make[3]: Nothing to be done for 'all'.
make[3]: Leaving directory '/root/libfreefare/contrib/libutil'
make[3]: Entering directory '/root/libfreefare/contrib'
make[3]: Nothing to be done for 'all-am'.
make[3]: Leaving directory '/root/libfreefare/contrib'
make[2]: Leaving directory '/root/libfreefare/contrib'
Making all in libfreefare
make[2]: Entering directory '/root/libfreefare/libfreefare'
CC felica.lo
In file included from /usr/include/assert.h:35:0,
from felica.c:14:
/usr/include/features.h:184:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp]
# warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE"
^~~~~~~
CC freefare.lo
In file included from /usr/include/x86_64-linux-gnu/bits/libc-header-start.h:33:0,
from /usr/include/stdlib.h:25,
from freefare.c:5:
/usr/include/features.h:184:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp]
# warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE"
^~~~~~~
freefare.c: In function ‘freefare_get_tag_uid’:
freefare.c:195:10: error: ‘NMT_BARCODE’ undeclared (first use in this function)
case NMT_BARCODE:
^~~~~~~~~~~
freefare.c:195:10: note: each undeclared identifier is reported only once for each function it appears in
Makefile:607: recipe for target 'freefare.lo' failed
make[2]: *** [freefare.lo] Error 1
make[2]: Leaving directory '/root/libfreefare/libfreefare'
Makefile:468: recipe for target 'all-recursive' failed
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory '/root/libfreefare'
Makefile:377: recipe for target 'all' failed
make: *** [all] Error 2
root@mcqueen:~/libfreefare#
Trying to compile on Ubuntu - 5.4.0-65-generic #73~18.04.1-Ubuntu SMP Tue Jan 19 09:02:24 UTC 2021 x86_64 x86_64 x86_64 GNU/Linux. All updated as of today.