Back
From: metabase:user:314402c4-2aae-11df-837a-5e0a49663a4f
Subject: UNKNOWN RFID-Libnfc-0.13 v5.22.2 GNU/Linux
Date: 2016-09-04T21:50:27Z
This distribution has been tested as part of the CPAN Testers
project, supporting the Perl programming language. See
http://wiki.cpantesters.org/ for more information or email
questions to cpan-testers-discuss@perl.org
--
Dear Andrea Guzzo,
This is a computer-generated report for RFID-Libnfc-0.13
on perl 5.22.2, created by CPAN-Reporter-1.2018.
Thank you for uploading your work to CPAN. However, attempting to
test your distribution gave an inconclusive result.
This could be because your distribution had an error during the make/build
stage, did not define tests, tests could not be found, because your tests were
interrupted before they finished, or because the results of the tests could not
be parsed. You may wish to consult the CPAN Testers Wiki:
http://wiki.cpantesters.org/wiki/CPANAuthorNotes
Sections of this report:
* Tester comments
* Program output
* Prerequisites
* Environment and other context
------------------------------
TESTER COMMENTS
------------------------------
Additional comments from tester:
none provided
------------------------------
PROGRAM OUTPUT
------------------------------
Output from '/usr/bin/make':
cp lib/RFID/Libnfc/Reader.pm blib/lib/RFID/Libnfc/Reader.pm
cp lib/RFID/Libnfc/Tag/ISO14443A_106/Classic/4K.pm blib/lib/RFID/Libnfc/Tag/ISO14443A_106/Classic/4K.pm
cp lib/RFID/Libnfc/Tag.pm blib/lib/RFID/Libnfc/Tag.pm
cp lib/RFID/Libnfc.pm blib/lib/RFID/Libnfc.pm
AutoSplitting blib/lib/RFID/Libnfc.pm (blib/lib/auto/RFID/Libnfc)
cp lib/RFID/Libnfc/Tag/ISO14443A_106/Classic/1K.pm blib/lib/RFID/Libnfc/Tag/ISO14443A_106/Classic/1K.pm
cp lib/RFID/Libnfc/Constants.pm blib/lib/RFID/Libnfc/Constants.pm
cp lib/RFID/Libnfc/Modulation.pm blib/lib/RFID/Libnfc/Modulation.pm
cp lib/RFID/Libnfc/Tag/ISO14443A_106.pm blib/lib/RFID/Libnfc/Tag/ISO14443A_106.pm
cp lib/RFID/Libnfc/Target.pm blib/lib/RFID/Libnfc/Target.pm
cp lib/RFID/Libnfc/Tag/ISO14443A_106/Classic/MINI.pm blib/lib/RFID/Libnfc/Tag/ISO14443A_106/Classic/MINI.pm
cp lib/RFID/Libnfc/Tag/ISO14443A_106/Classic.pm blib/lib/RFID/Libnfc/Tag/ISO14443A_106/Classic.pm
cp lib/RFID/Libnfc/Device.pm blib/lib/RFID/Libnfc/Device.pm
cp lib/RFID/Libnfc/Tag/ISO14443A_106/ULTRA.pm blib/lib/RFID/Libnfc/Tag/ISO14443A_106/ULTRA.pm
Running Mkbootstrap for RFID::Libnfc ()
chmod 644 "Libnfc.bs"
"/bbbike/perl-5.22.2t/bin/perl" "/opt/perl-5.22.2t/lib/5.22.2/ExtUtils/xsubpp" -typemap "/opt/perl-5.22.2t/lib/5.22.2/ExtUtils/typemap" -typemap "typemap" Libnfc.xs > Libnfc.xsc && mv Libnfc.xsc Libnfc.c
cc -c -I. -I/usr/include/nfc -D_REENTRANT -D_GNU_SOURCE -fwrapv -fno-strict-aliasing -pipe -fstack-protector-strong -I/usr/local/include -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_FORTIFY_SOURCE=2 -O2 -DVERSION=\"0.13\" -DXS_VERSION=\"0.13\" -fPIC "-I/opt/perl-5.22.2t/lib/5.22.2/x86_64-linux-thread-multi/CORE" Libnfc.c
Libnfc.xs:29:5: error: unknown type name 'nfc_device_t'
nfc_device_t *device;
^
Libnfc.xs:34:5: error: unknown type name 'nfc_target_t'
nfc_target_t *target;
^
Libnfc.xs:39:5: error: unknown type name 'nfc_modulation_t'
nfc_modulation_t *modulation;
^
Libnfc.c: In function 'XS_RFID__Libnfc__ISO14443AInfo_abtAtqa':
Libnfc.xs:23:37: error: unknown type name 'nfc_iso14443a_info_t'
#define RFID__Libnfc__ISO14443AInfo nfc_iso14443a_info_t *
^
Libnfc.c:217:2: note: in expansion of macro 'RFID__Libnfc__ISO14443AInfo'
RFID__Libnfc__ISO14443AInfo THIS;
^
In file included from Libnfc.xs:2:0:
Libnfc.xs:23:37: error: 'nfc_iso14443a_info_t' undeclared (first use in this function)
#define RFID__Libnfc__ISO14443AInfo nfc_iso14443a_info_t *
^
/opt/perl-5.22.2t/lib/5.22.2/x86_64-linux-thread-multi/CORE/perl.h:1735:27: note: in definition of macro 'INT2PTR'
# define INT2PTR(any,d) (any)(d)
^
Libnfc.c:222:21: note: in expansion of macro 'RFID__Libnfc__ISO14443AInfo'
THIS = INT2PTR(RFID__Libnfc__ISO14443AInfo,tmp);
^
Libnfc.xs:23:37: note: each undeclared identifier is reported only once for each function it appears in
#define RFID__Libnfc__ISO14443AInfo nfc_iso14443a_info_t *
^
/opt/perl-5.22.2t/lib/5.22.2/x86_64-linux-thread-multi/CORE/perl.h:1735:27: note: in definition of macro 'INT2PTR'
# define INT2PTR(any,d) (any)(d)
^
Libnfc.c:222:21: note: in expansion of macro 'RFID__Libnfc__ISO14443AInfo'
THIS = INT2PTR(RFID__Libnfc__ISO14443AInfo,tmp);
^
/opt/perl-5.22.2t/lib/5.22.2/x86_64-linux-thread-multi/CORE/perl.h:1735:30: error: expected expression before ')' token
# define INT2PTR(any,d) (any)(d)
^
Libnfc.c:222:13: note: in expansion of macro 'INT2PTR'
THIS = INT2PTR(RFID__Libnfc__ISO14443AInfo,tmp);
^
In file included from /opt/perl-5.22.2t/lib/5.22.2/x86_64-linux-thread-multi/CORE/perl.h:5544:0,
from Libnfc.xs:2:
Libnfc.xs:62:41: error: request for member 'abtAtqa' in something not a structure or union
RETVAL = newSVpv((const char *)&THIS->abtAtqa, 2);
^
/opt/perl-5.22.2t/lib/5.22.2/x86_64-linux-thread-multi/CORE/embed.h:400:42: note: in definition of macro 'newSVpv'
#define newSVpv(a,b) Perl_newSVpv(aTHX_ a,b)
^
Libnfc.c: In function 'XS_RFID__Libnfc__ISO14443AInfo_abtAtqa1':
Libnfc.xs:23:37: error: unknown type name 'nfc_iso14443a_info_t'
#define RFID__Libnfc__ISO14443AInfo nfc_iso14443a_info_t *
^
Libnfc.c:246:2: note: in expansion of macro 'RFID__Libnfc__ISO14443AInfo'
RFID__Libnfc__ISO14443AInfo THIS;
^
Libnfc.c:247:2: error: unknown type name 'byte_t'
byte_t RETVAL;
^
In file included from Libnfc.xs:2:0:
Libnfc.xs:23:37: error: 'nfc_iso14443a_info_t' undeclared (first use in this function)
#define RFID__Libnfc__ISO14443AInfo nfc_iso14443a_info_t *
^
/opt/perl-5.22.2t/lib/5.22.2/x86_64-linux-thread-multi/CORE/perl.h:1735:27: note: in definition of macro 'INT2PTR'
# define INT2PTR(any,d) (any)(d)
^
Libnfc.c:252:21: note: in expansion of macro 'RFID__Libnfc__ISO14443AInfo'
THIS = INT2PTR(RFID__Libnfc__ISO14443AInfo,tmp);
^
/opt/perl-5.22.2t/lib/5.22.2/x86_64-linux-thread-multi/CORE/perl.h:1735:30: error: expected expression before ')' token
# define INT2PTR(any,d) (any)(d)
^
Libnfc.c:252:13: note: in expansion of macro 'INT2PTR'
THIS = INT2PTR(RFID__Libnfc__ISO14443AInfo,tmp);
^
Libnfc.xs:71:18: error: request for member 'abtAtqa' in something not a structure or union
RETVAL = THIS->abtAtqa[0];
^
Libnfc.c: In function 'XS_RFID__Libnfc__ISO14443AInfo_abtAtqa2':
Libnfc.xs:23:37: error: unknown type name 'nfc_iso14443a_info_t'
#define RFID__Libnfc__ISO14443AInfo nfc_iso14443a_info_t *
^
Libnfc.c:275:2: note: in expansion of macro 'RFID__Libnfc__ISO14443AInfo'
RFID__Libnfc__ISO14443AInfo THIS;
^
Libnfc.c:276:2: error: unknown type name 'byte_t'
byte_t RETVAL;
^
In file included from Libnfc.xs:2:0:
Libnfc.xs:23:37: error: 'nfc_iso14443a_info_t' undeclared (first use in this function)
#define RFID__Libnfc__ISO14443AInfo nfc_iso14443a_info_t *
^
/opt/perl-5.22.2t/lib/5.22.2/x86_64-linux-thread-multi/CORE/perl.h:1735:27: note: in definition of macro 'INT2PTR'
# define INT2PTR(any,d) (any)(d)
^
Libnfc.c:281:21: note: in expansion of macro 'RFID__Libnfc__ISO14443AInfo'
THIS = INT2PTR(RFID__Libnfc__ISO14443AInfo,tmp);
^
/opt/perl-5.22.2t/lib/5.22.2/x86_64-linux-thread-multi/CORE/perl.h:1735:30: error: expected expression before ')' token
# define INT2PTR(any,d) (any)(d)
^
Libnfc.c:281:13: note: in expansion of macro 'INT2PTR'
THIS = INT2PTR(RFID__Libnfc__ISO14443AInfo,tmp);
^
Libnfc.xs:80:18: error: request for member 'abtAtqa' in something not a structure or union
RETVAL = THIS->abtAtqa[1];
^
Libnfc.c: In function 'XS_RFID__Libnfc__ISO14443AInfo_btSak':
Libnfc.xs:23:37: error: unknown type name 'nfc_iso14443a_info_t'
#define RFID__Libnfc__ISO14443AInfo nfc_iso14443a_info_t *
^
Libnfc.c:304:2: note: in expansion of macro 'RFID__Libnfc__ISO14443AInfo'
RFID__Libnfc__ISO14443AInfo THIS;
^
Libnfc.c:305:2: error: unknown type name 'byte_t'
byte_t RETVAL;
^
In file included from Libnfc.xs:2:0:
Libnfc.xs:23:37: error: 'nfc_iso14443a_info_t' undeclared (first use in this function)
#define RFID__Libnfc__ISO14443AInfo nfc_iso14443a_info_t *
^
/opt/perl-5.22.2t/lib/5.22.2/x86_64-linux-thread-multi/CORE/perl.h:1735:27: note: in definition of macro 'INT2PTR'
# define INT2PTR(any,d) (any)(d)
^
Libnfc.c:310:21: note: in expansion of macro 'RFID__Libnfc__ISO14443AInfo'
THIS = INT2PTR(RFID__Libnfc__ISO14443AInfo,tmp);
^
/opt/perl-5.22.2t/lib/5.22.2/x86_64-linux-thread-multi/CORE/perl.h:1735:30: error: expected expression before ')' token
# define INT2PTR(any,d) (any)(d)
^
Libnfc.c:310:13: note: in expansion of macro 'INT2PTR'
THIS = INT2PTR(RFID__Libnfc__ISO14443AInfo,tmp);
^
Libnfc.xs:89:18: error: request for member 'btSak' in something not a structure or union
RETVAL = THIS->btSak;
^
Libnfc.c: In function 'XS_RFID__Libnfc__ISO14443AInfo_szUidLen':
Libnfc.xs:23:37: error: unknown type name 'nfc_iso14443a_info_t'
#define RFID__Libnfc__ISO14443AInfo nfc_iso14443a_info_t *
^
Libnfc.c:333:2: note: in expansion of macro 'RFID__Libnfc__ISO14443AInfo'
RFID__Libnfc__ISO14443AInfo THIS;
^
In file included from Libnfc.xs:2:0:
Libnfc.xs:23:37: error: 'nfc_iso14443a_info_t' undeclared (first use in this function)
#define RFID__Libnfc__ISO14443AInfo nfc_iso14443a_info_t *
^
/opt/perl-5.22.2t/lib/5.22.2/x86_64-linux-thread-multi/CORE/perl.h:1735:27: note: in definition of macro 'INT2PTR'
# define INT2PTR(any,d) (any)(d)
^
Libnfc.c:339:21: note: in expansion of macro 'RFID__Libnfc__ISO14443AInfo'
THIS = INT2PTR(RFID__Libnfc__ISO14443AInfo,tmp);
^
/opt/perl-5.22.2t/lib/5.22.2/x86_64-linux-thread-multi/CORE/perl.h:1735:30: error: expected expression before ')' token
# define INT2PTR(any,d) (any)(d)
^
Libnfc.c:339:13: note: in expansion of macro 'INT2PTR'
THIS = INT2PTR(RFID__Libnfc__ISO14443AInfo,tmp);
^
Libnfc.xs:98:18: error: request for member 'szUidLen' in something not a structure or union
RETVAL = THIS->szUidLen;
^
Libnfc.c: In function 'XS_RFID__Libnfc__ISO14443AInfo_abtUid':
Libnfc.xs:23:37: error: unknown type name 'nfc_iso14443a_info_t'
#define RFID__Libnfc__ISO14443AInfo nfc_iso14443a_info_t *
^
Libnfc.c:362:2: note: in expansion of macro 'RFID__Libnfc__ISO14443AInfo'
RFID__Libnfc__ISO14443AInfo THIS;
^
In file included from Libnfc.xs:2:0:
Libnfc.xs:23:37: error: 'nfc_iso14443a_info_t' undeclared (first use in this function)
#define RFID__Libnfc__ISO14443AInfo nfc_iso14443a_info_t *
^
/opt/perl-5.22.2t/lib/5.22.2/x86_64-linux-thread-multi/CORE/perl.h:1735:27: note: in definition of macro 'INT2PTR'
# define INT2PTR(any,d) (any)(d)
^
Libnfc.c:368:21: note: in expansion of macro 'RFID__Libnfc__ISO14443AInfo'
THIS = INT2PTR(RFID__Libnfc__ISO14443AInfo,tmp);
^
/opt/perl-5.22.2t/lib/5.22.2/x86_64-linux-thread-multi/CORE/perl.h:1735:30: error: expected expression before ')' token
# define INT2PTR(any,d) (any)(d)
^
Libnfc.c:368:13: note: in expansion of macro 'INT2PTR'
THIS = INT2PTR(RFID__Libnfc__ISO14443AInfo,tmp);
^
Libnfc.xs:107:26: error: request for member 'abtUid' in something not a structure or union
RETVAL = (char *)THIS->abtUid;
^
Libnfc.c: In function 'XS_RFID__Libnfc__ISO14443AInfo_uiAtsLen':
Libnfc.xs:23:37: error: unknown type name 'nfc_iso14443a_info_t'
#define RFID__Libnfc__ISO14443AInfo nfc_iso14443a_info_t *
^
Libnfc.c:391:2: note: in expansion of macro 'RFID__Libnfc__ISO14443AInfo'
RFID__Libnfc__ISO14443AInfo THIS;
^
In file included from Libnfc.xs:2:0:
Libnfc.xs:23:37: error: 'nfc_iso14443a_info_t' undeclared (first use in this function)
#define RFID__Libnfc__ISO14443AInfo nfc_iso14443a_info_t *
^
/opt/perl-5.22.2t/lib/5.22.2/x86_64-linux-thread-multi/CORE/perl.h:1735:27: note: in definition of macro 'INT2PTR'
# define INT2PTR(any,d) (any)(d)
^
Libnfc.c:397:21: note: in expansion of macro 'RFID__Libnfc__ISO14443AInfo'
THIS = INT2PTR(RFID__Libnfc__ISO14443AInfo,tmp);
^
/opt/perl-5.22.2t/lib/5.22.2/x86_64-linux-thread-multi/CORE/perl.h:1735:30: error: expected expression before ')' token
# define INT2PTR(any,d) (any)(d)
^
Libnfc.c:397:13: note: in expansion of macro 'INT2PTR'
THIS = INT2PTR(RFID__Libnfc__ISO14443AInfo,tmp);
^
Libnfc.xs:116:18: error: request for member 'szAtsLen' in something not a structure or union
RETVAL = THIS->szAtsLen;
^
Libnfc.c: In function 'XS_RFID__Libnfc__ISO14443AInfo_abtAts':
Libnfc.xs:23:37: error: unknown type name 'nfc_iso14443a_info_t'
#define RFID__Libnfc__ISO14443AInfo nfc_iso14443a_info_t *
^
Libnfc.c:420:2: note: in expansion of macro 'RFID__Libnfc__ISO14443AInfo'
RFID__Libnfc__ISO14443AInfo THIS;
^
In file included from Libnfc.xs:2:0:
Libnfc.xs:23:37: error: 'nfc_iso14443a_info_t' undeclared (first use in this function)
#define RFID__Libnfc__ISO14443AInfo nfc_iso14443a_info_t *
^
/opt/perl-5.22.2t/lib/5.22.2/x86_64-linux-thread-multi/CORE/perl.h:1735:27: note: in definition of macro 'INT2PTR'
# define INT2PTR(any,d) (any)(d)
^
Libnfc.c:426:21: note: in expansion of macro 'RFID__Libnfc__ISO14443AInfo'
THIS = INT2PTR(RFID__Libnfc__ISO14443AInfo,tmp);
^
/opt/perl-5.22.2t/lib/5.22.2/x86_64-linux-thread-multi/CORE/perl.h:1735:30: error: expected expression before ')' token
# define INT2PTR(any,d) (any)(d)
^
Libnfc.c:426:13: note: in expansion of macro 'INT2PTR'
THIS = INT2PTR(RFID__Libnfc__ISO14443AInfo,tmp);
^
Libnfc.xs:125:26: error: request for member 'abtAts' in something not a structure or union
RETVAL = (char *)THIS->abtAts;
^
Libnfc.c: In function 'XS_RFID__Libnfc__TargetInfo_nai':
Libnfc.xs:20:34: error: unknown type name 'nfc_target_info_t'
#define RFID__Libnfc__TargetInfo nfc_target_info_t *
^
Libnfc.c:449:2: note: in expansion of macro 'RFID__Libnfc__TargetInfo'
RFID__Libnfc__TargetInfo THIS;
^
Libnfc.xs:23:37: error: unknown type name 'nfc_iso14443a_info_t'
#define RFID__Libnfc__ISO14443AInfo nfc_iso14443a_info_t *
^
Libnfc.c:450:2: note: in expansion of macro 'RFID__Libnfc__ISO14443AInfo'
RFID__Libnfc__ISO14443AInfo RETVAL;
^
In file included from Libnfc.xs:2:0:
Libnfc.xs:20:34: error: 'nfc_target_info_t' undeclared (first use in this function)
#define RFID__Libnfc__TargetInfo nfc_target_info_t *
^
/opt/perl-5.22.2t/lib/5.22.2/x86_64-linux-thread-multi/CORE/perl.h:1735:27: note: in definition of macro 'INT2PTR'
# define INT2PTR(any,d) (any)(d)
^
Libnfc.c:454:21: note: in expansion of macro 'RFID__Libnfc__TargetInfo'
THIS = INT2PTR(RFID__Libnfc__TargetInfo,tmp);
^
/opt/perl-5.22.2t/lib/5.22.2/x86_64-linux-thread-multi/CORE/perl.h:1735:30: error: expected expression before ')' token
# define INT2PTR(any,d) (any)(d)
^
Libnfc.c:454:13: note: in expansion of macro 'INT2PTR'
THIS = INT2PTR(RFID__Libnfc__TargetInfo,tmp);
^
Libnfc.xs:136:19: error: request for member 'nai' in something not a structure or union
RETVAL = &THIS->nai;
^
In file included from Libnfc.xs:2:0:
Libnfc.xs: In function 'XS_RFID__Libnfc__Device_new':
Libnfc.xs:158:30: error: 'nfc_device_t' undeclared (first use in this function)
Newz(0, self->device, 1, nfc_device_t);
^
/opt/perl-5.22.2t/lib/5.22.2/x86_64-linux-thread-multi/CORE/perl.h:3527:62: note: in definition of macro 'EXPECT'
# define EXPECT(expr,val) __builtin_expect(expr,val)
^
/opt/perl-5.22.2t/lib/5.22.2/x86_64-linux-thread-multi/CORE/perl.h:3532:52: note: in expansion of macro 'cBOOL'
#define UNLIKELY(cond) EXPECT(cBOOL(cond),FALSE)
^
/opt/perl-5.22.2t/lib/5.22.2/x86_64-linux-thread-multi/CORE/handy.h:1925:9: note: in expansion of macro 'UNLIKELY'
(void)(UNLIKELY(_MEM_WRAP_WILL_WRAP(n,t)) \
^
/opt/perl-5.22.2t/lib/5.22.2/x86_64-linux-thread-multi/CORE/handy.h:1921:9: note: in expansion of macro '_MEM_WRAP_NEEDS_RUNTIME_CHECK'
((_MEM_WRAP_NEEDS_RUNTIME_CHECK(n,t) ? (MEM_SIZE)(n) : \
^
/opt/perl-5.22.2t/lib/5.22.2/x86_64-linux-thread-multi/CORE/handy.h:1925:18: note: in expansion of macro '_MEM_WRAP_WILL_WRAP'
(void)(UNLIKELY(_MEM_WRAP_WILL_WRAP(n,t)) \
^
/opt/perl-5.22.2t/lib/5.22.2/x86_64-linux-thread-multi/CORE/handy.h:1932:30: note: in expansion of macro 'MEM_WRAP_CHECK'
#define MEM_WRAP_CHECK_(n,t) MEM_WRAP_CHECK(n,t),
^
/opt/perl-5.22.2t/lib/5.22.2/x86_64-linux-thread-multi/CORE/handy.h:2015:28: note: in expansion of macro 'MEM_WRAP_CHECK_'
#define Newxz(v,n,t) (v = (MEM_WRAP_CHECK_(n,t) (t*)MEM_LOG_ALLOC(n,t,safecalloc((n),sizeof(t)))))
^
/opt/perl-5.22.2t/lib/5.22.2/x86_64-linux-thread-multi/CORE/handy.h:2021:23: note: in expansion of macro 'Newxz'
#define Newz(x,v,n,t) Newxz(v,n,t)
^
Libnfc.xs:158:5: note: in expansion of macro 'Newz'
Newz(0, self->device, 1, nfc_device_t);
^
In file included from /opt/perl-5.22.2t/lib/5.22.2/x86_64-linux-thread-multi/CORE/perl.h:2690:0,
from Libnfc.xs:2:
/opt/perl-5.22.2t/lib/5.22.2/x86_64-linux-thread-multi/CORE/handy.h:2015:52: error: expected expression before ')' token
#define Newxz(v,n,t) (v = (MEM_WRAP_CHECK_(n,t) (t*)MEM_LOG_ALLOC(n,t,safecalloc((n),sizeof(t)))))
^
/opt/perl-5.22.2t/lib/5.22.2/x86_64-linux-thread-multi/CORE/handy.h:2021:23: note: in expansion of macro 'Newxz'
#define Newz(x,v,n,t) Newxz(v,n,t)
^
Libnfc.xs:158:5: note: in expansion of macro 'Newz'
Newz(0, self->device, 1, nfc_device_t);
^
Libnfc.xs: In function 'XS_RFID__Libnfc__Device_acName':
Libnfc.xs:172:26: error: request for member 'acName' in something not a structure or union
? THIS->device->acName
^
Libnfc.c: In function 'XS_RFID__Libnfc__Device_nc':
Libnfc.c:549:2: error: unknown type name 'nfc_chip_t'
nfc_chip_t RETVAL;
^
Libnfc.xs:183:26: error: request for member 'nc' in something not a structure or union
? THIS->device->nc
^
Libnfc.c: In function 'XS_RFID__Libnfc__Device_nds':
Libnfc.c:580:2: error: unknown type name 'nfc_device_spec_t'
nfc_device_spec_t RETVAL;
^
Libnfc.xs:194:26: error: request for member 'nds' in something not a structure or union
? THIS->device->nds
^
In file included from /opt/perl-5.22.2t/lib/5.22.2/x86_64-linux-thread-multi/CORE/perl.h:5544:0,
from Libnfc.xs:2:
Libnfc.c:599:50: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]
sv_setref_pv(RETVALSV, "nfc_device_spec_t", (void*)RETVAL);
^
/opt/perl-5.22.2t/lib/5.22.2/x86_64-linux-thread-multi/CORE/embed.h:668:57: note: in definition of macro 'sv_setref_pv'
#define sv_setref_pv(a,b,c) Perl_sv_setref_pv(aTHX_ a,b,c)
^
Libnfc.xs: In function 'XS_RFID__Libnfc__Device_bActive':
Libnfc.xs:205:26: error: request for member 'bActive' in something not a structure or union
? THIS->device->bActive
^
Libnfc.xs: In function 'XS_RFID__Libnfc__Device_bCrc':
Libnfc.xs:217:21: error: request for member 'bCrc' in something not a structure or union
THIS->device->bCrc = __value;
^
Libnfc.xs:220:26: error: request for member 'bCrc' in something not a structure or union
? THIS->device->bCrc
^
Libnfc.xs: In function 'XS_RFID__Libnfc__Device_bPar':
Libnfc.xs:232:21: error: request for member 'bPar' in something not a structure or union
THIS->device->bPar = __value;
^
Libnfc.xs:235:26: error: request for member 'bPar' in something not a structure or union
? THIS->device->bPar
^
Libnfc.xs: In function 'XS_RFID__Libnfc__Device_ui8TxBits':
Libnfc.xs:247:21: error: request for member 'ui8TxBits' in something not a structure or union
THIS->device->ui8TxBits = __value;
^
Libnfc.xs:250:26: error: request for member 'ui8TxBits' in something not a structure or union
? THIS->device->ui8TxBits
^
In file included from Libnfc.xs:2:0:
Libnfc.xs: In function 'XS_RFID__Libnfc__Modulation_new':
Libnfc.xs:280:34: error: 'nfc_modulation_t' undeclared (first use in this function)
Newz(0, self->modulation, 1, nfc_modulation_t);
^
/opt/perl-5.22.2t/lib/5.22.2/x86_64-linux-thread-multi/CORE/perl.h:3527:62: note: in definition of macro 'EXPECT'
# define EXPECT(expr,val) __builtin_expect(expr,val)
^
/opt/perl-5.22.2t/lib/5.22.2/x86_64-linux-thread-multi/CORE/perl.h:3532:52: note: in expansion of macro 'cBOOL'
#define UNLIKELY(cond) EXPECT(cBOOL(cond),FALSE)
^
/opt/perl-5.22.2t/lib/5.22.2/x86_64-linux-thread-multi/CORE/handy.h:1925:9: note: in expansion of macro 'UNLIKELY'
(void)(UNLIKELY(_MEM_WRAP_WILL_WRAP(n,t)) \
^
/opt/perl-5.22.2t/lib/5.22.2/x86_64-linux-thread-multi/CORE/handy.h:1921:9: note: in expansion of macro '_MEM_WRAP_NEEDS_RUNTIME_CHECK'
((_MEM_WRAP_NEEDS_RUNTIME_CHECK(n,t) ? (MEM_SIZE)(n) : \
^
/opt/perl-5.22.2t/lib/5.22.2/x86_64-linux-thread-multi/CORE/handy.h:1925:18: note: in expansion of macro '_MEM_WRAP_WILL_WRAP'
(void)(UNLIKELY(_MEM_WRAP_WILL_WRAP(n,t)) \
^
/opt/perl-5.22.2t/lib/5.22.2/x86_64-linux-thread-multi/CORE/handy.h:1932:30: note: in expansion of macro 'MEM_WRAP_CHECK'
#define MEM_WRAP_CHECK_(n,t) MEM_WRAP_CHECK(n,t),
^
/opt/perl-5.22.2t/lib/5.22.2/x86_64-linux-thread-multi/CORE/handy.h:2015:28: note: in expansion of macro 'MEM_WRAP_CHECK_'
#define Newxz(v,n,t) (v = (MEM_WRAP_CHECK_(n,t) (t*)MEM_LOG_ALLOC(n,t,safecalloc((n),sizeof(t)))))
^
/opt/perl-5.22.2t/lib/5.22.2/x86_64-linux-thread-multi/CORE/handy.h:2021:23: note: in expansion of macro 'Newxz'
#define Newz(x,v,n,t) Newxz(v,n,t)
^
Libnfc.xs:280:5: note: in expansion of macro 'Newz'
Newz(0, self->modulation, 1, nfc_modulation_t);
^
In file included from /opt/perl-5.22.2t/lib/5.22.2/x86_64-linux-thread-multi/CORE/perl.h:2690:0,
from Libnfc.xs:2:
/opt/perl-5.22.2t/lib/5.22.2/x86_64-linux-thread-multi/CORE/handy.h:2015:52: error: expected expression before ')' token
#define Newxz(v,n,t) (v = (MEM_WRAP_CHECK_(n,t) (t*)MEM_LOG_ALLOC(n,t,safecalloc((n),sizeof(t)))))
^
/opt/perl-5.22.2t/lib/5.22.2/x86_64-linux-thread-multi/CORE/handy.h:2021:23: note: in expansion of macro 'Newxz'
#define Newz(x,v,n,t) Newxz(v,n,t)
^
Libnfc.xs:280:5: note: in expansion of macro 'Newz'
Newz(0, self->modulation, 1, nfc_modulation_t);
^
Libnfc.c: In function 'XS_RFID__Libnfc__Modulation_nmt':
Libnfc.c:827:2: error: unknown type name 'nfc_modulation_type_t'
nfc_modulation_type_t RETVAL;
^
Libnfc.xs:295:30: error: request for member 'nmt' in something not a structure or union
RETVAL = THIS->modulation->nmt; // old value will be returned
^
Libnfc.xs:297:25: error: request for member 'nmt' in something not a structure or union
THIS->modulation->nmt = __value;
^
Libnfc.c: In function 'XS_RFID__Libnfc__Modulation_nbr':
Libnfc.c:864:2: error: unknown type name 'nfc_baud_rate_t'
nfc_baud_rate_t RETVAL;
^
Libnfc.xs:307:30: error: request for member 'nbr' in something not a structure or union
RETVAL = THIS->modulation->nbr;
^
Libnfc.xs:309:25: error: request for member 'nbr' in something not a structure or union
THIS->modulation->nbr = __value;
^
In file included from Libnfc.xs:2:0:
Libnfc.xs: In function 'XS_RFID__Libnfc__Target_new':
Libnfc.xs:338:30: error: 'nfc_target_t' undeclared (first use in this function)
Newz(0, self->target, 1, nfc_target_t);
^
/opt/perl-5.22.2t/lib/5.22.2/x86_64-linux-thread-multi/CORE/perl.h:3527:62: note: in definition of macro 'EXPECT'
# define EXPECT(expr,val) __builtin_expect(expr,val)
^
/opt/perl-5.22.2t/lib/5.22.2/x86_64-linux-thread-multi/CORE/perl.h:3532:52: note: in expansion of macro 'cBOOL'
#define UNLIKELY(cond) EXPECT(cBOOL(cond),FALSE)
^
/opt/perl-5.22.2t/lib/5.22.2/x86_64-linux-thread-multi/CORE/handy.h:1925:9: note: in expansion of macro 'UNLIKELY'
(void)(UNLIKELY(_MEM_WRAP_WILL_WRAP(n,t)) \
^
/opt/perl-5.22.2t/lib/5.22.2/x86_64-linux-thread-multi/CORE/handy.h:1921:9: note: in expansion of macro '_MEM_WRAP_NEEDS_RUNTIME_CHECK'
((_MEM_WRAP_NEEDS_RUNTIME_CHECK(n,t) ? (MEM_SIZE)(n) : \
^
/opt/perl-5.22.2t/lib/5.22.2/x86_64-linux-thread-multi/CORE/handy.h:1925:18: note: in expansion of macro '_MEM_WRAP_WILL_WRAP'
(void)(UNLIKELY(_MEM_WRAP_WILL_WRAP(n,t)) \
^
/opt/perl-5.22.2t/lib/5.22.2/x86_64-linux-thread-multi/CORE/handy.h:1932:30: note: in expansion of macro 'MEM_WRAP_CHECK'
#define MEM_WRAP_CHECK_(n,t) MEM_WRAP_CHECK(n,t),
^
/opt/perl-5.22.2t/lib/5.22.2/x86_64-linux-thread-multi/CORE/handy.h:2015:28: note: in expansion of macro 'MEM_WRAP_CHECK_'
#define Newxz(v,n,t) (v = (MEM_WRAP_CHECK_(n,t) (t*)MEM_LOG_ALLOC(n,t,safecalloc((n),sizeof(t)))))
^
/opt/perl-5.22.2t/lib/5.22.2/x86_64-linux-thread-multi/CORE/handy.h:2021:23: note: in expansion of macro 'Newxz'
#define Newz(x,v,n,t) Newxz(v,n,t)
^
Libnfc.xs:338:5: note: in expansion of macro 'Newz'
Newz(0, self->target, 1, nfc_target_t);
^
In file included from /opt/perl-5.22.2t/lib/5.22.2/x86_64-linux-thread-multi/CORE/perl.h:2690:0,
from Libnfc.xs:2:
/opt/perl-5.22.2t/lib/5.22.2/x86_64-linux-thread-multi/CORE/handy.h:2015:52: error: expected expression before ')' token
#define Newxz(v,n,t) (v = (MEM_WRAP_CHECK_(n,t) (t*)MEM_LOG_ALLOC(n,t,safecalloc((n),sizeof(t)))))
^
/opt/perl-5.22.2t/lib/5.22.2/x86_64-linux-thread-multi/CORE/handy.h:2021:23: note: in expansion of macro 'Newxz'
#define Newz(x,v,n,t) Newxz(v,n,t)
^
Libnfc.xs:338:5: note: in expansion of macro 'Newz'
Newz(0, self->target, 1, nfc_target_t);
^
Libnfc.c: In function 'XS_RFID__Libnfc__Target_nti':
Libnfc.xs:20:34: error: unknown type name 'nfc_target_info_t'
#define RFID__Libnfc__TargetInfo nfc_target_info_t *
^
Libnfc.c:963:2: note: in expansion of macro 'RFID__Libnfc__TargetInfo'
RFID__Libnfc__TargetInfo RETVAL;
^
Libnfc.xs:352:27: error: request for member 'nti' in something not a structure or union
RETVAL = &THIS->target->nti;
^
Libnfc.xs: In function 'XS_RFID__Libnfc__Target_nm':
Libnfc.xs:369:36: error: request for member 'nm' in something not a structure or union
obj->modulation = &THIS->target->nm;
^
Libnfc.c: In function 'XS_RFID__Libnfc_iso14443a_crc_append':
Libnfc.c:1185:2: error: unknown type name 'byte_t'
byte_t * pbtData = (byte_t *)SvPV_nolen(ST(0))
^
Libnfc.c:1185:22: error: 'byte_t' undeclared (first use in this function)
byte_t * pbtData = (byte_t *)SvPV_nolen(ST(0))
^
Libnfc.c:1185:30: error: expected expression before ')' token
byte_t * pbtData = (byte_t *)SvPV_nolen(ST(0))
^
Libnfc.c:1190:23: warning: passing argument 1 of 'iso14443a_crc_append' from incompatible pointer type
iso14443a_crc_append(pbtData, uiLen);
^
In file included from Libnfc.xs:7:0:
/usr/include/nfc/nfc.h:137:17: note: expected 'uint8_t *' but argument is of type 'int *'
NFC_EXPORT void iso14443a_crc_append(uint8_t *pbtData, size_t szLen);
^
Libnfc.c: In function 'XS_RFID__Libnfc_mirror':
Libnfc.c:1203:2: error: unknown type name 'byte_t'
byte_t bt = (unsigned char)SvUV(ST(0))
^
Libnfc.c:1205:2: error: unknown type name 'byte_t'
byte_t RETVAL;
^
Libnfc.c: In function 'XS_RFID__Libnfc_nfc_configure':
Libnfc.c:1261:2: error: unknown type name 'nfc_device_option_t'
nfc_device_option_t ndo = (unsigned char)SvUV(ST(1))
^
Libnfc.xs: In function 'XS_RFID__Libnfc_nfc_connect':
Libnfc.xs:431:9: error: unknown type name 'nfc_device_t'
nfc_device_t *pnd = nfc_connect(NULL);
^
Libnfc.xs:431:29: warning: initialization makes pointer from integer without a cast
nfc_device_t *pnd = nfc_connect(NULL);
^
Libnfc.xs: In function 'XS_RFID__Libnfc_nfc_initiator_deselect_target':
Libnfc.xs:450:46: warning: passing argument 1 of 'nfc_initiator_deselect_target' from incompatible pointer type
RETVAL=nfc_initiator_deselect_target(pnd->device);
^
In file included from Libnfc.xs:7:0:
/usr/include/nfc/nfc.h:105:16: note: expected 'struct nfc_device *' but argument is of type 'int *'
NFC_EXPORT int nfc_initiator_deselect_target(nfc_device *pnd);
^
Libnfc.c: In function 'XS_RFID__Libnfc_nfc_initiator_select_passive_target':
Libnfc.c:1376:2: error: unknown type name 'byte_t'
byte_t * pbtInitData = (byte_t *)SvPV_nolen(ST(2))
^
Libnfc.c:1376:26: error: 'byte_t' undeclared (first use in this function)
byte_t * pbtInitData = (byte_t *)SvPV_nolen(ST(2))
^
Libnfc.c:1376:34: error: expected expression before ')' token
byte_t * pbtInitData = (byte_t *)SvPV_nolen(ST(2))
^
Libnfc.xs:463:54: warning: passing argument 1 of 'nfc_initiator_select_passive_target' from incompatible pointer type
? nfc_initiator_select_passive_target(pnd->device,
^
In file included from Libnfc.xs:7:0:
/usr/include/nfc/nfc.h:100:16: note: expected 'struct nfc_device *' but argument is of type 'int *'
NFC_EXPORT int nfc_initiator_select_passive_target(nfc_device *pnd, const nfc_modulation nm, const uint8_t *pbtInitData, const size_t szInitData, nfc_target *pnt);
^
Libnfc.xs:463:18: error: incompatible type for argument 2 of 'nfc_initiator_select_passive_target'
? nfc_initiator_select_passive_target(pnd->device,
^
In file included from Libnfc.xs:7:0:
/usr/include/nfc/nfc.h:100:16: note: expected 'nfc_modulation' but argument is of type 'int'
NFC_EXPORT int nfc_initiator_select_passive_target(nfc_device *pnd, const nfc_modulation nm, const uint8_t *pbtInitData, const size_t szInitData, nfc_target *pnt);
^
Libnfc.xs:465:54: warning: passing argument 3 of 'nfc_initiator_select_passive_target' from incompatible pointer type
pbtInitData,
^
In file included from Libnfc.xs:7:0:
/usr/include/nfc/nfc.h:100:16: note: expected 'const uint8_t *' but argument is of type 'int *'
NFC_EXPORT int nfc_initiator_select_passive_target(nfc_device *pnd, const nfc_modulation nm, const uint8_t *pbtInitData, const size_t szInitData, nfc_target *pnt);
^
Libnfc.xs:467:54: warning: passing argument 5 of 'nfc_initiator_select_passive_target' from incompatible pointer type
pt->target)
^
In file included from Libnfc.xs:7:0:
/usr/include/nfc/nfc.h:100:16: note: expected 'struct nfc_target *' but argument is of type 'int *'
NFC_EXPORT int nfc_initiator_select_passive_target(nfc_device *pnd, const nfc_modulation nm, const uint8_t *pbtInitData, const size_t szInitData, nfc_target *pnt);
^
Libnfc.xs: In function 'XS_RFID__Libnfc_nfc_initiator_init':
Libnfc.xs:477:37: warning: passing argument 1 of 'nfc_initiator_init' from incompatible pointer type
? nfc_initiator_init(pnd->device)
^
In file included from Libnfc.xs:7:0:
/usr/include/nfc/nfc.h:98:16: note: expected 'struct nfc_device *' but argument is of type 'int *'
NFC_EXPORT int nfc_initiator_init(nfc_device *pnd);
^
Libnfc.c: In function 'XS_RFID__Libnfc_nfc_initiator_transceive_bits':
Libnfc.c:1467:2: error: unknown type name 'byte_t'
byte_t * pbtTx = (byte_t *)SvPV_nolen(ST(1))
^
Libnfc.c:1467:20: error: 'byte_t' undeclared (first use in this function)
byte_t * pbtTx = (byte_t *)SvPV_nolen(ST(1))
^
Libnfc.c:1467:28: error: expected expression before ')' token
byte_t * pbtTx = (byte_t *)SvPV_nolen(ST(1))
^
Libnfc.xs:491:25: error: expected ';' before 'pbtRx'
byte_t pbtRx[MAX_FRAME_LEN];
^
Libnfc.xs:495:80: error: 'pbtRx' undeclared (first use in this function)
if (nfc_initiator_transceive_bits(pnd->device, pbtTx, uiTxBits, NULL, pbtRx, &puiRxBits, NULL)) {
^
Libnfc.xs:495:43: warning: passing argument 1 of 'nfc_initiator_transceive_bits' from incompatible pointer type
if (nfc_initiator_transceive_bits(pnd->device, pbtTx, uiTxBits, NULL, pbtRx, &puiRxBits, NULL)) {
^
In file included from Libnfc.xs:7:0:
/usr/include/nfc/nfc.h:107:16: note: expected 'struct nfc_device *' but argument is of type 'int *'
NFC_EXPORT int nfc_initiator_transceive_bits(nfc_device *pnd, const uint8_t *pbtTx, const size_t szTxBits, const uint8_t *pbtTxPar, uint8_t *pbtRx, const size_t szRx, uint8_t *pbtRxPar);
^
Libnfc.xs:495:56: warning: passing argument 2 of 'nfc_initiator_transceive_bits' from incompatible pointer type
if (nfc_initiator_transceive_bits(pnd->device, pbtTx, uiTxBits, NULL, pbtRx, &puiRxBits, NULL)) {
^
In file included from Libnfc.xs:7:0:
/usr/include/nfc/nfc.h:107:16: note: expected 'const uint8_t *' but argument is of type 'int *'
NFC_EXPORT int nfc_initiator_transceive_bits(nfc_device *pnd, const uint8_t *pbtTx, const size_t szTxBits, const uint8_t *pbtTxPar, uint8_t *pbtRx, const size_t szRx, uint8_t *pbtRxPar);
^
Libnfc.xs:495:87: warning: passing argument 6 of 'nfc_initiator_transceive_bits' makes integer from pointer without a cast
if (nfc_initiator_transceive_bits(pnd->device, pbtTx, uiTxBits, NULL, pbtRx, &puiRxBits, NULL)) {
^
In file included from Libnfc.xs:7:0:
/usr/include/nfc/nfc.h:107:16: note: expected 'size_t' but argument is of type 'size_t *'
NFC_EXPORT int nfc_initiator_transceive_bits(nfc_device *pnd, const uint8_t *pbtTx, const size_t szTxBits, const uint8_t *pbtTxPar, uint8_t *pbtRx, const size_t szRx, uint8_t *pbtRxPar);
^
Libnfc.c: In function 'XS_RFID__Libnfc_nfc_initiator_transceive_bytes':
Libnfc.c:1514:2: error: unknown type name 'byte_t'
byte_t * pbtTx = (byte_t *)SvPV_nolen(ST(1))
^
Libnfc.c:1514:20: error: 'byte_t' undeclared (first use in this function)
byte_t * pbtTx = (byte_t *)SvPV_nolen(ST(1))
^
Libnfc.c:1514:28: error: expected expression before ')' token
byte_t * pbtTx = (byte_t *)SvPV_nolen(ST(1))
^
Libnfc.xs:515:25: error: expected ';' before 'pbtRx'
byte_t pbtRx[MAX_FRAME_LEN];
^
Libnfc.xs:519:74: error: 'pbtRx' undeclared (first use in this function)
if (nfc_initiator_transceive_bytes(pnd->device, pbtTx, uiTxLen, pbtRx, &puiRxLen)) {
^
Libnfc.xs:519:44: warning: passing argument 1 of 'nfc_initiator_transceive_bytes' from incompatible pointer type
if (nfc_initiator_transceive_bytes(pnd->device, pbtTx, uiTxLen, pbtRx, &puiRxLen)) {
^
In file included from Libnfc.xs:7:0:
/usr/include/nfc/nfc.h:106:16: note: expected 'struct nfc_device *' but argument is of type 'int *'
NFC_EXPORT int nfc_initiator_transceive_bytes(nfc_device *pnd, const uint8_t *pbtTx, const size_t szTx, uint8_t *pbtRx, const size_t szRx, int timeout);
^
Libnfc.xs:519:57: warning: passing argument 2 of 'nfc_initiator_transceive_bytes' from incompatible pointer type
if (nfc_initiator_transceive_bytes(pnd->device, pbtTx, uiTxLen, pbtRx, &puiRxLen)) {
^
In file included from Libnfc.xs:7:0:
/usr/include/nfc/nfc.h:106:16: note: expected 'const uint8_t *' but argument is of type 'int *'
NFC_EXPORT int nfc_initiator_transceive_bytes(nfc_device *pnd, const uint8_t *pbtTx, const size_t szTx, uint8_t *pbtRx, const size_t szRx, int timeout);
^
Libnfc.xs:519:81: warning: passing argument 5 of 'nfc_initiator_transceive_bytes' makes integer from pointer without a cast
if (nfc_initiator_transceive_bytes(pnd->device, pbtTx, uiTxLen, pbtRx, &puiRxLen)) {
^
In file included from Libnfc.xs:7:0:
/usr/include/nfc/nfc.h:106:16: note: expected 'size_t' but argument is of type 'size_t *'
NFC_EXPORT int nfc_initiator_transceive_bytes(nfc_device *pnd, const uint8_t *pbtTx, const size_t szTx, uint8_t *pbtRx, const size_t szRx, int timeout);
^
Libnfc.xs:519:13: error: too few arguments to function 'nfc_initiator_transceive_bytes'
if (nfc_initiator_transceive_bytes(pnd->device, pbtTx, uiTxLen, pbtRx, &puiRxLen)) {
^
In file included from Libnfc.xs:7:0:
/usr/include/nfc/nfc.h:106:16: note: declared here
NFC_EXPORT int nfc_initiator_transceive_bytes(nfc_device *pnd, const uint8_t *pbtTx, const size_t szTx, uint8_t *pbtRx, const size_t szRx, int timeout);
^
Libnfc.xs: In function 'XS_RFID__Libnfc_nfc_target_init':
Libnfc.xs:536:9: error: unknown type name 'byte_t'
byte_t pbtRx[MAX_FRAME_LEN];
^
Libnfc.xs:540:29: warning: passing argument 1 of 'nfc_target_init' from incompatible pointer type
if (nfc_target_init(pnd->device, pnt->target, pbtRx, &uiRxBits))
^
In file included from Libnfc.xs:7:0:
/usr/include/nfc/nfc.h:113:16: note: expected 'struct nfc_device *' but argument is of type 'int *'
NFC_EXPORT int nfc_target_init(nfc_device *pnd, nfc_target *pnt, uint8_t *pbtRx, const size_t szRx, int timeout);
^
Libnfc.xs:540:42: warning: passing argument 2 of 'nfc_target_init' from incompatible pointer type
if (nfc_target_init(pnd->device, pnt->target, pbtRx, &uiRxBits))
^
In file included from Libnfc.xs:7:0:
/usr/include/nfc/nfc.h:113:16: note: expected 'struct nfc_target *' but argument is of type 'int *'
NFC_EXPORT int nfc_target_init(nfc_device *pnd, nfc_target *pnt, uint8_t *pbtRx, const size_t szRx, int timeout);
^
Libnfc.xs:540:55: warning: passing argument 3 of 'nfc_target_init' from incompatible pointer type
if (nfc_target_init(pnd->device, pnt->target, pbtRx, &uiRxBits))
^
In file included from Libnfc.xs:7:0:
/usr/include/nfc/nfc.h:113:16: note: expected 'uint8_t *' but argument is of type 'int *'
NFC_EXPORT int nfc_target_init(nfc_device *pnd, nfc_target *pnt, uint8_t *pbtRx, const size_t szRx, int timeout);
^
Libnfc.xs:540:62: warning: passing argument 4 of 'nfc_target_init' makes integer from pointer without a cast
if (nfc_target_init(pnd->device, pnt->target, pbtRx, &uiRxBits))
^
In file included from Libnfc.xs:7:0:
/usr/include/nfc/nfc.h:113:16: note: expected 'size_t' but argument is of type 'size_t *'
NFC_EXPORT int nfc_target_init(nfc_device *pnd, nfc_target *pnt, uint8_t *pbtRx, const size_t szRx, int timeout);
^
Libnfc.xs:540:13: error: too few arguments to function 'nfc_target_init'
if (nfc_target_init(pnd->device, pnt->target, pbtRx, &uiRxBits))
^
In file included from Libnfc.xs:7:0:
/usr/include/nfc/nfc.h:113:16: note: declared here
NFC_EXPORT int nfc_target_init(nfc_device *pnd, nfc_target *pnt, uint8_t *pbtRx, const size_t szRx, int timeout);
^
In file included from /opt/perl-5.22.2t/lib/5.22.2/x86_64-linux-thread-multi/CORE/perl.h:5544:0,
from Libnfc.xs:2:
Libnfc.xs:541:27: warning: passing argument 3 of 'Perl_sv_setpvn' from incompatible pointer type
sv_setpvn(sv, pbtRx, uiRxBits/8+1);
^
/opt/perl-5.22.2t/lib/5.22.2/x86_64-linux-thread-multi/CORE/embed.h:664:49: note: in definition of macro 'sv_setpvn'
#define sv_setpvn(a,b,c) Perl_sv_setpvn(aTHX_ a,b,c)
^
In file included from /opt/perl-5.22.2t/lib/5.22.2/x86_64-linux-thread-multi/CORE/perl.h:5509:0,
from Libnfc.xs:2:
/opt/perl-5.22.2t/lib/5.22.2/x86_64-linux-thread-multi/CORE/proto.h:4610:20: note: expected 'const char * const' but argument is of type 'int *'
PERL_CALLCONV void Perl_sv_setpvn(pTHX_ SV *const sv, const char *const ptr, const STRLEN len)
^
Libnfc.xs: In function 'XS_RFID__Libnfc_nfc_target_receive_bits':
Libnfc.xs:551:9: error: unknown type name 'byte_t'
byte_t pbtRx[MAX_FRAME_LEN];
^
Libnfc.xs:552:9: error: unknown type name 'byte_t'
byte_t btRxPar;
^
Libnfc.xs:556:37: warning: passing argument 1 of 'nfc_target_receive_bits' from incompatible pointer type
if (nfc_target_receive_bits(pnd->device, pbtRx, &uiRxBits, &btRxPar))
^
In file included from Libnfc.xs:7:0:
/usr/include/nfc/nfc.h:117:16: note: expected 'struct nfc_device *' but argument is of type 'int *'
NFC_EXPORT int nfc_target_receive_bits(nfc_device *pnd, uint8_t *pbtRx, const size_t szRx, uint8_t *pbtRxPar);
^
Libnfc.xs:556:50: warning: passing argument 2 of 'nfc_target_receive_bits' from incompatible pointer type
if (nfc_target_receive_bits(pnd->device, pbtRx, &uiRxBits, &btRxPar))
^
In file included from Libnfc.xs:7:0:
/usr/include/nfc/nfc.h:117:16: note: expected 'uint8_t *' but argument is of type 'int *'
NFC_EXPORT int nfc_target_receive_bits(nfc_device *pnd, uint8_t *pbtRx, const size_t szRx, uint8_t *pbtRxPar);
^
Libnfc.xs:556:57: warning: passing argument 3 of 'nfc_target_receive_bits' makes integer from pointer without a cast
if (nfc_target_receive_bits(pnd->device, pbtRx, &uiRxBits, &btRxPar))
^
In file included from Libnfc.xs:7:0:
/usr/include/nfc/nfc.h:117:16: note: expected 'size_t' but argument is of type 'size_t *'
NFC_EXPORT int nfc_target_receive_bits(nfc_device *pnd, uint8_t *pbtRx, const size_t szRx, uint8_t *pbtRxPar);
^
Libnfc.xs:556:68: warning: passing argument 4 of 'nfc_target_receive_bits' from incompatible pointer type
if (nfc_target_receive_bits(pnd->device, pbtRx, &uiRxBits, &btRxPar))
^
In file included from Libnfc.xs:7:0:
/usr/include/nfc/nfc.h:117:16: note: expected 'uint8_t *' but argument is of type 'int *'
NFC_EXPORT int nfc_target_receive_bits(nfc_device *pnd, uint8_t *pbtRx, const size_t szRx, uint8_t *pbtRxPar);
^
In file included from /opt/perl-5.22.2t/lib/5.22.2/x86_64-linux-thread-multi/CORE/perl.h:5544:0,
from Libnfc.xs:2:
Libnfc.xs:557:27: warning: passing argument 3 of 'Perl_sv_setpvn' from incompatible pointer type
sv_setpvn(sv, pbtRx, uiRxBits/8+1);
^
/opt/perl-5.22.2t/lib/5.22.2/x86_64-linux-thread-multi/CORE/embed.h:664:49: note: in definition of macro 'sv_setpvn'
#define sv_setpvn(a,b,c) Perl_sv_setpvn(aTHX_ a,b,c)
^
In file included from /opt/perl-5.22.2t/lib/5.22.2/x86_64-linux-thread-multi/CORE/perl.h:5509:0,
from Libnfc.xs:2:
/opt/perl-5.22.2t/lib/5.22.2/x86_64-linux-thread-multi/CORE/proto.h:4610:20: note: expected 'const char * const' but argument is of type 'int *'
PERL_CALLCONV void Perl_sv_setpvn(pTHX_ SV *const sv, const char *const ptr, const STRLEN len)
^
Libnfc.xs: In function 'XS_RFID__Libnfc_nfc_target_receive_bytes':
Libnfc.xs:569:9: error: unknown type name 'byte_t'
byte_t pbtRx[MAX_FRAME_LEN];
^
Libnfc.xs:573:39: warning: passing argument 1 of 'nfc_target_receive_bytes' from incompatible pointer type
rc = nfc_target_receive_bytes(pnd->device, pbtRx, &puiRxLen);
^
In file included from Libnfc.xs:7:0:
/usr/include/nfc/nfc.h:115:16: note: expected 'struct nfc_device *' but argument is of type 'int *'
NFC_EXPORT int nfc_target_receive_bytes(nfc_device *pnd, uint8_t *pbtRx, const size_t szRx, int timeout);
^
Libnfc.xs:573:52: warning: passing argument 2 of 'nfc_target_receive_bytes' from incompatible pointer type
rc = nfc_target_receive_bytes(pnd->device, pbtRx, &puiRxLen);
^
In file included from Libnfc.xs:7:0:
/usr/include/nfc/nfc.h:115:16: note: expected 'uint8_t *' but argument is of type 'int *'
NFC_EXPORT int nfc_target_receive_bytes(nfc_device *pnd, uint8_t *pbtRx, const size_t szRx, int timeout);
^
Libnfc.xs:573:59: warning: passing argument 3 of 'nfc_target_receive_bytes' makes integer from pointer without a cast
rc = nfc_target_receive_bytes(pnd->device, pbtRx, &puiRxLen);
^
In file included from Libnfc.xs:7:0:
/usr/include/nfc/nfc.h:115:16: note: expected 'size_t' but argument is of type 'size_t *'
NFC_EXPORT int nfc_target_receive_bytes(nfc_device *pnd, uint8_t *pbtRx, const size_t szRx, int timeout);
^
Libnfc.xs:573:14: error: too few arguments to function 'nfc_target_receive_bytes'
rc = nfc_target_receive_bytes(pnd->device, pbtRx, &puiRxLen);
^
In file included from Libnfc.xs:7:0:
/usr/include/nfc/nfc.h:115:16: note: declared here
NFC_EXPORT int nfc_target_receive_bytes(nfc_device *pnd, uint8_t *pbtRx, const size_t szRx, int timeout);
^
In file included from /opt/perl-5.22.2t/lib/5.22.2/x86_64-linux-thread-multi/CORE/perl.h:5544:0,
from Libnfc.xs:2:
Libnfc.xs:575:27: warning: passing argument 3 of 'Perl_sv_setpvn' from incompatible pointer type
sv_setpvn(sv, pbtRx, puiRxLen);
^
/opt/perl-5.22.2t/lib/5.22.2/x86_64-linux-thread-multi/CORE/embed.h:664:49: note: in definition of macro 'sv_setpvn'
#define sv_setpvn(a,b,c) Perl_sv_setpvn(aTHX_ a,b,c)
^
In file included from /opt/perl-5.22.2t/lib/5.22.2/x86_64-linux-thread-multi/CORE/perl.h:5509:0,
from Libnfc.xs:2:
/opt/perl-5.22.2t/lib/5.22.2/x86_64-linux-thread-multi/CORE/proto.h:4610:20: note: expected 'const char * const' but argument is of type 'int *'
PERL_CALLCONV void Perl_sv_setpvn(pTHX_ SV *const sv, const char *const ptr, const STRLEN len)
^
Libnfc.c: In function 'XS_RFID__Libnfc_nfc_target_send_bits':
Libnfc.c:1686:2: error: unknown type name 'byte_t'
byte_t * pbtTx = (byte_t *)SvPV_nolen(ST(1))
^
Libnfc.c:1686:20: error: 'byte_t' undeclared (first use in this function)
byte_t * pbtTx = (byte_t *)SvPV_nolen(ST(1))
^
Libnfc.c:1686:28: error: expected expression before ')' token
byte_t * pbtTx = (byte_t *)SvPV_nolen(ST(1))
^
Libnfc.c:1690:11: error: 'pbtTxPar' undeclared (first use in this function)
byte_t * pbtTxPar = (byte_t *)SvPV_nolen(ST(3))
^
Libnfc.c:1690:31: error: expected expression before ')' token
byte_t * pbtTxPar = (byte_t *)SvPV_nolen(ST(3))
^
Libnfc.xs:587:39: warning: passing argument 1 of 'nfc_target_send_bits' from incompatible pointer type
RETVAL = nfc_target_send_bits(pnd->device, pbtTx, uiTxBits, pbtTxPar);
^
In file included from Libnfc.xs:7:0:
/usr/include/nfc/nfc.h:116:16: note: expected 'struct nfc_device *' but argument is of type 'int *'
NFC_EXPORT int nfc_target_send_bits(nfc_device *pnd, const uint8_t *pbtTx, const size_t szTxBits, const uint8_t *pbtTxPar);
^
Libnfc.xs:587:52: warning: passing argument 2 of 'nfc_target_send_bits' from incompatible pointer type
RETVAL = nfc_target_send_bits(pnd->device, pbtTx, uiTxBits, pbtTxPar);
^
In file included from Libnfc.xs:7:0:
/usr/include/nfc/nfc.h:116:16: note: expected 'const uint8_t *' but argument is of type 'int *'
NFC_EXPORT int nfc_target_send_bits(nfc_device *pnd, const uint8_t *pbtTx, const size_t szTxBits, const uint8_t *pbtTxPar);
^
Libnfc.c: In function 'XS_RFID__Libnfc_nfc_target_send_bytes':
Libnfc.c:1721:2: error: unknown type name 'byte_t'
byte_t * pbtTx = (byte_t *)SvPV_nolen(ST(1))
^
Libnfc.c:1721:20: error: 'byte_t' undeclared (first use in this function)
byte_t * pbtTx = (byte_t *)SvPV_nolen(ST(1))
^
Libnfc.c:1721:28: error: expected expression before ')' token
byte_t * pbtTx = (byte_t *)SvPV_nolen(ST(1))
^
Libnfc.xs:597:40: warning: passing argument 1 of 'nfc_target_send_bytes' from incompatible pointer type
RETVAL = nfc_target_send_bytes(pnd->device, pbtTx, uiTxLen);
^
In file included from Libnfc.xs:7:0:
/usr/include/nfc/nfc.h:114:16: note: expected 'struct nfc_device *' but argument is of type 'int *'
NFC_EXPORT int nfc_target_send_bytes(nfc_device *pnd, const uint8_t *pbtTx, const size_t szTx, int timeout);
^
Libnfc.xs:597:53: warning: passing argument 2 of 'nfc_target_send_bytes' from incompatible pointer type
RETVAL = nfc_target_send_bytes(pnd->device, pbtTx, uiTxLen);
^
In file included from Libnfc.xs:7:0:
/usr/include/nfc/nfc.h:114:16: note: expected 'const uint8_t *' but argument is of type 'int *'
NFC_EXPORT int nfc_target_send_bytes(nfc_device *pnd, const uint8_t *pbtTx, const size_t szTx, int timeout);
^
Libnfc.xs:597:18: error: too few arguments to function 'nfc_target_send_bytes'
RETVAL = nfc_target_send_bytes(pnd->device, pbtTx, uiTxLen);
^
In file included from Libnfc.xs:7:0:
/usr/include/nfc/nfc.h:114:16: note: declared here
NFC_EXPORT int nfc_target_send_bytes(nfc_device *pnd, const uint8_t *pbtTx, const size_t szTx, int timeout);
^
Libnfc.xs: In function 'XS_RFID__Libnfc_print_hex':
Libnfc.xs:606:9: error: unknown type name 'byte_t'
byte_t * pbtData = NULL;
^
Libnfc.xs:612:28: error: 'byte_t' undeclared (first use in this function)
pbtData = (byte_t *)SvPV_nolen(__data);
^
Libnfc.xs:612:36: error: expected expression before ')' token
pbtData = (byte_t *)SvPV_nolen(__data);
^
Libnfc.xs:614:36: error: expected expression before ')' token
pbtData = (byte_t *)SvPV(__data, uiLen);
^
Makefile:385: recipe for target 'Libnfc.o' failed
make: *** [Libnfc.o] Error 1
------------------------------
PREREQUISITES
------------------------------
Prerequisite modules loaded:
build_requires:
Module Need Have
------------------- ---- -------
ExtUtils::MakeMaker 0 7.04_01
configure_requires:
Module Need Have
------------------- ---- -------
ExtUtils::MakeMaker 0 7.04_01
------------------------------
ENVIRONMENT AND OTHER CONTEXT
------------------------------
Environment variables:
LANG = C
PATH = /usr/local/bin:/usr/bin:/bin:/usr/local/sbin:/usr/sbin:/sbin:/home/cpansand/bin/linux-gnu:/home/cpansand/bin/sh:/home/cpansand/bin:/usr/games:/home/cpansand/devel:/home/eserte/src/srezic-misc/scripts
PERL = /bbbike/perl-5.22.2t/bin/perl
PERL5LIB =
PERL5OPT =
PERL5_CPANPLUS_IS_RUNNING = 7873
PERL5_CPAN_IS_RUNNING = 7873
PERL5_CPAN_IS_RUNNING_IN_RECURSION = 4878,7873
PERLDOC = -MPod::Perldoc::ToTextOverstrike
PERL_BATCH = yes
PERL_CANARY_STABILITY_NOPROMPT = 1
PERL_CPAN_REPORTER_CONFIG = /run/user/1023/cpansmoker/2016090421/cpanreporter_000_config.ini
PERL_EXTUTILS_AUTOINSTALL = --defaultdeps
PERL_USE_UNSAFE_INC = 1
SHELL = /bin/zsh
TERM = screen
TMPDIR = /run/user/1023/cpansmoker/2016090421
Perl special variables (and OS-specific diagnostics, for MSWin32):
$^X = /bbbike/perl-5.22.2t/bin/perl
$UID/$EUID = 1023 / 1023
$GID = 1023 1023
$EGID = 1023 1023
Perl module toolchain versions installed:
Module Have
------------------- --------
CPAN 2.11
CPAN::Meta 2.150001
Cwd 3.56_01
ExtUtils::CBuilder 0.280221
ExtUtils::Command 1.20
ExtUtils::Install 2.04
ExtUtils::MakeMaker 7.04_01
ExtUtils::Manifest 1.70
ExtUtils::ParseXS 3.28
File::Spec 3.56_01
JSON 2.90
JSON::PP 2.27300
Module::Build 0.4218
Module::Signature n/a
Parse::CPAN::Meta 1.4422
Test::Harness 3.35
Test::More 1.001014
YAML 1.15
YAML::Syck 1.29
version 0.9909
--
Summary of my perl5 (revision 5 version 22 subversion 2) configuration:
Platform:
osname=linux, osvers=3.16.0-4-amd64, archname=x86_64-linux-thread-multi
uname='linux eserte 3.16.0-4-amd64 #1 smp debian 3.16.7-ckt25-2 (2016-04-08) x86_64 gnulinux '
config_args='-ds -e -Dprefix=/opt/perl-5.22.2t -Dusethreads -Dcf_email=srezic@cpan.org'
hint=recommended, useposix=true, d_sigaction=define
useithreads=define, usemultiplicity=define
use64bitint=define, use64bitall=define, uselongdouble=undef
usemymalloc=n, bincompat5005=undef
Compiler:
cc='cc', ccflags ='-D_REENTRANT -D_GNU_SOURCE -fwrapv -fno-strict-aliasing -pipe -fstack-protector-strong -I/usr/local/include -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_FORTIFY_SOURCE=2',
optimize='-O2',
cppflags='-D_REENTRANT -D_GNU_SOURCE -fwrapv -fno-strict-aliasing -pipe -fstack-protector-strong -I/usr/local/include'
ccversion='', gccversion='4.9.2', gccosandvers=''
intsize=4, longsize=8, ptrsize=8, doublesize=8, byteorder=12345678, doublekind=3
d_longlong=define, longlongsize=8, d_longdbl=define, longdblsize=16, longdblkind=3
ivtype='long', ivsize=8, nvtype='double', nvsize=8, Off_t='off_t', lseeksize=8
alignbytes=8, prototype=define
Linker and Libraries:
ld='cc', ldflags =' -fstack-protector-strong -L/usr/local/lib'
libpth=/usr/local/lib /usr/lib/gcc/x86_64-linux-gnu/4.9/include-fixed /usr/include/x86_64-linux-gnu /usr/lib /lib/x86_64-linux-gnu /lib/../lib /usr/lib/x86_64-linux-gnu /usr/lib/../lib /lib
libs=-lpthread -lnsl -lgdbm -ldb -ldl -lm -lcrypt -lutil -lc -lgdbm_compat
perllibs=-lpthread -lnsl -ldl -lm -lcrypt -lutil -lc
libc=libc-2.19.so, so=so, useshrplib=false, libperl=libperl.a
gnulibc_version='2.19'
Dynamic Linking:
dlsrc=dl_dlopen.xs, dlext=so, d_dlsymun=undef, ccdlflags='-Wl,-E'
cccdlflags='-fPIC', lddlflags='-shared -O2 -L/usr/local/lib -fstack-protector-strong'
Characteristics of this binary (from libperl):
Compile-time options: HAS_TIMES MULTIPLICITY PERLIO_LAYERS
PERL_DONT_CREATE_GVSV
PERL_HASH_FUNC_ONE_AT_A_TIME_HARD
PERL_IMPLICIT_CONTEXT PERL_MALLOC_WRAP
PERL_NEW_COPY_ON_WRITE PERL_PRESERVE_IVUV
USE_64_BIT_ALL USE_64_BIT_INT USE_ITHREADS
USE_LARGE_FILES USE_LOCALE USE_LOCALE_COLLATE
USE_LOCALE_CTYPE USE_LOCALE_NUMERIC USE_LOCALE_TIME
USE_PERLIO USE_PERL_ATOF USE_REENTRANT_API
Built under linux
Compiled at May 7 2016 14:08:21
%ENV:
PERL="/bbbike/perl-5.22.2t/bin/perl"
PERL5LIB=""
PERL5OPT=""
PERL5_CPANPLUS_IS_RUNNING="7873"
PERL5_CPAN_IS_RUNNING="7873"
PERL5_CPAN_IS_RUNNING_IN_RECURSION="4878,7873"
PERLDOC="-MPod::Perldoc::ToTextOverstrike"
PERL_BATCH="yes"
PERL_CANARY_STABILITY_NOPROMPT="1"
PERL_CPAN_REPORTER_CONFIG="/run/user/1023/cpansmoker/2016090421/cpanreporter_000_config.ini"
PERL_EXTUTILS_AUTOINSTALL="--defaultdeps"
PERL_USE_UNSAFE_INC="1"
@INC:
/opt/perl-5.22.2t/lib/site_perl/5.22.2/x86_64-linux-thread-multi
/opt/perl-5.22.2t/lib/site_perl/5.22.2
/opt/perl-5.22.2t/lib/5.22.2/x86_64-linux-thread-multi
/opt/perl-5.22.2t/lib/5.22.2
.