<86>Dec 21 01:08:06 userdel[1713799]: delete user 'rooter' <86>Dec 21 01:08:06 userdel[1713799]: removed group 'rooter' owned by 'rooter' <86>Dec 21 01:08:06 userdel[1713799]: removed shadow group 'rooter' owned by 'rooter' <86>Dec 21 01:08:06 groupadd[1713813]: group added to /etc/group: name=rooter, GID=1829 <86>Dec 21 01:08:06 groupadd[1713813]: group added to /etc/gshadow: name=rooter <86>Dec 21 01:08:06 groupadd[1713813]: new group: name=rooter, GID=1829 <86>Dec 21 01:08:06 useradd[1713823]: new user: name=rooter, UID=1829, GID=1829, home=/root, shell=/bin/bash, from=none <86>Dec 21 01:08:06 userdel[1713837]: delete user 'builder' <86>Dec 21 01:08:06 userdel[1713837]: removed group 'builder' owned by 'builder' <86>Dec 21 01:08:06 userdel[1713837]: removed shadow group 'builder' owned by 'builder' <86>Dec 21 01:08:06 groupadd[1713850]: group added to /etc/group: name=builder, GID=1830 <86>Dec 21 01:08:06 groupadd[1713850]: group added to /etc/gshadow: name=builder <86>Dec 21 01:08:06 groupadd[1713850]: new group: name=builder, GID=1830 <86>Dec 21 01:08:06 useradd[1713870]: new user: name=builder, UID=1830, GID=1830, home=/usr/src, shell=/bin/bash, from=none <13>Dec 21 01:08:09 rpmi: libusb-1.0.27-alt1 sisyphus+347412.100.1.1 1714739651 installed <13>Dec 21 01:08:09 rpmi: libusb-compat-0.1.8-alt1 sisyphus+339464.100.1.1 1706693618 installed <13>Dec 21 01:08:09 rpmi: gcc-c++-common-1.4.28-alt1 sisyphus+348678.100.1.1 1716396142 installed <13>Dec 21 01:08:10 rpmi: libstdc++14-devel-14.2.1-alt1 sisyphus+360995.100.1.1 1730131018 installed <13>Dec 21 01:08:10 rpmi: gcc14-c++-14.2.1-alt1 sisyphus+360995.100.1.1 1730131018 installed <13>Dec 21 01:08:10 rpmi: gcc-c++-14-alt1 sisyphus+360995.300.1.1 1730139222 installed <13>Dec 21 01:08:10 rpmi: libusb-compat-devel-0.1.8-alt1 sisyphus+339464.100.1.1 1706693618 installed <13>Dec 21 01:08:10 rpmi: chrpath-0.16-alt1 sisyphus+346101.200.3.1 1716459476 installed Building target platforms: x86_64 Building for target x86_64 Wrote: /usr/src/in/nosrpm/librfid-0.2.0-alt3_22.nosrc.rpm (w1.gzdio) Installing librfid-0.2.0-alt3_22.src.rpm Building target platforms: x86_64 Building for target x86_64 Executing(%prep): /bin/sh -e /usr/src/tmp/rpm-tmp.4390 + umask 022 + /bin/mkdir -p /usr/src/RPM/BUILD + cd /usr/src/RPM/BUILD + cd /usr/src/RPM/BUILD + rm -rf librfid-0.2.0 + echo 'Source #0 (librfid-0.2.0.tar.bz2):' Source #0 (librfid-0.2.0.tar.bz2): + /usr/bin/bzip2 -dc /usr/src/RPM/SOURCES/librfid-0.2.0.tar.bz2 + /bin/tar -xf - + cd librfid-0.2.0 + /bin/chmod -c -Rf u+rwX,go-w . + exit 0 Executing(%build): /bin/sh -e /usr/src/tmp/rpm-tmp.4390 + umask 022 + /bin/mkdir -p /usr/src/RPM/BUILD + cd /usr/src/RPM/BUILD + cd librfid-0.2.0 + CFLAGS='-pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -fPIC -DPIC' + export CFLAGS + CXXFLAGS='-pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -fPIC -DPIC' + export CXXFLAGS + FFLAGS='-pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -fPIC -DPIC' + export FFLAGS + FCFLAGS='-pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -fPIC -DPIC' + export FCFLAGS + '[' -n '' ']' ++ printf %s '-pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -fPIC -DPIC' ++ sed -r 's/(^|[[:space:]]+)-[^m][^[:space:]]*//g' + ASFLAGS= + export ASFLAGS + export lt_cv_deplibs_check_method=pass_all + lt_cv_deplibs_check_method=pass_all + readlink -e -- ./configure + xargs -ri dirname -- '{}' + xargs -ri find '{}' -type f '(' -name config.sub -or -name config.guess ')' -printf '%h/\n' + sort -u + xargs -rn1 install -pm755 -- /usr/share/gnu-config/config.sub /usr/share/gnu-config/config.guess + configure_runstatedir_flags= + grep -qF runstatedir=DIR ./configure + echo 'rpm-build: warning: ./configure script does not support --runstatedir' rpm-build: warning: ./configure script does not support --runstatedir + ./configure --build=x86_64-alt-linux --host=x86_64-alt-linux --prefix=/usr --exec-prefix=/usr --bindir=/usr/bin --sbindir=/usr/sbin --sysconfdir=/etc --datadir=/usr/share --includedir=/usr/include --libdir=/usr/lib64 --libexecdir=/usr/lib --localstatedir=/var --sharedstatedir=/var/lib --mandir=/usr/share/man --infodir=/usr/share/info --disable-dependency-tracking --disable-silent-rules --without-included-gettext --disable-static checking build system type... x86_64-alt-linux-gnu checking host system type... x86_64-alt-linux-gnu checking target system type... x86_64-alt-linux-gnu checking for a BSD-compatible install... /usr/bin/ginstall -c checking whether build environment is sane... yes checking for gawk... gawk checking whether make sets $(MAKE)... yes checking for x86_64-alt-linux-gcc... x86_64-alt-linux-gcc checking for C compiler default output file name... a.out checking whether the C compiler works... yes checking whether we are cross compiling... no checking for suffix of executables... checking for suffix of object files... o checking whether we are using the GNU C compiler... yes checking whether x86_64-alt-linux-gcc accepts -g... yes checking for x86_64-alt-linux-gcc option to accept ISO C89... none needed checking for style of include used by make... GNU checking dependency style of x86_64-alt-linux-gcc... none checking whether x86_64-alt-linux-gcc and cc understand -c and -o together... yes checking for an ANSI C-conforming const... yes checking for a sed that does not truncate output... /usr/bin/sed checking for grep that handles long lines and -e... /usr/bin/grep checking for egrep... /usr/bin/grep -E checking for ld used by x86_64-alt-linux-gcc... /usr/bin/ld checking if the linker (/usr/bin/ld) is GNU ld... yes checking for /usr/bin/ld option to reload object files... -r checking for BSD-compatible nm... /usr/bin/nm -B checking whether ln -s works... yes checking how to recognize dependent libraries... (cached) pass_all checking how to run the C preprocessor... x86_64-alt-linux-gcc -E checking for ANSI C header files... yes checking for sys/types.h... yes checking for sys/stat.h... yes checking for stdlib.h... yes checking for string.h... yes checking for memory.h... yes checking for strings.h... yes checking for inttypes.h... yes checking for stdint.h... yes checking for unistd.h... yes checking dlfcn.h usability... yes checking dlfcn.h presence... yes checking for dlfcn.h... yes checking for x86_64-alt-linux-g++... x86_64-alt-linux-g++ checking whether we are using the GNU C++ compiler... yes checking whether x86_64-alt-linux-g++ accepts -g... yes checking dependency style of x86_64-alt-linux-g++... none checking how to run the C++ preprocessor... x86_64-alt-linux-g++ -E checking for x86_64-alt-linux-g77... no checking for x86_64-alt-linux-xlf... no checking for x86_64-alt-linux-f77... no checking for x86_64-alt-linux-frt... no checking for x86_64-alt-linux-pgf77... no checking for x86_64-alt-linux-cf77... no checking for x86_64-alt-linux-fort77... no checking for x86_64-alt-linux-fl32... no checking for x86_64-alt-linux-af77... no checking for x86_64-alt-linux-xlf90... no checking for x86_64-alt-linux-f90... no checking for x86_64-alt-linux-pgf90... no checking for x86_64-alt-linux-pghpf... no checking for x86_64-alt-linux-epcf90... no checking for x86_64-alt-linux-gfortran... no checking for x86_64-alt-linux-g95... no checking for x86_64-alt-linux-xlf95... no checking for x86_64-alt-linux-f95... no checking for x86_64-alt-linux-fort... no checking for x86_64-alt-linux-ifort... no checking for x86_64-alt-linux-ifc... no checking for x86_64-alt-linux-efc... no checking for x86_64-alt-linux-pgf95... no checking for x86_64-alt-linux-lf95... no checking for x86_64-alt-linux-ftn... no checking for g77... no checking for xlf... no checking for f77... no checking for frt... no checking for pgf77... no checking for cf77... no checking for fort77... no checking for fl32... no checking for af77... no checking for xlf90... no checking for f90... no checking for pgf90... no checking for pghpf... no checking for epcf90... no checking for gfortran... no checking for g95... no checking for xlf95... no checking for f95... no checking for fort... no checking for ifort... no checking for ifc... no checking for efc... no checking for pgf95... no checking for lf95... no checking for ftn... no checking whether we are using the GNU Fortran 77 compiler... no checking whether accepts -g... no checking the maximum length of command line arguments... 1572864 checking command to parse /usr/bin/nm -B output from x86_64-alt-linux-gcc object... failed checking for objdir... .libs checking for x86_64-alt-linux-ar... no checking for ar... ar checking for x86_64-alt-linux-ranlib... no checking for ranlib... ranlib checking for x86_64-alt-linux-strip... no checking for strip... strip checking if x86_64-alt-linux-gcc supports -fno-rtti -fno-exceptions... no checking for x86_64-alt-linux-gcc option to produce PIC... -fPIC checking if x86_64-alt-linux-gcc PIC flag -fPIC works... yes checking if x86_64-alt-linux-gcc static flag -static works... no checking if x86_64-alt-linux-gcc supports -c -o file.o... yes checking whether the x86_64-alt-linux-gcc linker (/usr/bin/ld -m elf_x86_64) supports shared libraries... yes checking whether -lc should be explicitly linked in... no checking dynamic linker characteristics... GNU/Linux ld.so checking how to hardcode library paths into programs... immediate checking whether stripping libraries is possible... yes checking if libtool supports shared libraries... yes checking whether to build shared libraries... yes checking whether to build static libraries... no configure: creating libtool appending configuration tag "CXX" to libtool checking for ld used by x86_64-alt-linux-g++... /usr/bin/ld -m elf_x86_64 checking if the linker (/usr/bin/ld -m elf_x86_64) is GNU ld... yes checking whether the x86_64-alt-linux-g++ linker (/usr/bin/ld -m elf_x86_64) supports shared libraries... yes checking for x86_64-alt-linux-g++ option to produce PIC... -fPIC checking if x86_64-alt-linux-g++ PIC flag -fPIC works... yes checking if x86_64-alt-linux-g++ static flag -static works... no checking if x86_64-alt-linux-g++ supports -c -o file.o... yes checking whether the x86_64-alt-linux-g++ linker (/usr/bin/ld -m elf_x86_64) supports shared libraries... yes checking dynamic linker characteristics... GNU/Linux ld.so checking how to hardcode library paths into programs... immediate appending configuration tag "F77" to libtool checking for build environment... UNIX checking whether byte ordering is bigendian... no checking for usb_close in -lusb... yes configure: creating ./config.status config.status: creating Makefile config.status: creating etc/Makefile config.status: creating etc/udev/Makefile config.status: creating src/Makefile config.status: creating include/Makefile config.status: creating include/librfid/Makefile config.status: creating utils/Makefile config.status: creating src/librfid.pc config.status: creating win32/Makefile config.status: executing depfiles commands + make -j16 Making all in etc Making all in udev make[2]: Nothing to be done for 'all'. make[2]: Nothing to be done for 'all-am'. Making all in include Making all in librfid make[2]: Nothing to be done for 'all'. make[2]: Nothing to be done for 'all-am'. Making all in src make[1]: Entering directory '/usr/src/RPM/BUILD/librfid-0.2.0/src' /bin/sh ../libtool --tag=CC --mode=compile x86_64-alt-linux-gcc -DPACKAGE_NAME=\"\" -DPACKAGE_TARNAME=\"\" -DPACKAGE_VERSION=\"\" -DPACKAGE_STRING=\"\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE=\"librfid\" -DVERSION=\"0.2.0\" -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -DHAVE_DLFCN_H=1 -I. -I. -I../include -std=gnu99 -DHAVE_LIBUSB -D__LIBRFID__ -DLIBRFID_STATIC -DENABLE_OPENPCD -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -fPIC -DPIC -c -o rfid_iso14443_common.lo rfid_iso14443_common.c x86_64-alt-linux-gcc -DPACKAGE_NAME=\"\" -DPACKAGE_TARNAME=\"\" -DPACKAGE_VERSION=\"\" -DPACKAGE_STRING=\"\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE=\"librfid\" -DVERSION=\"0.2.0\" -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -DHAVE_DLFCN_H=1 -I. -I. -I../include -std=gnu99 -DHAVE_LIBUSB -D__LIBRFID__ -DLIBRFID_STATIC -DENABLE_OPENPCD -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -fPIC -DPIC -c rfid_iso14443_common.c -fPIC -DPIC -o .libs/rfid_iso14443_common.o make[1]: Leaving directory '/usr/src/RPM/BUILD/librfid-0.2.0/src' make[1]: Entering directory '/usr/src/RPM/BUILD/librfid-0.2.0/src' /bin/sh ../libtool --tag=CC --mode=compile x86_64-alt-linux-gcc -DPACKAGE_NAME=\"\" -DPACKAGE_TARNAME=\"\" -DPACKAGE_VERSION=\"\" -DPACKAGE_STRING=\"\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE=\"librfid\" -DVERSION=\"0.2.0\" -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -DHAVE_DLFCN_H=1 -I. -I. -I../include -std=gnu99 -DHAVE_LIBUSB -D__LIBRFID__ -DLIBRFID_STATIC -DENABLE_OPENPCD -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -fPIC -DPIC -c -o rfid_reader.lo rfid_reader.c mkdir .libs mkdir: cannot create directory '.libs': File exists x86_64-alt-linux-gcc -DPACKAGE_NAME=\"\" -DPACKAGE_TARNAME=\"\" -DPACKAGE_VERSION=\"\" -DPACKAGE_STRING=\"\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE=\"librfid\" -DVERSION=\"0.2.0\" -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -DHAVE_DLFCN_H=1 -I. -I. -I../include -std=gnu99 -DHAVE_LIBUSB -D__LIBRFID__ -DLIBRFID_STATIC -DENABLE_OPENPCD -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -fPIC -DPIC -c rfid_reader.c -fPIC -DPIC -o .libs/rfid_reader.o make[1]: Leaving directory '/usr/src/RPM/BUILD/librfid-0.2.0/src' make[1]: Entering directory '/usr/src/RPM/BUILD/librfid-0.2.0/src' /bin/sh ../libtool --tag=CC --mode=compile x86_64-alt-linux-gcc -DPACKAGE_NAME=\"\" -DPACKAGE_TARNAME=\"\" -DPACKAGE_VERSION=\"\" -DPACKAGE_STRING=\"\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE=\"librfid\" -DVERSION=\"0.2.0\" -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -DHAVE_DLFCN_H=1 -I. -I. -I../include -std=gnu99 -DHAVE_LIBUSB -D__LIBRFID__ -DLIBRFID_STATIC -DENABLE_OPENPCD -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -fPIC -DPIC -c -o rfid_layer2_iso15693.lo rfid_layer2_iso15693.c mkdir .libs x86_64-alt-linux-gcc -DPACKAGE_NAME=\"\" -DPACKAGE_TARNAME=\"\" -DPACKAGE_VERSION=\"\" -DPACKAGE_STRING=\"\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE=\"librfid\" -DVERSION=\"0.2.0\" -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -DHAVE_DLFCN_H=1 -I. -I. -I../include -std=gnu99 -DHAVE_LIBUSB -D__LIBRFID__ -DLIBRFID_STATIC -DENABLE_OPENPCD -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -fPIC -DPIC -c rfid_layer2_iso15693.c -fPIC -DPIC -o .libs/rfid_layer2_iso15693.o rfid_layer2_iso15693.c: In function 'iso15693_anticol': rfid_layer2_iso15693.c:211:55: error: passing argument 2 of 'iso15693_transceive_acf' from incompatible pointer type [-Wincompatible-pointer-types] 211 | ret = iso15693_transceive_acf(handle, (u_int8_t *) &acf, tx_len, &resp, &rx_len, &boc); | ^~~~~~~~~~~~~~~~~ | | | u_int8_t * {aka unsigned char *} rfid_layer2_iso15693.c:78:60: note: expected 'const struct iso15693_anticol_cmd *' but argument is of type 'u_int8_t *' {aka 'unsigned char *'} 78 | const struct iso15693_anticol_cmd *acf, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ rfid_layer2_iso15693.c:211:89: warning: pointer targets in passing argument 5 of 'iso15693_transceive_acf' differ in signedness [-Wpointer-sign] 211 | ret = iso15693_transceive_acf(handle, (u_int8_t *) &acf, tx_len, &resp, &rx_len, &boc); | ^~~~~~~ | | | int * rfid_layer2_iso15693.c:81:39: note: expected 'unsigned int *' but argument is of type 'int *' 81 | unsigned int *rx_len, char *bit_of_col) | ~~~~~~~~~~~~~~^~~~~~ rfid_layer2_iso15693.c: At top level: rfid_layer2_iso15693.c:439:12: warning: 'transceive_inventory' defined but not used [-Wunused-function] 439 | static int transceive_inventory(struct rfid_layer2_handle *l2h) | ^~~~~~~~~~~~~~~~~~~~ rfid_layer2_iso15693.c:257:1: warning: 'iso15693_select' defined but not used [-Wunused-function] 257 | iso15693_select(struct rfid_layer2_handle *handle) | ^~~~~~~~~~~~~~~ make[1]: *** [Makefile:406: rfid_layer2_iso15693.lo] Error 1 make[1]: Leaving directory '/usr/src/RPM/BUILD/librfid-0.2.0/src' make[1]: *** Waiting for unfinished jobs.... make[1]: Entering directory '/usr/src/RPM/BUILD/librfid-0.2.0/src' /bin/sh ../libtool --tag=CC --mode=compile x86_64-alt-linux-gcc -DPACKAGE_NAME=\"\" -DPACKAGE_TARNAME=\"\" -DPACKAGE_VERSION=\"\" -DPACKAGE_STRING=\"\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE=\"librfid\" -DVERSION=\"0.2.0\" -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -DHAVE_DLFCN_H=1 -I. -I. -I../include -std=gnu99 -DHAVE_LIBUSB -D__LIBRFID__ -DLIBRFID_STATIC -DENABLE_OPENPCD -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -fPIC -DPIC -c -o rfid_layer2.lo rfid_layer2.c x86_64-alt-linux-gcc -DPACKAGE_NAME=\"\" -DPACKAGE_TARNAME=\"\" -DPACKAGE_VERSION=\"\" -DPACKAGE_STRING=\"\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE=\"librfid\" -DVERSION=\"0.2.0\" -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -DHAVE_DLFCN_H=1 -I. -I. -I../include -std=gnu99 -DHAVE_LIBUSB -D__LIBRFID__ -DLIBRFID_STATIC -DENABLE_OPENPCD -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -fPIC -DPIC -c rfid_layer2.c -fPIC -DPIC -o .libs/rfid_layer2.o rfid_layer2.c: In function 'rfid_layer2_init': rfid_layer2.c:44:11: warning: assignment discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 44 | p = rfid_layer2s[id]; | ^ rfid_layer2.c: In function 'rfid_layer2_setopt': rfid_layer2.c:121:49: warning: format '%d' expects argument of type 'int', but argument 2 has type 'long unsigned int' [-Wformat=] 121 | printf("----> sizeof(ph->uid): %d\n",sizeof(ph->uid)); | ~^ ~~~~~~~~~~~~~~~ | | | | int long unsigned int | %ld make[1]: Leaving directory '/usr/src/RPM/BUILD/librfid-0.2.0/src' make[1]: Entering directory '/usr/src/RPM/BUILD/librfid-0.2.0/src' /bin/sh ../libtool --tag=CC --mode=compile x86_64-alt-linux-gcc -DPACKAGE_NAME=\"\" -DPACKAGE_TARNAME=\"\" -DPACKAGE_VERSION=\"\" -DPACKAGE_STRING=\"\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE=\"librfid\" -DVERSION=\"0.2.0\" -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -DHAVE_DLFCN_H=1 -I. -I. -I../include -std=gnu99 -DHAVE_LIBUSB -D__LIBRFID__ -DLIBRFID_STATIC -DENABLE_OPENPCD -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -fPIC -DPIC -c -o rfid_scan.lo rfid_scan.c x86_64-alt-linux-gcc -DPACKAGE_NAME=\"\" -DPACKAGE_TARNAME=\"\" -DPACKAGE_VERSION=\"\" -DPACKAGE_STRING=\"\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE=\"librfid\" -DVERSION=\"0.2.0\" -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -DHAVE_DLFCN_H=1 -I. -I. -I../include -std=gnu99 -DHAVE_LIBUSB -D__LIBRFID__ -DLIBRFID_STATIC -DENABLE_OPENPCD -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -fPIC -DPIC -c rfid_scan.c -fPIC -DPIC -o .libs/rfid_scan.o make[1]: Leaving directory '/usr/src/RPM/BUILD/librfid-0.2.0/src' make[1]: Entering directory '/usr/src/RPM/BUILD/librfid-0.2.0/src' /bin/sh ../libtool --tag=CC --mode=compile x86_64-alt-linux-gcc -DPACKAGE_NAME=\"\" -DPACKAGE_TARNAME=\"\" -DPACKAGE_VERSION=\"\" -DPACKAGE_STRING=\"\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE=\"librfid\" -DVERSION=\"0.2.0\" -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -DHAVE_DLFCN_H=1 -I. -I. -I../include -std=gnu99 -DHAVE_LIBUSB -D__LIBRFID__ -DLIBRFID_STATIC -DENABLE_OPENPCD -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -fPIC -DPIC -c -o rfid_proto_icode.lo rfid_proto_icode.c x86_64-alt-linux-gcc -DPACKAGE_NAME=\"\" -DPACKAGE_TARNAME=\"\" -DPACKAGE_VERSION=\"\" -DPACKAGE_STRING=\"\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE=\"librfid\" -DVERSION=\"0.2.0\" -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -DHAVE_DLFCN_H=1 -I. -I. -I../include -std=gnu99 -DHAVE_LIBUSB -D__LIBRFID__ -DLIBRFID_STATIC -DENABLE_OPENPCD -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -fPIC -DPIC -c rfid_proto_icode.c -fPIC -DPIC -o .libs/rfid_proto_icode.o rfid_proto_icode.c: In function 'icode_read': rfid_proto_icode.c:41:13: warning: unused variable 'ret' [-Wunused-variable] 41 | int ret; | ^~~ rfid_proto_icode.c:40:23: warning: unused variable 'tx' [-Wunused-variable] 40 | unsigned char tx[2]; | ^~ rfid_proto_icode.c:39:22: warning: unused variable 'real_rx_len' [-Wunused-variable] 39 | unsigned int real_rx_len = sizeof(rx_buf); | ^~~~~~~~~~~ rfid_proto_icode.c: In function 'icode_write': rfid_proto_icode.c:55:13: warning: unused variable 'ret' [-Wunused-variable] 55 | int ret; | ^~~ rfid_proto_icode.c:54:22: warning: unused variable 'rx_len' [-Wunused-variable] 54 | unsigned int rx_len = sizeof(rx); | ^~~~~~ rfid_proto_icode.c:52:23: warning: unused variable 'tx' [-Wunused-variable] 52 | unsigned char tx[6]; | ^~ rfid_proto_icode.c:51:22: warning: unused variable 'i' [-Wunused-variable] 51 | unsigned int i; | ^ rfid_proto_icode.c: In function 'icode_init': rfid_proto_icode.c:92:33: warning: pointer targets in passing argument 4 of 'rfid_layer2_getopt' differ in signedness [-Wpointer-sign] 92 | uid, &uid_len); | ^~~~~~~~ | | | int * In file included from ../include/librfid/rfid_protocol.h:4, from rfid_proto_icode.c:29: ../include/librfid/rfid_layer2.h:36:53: note: expected 'unsigned int *' but argument is of type 'int *' 36 | void *optval, unsigned int *optlen); | ~~~~~~~~~~~~~~^~~~~~ make[1]: Leaving directory '/usr/src/RPM/BUILD/librfid-0.2.0/src' make[1]: Entering directory '/usr/src/RPM/BUILD/librfid-0.2.0/src' /bin/sh ../libtool --tag=CC --mode=compile x86_64-alt-linux-gcc -DPACKAGE_NAME=\"\" -DPACKAGE_TARNAME=\"\" -DPACKAGE_VERSION=\"\" -DPACKAGE_STRING=\"\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE=\"librfid\" -DVERSION=\"0.2.0\" -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -DHAVE_DLFCN_H=1 -I. -I. -I../include -std=gnu99 -DHAVE_LIBUSB -D__LIBRFID__ -DLIBRFID_STATIC -DENABLE_OPENPCD -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -fPIC -DPIC -c -o rfid_proto_tagit.lo rfid_proto_tagit.c x86_64-alt-linux-gcc -DPACKAGE_NAME=\"\" -DPACKAGE_TARNAME=\"\" -DPACKAGE_VERSION=\"\" -DPACKAGE_STRING=\"\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE=\"librfid\" -DVERSION=\"0.2.0\" -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -DHAVE_DLFCN_H=1 -I. -I. -I../include -std=gnu99 -DHAVE_LIBUSB -D__LIBRFID__ -DLIBRFID_STATIC -DENABLE_OPENPCD -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -fPIC -DPIC -c rfid_proto_tagit.c -fPIC -DPIC -o .libs/rfid_proto_tagit.o rfid_proto_tagit.c: In function 'tagit_read': rfid_proto_tagit.c:62:13: warning: unused variable 'ret' [-Wunused-variable] 62 | int ret; | ^~~ rfid_proto_tagit.c:61:23: warning: unused variable 'tx' [-Wunused-variable] 61 | unsigned char tx[2]; | ^~ rfid_proto_tagit.c:60:22: warning: unused variable 'real_rx_len' [-Wunused-variable] 60 | unsigned int real_rx_len = sizeof(rx_buf); | ^~~~~~~~~~~ rfid_proto_tagit.c: In function 'tagit_write': rfid_proto_tagit.c:76:13: warning: unused variable 'ret' [-Wunused-variable] 76 | int ret; | ^~~ rfid_proto_tagit.c:75:22: warning: unused variable 'rx_len' [-Wunused-variable] 75 | unsigned int rx_len = sizeof(rx); | ^~~~~~ rfid_proto_tagit.c:73:23: warning: unused variable 'tx' [-Wunused-variable] 73 | unsigned char tx[6]; | ^~ rfid_proto_tagit.c:72:22: warning: unused variable 'i' [-Wunused-variable] 72 | unsigned int i; | ^ make[1]: Leaving directory '/usr/src/RPM/BUILD/librfid-0.2.0/src' make[1]: Entering directory '/usr/src/RPM/BUILD/librfid-0.2.0/src' /bin/sh ../libtool --tag=CC --mode=compile x86_64-alt-linux-gcc -DPACKAGE_NAME=\"\" -DPACKAGE_TARNAME=\"\" -DPACKAGE_VERSION=\"\" -DPACKAGE_STRING=\"\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE=\"librfid\" -DVERSION=\"0.2.0\" -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -DHAVE_DLFCN_H=1 -I. -I. -I../include -std=gnu99 -DHAVE_LIBUSB -D__LIBRFID__ -DLIBRFID_STATIC -DENABLE_OPENPCD -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -fPIC -DPIC -c -o rfid.lo rfid.c x86_64-alt-linux-gcc -DPACKAGE_NAME=\"\" -DPACKAGE_TARNAME=\"\" -DPACKAGE_VERSION=\"\" -DPACKAGE_STRING=\"\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE=\"librfid\" -DVERSION=\"0.2.0\" -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -DHAVE_DLFCN_H=1 -I. -I. -I../include -std=gnu99 -DHAVE_LIBUSB -D__LIBRFID__ -DLIBRFID_STATIC -DENABLE_OPENPCD -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -fPIC -DPIC -c rfid.c -fPIC -DPIC -o .libs/rfid.o rfid.c: In function 'rfid_hexdump': rfid.c:41:25: warning: variable 'left' set but not used [-Wunused-but-set-variable] 41 | unsigned int i, left; | ^~~~ make[1]: Leaving directory '/usr/src/RPM/BUILD/librfid-0.2.0/src' make[1]: Entering directory '/usr/src/RPM/BUILD/librfid-0.2.0/src' /bin/sh ../libtool --tag=CC --mode=compile x86_64-alt-linux-gcc -DPACKAGE_NAME=\"\" -DPACKAGE_TARNAME=\"\" -DPACKAGE_VERSION=\"\" -DPACKAGE_STRING=\"\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE=\"librfid\" -DVERSION=\"0.2.0\" -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -DHAVE_DLFCN_H=1 -I. -I. -I../include -std=gnu99 -DHAVE_LIBUSB -D__LIBRFID__ -DLIBRFID_STATIC -DENABLE_OPENPCD -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -fPIC -DPIC -c -o rfid_proto_mifare_ul.lo rfid_proto_mifare_ul.c x86_64-alt-linux-gcc -DPACKAGE_NAME=\"\" -DPACKAGE_TARNAME=\"\" -DPACKAGE_VERSION=\"\" -DPACKAGE_STRING=\"\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE=\"librfid\" -DVERSION=\"0.2.0\" -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -DHAVE_DLFCN_H=1 -I. -I. -I../include -std=gnu99 -DHAVE_LIBUSB -D__LIBRFID__ -DLIBRFID_STATIC -DENABLE_OPENPCD -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -fPIC -DPIC -c rfid_proto_mifare_ul.c -fPIC -DPIC -o .libs/rfid_proto_mifare_ul.o make[1]: Leaving directory '/usr/src/RPM/BUILD/librfid-0.2.0/src' make[1]: Entering directory '/usr/src/RPM/BUILD/librfid-0.2.0/src' /bin/sh ../libtool --tag=CC --mode=compile x86_64-alt-linux-gcc -DPACKAGE_NAME=\"\" -DPACKAGE_TARNAME=\"\" -DPACKAGE_VERSION=\"\" -DPACKAGE_STRING=\"\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE=\"librfid\" -DVERSION=\"0.2.0\" -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -DHAVE_DLFCN_H=1 -I. -I. -I../include -std=gnu99 -DHAVE_LIBUSB -D__LIBRFID__ -DLIBRFID_STATIC -DENABLE_OPENPCD -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -fPIC -DPIC -c -o rfid_reader_rc632_common.lo rfid_reader_rc632_common.c x86_64-alt-linux-gcc -DPACKAGE_NAME=\"\" -DPACKAGE_TARNAME=\"\" -DPACKAGE_VERSION=\"\" -DPACKAGE_STRING=\"\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE=\"librfid\" -DVERSION=\"0.2.0\" -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -DHAVE_DLFCN_H=1 -I. -I. -I../include -std=gnu99 -DHAVE_LIBUSB -D__LIBRFID__ -DLIBRFID_STATIC -DENABLE_OPENPCD -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -fPIC -DPIC -c rfid_reader_rc632_common.c -fPIC -DPIC -o .libs/rfid_reader_rc632_common.o make[1]: Leaving directory '/usr/src/RPM/BUILD/librfid-0.2.0/src' make[1]: Entering directory '/usr/src/RPM/BUILD/librfid-0.2.0/src' /bin/sh ../libtool --tag=CC --mode=compile x86_64-alt-linux-gcc -DPACKAGE_NAME=\"\" -DPACKAGE_TARNAME=\"\" -DPACKAGE_VERSION=\"\" -DPACKAGE_STRING=\"\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE=\"librfid\" -DVERSION=\"0.2.0\" -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -DHAVE_DLFCN_H=1 -I. -I. -I../include -std=gnu99 -DHAVE_LIBUSB -D__LIBRFID__ -DLIBRFID_STATIC -DENABLE_OPENPCD -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -fPIC -DPIC -c -o rfid_protocol.lo rfid_protocol.c x86_64-alt-linux-gcc -DPACKAGE_NAME=\"\" -DPACKAGE_TARNAME=\"\" -DPACKAGE_VERSION=\"\" -DPACKAGE_STRING=\"\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE=\"librfid\" -DVERSION=\"0.2.0\" -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -DHAVE_DLFCN_H=1 -I. -I. -I../include -std=gnu99 -DHAVE_LIBUSB -D__LIBRFID__ -DLIBRFID_STATIC -DENABLE_OPENPCD -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -fPIC -DPIC -c rfid_protocol.c -fPIC -DPIC -o .libs/rfid_protocol.o rfid_protocol.c: In function 'rfid_protocol_getopt': rfid_protocol.c:115:32: warning: unused variable 'optchar' [-Wunused-variable] 115 | unsigned char *optchar = optval; | ^~~~~~~ make[1]: Leaving directory '/usr/src/RPM/BUILD/librfid-0.2.0/src' make[1]: Entering directory '/usr/src/RPM/BUILD/librfid-0.2.0/src' /bin/sh ../libtool --tag=CC --mode=compile x86_64-alt-linux-gcc -DPACKAGE_NAME=\"\" -DPACKAGE_TARNAME=\"\" -DPACKAGE_VERSION=\"\" -DPACKAGE_STRING=\"\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE=\"librfid\" -DVERSION=\"0.2.0\" -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -DHAVE_DLFCN_H=1 -I. -I. -I../include -std=gnu99 -DHAVE_LIBUSB -D__LIBRFID__ -DLIBRFID_STATIC -DENABLE_OPENPCD -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -fPIC -DPIC -c -o rfid_proto_mifare_classic.lo rfid_proto_mifare_classic.c x86_64-alt-linux-gcc -DPACKAGE_NAME=\"\" -DPACKAGE_TARNAME=\"\" -DPACKAGE_VERSION=\"\" -DPACKAGE_STRING=\"\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE=\"librfid\" -DVERSION=\"0.2.0\" -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -DHAVE_DLFCN_H=1 -I. -I. -I../include -std=gnu99 -DHAVE_LIBUSB -D__LIBRFID__ -DLIBRFID_STATIC -DENABLE_OPENPCD -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -fPIC -DPIC -c rfid_proto_mifare_classic.c -fPIC -DPIC -o .libs/rfid_proto_mifare_classic.o make[1]: Leaving directory '/usr/src/RPM/BUILD/librfid-0.2.0/src' make[1]: Entering directory '/usr/src/RPM/BUILD/librfid-0.2.0/src' /bin/sh ../libtool --tag=CC --mode=compile x86_64-alt-linux-gcc -DPACKAGE_NAME=\"\" -DPACKAGE_TARNAME=\"\" -DPACKAGE_VERSION=\"\" -DPACKAGE_STRING=\"\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE=\"librfid\" -DVERSION=\"0.2.0\" -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -DHAVE_DLFCN_H=1 -I. -I. -I../include -std=gnu99 -DHAVE_LIBUSB -D__LIBRFID__ -DLIBRFID_STATIC -DENABLE_OPENPCD -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -fPIC -DPIC -c -o rfid_layer2_iso14443a.lo rfid_layer2_iso14443a.c x86_64-alt-linux-gcc -DPACKAGE_NAME=\"\" -DPACKAGE_TARNAME=\"\" -DPACKAGE_VERSION=\"\" -DPACKAGE_STRING=\"\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE=\"librfid\" -DVERSION=\"0.2.0\" -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -DHAVE_DLFCN_H=1 -I. -I. -I../include -std=gnu99 -DHAVE_LIBUSB -D__LIBRFID__ -DLIBRFID_STATIC -DENABLE_OPENPCD -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -fPIC -DPIC -c rfid_layer2_iso14443a.c -fPIC -DPIC -o .libs/rfid_layer2_iso14443a.o rfid_layer2_iso14443a.c: In function 'iso14443a_anticol': rfid_layer2_iso14443a.c:130:15: warning: unused variable 'aqptr' [-Wunused-variable] 130 | char *aqptr = (char *) atqa; | ^~~~~ rfid_layer2_iso14443a.c:123:22: warning: variable 'uid_size' set but not used [-Wunused-but-set-variable] 123 | unsigned int uid_size; | ^~~~~~~~ make[1]: Leaving directory '/usr/src/RPM/BUILD/librfid-0.2.0/src' make[1]: Entering directory '/usr/src/RPM/BUILD/librfid-0.2.0/src' /bin/sh ../libtool --tag=CC --mode=compile x86_64-alt-linux-gcc -DPACKAGE_NAME=\"\" -DPACKAGE_TARNAME=\"\" -DPACKAGE_VERSION=\"\" -DPACKAGE_STRING=\"\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE=\"librfid\" -DVERSION=\"0.2.0\" -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -DHAVE_DLFCN_H=1 -I. -I. -I../include -std=gnu99 -DHAVE_LIBUSB -D__LIBRFID__ -DLIBRFID_STATIC -DENABLE_OPENPCD -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -fPIC -DPIC -c -o rfid_layer2_iso14443b.lo rfid_layer2_iso14443b.c x86_64-alt-linux-gcc -DPACKAGE_NAME=\"\" -DPACKAGE_TARNAME=\"\" -DPACKAGE_VERSION=\"\" -DPACKAGE_STRING=\"\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE=\"librfid\" -DVERSION=\"0.2.0\" -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -DHAVE_DLFCN_H=1 -I. -I. -I../include -std=gnu99 -DHAVE_LIBUSB -D__LIBRFID__ -DLIBRFID_STATIC -DENABLE_OPENPCD -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -fPIC -DPIC -c rfid_layer2_iso14443b.c -fPIC -DPIC -o .libs/rfid_layer2_iso14443b.o rfid_layer2_iso14443b.c: In function 'transceive_attrib': rfid_layer2_iso14443b.c:231:1: warning: label 'out_attrib' defined but not used [-Wunused-label] 231 | out_attrib: | ^~~~~~~~~~ rfid_layer2_iso14443b.c: In function 'iso14443b_setopt': rfid_layer2_iso14443b.c:380:9: warning: label 'defaukt' defined but not used [-Wunused-label] 380 | defaukt: | ^~~~~~~ make[1]: Leaving directory '/usr/src/RPM/BUILD/librfid-0.2.0/src' make[1]: Entering directory '/usr/src/RPM/BUILD/librfid-0.2.0/src' /bin/sh ../libtool --tag=CC --mode=compile x86_64-alt-linux-gcc -DPACKAGE_NAME=\"\" -DPACKAGE_TARNAME=\"\" -DPACKAGE_VERSION=\"\" -DPACKAGE_STRING=\"\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE=\"librfid\" -DVERSION=\"0.2.0\" -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -DHAVE_DLFCN_H=1 -I. -I. -I../include -std=gnu99 -DHAVE_LIBUSB -D__LIBRFID__ -DLIBRFID_STATIC -DENABLE_OPENPCD -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -fPIC -DPIC -c -o rfid_proto_tcl.lo rfid_proto_tcl.c x86_64-alt-linux-gcc -DPACKAGE_NAME=\"\" -DPACKAGE_TARNAME=\"\" -DPACKAGE_VERSION=\"\" -DPACKAGE_STRING=\"\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE=\"librfid\" -DVERSION=\"0.2.0\" -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -DHAVE_DLFCN_H=1 -I. -I. -I../include -std=gnu99 -DHAVE_LIBUSB -D__LIBRFID__ -DLIBRFID_STATIC -DENABLE_OPENPCD -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -fPIC -DPIC -c rfid_proto_tcl.c -fPIC -DPIC -o .libs/rfid_proto_tcl.o rfid_proto_tcl.c: In function 'tcl_transceive': rfid_proto_tcl.c:662:30: warning: unused variable 'prlg_len' [-Wunused-variable] 662 | unsigned int prlg_len; | ^~~~~~~~ rfid_proto_tcl.c:618:22: warning: variable 'ack_len' set but not used [-Wunused-but-set-variable] 618 | unsigned int ack_len; | ^~~~~~~ rfid_proto_tcl.c: In function 'di_to_speed': rfid_proto_tcl.c:257:1: warning: control reaches end of non-void function [-Wreturn-type] 257 | } | ^ make[1]: Leaving directory '/usr/src/RPM/BUILD/librfid-0.2.0/src' make[1]: Entering directory '/usr/src/RPM/BUILD/librfid-0.2.0/src' /bin/sh ../libtool --tag=CC --mode=compile x86_64-alt-linux-gcc -DPACKAGE_NAME=\"\" -DPACKAGE_TARNAME=\"\" -DPACKAGE_VERSION=\"\" -DPACKAGE_STRING=\"\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE=\"librfid\" -DVERSION=\"0.2.0\" -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -DHAVE_DLFCN_H=1 -I. -I. -I../include -std=gnu99 -DHAVE_LIBUSB -D__LIBRFID__ -DLIBRFID_STATIC -DENABLE_OPENPCD -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -fPIC -DPIC -c -o rfid_asic_rc632.lo rfid_asic_rc632.c x86_64-alt-linux-gcc -DPACKAGE_NAME=\"\" -DPACKAGE_TARNAME=\"\" -DPACKAGE_VERSION=\"\" -DPACKAGE_STRING=\"\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE=\"librfid\" -DVERSION=\"0.2.0\" -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -DHAVE_DLFCN_H=1 -I. -I. -I../include -std=gnu99 -DHAVE_LIBUSB -D__LIBRFID__ -DLIBRFID_STATIC -DENABLE_OPENPCD -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -fPIC -DPIC -c rfid_asic_rc632.c -fPIC -DPIC -o .libs/rfid_asic_rc632.o In file included from rfid_asic_rc632.c:31: rfid_asic_rc632.c: In function 'best_prescaler': ../include/librfid/rfid.h:35:45: warning: format '%u' expects argument of type 'unsigned int', but argument 6 has type 'u_int64_t' {aka 'long unsigned int'} [-Wformat=] 35 | #define DEBUGP(x, args ...) fprintf(stderr, "%s(%d):%s: " x, __FILE__, __LINE__, __FUNCTION__, ## args) | ^~~~~~~~~~~~~ rfid_asic_rc632.c:234:9: note: in expansion of macro 'DEBUGP' 234 | DEBUGP("timeout %u usec, prescaler = %u, divisor = %u\n", | ^~~~~~ rfid_asic_rc632.c: In function 'rc632_wait_idle_timer': ../include/librfid/rfid.h:35:45: warning: '0' flag ignored with precision and '%x' gnu_printf format [-Wformat=] 35 | #define DEBUGP(x, args ...) fprintf(stderr, "%s(%d):%s: " x, __FILE__, __LINE__, __FUNCTION__, ## args) | ^~~~~~~~~~~~~ ../include/librfid/rfid_asic_rc632.h:116:25: note: in expansion of macro 'DEBUGP' 116 | DEBUGP("status_flag: 0x%0.2x",foo); \ | ^~~~~~ rfid_asic_rc632.c:275:17: note: in expansion of macro 'DEBUGP_STATUS_FLAG' 275 | DEBUGP_STATUS_FLAG(stat); | ^~~~~~~~~~~~~~~~~~ ../include/librfid/rfid.h:35:45: warning: '0' flag ignored with precision and '%x' gnu_printf format [-Wformat=] 35 | #define DEBUGP(x, args ...) fprintf(stderr, "%s(%d):%s: " x, __FILE__, __LINE__, __FUNCTION__, ## args) | ^~~~~~~~~~~~~ ../include/librfid/rfid_asic_rc632.h:100:38: note: in expansion of macro 'DEBUGP' 100 | #define DEBUGP_ERROR_FLAG(value) do {DEBUGP("error_flag: 0x%0.2x",value); \ | ^~~~~~ rfid_asic_rc632.c:279:25: note: in expansion of macro 'DEBUGP_ERROR_FLAG' 279 | DEBUGP_ERROR_FLAG(err); | ^~~~~~~~~~~~~~~~~ ../include/librfid/rfid.h:35:45: warning: '0' flag ignored with precision and '%x' gnu_printf format [-Wformat=] 35 | #define DEBUGP(x, args ...) fprintf(stderr, "%s(%d):%s: " x, __FILE__, __LINE__, __FUNCTION__, ## args) | ^~~~~~~~~~~~~ ../include/librfid/rfid_asic_rc632.h:144:17: note: in expansion of macro 'DEBUGP' 144 | DEBUGP("interrupt_flag: 0x%0.2x",foo); \ | ^~~~~~ rfid_asic_rc632.c:290:25: note: in expansion of macro 'DEBUGP_INTERRUPT_FLAG' 290 | DEBUGP_INTERRUPT_FLAG(irq); | ^~~~~~~~~~~~~~~~~~~~~ rfid_asic_rc632.c: In function 'rc632_wait_idle': ../include/librfid/rfid.h:35:45: warning: '0' flag ignored with precision and '%x' gnu_printf format [-Wformat=] 35 | #define DEBUGP(x, args ...) fprintf(stderr, "%s(%d):%s: " x, __FILE__, __LINE__, __FUNCTION__, ## args) | ^~~~~~~~~~~~~ ../include/librfid/rfid_asic_rc632.h:116:25: note: in expansion of macro 'DEBUGP' 116 | DEBUGP("status_flag: 0x%0.2x",foo); \ | ^~~~~~ rfid_asic_rc632.c:329:25: note: in expansion of macro 'DEBUGP_STATUS_FLAG' 329 | DEBUGP_STATUS_FLAG(foo); | ^~~~~~~~~~~~~~~~~~ ../include/librfid/rfid.h:35:45: warning: '0' flag ignored with precision and '%x' gnu_printf format [-Wformat=] 35 | #define DEBUGP(x, args ...) fprintf(stderr, "%s(%d):%s: " x, __FILE__, __LINE__, __FUNCTION__, ## args) | ^~~~~~~~~~~~~ ../include/librfid/rfid_asic_rc632.h:100:38: note: in expansion of macro 'DEBUGP' 100 | #define DEBUGP_ERROR_FLAG(value) do {DEBUGP("error_flag: 0x%0.2x",value); \ | ^~~~~~ rfid_asic_rc632.c:333:33: note: in expansion of macro 'DEBUGP_ERROR_FLAG' 333 | DEBUGP_ERROR_FLAG(foo); | ^~~~~~~~~~~~~~~~~ ../include/librfid/rfid.h:35:45: warning: '0' flag ignored with precision and '%x' gnu_printf format [-Wformat=] 35 | #define DEBUGP(x, args ...) fprintf(stderr, "%s(%d):%s: " x, __FILE__, __LINE__, __FUNCTION__, ## args) | ^~~~~~~~~~~~~ ../include/librfid/rfid_asic_rc632.h:144:17: note: in expansion of macro 'DEBUGP' 144 | DEBUGP("interrupt_flag: 0x%0.2x",foo); \ | ^~~~~~ rfid_asic_rc632.c:338:33: note: in expansion of macro 'DEBUGP_INTERRUPT_FLAG' 338 | DEBUGP_INTERRUPT_FLAG(foo); | ^~~~~~~~~~~~~~~~~~~~~ rfid_asic_rc632.c: In function 'rc632_transmit': ../include/librfid/rfid.h:35:45: warning: format '%u' expects argument of type 'unsigned int', but argument 6 has type 'u_int64_t' {aka 'long unsigned int'} [-Wformat=] 35 | #define DEBUGP(x, args ...) fprintf(stderr, "%s(%d):%s: " x, __FILE__, __LINE__, __FUNCTION__, ## args) | ^~~~~~~~~~~~~ rfid_asic_rc632.c:371:9: note: in expansion of macro 'DEBUGP' 371 | DEBUGP("timeout=%u, tx_len=%u\n", timeout, len); | ^~~~~~ rfid_asic_rc632.c: In function 'rc632_transceive': ../include/librfid/rfid.h:35:45: warning: format '%u' expects argument of type 'unsigned int', but argument 6 has type 'u_int64_t' {aka 'long unsigned int'} [-Wformat=] 35 | #define DEBUGP(x, args ...) fprintf(stderr, "%s(%d):%s: " x, __FILE__, __LINE__, __FUNCTION__, ## args) | ^~~~~~~~~~~~~ rfid_asic_rc632.c:424:9: note: in expansion of macro 'DEBUGP' 424 | DEBUGP("timeout=%u, rx_len=%u, tx_len=%u\n", timer, *rx_len, tx_len); | ^~~~~~ ../include/librfid/rfid.h:35:45: warning: '0' flag ignored with precision and '%x' gnu_printf format [-Wformat=] 35 | #define DEBUGP(x, args ...) fprintf(stderr, "%s(%d):%s: " x, __FILE__, __LINE__, __FUNCTION__, ## args) | ^~~~~~~~~~~~~ ../include/librfid/rfid_asic_rc632.h:116:25: note: in expansion of macro 'DEBUGP' 116 | DEBUGP("status_flag: 0x%0.2x",foo); \ | ^~~~~~ rfid_asic_rc632.c:439:9: note: in expansion of macro 'DEBUGP_STATUS_FLAG' 439 | DEBUGP_STATUS_FLAG(tmp); | ^~~~~~~~~~~~~~~~~~ ../include/librfid/rfid.h:35:45: warning: '0' flag ignored with precision and '%x' gnu_printf format [-Wformat=] 35 | #define DEBUGP(x, args ...) fprintf(stderr, "%s(%d):%s: " x, __FILE__, __LINE__, __FUNCTION__, ## args) | ^~~~~~~~~~~~~ ../include/librfid/rfid_asic_rc632.h:116:25: note: in expansion of macro 'DEBUGP' 116 | DEBUGP("status_flag: 0x%0.2x",foo); \ | ^~~~~~ rfid_asic_rc632.c:441:9: note: in expansion of macro 'DEBUGP_STATUS_FLAG' 441 | DEBUGP_STATUS_FLAG(tmp); | ^~~~~~~~~~~~~~~~~~ ../include/librfid/rfid.h:35:45: warning: '0' flag ignored with precision and '%x' gnu_printf format [-Wformat=] 35 | #define DEBUGP(x, args ...) fprintf(stderr, "%s(%d):%s: " x, __FILE__, __LINE__, __FUNCTION__, ## args) | ^~~~~~~~~~~~~ ../include/librfid/rfid_asic_rc632.h:116:25: note: in expansion of macro 'DEBUGP' 116 | DEBUGP("status_flag: 0x%0.2x",foo); \ | ^~~~~~ rfid_asic_rc632.c:443:9: note: in expansion of macro 'DEBUGP_STATUS_FLAG' 443 | DEBUGP_STATUS_FLAG(tmp); | ^~~~~~~~~~~~~~~~~~ ../include/librfid/rfid.h:35:45: warning: '0' flag ignored with precision and '%x' gnu_printf format [-Wformat=] 35 | #define DEBUGP(x, args ...) fprintf(stderr, "%s(%d):%s: " x, __FILE__, __LINE__, __FUNCTION__, ## args) | ^~~~~~~~~~~~~ ../include/librfid/rfid_asic_rc632.h:100:38: note: in expansion of macro 'DEBUGP' 100 | #define DEBUGP_ERROR_FLAG(value) do {DEBUGP("error_flag: 0x%0.2x",value); \ | ^~~~~~ rfid_asic_rc632.c:445:9: note: in expansion of macro 'DEBUGP_ERROR_FLAG' 445 | DEBUGP_ERROR_FLAG(tmp); | ^~~~~~~~~~~~~~~~~ ../include/librfid/rfid.h:35:45: warning: '0' flag ignored with precision and '%x' gnu_printf format [-Wformat=] 35 | #define DEBUGP(x, args ...) fprintf(stderr, "%s(%d):%s: " x, __FILE__, __LINE__, __FUNCTION__, ## args) | ^~~~~~~~~~~~~ ../include/librfid/rfid_asic_rc632.h:116:25: note: in expansion of macro 'DEBUGP' 116 | DEBUGP("status_flag: 0x%0.2x",foo); \ | ^~~~~~ rfid_asic_rc632.c:504:25: note: in expansion of macro 'DEBUGP_STATUS_FLAG' 504 | DEBUGP_STATUS_FLAG(tmp); | ^~~~~~~~~~~~~~~~~~ ../include/librfid/rfid.h:35:45: warning: '0' flag ignored with precision and '%x' gnu_printf format [-Wformat=] 35 | #define DEBUGP(x, args ...) fprintf(stderr, "%s(%d):%s: " x, __FILE__, __LINE__, __FUNCTION__, ## args) | ^~~~~~~~~~~~~ ../include/librfid/rfid_asic_rc632.h:100:38: note: in expansion of macro 'DEBUGP' 100 | #define DEBUGP_ERROR_FLAG(value) do {DEBUGP("error_flag: 0x%0.2x",value); \ | ^~~~~~ rfid_asic_rc632.c:506:25: note: in expansion of macro 'DEBUGP_ERROR_FLAG' 506 | DEBUGP_ERROR_FLAG(tmp); | ^~~~~~~~~~~~~~~~~ rfid_asic_rc632.c: In function 'rc632_receive': ../include/librfid/rfid.h:35:45: warning: format '%u' expects argument of type 'unsigned int', but argument 6 has type 'u_int64_t' {aka 'long unsigned int'} [-Wformat=] 35 | #define DEBUGP(x, args ...) fprintf(stderr, "%s(%d):%s: " x, __FILE__, __LINE__, __FUNCTION__, ## args) | ^~~~~~~~~~~~~ rfid_asic_rc632.c:528:9: note: in expansion of macro 'DEBUGP' 528 | DEBUGP("timeout=%u, rx_len=%u\n", timer, *rx_len); | ^~~~~~ ../include/librfid/rfid.h:35:45: warning: '0' flag ignored with precision and '%x' gnu_printf format [-Wformat=] 35 | #define DEBUGP(x, args ...) fprintf(stderr, "%s(%d):%s: " x, __FILE__, __LINE__, __FUNCTION__, ## args) | ^~~~~~~~~~~~~ ../include/librfid/rfid_asic_rc632.h:116:25: note: in expansion of macro 'DEBUGP' 116 | DEBUGP("status_flag: 0x%0.2x",foo); \ | ^~~~~~ rfid_asic_rc632.c:570:25: note: in expansion of macro 'DEBUGP_STATUS_FLAG' 570 | DEBUGP_STATUS_FLAG(tmp); | ^~~~~~~~~~~~~~~~~~ ../include/librfid/rfid.h:35:45: warning: '0' flag ignored with precision and '%x' gnu_printf format [-Wformat=] 35 | #define DEBUGP(x, args ...) fprintf(stderr, "%s(%d):%s: " x, __FILE__, __LINE__, __FUNCTION__, ## args) | ^~~~~~~~~~~~~ ../include/librfid/rfid_asic_rc632.h:100:38: note: in expansion of macro 'DEBUGP' 100 | #define DEBUGP_ERROR_FLAG(value) do {DEBUGP("error_flag: 0x%0.2x",value); \ | ^~~~~~ rfid_asic_rc632.c:572:25: note: in expansion of macro 'DEBUGP_ERROR_FLAG' 572 | DEBUGP_ERROR_FLAG(tmp); | ^~~~~~~~~~~~~~~~~ rfid_asic_rc632.c:525:18: warning: unused variable 'cur_tx_len' [-Wunused-variable] 525 | int ret, cur_tx_len, i; | ^~~~~~~~~~ rfid_asic_rc632.c: In function 'rc632_calc_crc16_from': rfid_asic_rc632.c:645:9: warning: "/*" within comment [-Wcomment] 645 | /* FIXME: what to do with crc result? */ rfid_asic_rc632.c:616:35: warning: unused variable 'crc_msb' [-Wunused-variable] 616 | u_int8_t crc_lsb = 0x00 , crc_msb = 0x00; | ^~~~~~~ rfid_asic_rc632.c:616:18: warning: unused variable 'crc_lsb' [-Wunused-variable] 616 | u_int8_t crc_lsb = 0x00 , crc_msb = 0x00; | ^~~~~~~ rfid_asic_rc632.c: In function 'rc632_iso14443a_set_speed': rfid_asic_rc632.c:1154:18: warning: unused variable 'reg' [-Wunused-variable] 1154 | u_int8_t reg; | ^~~ rfid_asic_rc632.c: In function 'rc632_iso15693_transceive_ac': rfid_asic_rc632.c:1696:51: error: passing argument 5 of 'rc632_transceive' from incompatible pointer type [-Wincompatible-pointer-types] 1696 | (u_int8_t *) resp, rx_len, | ^~~~~~ | | | unsigned int * rfid_asic_rc632.c:416:28: note: expected 'u_int8_t *' {aka 'unsigned char *'} but argument is of type 'unsigned int *' 416 | u_int8_t *rx_len, | ~~~~~~~~~~^~~~~~ ../include/librfid/rfid.h:35:45: warning: '0' flag ignored with precision and '%x' gnu_printf format [-Wformat=] 35 | #define DEBUGP(x, args ...) fprintf(stderr, "%s(%d):%s: " x, __FILE__, __LINE__, __FUNCTION__, ## args) | ^~~~~~~~~~~~~ ../include/librfid/rfid_asic_rc632.h:100:38: note: in expansion of macro 'DEBUGP' 100 | #define DEBUGP_ERROR_FLAG(value) do {DEBUGP("error_flag: 0x%0.2x",value); \ | ^~~~~~ rfid_asic_rc632.c:1705:9: note: in expansion of macro 'DEBUGP_ERROR_FLAG' 1705 | DEBUGP_ERROR_FLAG(error_flag); | ^~~~~~~~~~~~~~~~~ rfid_asic_rc632.c:1687:26: warning: unused variable 'mask_len_bytes' [-Wunused-variable] 1687 | int ret, tx_len, mask_len_bytes; | ^~~~~~~~~~~~~~ rfid_asic_rc632.c:1687:18: warning: unused variable 'tx_len' [-Wunused-variable] 1687 | int ret, tx_len, mask_len_bytes; | ^~~~~~ rfid_asic_rc632.c: At top level: rfid_asic_rc632.c:1972:1: warning: 'rc632_mifare_transceive' defined but not used [-Wunused-function] 1972 | rc632_mifare_transceive(struct rfid_asic_handle *handle, | ^~~~~~~~~~~~~~~~~~~~~~~ rfid_asic_rc632.c:1667:13: warning: 'uuid_reversecpy' defined but not used [-Wunused-function] 1667 | static void uuid_reversecpy(unsigned char* out, unsigned char* in, int len) | ^~~~~~~~~~~~~~~ rfid_asic_rc632.c:1587:1: warning: 'rc632_iso15693_icl_init' defined but not used [-Wunused-function] 1587 | rc632_iso15693_icl_init(struct rfid_asic_handle *h) | ^~~~~~~~~~~~~~~~~~~~~~~ rfid_asic_rc632.c:1532:29: warning: 'icode1_fast_patch' defined but not used [-Wunused-variable] 1532 | static struct register_file icode1_fast_patch[] = { | ^~~~~~~~~~~~~~~~~ rfid_asic_rc632.c:859:1: warning: 'rc632_iso14443a_fini' defined but not used [-Wunused-function] 859 | rc632_iso14443a_fini(struct iso14443a_handle *handle_14443) | ^~~~~~~~~~~~~~~~~~~~ rfid_asic_rc632.c:673:1: warning: 'generic_fifo_read' defined but not used [-Wunused-function] 673 | generic_fifo_read() | ^~~~~~~~~~~~~~~~~ rfid_asic_rc632.c:666:1: warning: 'generic_fifo_write' defined but not used [-Wunused-function] 666 | generic_fifo_write() | ^~~~~~~~~~~~~~~~~~ rfid_asic_rc632.c:613:1: warning: 'rc632_calc_crc16_from' defined but not used [-Wunused-function] 613 | rc632_calc_crc16_from(struct rfid_asic_handle *handle) | ^~~~~~~~~~~~~~~~~~~~~ rfid_asic_rc632.c:584:1: warning: 'rc632_read_eeprom' defined but not used [-Wunused-function] 584 | rc632_read_eeprom(struct rfid_asic_handle *handle) | ^~~~~~~~~~~~~~~~~ rfid_asic_rc632.c:520:1: warning: 'rc632_receive' defined but not used [-Wunused-function] 520 | rc632_receive(struct rfid_asic_handle *handle, | ^~~~~~~~~~~~~ rfid_asic_rc632.c:363:1: warning: 'rc632_transmit' defined but not used [-Wunused-function] 363 | rc632_transmit(struct rfid_asic_handle *handle, | ^~~~~~~~~~~~~~ make[1]: *** [Makefile:406: rfid_asic_rc632.lo] Error 1 make[1]: Leaving directory '/usr/src/RPM/BUILD/librfid-0.2.0/src' make[1]: Entering directory '/usr/src/RPM/BUILD/librfid-0.2.0/src' /bin/sh ../libtool --tag=CC --mode=compile x86_64-alt-linux-gcc -DPACKAGE_NAME=\"\" -DPACKAGE_TARNAME=\"\" -DPACKAGE_VERSION=\"\" -DPACKAGE_STRING=\"\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE=\"librfid\" -DVERSION=\"0.2.0\" -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -DHAVE_DLFCN_H=1 -I. -I. -I../include -std=gnu99 -DHAVE_LIBUSB -D__LIBRFID__ -DLIBRFID_STATIC -DENABLE_OPENPCD -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -fPIC -DPIC -c -o rfid_access_mifare_classic.lo rfid_access_mifare_classic.c x86_64-alt-linux-gcc -DPACKAGE_NAME=\"\" -DPACKAGE_TARNAME=\"\" -DPACKAGE_VERSION=\"\" -DPACKAGE_STRING=\"\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE=\"librfid\" -DVERSION=\"0.2.0\" -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -DHAVE_DLFCN_H=1 -I. -I. -I../include -std=gnu99 -DHAVE_LIBUSB -D__LIBRFID__ -DLIBRFID_STATIC -DENABLE_OPENPCD -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -fPIC -DPIC -c rfid_access_mifare_classic.c -fPIC -DPIC -o .libs/rfid_access_mifare_classic.o make[1]: Leaving directory '/usr/src/RPM/BUILD/librfid-0.2.0/src' make[1]: Entering directory '/usr/src/RPM/BUILD/librfid-0.2.0/src' /bin/sh ../libtool --tag=CC --mode=compile x86_64-alt-linux-gcc -DPACKAGE_NAME=\"\" -DPACKAGE_TARNAME=\"\" -DPACKAGE_VERSION=\"\" -DPACKAGE_STRING=\"\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE=\"librfid\" -DVERSION=\"0.2.0\" -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -DHAVE_DLFCN_H=1 -I. -I. -I../include -std=gnu99 -DHAVE_LIBUSB -D__LIBRFID__ -DLIBRFID_STATIC -DENABLE_OPENPCD -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -fPIC -DPIC -c -o rfid_reader_openpcd.lo rfid_reader_openpcd.c x86_64-alt-linux-gcc -DPACKAGE_NAME=\"\" -DPACKAGE_TARNAME=\"\" -DPACKAGE_VERSION=\"\" -DPACKAGE_STRING=\"\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE=\"librfid\" -DVERSION=\"0.2.0\" -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -DHAVE_DLFCN_H=1 -I. -I. -I../include -std=gnu99 -DHAVE_LIBUSB -D__LIBRFID__ -DLIBRFID_STATIC -DENABLE_OPENPCD -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -fPIC -DPIC -c rfid_reader_openpcd.c -fPIC -DPIC -o .libs/rfid_reader_openpcd.o rfid_reader_openpcd.c: In function 'openpcd_send_command': rfid_reader_openpcd.c:77:13: warning: unused variable 'ret' [-Wunused-variable] 77 | int ret; | ^~~ rfid_reader_openpcd.c: In function 'openpcd_getopt': rfid_reader_openpcd.c:358:13: warning: unused variable 'rc' [-Wunused-variable] 358 | int rc; | ^~ rfid_reader_openpcd.c: In function 'openpcd_close': rfid_reader_openpcd.c:447:44: warning: unused variable 'rath' [-Wunused-variable] 447 | struct rfid_asic_transport_handle *rath = rh->ah->rath; | ^~~~ rfid_reader_openpcd.c: At top level: rfid_reader_openpcd.c:279:12: warning: 'openpcd_set_environment' defined but not used [-Wunused-function] 279 | static int openpcd_set_environment(struct rfid_reader_handle *rh, | ^~~~~~~~~~~~~~~~~~~~~~~ rfid_reader_openpcd.c:257:12: warning: 'openpcd_get_environment' defined but not used [-Wunused-function] 257 | static int openpcd_get_environment(struct rfid_reader_handle *rh, | ^~~~~~~~~~~~~~~~~~~~~~~ make[1]: Leaving directory '/usr/src/RPM/BUILD/librfid-0.2.0/src' make: *** [Makefile:271: all-recursive] Error 1 error: Bad exit status from /usr/src/tmp/rpm-tmp.4390 (%build) RPM build errors: Bad exit status from /usr/src/tmp/rpm-tmp.4390 (%build) Command exited with non-zero status 1 2.10user 4.73system 0:03.88elapsed 175%CPU (0avgtext+0avgdata 24576maxresident)k 0inputs+0outputs (0major+828048minor)pagefaults 0swaps hsh-rebuild: rebuild of `librfid-0.2.0-alt3_22.src.rpm' failed. Command exited with non-zero status 1 3.10user 2.72system 0:12.94elapsed 44%CPU (0avgtext+0avgdata 136020maxresident)k 80inputs+0outputs (0major+201517minor)pagefaults 0swaps