<86>Apr 14 01:37:54 userdel[105628]: delete user 'rooter' <86>Apr 14 01:37:54 userdel[105628]: removed shadow group 'rooter' owned by 'rooter' <86>Apr 14 01:37:54 groupadd[105695]: group added to /etc/group: name=rooter, GID=663 <86>Apr 14 01:37:54 groupadd[105695]: group added to /etc/gshadow: name=rooter <86>Apr 14 01:37:54 groupadd[105695]: new group: name=rooter, GID=663 <86>Apr 14 01:37:54 useradd[105711]: new user: name=rooter, UID=663, GID=663, home=/root, shell=/bin/bash <86>Apr 14 01:37:54 userdel[105734]: delete user 'builder' <86>Apr 14 01:37:54 userdel[105734]: removed group 'builder' owned by 'builder' <86>Apr 14 01:37:54 userdel[105734]: removed shadow group 'builder' owned by 'builder' <86>Apr 14 01:37:54 groupadd[105749]: group added to /etc/group: name=builder, GID=664 <86>Apr 14 01:37:54 groupadd[105749]: group added to /etc/gshadow: name=builder <86>Apr 14 01:37:54 groupadd[105749]: new group: name=builder, GID=664 <86>Apr 14 01:37:54 useradd[105761]: new user: name=builder, UID=664, GID=664, home=/usr/src, shell=/bin/bash <13>Apr 14 01:37:56 rpmi: libcom_err-1.42.13-alt2 1449075846 installed <13>Apr 14 01:37:56 rpmi: libverto-0.2.6-alt1_6 1455633234 installed <13>Apr 14 01:37:56 rpmi: libverto-devel-0.2.6-alt1_6 1455633234 installed <13>Apr 14 01:37:56 rpmi: libcom_err-devel-1.42.13-alt2 1449075846 installed <13>Apr 14 01:37:56 rpmi: libkeyutils-1.5.10-alt0.M80P.2 p8+216694.100.6.1 1547827915 installed <13>Apr 14 01:37:56 rpmi: gcc-c++-common-1.4.20-alt1 1432315196 installed <13>Apr 14 01:37:56 rpmi: libstdc++5-devel-5.3.1-alt3.M80P.1 p8+225520.100.3.1 1553688800 installed <13>Apr 14 01:37:57 rpmi: ca-certificates-2016.02.25-alt1 1462368370 installed <13>Apr 14 01:37:57 rpmi: libcrypto10-1.0.2n-alt0.M80P.1 1512766129 installed <13>Apr 14 01:37:57 rpmi: gcc5-c++-5.3.1-alt3.M80P.1 p8+225520.100.3.1 1553688800 installed <86>Apr 14 01:37:57 groupadd[120188]: group added to /etc/group: name=_keytab, GID=499 <86>Apr 14 01:37:57 groupadd[120188]: group added to /etc/gshadow: name=_keytab <86>Apr 14 01:37:57 groupadd[120188]: new group: name=_keytab, GID=499 <13>Apr 14 01:37:57 rpmi: libkrb5-1.14.6-alt1.M80P.1 1525355673 installed <13>Apr 14 01:37:57 rpmi: libssl10-1.0.2n-alt0.M80P.1 1512766129 installed <86>Apr 14 01:37:57 groupadd[120510]: group added to /etc/group: name=sasl, GID=498 <86>Apr 14 01:37:57 groupadd[120510]: group added to /etc/gshadow: name=sasl <86>Apr 14 01:37:57 groupadd[120510]: new group: name=sasl, GID=498 <13>Apr 14 01:37:57 rpmi: libsasl2-3-2.1.26-alt7 1479477445 installed <13>Apr 14 01:37:57 rpmi: libldap-2.4.45-alt1.M80P.1 1513980376 installed <13>Apr 14 01:37:57 rpmi: libkrb5-ldap-1.14.6-alt1.M80P.1 1525355673 installed <13>Apr 14 01:37:57 rpmi: libkrb5-devel-1.14.6-alt1.M80P.1 1525355673 installed <13>Apr 14 01:37:57 rpmi: libssl-devel-1.0.2n-alt0.M80P.1 1512766129 installed Installing ipmiutil-2.8.3-alt2.src.rpm Building target platforms: x86_64 Building for target x86_64 Executing(%prep): /bin/sh -e /usr/src/tmp/rpm-tmp.16558 + umask 022 + /bin/mkdir -p /usr/src/RPM/BUILD + cd /usr/src/RPM/BUILD + cd /usr/src/RPM/BUILD + rm -rf ipmiutil-2.8.3 + echo 'Source #0 (ipmiutil-2.8.3.tar.gz):' Source #0 (ipmiutil-2.8.3.tar.gz): + /bin/gzip -dc /usr/src/RPM/SOURCES/ipmiutil-2.8.3.tar.gz + /bin/tar -xf - + cd ipmiutil-2.8.3 + /bin/chmod -c -Rf u+rwX,go-w . + exit 0 Executing(%build): /bin/sh -e /usr/src/tmp/rpm-tmp.16558 + umask 022 + /bin/mkdir -p /usr/src/RPM/BUILD + cd /usr/src/RPM/BUILD + cd ipmiutil-2.8.3 + CFLAGS='-pipe -Wall -g -O2' + export CFLAGS + CXXFLAGS='-pipe -Wall -g -O2' + export CXXFLAGS + FFLAGS='-pipe -Wall -g -O2' + export FFLAGS + '[' -n '' ']' ++ printf %s '-pipe -Wall -g -O2' ++ 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 --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/lib --sharedstatedir=/var/lib --mandir=/usr/share/man --infodir=/usr/share/info --disable-dependency-tracking --without-included-gettext checking for a BSD-compatible install... /bin/install -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 ANSI C... none needed checking for style of include used by make... GNU checking dependency style of x86_64-alt-linux-gcc... none checking for a BSD-compatible install... /bin/install -c checking whether ln -s works... yes checking whether make sets $(MAKE)... (cached) yes checking for sed... sed checking how to run the C preprocessor... x86_64-alt-linux-gcc -E checking for egrep... grep -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 fcntl.h usability... yes checking fcntl.h presence... yes checking for fcntl.h... yes checking sys/ioctl.h usability... yes checking sys/ioctl.h presence... yes checking for sys/ioctl.h... yes checking syslog.h usability... yes checking syslog.h presence... yes checking for syslog.h... yes checking for unistd.h... (cached) yes checking for an ANSI C-conforming const... yes checking for off_t... yes checking whether time.h and sys/time.h may both be included... yes checking whether struct tm is in sys/time.h or time.h... time.h checking whether x86_64-alt-linux-gcc needs -traditional... no checking for stdlib.h... (cached) yes checking for unistd.h... (cached) yes checking for getpagesize... yes checking for working mmap... yes checking for strftime... yes checking for vprintf... yes checking for _doprnt... no checking for select... yes checking for socket... yes checking for strcspn... yes checking for strdup... yes checking for strspn... yes checking for strtoul... yes checking for memcpy... yes checking build system type... x86_64-alt-linux-gnu checking host system type... x86_64-alt-linux-gnu checking for a sed that does not truncate output... /bin/sed 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... nm checking how to recognise dependent libraries... (cached) pass_all 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-f77... no checking for x86_64-alt-linux-xlf... no checking for x86_64-alt-linux-frt... no checking for x86_64-alt-linux-pgf77... 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-f90... no checking for x86_64-alt-linux-xlf90... no checking for x86_64-alt-linux-pgf90... no checking for x86_64-alt-linux-epcf90... no checking for x86_64-alt-linux-f95... no checking for x86_64-alt-linux-fort... no checking for x86_64-alt-linux-xlf95... 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-gfortran... no checking for g77... no checking for f77... no checking for xlf... no checking for frt... no checking for pgf77... no checking for fort77... no checking for fl32... no checking for af77... no checking for f90... no checking for xlf90... no checking for pgf90... no checking for epcf90... no checking for f95... no checking for fort... no checking for xlf95... no checking for ifc... no checking for efc... no checking for pgf95... no checking for lf95... no checking for gfortran... 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... 32768 checking command to parse nm output from x86_64-alt-linux-gcc object... ok 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 static flag works... yes 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 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... yes 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++ 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 checking whether stripping libraries is possible... yes appending configuration tag "F77" to libtool libdir set to /usr/lib64 Detected Red Hat Linux configure: creating ./config.status config.status: creating Makefile config.status: creating util/Makefile config.status: creating lib/lanplus/Makefile config.status: creating doc/Makefile config.status: creating scripts/Makefile config.status: creating config.h config.status: executing depfiles commands + make make: Entering directory `/usr/src/RPM/BUILD/ipmiutil-2.8.3' make all-recursive make[1]: Entering directory `/usr/src/RPM/BUILD/ipmiutil-2.8.3' Making all in doc make[2]: Entering directory `/usr/src/RPM/BUILD/ipmiutil-2.8.3/doc' make[2]: Nothing to be done for `all'. make[2]: Leaving directory `/usr/src/RPM/BUILD/ipmiutil-2.8.3/doc' Making all in scripts make[2]: Entering directory `/usr/src/RPM/BUILD/ipmiutil-2.8.3/scripts' make[2]: Nothing to be done for `all'. make[2]: Leaving directory `/usr/src/RPM/BUILD/ipmiutil-2.8.3/scripts' Making all in lib make[2]: Entering directory `/usr/src/RPM/BUILD/ipmiutil-2.8.3/lib' if [ -f libipmiapi32.a ]; then \ rm -f libipmiapi.a; \ if [ "`uname -m`" = "x86_64" ]; then \ if [ -f /etc/SuSE-release ]; then \ cp -f libipmiapi64.a.suse libipmiapi.a; \ else cp -f libipmiapi64.a.redhat libipmiapi.a; fi \ else cp -f libipmiapi32.a libipmiapi.a; fi \ fi cd lanplus; make clean; make make[3]: Entering directory `/usr/src/RPM/BUILD/ipmiutil-2.8.3/lib/lanplus' rm -rf obj rm -f libipmi_lanplus.a *.o *.so make[3]: Leaving directory `/usr/src/RPM/BUILD/ipmiutil-2.8.3/lib/lanplus' make[3]: Entering directory `/usr/src/RPM/BUILD/ipmiutil-2.8.3/lib/lanplus' x86_64-alt-linux-gcc -DHAVE_CONFIG_H -I. -I. -I../.. -I. -I./inc -DLINUX -fPIC -DHAVE_LANPLUS -pipe -Wall -g -O2 -c lanplus.c x86_64-alt-linux-gcc -DHAVE_CONFIG_H -I. -I. -I../.. -I. -I./inc -DLINUX -fPIC -DHAVE_LANPLUS -pipe -Wall -g -O2 -c lanplus_dump.c x86_64-alt-linux-gcc -DHAVE_CONFIG_H -I. -I. -I../.. -I. -I./inc -DLINUX -fPIC -DHAVE_LANPLUS -pipe -Wall -g -O2 -c lanplus_crypt.c x86_64-alt-linux-gcc -DHAVE_CONFIG_H -I. -I. -I../.. -I. -I./inc -DLINUX -fPIC -DHAVE_LANPLUS -pipe -Wall -g -O2 -c lanplus_crypt_impl.c x86_64-alt-linux-gcc -DHAVE_CONFIG_H -I. -I. -I../.. -I. -I./inc -DLINUX -fPIC -DHAVE_LANPLUS -pipe -Wall -g -O2 -c lanplus_strings.c x86_64-alt-linux-gcc -DHAVE_CONFIG_H -I. -I. -I../.. -I. -I./inc -DLINUX -fPIC -DHAVE_LANPLUS -pipe -Wall -g -O2 -c helper.c helper.c: In function 'ipmi_start_daemon': helper.c:420:10: warning: variable 'i' set but not used [-Wunused-but-set-variable] int fd, i; ^ x86_64-alt-linux-gcc -DHAVE_CONFIG_H -I. -I. -I../.. -I. -I./inc -DLINUX -fPIC -DHAVE_LANPLUS -pipe -Wall -g -O2 -c ipmi_strings.c rm -f libipmi_lanplus.a ar cru libipmi_lanplus.a lanplus.o lanplus_dump.o lanplus_crypt.o lanplus_crypt_impl.o lanplus_strings.o helper.o ipmi_strings.o ranlib libipmi_lanplus.a make[3]: Leaving directory `/usr/src/RPM/BUILD/ipmiutil-2.8.3/lib/lanplus' cp -f lanplus/libipmi_lanplus.a . # cp -f lanplus/.libs/libipmi_lanplus.so.0.0.0 libipmi_lanplus.so make[2]: Leaving directory `/usr/src/RPM/BUILD/ipmiutil-2.8.3/lib' Making all in util make[2]: Entering directory `/usr/src/RPM/BUILD/ipmiutil-2.8.3/util' x86_64-alt-linux-gcc -DHAVE_CONFIG_H -I. -I. -I.. -I.. -DLINUX -DLOCALEDIR=\"/usr/share/locale\" -I. -I.. -DMETACOMMAND -DHAVE_LANPLUS -pipe -Wall -g -O2 -c ipmiutil.c x86_64-alt-linux-gcc -DHAVE_CONFIG_H -I. -I. -I.. -I.. -DLINUX -DLOCALEDIR=\"/usr/share/locale\" -I. -I.. -DMETACOMMAND -DHAVE_LANPLUS -pipe -Wall -g -O2 -c ialarms.c x86_64-alt-linux-gcc -DHAVE_CONFIG_H -I. -I. -I.. -I.. -DLINUX -DLOCALEDIR=\"/usr/share/locale\" -I. -I.. -DMETACOMMAND -DHAVE_LANPLUS -pipe -Wall -g -O2 -c ihealth.c ihealth.c: In function 'get_frusdr_version': ihealth.c:435:9: warning: variable 'fIntel' set but not used [-Wunused-but-set-variable] char fIntel; ^ ihealth.c: In function 'get_sysinfo': ihealth.c:563:17: warning: variable 'len' set but not used [-Wunused-but-set-variable] int rlen, j, len; ^ ihealth.c: In function 'get_system_info': ihealth.c:650:33: warning: pointer targets in passing argument 4 of 'get_sysinfo' differ in signedness [-Wpointer-sign] rv = get_sysinfo(parm,i,0,&pbuf[off],&szchunk); ^ ihealth.c:559:5: note: expected 'unsigned char *' but argument is of type 'char *' int get_sysinfo(uchar parm, uchar set, uchar block, uchar *pbuf, int *szbuf) ^ ihealth.c: In function 'decode_selftest': ihealth.c:857:26: warning: pointer targets in assignment differ in signedness [-Wpointer-sign] if (stat == 0x0055) s = "(OK)"; ^ ihealth.c:859:9: warning: pointer targets in assignment differ in signedness [-Wpointer-sign] s = "(Error)"; ^ ihealth.c:862:26: warning: pointer targets in assignment differ in signedness [-Wpointer-sign] if (b & 0x80) s = "(No SEL Access)"; ^ ihealth.c:863:26: warning: pointer targets in assignment differ in signedness [-Wpointer-sign] if (b & 0x40) s = "(No SDR Access)"; ^ ihealth.c:864:26: warning: pointer targets in assignment differ in signedness [-Wpointer-sign] if (b & 0x20) s = "(No FRU Access)"; ^ ihealth.c:865:26: warning: pointer targets in assignment differ in signedness [-Wpointer-sign] if (b & 0x10) s = "(IPMB Error)"; ^ ihealth.c:866:26: warning: pointer targets in assignment differ in signedness [-Wpointer-sign] if (b & 0x08) s = "(SDR Empty)"; ^ ihealth.c:867:26: warning: pointer targets in assignment differ in signedness [-Wpointer-sign] if (b & 0x02) s = "(BootCode Corrupt)"; ^ ihealth.c:868:26: warning: pointer targets in assignment differ in signedness [-Wpointer-sign] if (b & 0x01) s = "(OpCode Corrupt)"; ^ ihealth.c:871:10: warning: pointer targets in return differ in signedness [-Wpointer-sign] return(s); ^ ihealth.c: In function 'i_health': ihealth.c:1166:33: warning: pointer targets in passing argument 2 of 'set_system_info' differ in signedness [-Wpointer-sign] ret = set_system_info(2,pname,len); ^ ihealth.c:597:5: note: expected 'unsigned char *' but argument is of type 'char *' int set_system_info(uchar parm, uchar *pbuf, int szbuf) ^ ihealth.c:1174:33: warning: pointer targets in passing argument 2 of 'set_system_info' differ in signedness [-Wpointer-sign] ret = set_system_info(3,pos,len); ^ ihealth.c:597:5: note: expected 'unsigned char *' but argument is of type 'char *' int set_system_info(uchar parm, uchar *pbuf, int szbuf) ^ ihealth.c:1182:33: warning: pointer targets in passing argument 2 of 'set_system_info' differ in signedness [-Wpointer-sign] ret = set_system_info(4,pos2,len); ^ ihealth.c:597:5: note: expected 'unsigned char *' but argument is of type 'char *' int set_system_info(uchar parm, uchar *pbuf, int szbuf) ^ x86_64-alt-linux-gcc -DHAVE_CONFIG_H -I. -I. -I.. -I.. -DLINUX -DLOCALEDIR=\"/usr/share/locale\" -I. -I.. -DMETACOMMAND -DHAVE_LANPLUS -pipe -Wall -g -O2 -c ievents.c ievents.c: In function 'decode_raw_sel': ievents.c:1936:38: warning: pointer targets in passing argument 2 of 'decode_sel_entry' differ in signedness [-Wpointer-sign] decode_sel_entry(hbuf,msg,sizeof(msg)); ^ ievents.c:1288:5: note: expected 'char *' but argument is of type 'unsigned char *' int decode_sel_entry( uchar *pevt, char *outbuf, int szbuf) ^ ievents.c:1943:38: warning: pointer targets in passing argument 2 of 'decode_sel_entry' differ in signedness [-Wpointer-sign] decode_sel_entry(hbuf,msg,sizeof(msg)); ^ ievents.c:1288:5: note: expected 'char *' but argument is of type 'unsigned char *' int decode_sel_entry( uchar *pevt, char *outbuf, int szbuf) ^ ievents.c:1915:11: warning: variable 'len' set but not used [-Wunused-but-set-variable] int len, i; ^ ievents.c: In function 'i_events': ievents.c:2249:28: warning: pointer targets in passing argument 2 of 'decode_sel_entry' differ in signedness [-Wpointer-sign] decode_sel_entry(buf,msg,sizeof(msg)); ^ ievents.c:1288:5: note: expected 'char *' but argument is of type 'unsigned char *' int decode_sel_entry( uchar *pevt, char *outbuf, int szbuf) ^ ievents.c:2260:33: warning: pointer targets in passing argument 2 of 'decode_sel_entry' differ in signedness [-Wpointer-sign] rv = decode_sel_entry(buf,msg,sizeof(msg)); ^ ievents.c:1288:5: note: expected 'char *' but argument is of type 'unsigned char *' int decode_sel_entry( uchar *pevt, char *outbuf, int szbuf) ^ ievents.c: At top level: ievents.c:676:12: warning: 'default_mem_desc' defined but not used [-Wunused-function] static int default_mem_desc(int array, int idimm, char *desc, int *psz) ^ x86_64-alt-linux-gcc -DHAVE_CONFIG_H -I. -I. -I.. -I.. -DLINUX -DLOCALEDIR=\"/usr/share/locale\" -I. -I.. -DMETACOMMAND -DHAVE_LANPLUS -pipe -Wall -g -O2 -c ifru.c ifru.c: In function 'decode_string': ifru.c:353:22: warning: pointer targets in initialization differ in signedness [-Wpointer-sign] unsigned char *d = &target[0]; ^ ifru.c:353:18: warning: unused variable 'd' [-Wunused-variable] unsigned char *d = &target[0]; ^ ifru.c: In function 'show_spd': ifru.c:495:8: warning: variable 'sz' set but not used [-Wunused-but-set-variable] int sz; ^ ifru.c: In function 'show_fru_multi': ifru.c:648:10: warning: format '%f' expects argument of type 'double', but argument 3 has type 'int' [-Wformat=] printf("\t Nominal voltage \t%c %.2f V\n", bdelim, v1 / 100); ^ ifru.c:651:10: warning: format '%f' expects argument of type 'double', but argument 3 has type 'int' [-Wformat=] printf("\t Voltage deviation \t%c + %.2f V / - %.2f V\n", ^ ifru.c:651:10: warning: format '%f' expects argument of type 'double', but argument 4 has type 'int' [-Wformat=] ifru.c:656:10: warning: format '%f' expects argument of type 'double', but argument 3 has type 'int' [-Wformat=] printf("\t Min current draw \t%c %.3f A\n", bdelim, v5/1000); ^ ifru.c:658:10: warning: format '%f' expects argument of type 'double', but argument 3 has type 'int' [-Wformat=] printf("\t Max current draw \t%c %.3f A\n", bdelim, v6/1000); ^ ifru.c:664:10: warning: format '%f' expects argument of type 'double', but argument 3 has type 'int' [-Wformat=] printf("\t Nominal voltage \t%c %.2f V\n", bdelim, v1 / 100); ^ ifru.c:667:10: warning: format '%f' expects argument of type 'double', but argument 3 has type 'int' [-Wformat=] printf("\t Min voltage allowed \t%c %.2f A\n", bdelim, v2); ^ ifru.c:668:10: warning: format '%f' expects argument of type 'double', but argument 3 has type 'int' [-Wformat=] printf("\t Max voltage allowed \t%c %.2f A\n", bdelim, v3); ^ ifru.c:672:10: warning: format '%f' expects argument of type 'double', but argument 3 has type 'int' [-Wformat=] printf("\t Min current load \t%c %.3f A\n", bdelim, v5/1000); ^ ifru.c:674:10: warning: format '%f' expects argument of type 'double', but argument 3 has type 'int' [-Wformat=] printf("\t Max current load \t%c %.3f A\n", bdelim, v6/1000); ^ ifru.c:583:14: warning: variable 'i' set but not used [-Wunused-but-set-variable] int vend, i; ^ ifru.c: In function 'write_asset': ifru.c:1032:9: warning: variable 'fdochassis' set but not used [-Wunused-but-set-variable] char fdochassis = 0; ^ ifru.c:1019:14: warning: variable 'clen' set but not used [-Wunused-but-set-variable] int alen, clen; ^ ifru.c: In function 'get_show_fru': ifru.c:1320:9: warning: variable 'fisbase' set but not used [-Wunused-but-set-variable] char fisbase = 0; ^ ifru.c: In function 'test_show_fru': ifru.c:1444:22: warning: pointer targets in passing argument 1 of 'fgets' differ in signedness [-Wpointer-sign] while (fgets(buff, 255, fp)) { ^ In file included from /usr/include/stdio.h:936:0, from ifru.c:81: /usr/include/bits/stdio2.h:253:1: note: expected 'char * restrict' but argument is of type 'unsigned char *' fgets (char *__restrict __s, int __n, FILE *__restrict __stream) ^ ifru.c:1445:25: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] len = strlen(buff); ^ In file included from ifru.c:87:0: /usr/include/string.h:394:15: note: expected 'const char *' but argument is of type 'unsigned char *' extern size_t strlen (const char *__s) ^ ifru.c:1448:18: warning: pointer targets in passing argument 1 of 'strstr' differ in signedness [-Wpointer-sign] p1 = strstr(buff,"FRU Size"); ^ In file included from ifru.c:87:0: /usr/include/string.h:337:14: note: expected 'const char *' but argument is of type 'unsigned char *' extern char *strstr (const char *__haystack, const char *__needle) ^ In file included from /usr/include/string.h:648:0, from ifru.c:87: ifru.c:1450:18: warning: pointer targets in passing argument 1 of '__builtin_strchr' differ in signedness [-Wpointer-sign] p1 = strchr(buff,','); ^ ifru.c:1450:18: note: expected 'const char *' but argument is of type 'unsigned char *' ifru.c:1454:25: warning: pointer targets in assignment differ in signedness [-Wpointer-sign] if (p2 == NULL) p2 = &buff[len]; ^ ifru.c:1459:25: warning: pointer targets in assignment differ in signedness [-Wpointer-sign] if (p2 == NULL) p2 = &buff[len]; ^ ifru.c:1466:18: warning: pointer targets in passing argument 1 of 'strstr' differ in signedness [-Wpointer-sign] p1 = strstr(buff,"FRU Header"); ^ In file included from ifru.c:87:0: /usr/include/string.h:337:14: note: expected 'const char *' but argument is of type 'unsigned char *' extern char *strstr (const char *__haystack, const char *__needle) ^ ifru.c:1471:18: warning: pointer targets in passing argument 1 of 'strstr' differ in signedness [-Wpointer-sign] p1 = strstr(buff,"FRU Body"); ^ In file included from ifru.c:87:0: /usr/include/string.h:337:14: note: expected 'const char *' but argument is of type 'unsigned char *' extern char *strstr (const char *__haystack, const char *__needle) ^ In file included from /usr/include/string.h:648:0, from ifru.c:87: ifru.c:1473:18: warning: pointer targets in passing argument 1 of '__builtin_strchr' differ in signedness [-Wpointer-sign] p1 = strchr(buff,'='); ^ ifru.c:1473:18: note: expected 'const char *' but argument is of type 'unsigned char *' ifru.c:1477:25: warning: pointer targets in assignment differ in signedness [-Wpointer-sign] if (p2 == NULL) p2 = &buff[len]; ^ ifru.c:1482:25: warning: pointer targets in assignment differ in signedness [-Wpointer-sign] if (p2 == NULL) p2 = &buff[len]; ^ In file included from /usr/include/string.h:648:0, from ifru.c:87: ifru.c:1490:18: warning: pointer targets in passing argument 1 of '__builtin_strchr' differ in signedness [-Wpointer-sign] p1 = strchr(buff,':'); ^ ifru.c:1490:18: note: expected 'const char *' but argument is of type 'unsigned char *' ifru.c: In function 'i_fru': ifru.c:1700:28: warning: pointer targets in passing argument 1 of 'ipmi_getdeviceid' differ in signedness [-Wpointer-sign] ret = ipmi_getdeviceid( DevRecord, sizeof(DevRecord),fdebug); ^ In file included from ifru.c:92:0: ipmicmd.h:448:5: note: expected 'unsigned char *' but argument is of type 'char *' int ipmi_getdeviceid(uchar *presp, int sresp, char fdebugcmd); ^ ifru.c:1722:25: warning: pointer targets in passing argument 1 of 'ipmi_getpicmg' differ in signedness [-Wpointer-sign] ret = ipmi_getpicmg( DevRecord, sizeof(DevRecord),fdebug); ^ In file included from ifru.c:92:0: ipmicmd.h:450:5: note: expected 'unsigned char *' but argument is of type 'char *' int ipmi_getpicmg(uchar *presp, int sresp, char fdebug); ^ In file included from ifru.c:93:0: ifru.c: At top level: ipicmg.h:201:20: warning: 'led_color_str' defined but not used [-Wunused-variable] static const char* led_color_str[] = { //__attribute__((unused)) = { ^ ipicmg.h:213:20: warning: 'amc_link_type_str' defined but not used [-Wunused-variable] static const char* amc_link_type_str[] = { // __attribute__((unused)) = { ^ ipicmg.h:224:20: warning: 'amc_link_type_ext_str' defined but not used [-Wunused-variable] static const char* amc_link_type_ext_str[][16]= { // __attribute__((unused)) ^ x86_64-alt-linux-gcc -DHAVE_CONFIG_H -I. -I. -I.. -I.. -DLINUX -DLOCALEDIR=\"/usr/share/locale\" -I. -I.. -DMETACOMMAND -DHAVE_LANPLUS -pipe -Wall -g -O2 -c ifru_picmg.c In file included from ifru_picmg.c:51:0: ipicmg.h:201:20: warning: 'led_color_str' defined but not used [-Wunused-variable] static const char* led_color_str[] = { //__attribute__((unused)) = { ^ ipicmg.h:213:20: warning: 'amc_link_type_str' defined but not used [-Wunused-variable] static const char* amc_link_type_str[] = { // __attribute__((unused)) = { ^ ipicmg.h:224:20: warning: 'amc_link_type_ext_str' defined but not used [-Wunused-variable] static const char* amc_link_type_ext_str[][16]= { // __attribute__((unused)) ^ x86_64-alt-linux-gcc -DHAVE_CONFIG_H -I. -I. -I.. -I.. -DLINUX -DLOCALEDIR=\"/usr/share/locale\" -I. -I.. -DMETACOMMAND -DHAVE_LANPLUS -pipe -Wall -g -O2 -c igetevent.c igetevent.c: In function 'send_mv_asy_resp': igetevent.c:582:17: warning: unused variable 'iseq' [-Wunused-variable] static uchar iseq = 0; ^ igetevent.c: In function 'get_mv_asy_event': igetevent.c:628:8: warning: variable 'ret' set but not used [-Wunused-but-set-variable] int ret = -1; ^ igetevent.c: In function 'startevent_sel': igetevent.c:718:24: warning: format '%x' expects argument of type 'unsigned int *', but argument 4 has type 'short unsigned int *' [-Wformat=] rv = fscanf(fd,"%x %x",&t,&r); ^ igetevent.c: In function 'get_event': igetevent.c:812:6: warning: variable 'fretry' set but not used [-Wunused-but-set-variable] int fretry; ^ igetevent.c: In function 'mkdaemon': igetevent.c:952:2: warning: ignoring return value of 'chdir', declared with attribute warn_unused_result [-Wunused-result] chdir("/"); ^ igetevent.c:959:9: warning: ignoring return value of 'dup', declared with attribute warn_unused_result [-Wunused-result] dup(0); dup(0); ^ igetevent.c:959:17: warning: ignoring return value of 'dup', declared with attribute warn_unused_result [-Wunused-result] dup(0); dup(0); ^ x86_64-alt-linux-gcc -DHAVE_CONFIG_H -I. -I. -I.. -I.. -DLINUX -DLOCALEDIR=\"/usr/share/locale\" -I. -I.. -DMETACOMMAND -DHAVE_LANPLUS -pipe -Wall -g -O2 -c ireset.c ireset.c: In function 'i_reset': ireset.c:581:12: warning: format '%d' expects a matching 'int' argument [-Wformat=] printf("%s: Cold_Reset error %d\n",progname); ^ x86_64-alt-linux-gcc -DHAVE_CONFIG_H -I. -I. -I.. -I.. -DLINUX -DLOCALEDIR=\"/usr/share/locale\" -I. -I.. -DMETACOMMAND -DHAVE_LANPLUS -pipe -Wall -g -O2 -c icmd.c x86_64-alt-linux-gcc -DHAVE_CONFIG_H -I. -I. -I.. -I.. -DLINUX -DLOCALEDIR=\"/usr/share/locale\" -I. -I.. -DMETACOMMAND -DHAVE_LANPLUS -pipe -Wall -g -O2 -c ilan.c ilan.c:429:30: warning: missing braces around initializer [-Wmissing-braces] uchar pef_defaults[11][21] = { /* array of first 11 default PEF entries */ ^ ilan.c:429:30: note: (near initialization for 'pef_defaults') ilan.c:516:21: warning: missing braces around initializer [-Wmissing-braces] } lanparams[NLAN] = { /* see IPMI Table 19-4 */ ^ ilan.c:516:21: note: (near initialization for 'lanparams') ilan.c:563:21: warning: missing braces around initializer [-Wmissing-braces] } serparams[NSER] = { /* see IPMI Table 20-4 */ ^ ilan.c:563:21: note: (near initialization for 'serparams') ilan.c: In function 'SetPasswd': ilan.c:703:42: warning: pointer targets in passing argument 2 of 'ipmi_cmd' differ in signedness [-Wpointer-sign] status = ipmi_cmd(GET_USER_NAME, inputData, 1, responseData, ^ In file included from ilan.c:193:0: ipmicmd.h:361:5: note: expected 'unsigned char *' but argument is of type 'char *' int ipmi_cmd(ushort cmd, uchar *pdata, int sdata, uchar *presp, ^ ilan.c:732:48: warning: pointer targets in passing argument 2 of 'ipmi_cmd' differ in signedness [-Wpointer-sign] status = ipmi_cmd(SET_USER_NAME, inputData, 17, responseData, ^ In file included from ilan.c:193:0: ipmicmd.h:361:5: note: expected 'unsigned char *' but argument is of type 'char *' int ipmi_cmd(ushort cmd, uchar *pdata, int sdata, uchar *presp, ^ ilan.c:752:49: warning: pointer targets in passing argument 2 of 'ipmi_cmd' differ in signedness [-Wpointer-sign] status = ipmi_cmd(SET_USER_PASSWORD, inputData, 2, responseData, ^ In file included from ilan.c:193:0: ipmicmd.h:361:5: note: expected 'unsigned char *' but argument is of type 'char *' int ipmi_cmd(ushort cmd, uchar *pdata, int sdata, uchar *presp, ^ ilan.c:780:47: warning: pointer targets in passing argument 2 of 'ipmi_cmd' differ in signedness [-Wpointer-sign] status = ipmi_cmd(SET_USER_PASSWORD, inputData, 2+PSW_LEN, ^ In file included from ilan.c:193:0: ipmicmd.h:361:5: note: expected 'unsigned char *' but argument is of type 'char *' int ipmi_cmd(ushort cmd, uchar *pdata, int sdata, uchar *presp, ^ ilan.c:794:47: warning: pointer targets in passing argument 2 of 'ipmi_cmd' differ in signedness [-Wpointer-sign] status = ipmi_cmd(SET_USER_PASSWORD, inputData, 2+PSW_LEN, ^ In file included from ilan.c:193:0: ipmicmd.h:361:5: note: expected 'unsigned char *' but argument is of type 'char *' int ipmi_cmd(ushort cmd, uchar *pdata, int sdata, uchar *presp, ^ ilan.c:809:47: warning: pointer targets in passing argument 2 of 'ipmi_cmd' differ in signedness [-Wpointer-sign] status = ipmi_cmd(SET_USER_ACCESS, inputData, 4, responseData, ^ In file included from ilan.c:193:0: ipmicmd.h:361:5: note: expected 'unsigned char *' but argument is of type 'char *' int ipmi_cmd(ushort cmd, uchar *pdata, int sdata, uchar *presp, ^ ilan.c: In function 'DisableUser': ilan.c:845:39: warning: pointer targets in passing argument 2 of 'ipmi_cmd' differ in signedness [-Wpointer-sign] status = ipmi_cmd(SET_USER_ACCESS, inputData, 4, responseData, ^ In file included from ilan.c:193:0: ipmicmd.h:361:5: note: expected 'unsigned char *' but argument is of type 'char *' int ipmi_cmd(ushort cmd, uchar *pdata, int sdata, uchar *presp, ^ ilan.c: In function 'GetUser': ilan.c:895:45: warning: pointer targets in passing argument 2 of 'ipmi_cmd' differ in signedness [-Wpointer-sign] status = ipmi_cmd(GET_USER_ACCESS, inputData, 2, responseData, ^ In file included from ilan.c:193:0: ipmicmd.h:361:5: note: expected 'unsigned char *' but argument is of type 'char *' int ipmi_cmd(ushort cmd, uchar *pdata, int sdata, uchar *presp, ^ ilan.c:918:46: warning: pointer targets in passing argument 2 of 'ipmi_cmd' differ in signedness [-Wpointer-sign] status = ipmi_cmd(GET_USER_NAME, inputData, 1, responseData, ^ In file included from ilan.c:193:0: ipmicmd.h:361:5: note: expected 'unsigned char *' but argument is of type 'char *' int ipmi_cmd(ushort cmd, uchar *pdata, int sdata, uchar *presp, ^ ilan.c: In function 'FindEthNum': ilan.c:1864:10: warning: pointer targets in assignment differ in signedness [-Wpointer-sign] pb = get_ifreq_mac(&ifr); ^ ilan.c: In function 'Get_IPMac_Addr': ilan.c:2701:9: warning: pointer targets in assignment differ in signedness [-Wpointer-sign] pc = &ifr.ifr_addr.sa_data[2]; ^ ilan.c:2715:12: warning: pointer targets in assignment differ in signedness [-Wpointer-sign] pc = &ifr.ifr_netmask.sa_data[2]; ^ ilan.c: In function 'i_lan': ilan.c:3915:41: warning: pointer targets in assignment differ in signedness [-Wpointer-sign] if (PefRecord.fconfig & 0x80) pc = "enabled"; ^ ilan.c:3916:16: warning: pointer targets in assignment differ in signedness [-Wpointer-sign] else pc = "disabled"; ^ ilan.c:4688:13: warning: pointer targets in passing argument 1 of 'strcpy' differ in signedness [-Wpointer-sign] strcpy(&LanRecord.data[0],rgcommunity); ^ In file included from /usr/include/features.h:368:0, from /usr/include/stdio.h:27, from ilan.c:166: /usr/include/bits/string3.h:108:1: note: expected 'char * restrict' but argument is of type 'unsigned char *' __NTH (strcpy (char *__restrict __dest, const char *__restrict __src)) ^ x86_64-alt-linux-gcc -DHAVE_CONFIG_H -I. -I. -I.. -I.. -DLINUX -DLOCALEDIR=\"/usr/share/locale\" -I. -I.. -DMETACOMMAND -DHAVE_LANPLUS -pipe -Wall -g -O2 -c isensor.c isensor.c: In function 'GetSensorReadingFactors': isensor.c:1153:7: warning: variable 'toler' set but not used [-Wunused-but-set-variable] int toler, a_exp; ^ isensor.c: In function 'get_sdr_file': isensor.c:1461:17: warning: pointer targets in passing argument 1 of 'fgets' differ in signedness [-Wpointer-sign] while (fgets(buff, 255, fp)) { num++; } ^ In file included from /usr/include/stdio.h:936:0, from isensor.c:111: /usr/include/bits/stdio2.h:253:1: note: expected 'char * restrict' but argument is of type 'unsigned char *' fgets (char *__restrict __s, int __n, FILE *__restrict __stream) ^ isensor.c:1474:17: warning: pointer targets in passing argument 1 of 'fgets' differ in signedness [-Wpointer-sign] while (fgets(buff, 255, fp)) { ^ In file included from /usr/include/stdio.h:936:0, from isensor.c:111: /usr/include/bits/stdio2.h:253:1: note: expected 'char * restrict' but argument is of type 'unsigned char *' fgets (char *__restrict __s, int __n, FILE *__restrict __stream) ^ isensor.c:1475:18: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] len = strlen(buff); ^ In file included from isensor.c:114:0: /usr/include/string.h:394:15: note: expected 'const char *' but argument is of type 'unsigned char *' extern size_t strlen (const char *__s) ^ isensor.c:1484:29: warning: pointer targets in passing argument 1 of 'htoi' differ in signedness [-Wpointer-sign] hbuf[i++] = htoi(&buff[n]); ^ In file included from isensor.c:130:0: ipmicmd.h:476:7: note: expected 'char *' but argument is of type 'unsigned char *' uchar htoi(char *inhex); ^ In file included from /usr/include/string.h:648:0, from isensor.c:114: isensor.c: In function 'find_sdr_by_tag': isensor.c:1650:22: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] if (strncmp(tag,&sdr[k],n) == 0) { ^ In file included from isensor.c:114:0: /usr/include/string.h:394:15: note: expected 'const char *' but argument is of type 'unsigned char *' extern size_t strlen (const char *__s) ^ In file included from /usr/include/string.h:648:0, from isensor.c:114: isensor.c:1650:22: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] if (strncmp(tag,&sdr[k],n) == 0) { ^ In file included from isensor.c:114:0: /usr/include/string.h:394:15: note: expected 'const char *' but argument is of type 'unsigned char *' extern size_t strlen (const char *__s) ^ In file included from /usr/include/string.h:648:0, from isensor.c:114: isensor.c:1650:22: warning: pointer targets in passing argument 2 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] if (strncmp(tag,&sdr[k],n) == 0) { ^ isensor.c:1650:22: note: expected 'const char *' but argument is of type 'unsigned char *' isensor.c:1650:22: warning: pointer targets in passing argument 2 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] if (strncmp(tag,&sdr[k],n) == 0) { ^ isensor.c:1650:22: note: expected 'const char *' but argument is of type 'unsigned char *' isensor.c:1650:22: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] if (strncmp(tag,&sdr[k],n) == 0) { ^ In file included from isensor.c:114:0: /usr/include/string.h:394:15: note: expected 'const char *' but argument is of type 'unsigned char *' extern size_t strlen (const char *__s) ^ In file included from /usr/include/string.h:648:0, from isensor.c:114: isensor.c:1650:22: warning: pointer targets in passing argument 2 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] if (strncmp(tag,&sdr[k],n) == 0) { ^ isensor.c:1650:22: note: expected 'const char *' but argument is of type 'unsigned char *' isensor.c:1650:22: warning: pointer targets in passing argument 2 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] if (strncmp(tag,&sdr[k],n) == 0) { ^ isensor.c:1650:22: note: expected 'const char *' but argument is of type 'unsigned char *' isensor.c:1650:22: warning: pointer targets in passing argument 2 of 'strncmp' differ in signedness [-Wpointer-sign] if (strncmp(tag,&sdr[k],n) == 0) { ^ In file included from isensor.c:114:0: /usr/include/string.h:143:12: note: expected 'const char *' but argument is of type 'unsigned char *' extern int strncmp (const char *__s1, const char *__s2, size_t __n) ^ isensor.c: In function 'decode_comp_reading': isensor.c:2206:8: warning: unused variable 'rv' [-Wunused-variable] int rv = -1; ^ isensor.c:2205:10: warning: unused variable 'pstr' [-Wunused-variable] char *pstr = NULL; ^ isensor.c: In function 'ShowSDR': isensor.c:2552:21: warning: format '%d' expects argument of type 'int', but argument 5 has type 'long unsigned int' [-Wformat=] if (fdebug) printf("entity %d.%d, idlen=%d sizeof=%d idstr0=%c s0=%x\n", ^ isensor.c:2586:20: warning: pointer targets in passing argument 1 of 'sprintf' differ in signedness [-Wpointer-sign] sprintf(sep,"%c ",bdelim); ^ In file included from /usr/include/features.h:368:0, from /usr/include/stdio.h:27, from isensor.c:111: /usr/include/bits/stdio2.h:31:1: note: expected 'char * restrict' but argument is of type 'unsigned char *' __NTH (sprintf (char *__restrict __s, const char *__restrict __fmt, ...)) ^ isensor.c:2657:21: warning: format '%d' expects argument of type 'int', but argument 4 has type 'long unsigned int' [-Wformat=] if (fdebug) printf("ilen=%d, istr0=%c, sizeof=%d, s0=%x\n", ^ isensor.c:2682:11: warning: pointer targets in passing argument 1 of 'sprintf' differ in signedness [-Wpointer-sign] sprintf(sep,"%c ",bdelim); ^ In file included from /usr/include/features.h:368:0, from /usr/include/stdio.h:27, from isensor.c:111: /usr/include/bits/stdio2.h:31:1: note: expected 'char * restrict' but argument is of type 'unsigned char *' __NTH (sprintf (char *__restrict __s, const char *__restrict __fmt, ...)) ^ isensor.c:2828:21: warning: format '%d' expects argument of type 'int', but argument 4 has type 'long unsigned int' [-Wformat=] if (fdebug) printf("ilen=%d, istr0=%c, sizeof=%d, s0=%x\n", ^ isensor.c:2858:21: warning: format '%d' expects argument of type 'int', but argument 4 has type 'long unsigned int' [-Wformat=] if (fdebug) printf("ilen=%d, istr0=%c, sizeof=%d, s0=%x\n", ^ isensor.c: In function 'i_sensor': isensor.c:3247:8: warning: variable 'pstr' set but not used [-Wunused-but-set-variable] char *pstr; ^ isensor.c: At top level: isensor.c:483:14: warning: 'entity_id_str' defined but not used [-Wunused-variable] static char *entity_id_str[NENTID] = { ^ isensor.c:2976:12: warning: 'get_picmg_addrinfo' defined but not used [-Wunused-function] static int get_picmg_addrinfo(uchar a1, uchar a2, uchar *addrdata) ^ isensor.c: In function 'GetSensorReading': isensor.c:1122:6: warning: 'lun' may be used uninitialized in this function [-Wmaybe-uninitialized] printf("GetSensorReading mc=%x,%x,%x status=%d cc=%x sz=%d resp: %02x %02x %02x %02x\n", ^ x86_64-alt-linux-gcc -DHAVE_CONFIG_H -I. -I. -I.. -I.. -DLINUX -DLOCALEDIR=\"/usr/share/locale\" -I. -I.. -DMETACOMMAND -DHAVE_LANPLUS -pipe -Wall -g -O2 -c isel.c isel.c: In function 'i_sel': isel.c:864:23: warning: pointer targets in passing argument 1 of 'AddSelEntry' differ in signedness [-Wpointer-sign] ret = AddSelEntry(buf, len); ^ isel.c:316:5: note: expected 'unsigned char *' but argument is of type 'char *' int AddSelEntry(uchar *selrec, int ilen) ^ isel.c:869:28: warning: pointer targets in passing argument 1 of 'ipmi_getdeviceid' differ in signedness [-Wpointer-sign] ret = ipmi_getdeviceid( DevRecord, sizeof(DevRecord),fdebug); ^ In file included from isel.c:120:0: ipmicmd.h:448:5: note: expected 'unsigned char *' but argument is of type 'char *' int ipmi_getdeviceid(uchar *presp, int sresp, char fdebugcmd); ^ isel.c: At top level: isel.c:194:15: warning: 'g_addrtype' defined but not used [-Wunused-variable] static uchar g_addrtype = ADDR_SMI; ^ isel.c: In function 'i_sel': isel.c:864:9: warning: 'len' may be used uninitialized in this function [-Wmaybe-uninitialized] ret = AddSelEntry(buf, len); ^ isel.c:863:5: warning: 'ret' may be used uninitialized in this function [-Wmaybe-uninitialized] if (ret == 0) ^ x86_64-alt-linux-gcc -DHAVE_CONFIG_H -I. -I. -I.. -I.. -DLINUX -DLOCALEDIR=\"/usr/share/locale\" -I. -I.. -DMETACOMMAND -DHAVE_LANPLUS -pipe -Wall -g -O2 -c iserial.c iserial.c:194:21: warning: missing braces around initializer [-Wmissing-braces] } lanparams[NLAN] = { /* see IPMI Table 19-4 */ ^ iserial.c:194:21: note: (near initialization for 'lanparams') iserial.c:237:21: warning: missing braces around initializer [-Wmissing-braces] } serparams[NSER] = { /* see IPMI Table 20-4 */ ^ iserial.c:237:21: note: (near initialization for 'serparams') x86_64-alt-linux-gcc -DHAVE_CONFIG_H -I. -I. -I.. -I.. -DLINUX -DLOCALEDIR=\"/usr/share/locale\" -I. -I.. -DMETACOMMAND -DHAVE_LANPLUS -pipe -Wall -g -O2 -c iwdt.c iwdt.c: In function 'i_wdt': iwdt.c:266:8: warning: variable 'rv' set but not used [-Wunused-but-set-variable] int rv = 0; ^ x86_64-alt-linux-gcc -DHAVE_CONFIG_H -I. -I. -I.. -I.. -DLINUX -DLOCALEDIR=\"/usr/share/locale\" -I. -I.. -DMETACOMMAND -DHAVE_LANPLUS -pipe -Wall -g -O2 -c isol.c isol.c: In function 'sol_output_handler': isol.c:408:16: warning: pointer targets in assignment differ in signedness [-Wpointer-sign] pdata = rsp->data; ^ isol.c: In function 'sol_input_handler': isol.c:535:17: warning: variable 'lastc' set but not used [-Wunused-but-set-variable] static uchar lastc = 0; ^ isol.c: In function 'sol_data_loop': isol.c:885:17: warning: variable 'lastc' set but not used [-Wunused-but-set-variable] static uchar lastc = 0; ^ isol.c: At top level: isol.c:174:14: warning: 'sol_esc_fn' defined but not used [-Wunused-variable] static char sol_esc_fn[4] = {'.','b','d', '?'}; /* SOL escape functions */ ^ x86_64-alt-linux-gcc -DHAVE_CONFIG_H -I. -I. -I.. -I.. -DLINUX -DLOCALEDIR=\"/usr/share/locale\" -I. -I.. -DMETACOMMAND -DHAVE_LANPLUS -pipe -Wall -g -O2 -c idiscover.c x86_64-alt-linux-gcc -DHAVE_CONFIG_H -I. -I. -I.. -I.. -DLINUX -DLOCALEDIR=\"/usr/share/locale\" -I. -I.. -DMETACOMMAND -DHAVE_LANPLUS -pipe -Wall -g -O2 -c iconfig.c iconfig.c:306:21: warning: missing braces around initializer [-Wmissing-braces] } lanparams[NLAN] = { /* see IPMI Table 19-4 */ ^ iconfig.c:306:21: note: (near initialization for 'lanparams') iconfig.c:353:21: warning: missing braces around initializer [-Wmissing-braces] } serparams[NSER] = { /* see IPMI Table 20-4 */ ^ iconfig.c:353:21: note: (near initialization for 'serparams') iconfig.c: In function 'SetPasswd': iconfig.c:490:42: warning: pointer targets in passing argument 2 of 'ipmi_cmd' differ in signedness [-Wpointer-sign] status = ipmi_cmd(GET_USER_NAME, inputData, 1, responseData, ^ In file included from iconfig.c:81:0: ipmicmd.h:361:5: note: expected 'unsigned char *' but argument is of type 'char *' int ipmi_cmd(ushort cmd, uchar *pdata, int sdata, uchar *presp, ^ iconfig.c:519:48: warning: pointer targets in passing argument 2 of 'ipmi_cmd' differ in signedness [-Wpointer-sign] status = ipmi_cmd(SET_USER_NAME, inputData, 17, responseData, ^ In file included from iconfig.c:81:0: ipmicmd.h:361:5: note: expected 'unsigned char *' but argument is of type 'char *' int ipmi_cmd(ushort cmd, uchar *pdata, int sdata, uchar *presp, ^ iconfig.c:535:49: warning: pointer targets in passing argument 2 of 'ipmi_cmd' differ in signedness [-Wpointer-sign] status = ipmi_cmd(SET_USER_PASSWORD, inputData, 2, responseData, ^ In file included from iconfig.c:81:0: ipmicmd.h:361:5: note: expected 'unsigned char *' but argument is of type 'char *' int ipmi_cmd(ushort cmd, uchar *pdata, int sdata, uchar *presp, ^ iconfig.c:564:47: warning: pointer targets in passing argument 2 of 'ipmi_cmd' differ in signedness [-Wpointer-sign] status = ipmi_cmd(SET_USER_PASSWORD, inputData, 18, responseData, ^ In file included from iconfig.c:81:0: ipmicmd.h:361:5: note: expected 'unsigned char *' but argument is of type 'char *' int ipmi_cmd(ushort cmd, uchar *pdata, int sdata, uchar *presp, ^ iconfig.c:578:47: warning: pointer targets in passing argument 2 of 'ipmi_cmd' differ in signedness [-Wpointer-sign] status = ipmi_cmd(SET_USER_PASSWORD, inputData, 18, responseData, ^ In file included from iconfig.c:81:0: ipmicmd.h:361:5: note: expected 'unsigned char *' but argument is of type 'char *' int ipmi_cmd(ushort cmd, uchar *pdata, int sdata, uchar *presp, ^ iconfig.c:592:44: warning: pointer targets in passing argument 2 of 'ipmi_cmd' differ in signedness [-Wpointer-sign] status = ipmi_cmd(SET_USER_ACCESS, inputData, 4, responseData, ^ In file included from iconfig.c:81:0: ipmicmd.h:361:5: note: expected 'unsigned char *' but argument is of type 'char *' int ipmi_cmd(ushort cmd, uchar *pdata, int sdata, uchar *presp, ^ iconfig.c: In function 'GetUser': iconfig.c:615:45: warning: pointer targets in passing argument 2 of 'ipmi_cmd' differ in signedness [-Wpointer-sign] status = ipmi_cmd(GET_USER_ACCESS, inputData, 2, responseData, ^ In file included from iconfig.c:81:0: ipmicmd.h:361:5: note: expected 'unsigned char *' but argument is of type 'char *' int ipmi_cmd(ushort cmd, uchar *pdata, int sdata, uchar *presp, ^ iconfig.c:630:46: warning: pointer targets in passing argument 2 of 'ipmi_cmd' differ in signedness [-Wpointer-sign] status = ipmi_cmd(GET_USER_NAME, inputData, 1, responseData, ^ In file included from iconfig.c:81:0: ipmicmd.h:361:5: note: expected 'unsigned char *' but argument is of type 'char *' int ipmi_cmd(ushort cmd, uchar *pdata, int sdata, uchar *presp, ^ iconfig.c:618:12: warning: variable 'c' set but not used [-Wunused-but-set-variable] uchar c; ^ iconfig.c: In function 'i_config': iconfig.c:1970:10: warning: pointer targets in passing argument 1 of 'strcpy' differ in signedness [-Wpointer-sign] strcpy(passwordData,optarg); ^ In file included from /usr/include/features.h:368:0, from /usr/include/stdio.h:27, from iconfig.c:58: /usr/include/bits/string3.h:108:1: note: expected 'char * restrict' but argument is of type 'unsigned char *' __NTH (strcpy (char *__restrict __dest, const char *__restrict __src)) ^ iconfig.c:2412:30: warning: pointer targets in passing argument 2 of 'get_system_info' differ in signedness [-Wpointer-sign] ret = get_system_info(bset,LanRecord,&rlen); ^ iconfig.c:85:12: note: expected 'char *' but argument is of type 'unsigned char *' extern int get_system_info(uchar parm, char *pbuf, int *szbuf); /*ihealth.c*/ ^ iconfig.c:2475:9: warning: pointer targets in assignment differ in signedness [-Wpointer-sign] pc = strchr(pk,','); ^ iconfig.c:2490:6: warning: pointer targets in assignment differ in signedness [-Wpointer-sign] pc = value; ^ iconfig.c:2493:28: warning: pointer targets in passing argument 1 of 'htoi' differ in signedness [-Wpointer-sign] LanRecord[j++] = htoi(&pc[i]); ^ In file included from iconfig.c:81:0: ipmicmd.h:476:7: note: expected 'char *' but argument is of type 'unsigned char *' uchar htoi(char *inhex); ^ iconfig.c:2613:10: warning: pointer targets in passing argument 1 of 'strcpy' differ in signedness [-Wpointer-sign] strcpy(&pc[2],passwordData); ^ In file included from /usr/include/features.h:368:0, from /usr/include/stdio.h:27, from iconfig.c:58: /usr/include/bits/string3.h:108:1: note: expected 'char * restrict' but argument is of type 'unsigned char *' __NTH (strcpy (char *__restrict __dest, const char *__restrict __src)) ^ iconfig.c:2613:17: warning: pointer targets in passing argument 2 of 'strcpy' differ in signedness [-Wpointer-sign] strcpy(&pc[2],passwordData); ^ In file included from /usr/include/features.h:368:0, from /usr/include/stdio.h:27, from iconfig.c:58: /usr/include/bits/string3.h:108:1: note: expected 'const char * restrict' but argument is of type 'unsigned char *' __NTH (strcpy (char *__restrict __dest, const char *__restrict __src)) ^ iconfig.c:2628:10: warning: pointer targets in passing argument 1 of 'strcpy' differ in signedness [-Wpointer-sign] strcpy(&pc[2],passwordData); ^ In file included from /usr/include/features.h:368:0, from /usr/include/stdio.h:27, from iconfig.c:58: /usr/include/bits/string3.h:108:1: note: expected 'char * restrict' but argument is of type 'unsigned char *' __NTH (strcpy (char *__restrict __dest, const char *__restrict __src)) ^ iconfig.c:2628:17: warning: pointer targets in passing argument 2 of 'strcpy' differ in signedness [-Wpointer-sign] strcpy(&pc[2],passwordData); ^ In file included from /usr/include/features.h:368:0, from /usr/include/stdio.h:27, from iconfig.c:58: /usr/include/bits/string3.h:108:1: note: expected 'const char * restrict' but argument is of type 'unsigned char *' __NTH (strcpy (char *__restrict __dest, const char *__restrict __src)) ^ iconfig.c: At top level: iconfig.c:202:14: warning: 'rggwyip' defined but not used [-Wunused-variable] static uchar rggwyip[4]; ^ iconfig.c:479:12: warning: 'SetPasswd' defined but not used [-Wunused-function] static int SetPasswd(int unum, char *uname, char *upswd) ^ iconfig.c:948:12: warning: 'SubnetIsValid' defined but not used [-Wunused-function] static int SubnetIsValid(uchar *subnet) ^ iconfig.c:1418:12: warning: 'Get_Mac' defined but not used [-Wunused-function] static int Get_Mac(uchar *ipadr,uchar *macadr) ^ iconfig.c:1791:14: warning: 'PefDesc' defined but not used [-Wunused-function] static char *PefDesc(int idx, uchar stype) ^ x86_64-alt-linux-gcc -DHAVE_CONFIG_H -I. -I. -I.. -I.. -DLINUX -DLOCALEDIR=\"/usr/share/locale\" -I. -I.. -DMETACOMMAND -DHAVE_LANPLUS -pipe -Wall -g -O2 -c ipicmg.c ipicmg.c: In function 'ipmi_picmg_clk_get': ipicmg.c:1293:16: warning: format '%d' expects argument of type 'int', but argument 2 has type 'long unsigned int' [-Wformat=] printf(" - Freq: %d\n", freq); ^ ipicmg.c: In function 'ipmi_picmg_clk_set': ipicmg.c:1352:8: warning: format '%d' expects argument of type 'int', but argument 2 has type 'long unsigned int' [-Wformat=] printf("## freq: %d\n", freq ); ^ ipicmg.c: At top level: ipicmg.c:85:22: warning: 'PicmgExtMajorVersion' defined but not used [-Wunused-variable] static unsigned char PicmgExtMajorVersion; ^ ipicmg.c: In function 'ipmi_picmg_bused_resource': ipicmg.c:1125:15: warning: 'rv' may be used uninitialized in this function [-Wmaybe-uninitialized] int rsp_len, rv; ^ x86_64-alt-linux-gcc -DHAVE_CONFIG_H -I. -I. -I.. -I.. -DLINUX -DLOCALEDIR=\"/usr/share/locale\" -I. -I.. -DMETACOMMAND -DHAVE_LANPLUS -pipe -Wall -g -O2 -c ifirewall.c ifirewall.c: In function '_set_command_enables': ifirewall.c:448:18: warning: variable 'd' set but not used [-Wunused-but-set-variable] unsigned char * d, rqdata[19]; ^ x86_64-alt-linux-gcc -DHAVE_CONFIG_H -I. -I. -I.. -I.. -DLINUX -DLOCALEDIR=\"/usr/share/locale\" -I. -I.. -DMETACOMMAND -DHAVE_LANPLUS -pipe -Wall -g -O2 -c ifwum.c x86_64-alt-linux-gcc -DHAVE_CONFIG_H -I. -I. -I.. -I.. -DLINUX -DLOCALEDIR=\"/usr/share/locale\" -I. -I.. -DMETACOMMAND -DHAVE_LANPLUS -pipe -Wall -g -O2 -c ihpm.c ihpm.c: In function 'HpmDisplayUpgrade': ihpm.c:1221:16: warning: format '%d' expects argument of type 'int', but argument 2 has type 'time_t {aka long int}' [-Wformat=] printf("| | Upload Time: %02d.%02d | Image Size: %05x |\n", ^ ihpm.c:1221:16: warning: format '%d' expects argument of type 'int', but argument 3 has type 'time_t {aka long int}' [-Wformat=] ihpm.c: In function 'HpmfwupgPreUpgradeCheck': ihpm.c:1915:17: warning: variable 'actionsSize' set but not used [-Wunused-but-set-variable] unsigned int actionsSize; ^ ihpm.c: In function 'HpmfwupgUpgradeStage': ihpm.c:2129:21: warning: variable 'actionsSize' set but not used [-Wunused-but-set-variable] unsigned int actionsSize; ^ ihpm.c: In function 'HpmFwupgActionUploadFirmware': ihpm.c:2506:27: warning: format '%d' expects argument of type 'int', but argument 2 has type 'time_t {aka long int}' [-Wformat=] printf(" Time Taken %02d:%02d\n",(end-start)/60, (end-start)%60); ^ ihpm.c:2506:27: warning: format '%d' expects argument of type 'int', but argument 3 has type 'time_t {aka long int}' [-Wformat=] ihpm.c: In function 'HpmGetUserInput': ihpm.c:1153:5: warning: ignoring return value of 'scanf', declared with attribute warn_unused_result [-Wunused-result] scanf("%s",userInput); ^ ihpm.c: In function 'HpmfwupgGetBufferFromFile': ihpm.c:2642:10: warning: ignoring return value of 'fread', declared with attribute warn_unused_result [-Wunused-result] fread(pFwupgCtx->pImageData, sizeof(unsigned char), pFwupgCtx->imageSize, pImageFile); ^ x86_64-alt-linux-gcc -DHAVE_CONFIG_H -I. -I. -I.. -I.. -DLINUX -DLOCALEDIR=\"/usr/share/locale\" -I. -I.. -DMETACOMMAND -DHAVE_LANPLUS -pipe -Wall -g -O2 -c itsol.c itsol.c: In function 'ipmi_tsol_main': itsol.c:453:13: warning: unused variable 'drv' [-Wunused-variable] int drv; ^ itsol.c:451:7: warning: unused variable 'service' [-Wunused-variable] char service[NI_MAXSERV]; ^ itsol.c:443:25: warning: unused variable 'res0' [-Wunused-variable] struct addrinfo *res, *res0; ^ itsol.c:443:19: warning: unused variable 'res' [-Wunused-variable] struct addrinfo *res, *res0; ^ itsol.c:442:18: warning: unused variable 'hints' [-Wunused-variable] struct addrinfo hints; ^ itsol.c:547:17: warning: 'fd_socket' may be used uninitialized in this function [-Wmaybe-uninitialized] fds_wait[0].fd = fd_socket; ^ x86_64-alt-linux-gcc -DHAVE_CONFIG_H -I. -I. -I.. -I.. -DLINUX -DLOCALEDIR=\"/usr/share/locale\" -I. -I.. -DMETACOMMAND -DHAVE_LANPLUS -pipe -Wall -g -O2 -c idcmi.c idcmi.c: In function 'i_dcmi': idcmi.c:817:9: warning: implicit declaration of function 'atoi' [-Wimplicit-function-declaration] i = atoi(argv[2]); ^ x86_64-alt-linux-gcc -DHAVE_CONFIG_H -I. -I. -I.. -I.. -DLINUX -DLOCALEDIR=\"/usr/share/locale\" -I. -I.. -DMETACOMMAND -DHAVE_LANPLUS -pipe -Wall -g -O2 -c oem_kontron.c oem_kontron.c: In function 'ipmi_kontron_set_serial_number': oem_kontron.c:581:13: warning: pointer targets in assignment differ in signedness [-Wpointer-sign] fru_area = &fru_data[fru_data_offset]; ^ x86_64-alt-linux-gcc -DHAVE_CONFIG_H -I. -I. -I.. -I.. -DLINUX -DLOCALEDIR=\"/usr/share/locale\" -I. -I.. -DMETACOMMAND -DHAVE_LANPLUS -pipe -Wall -g -O2 -c oem_fujitsu.c oem_fujitsu.c: In function 'read_sel_fujitsu': oem_fujitsu.c:249:15: warning: variable 'text_len' set but not used [-Wunused-but-set-variable] int rs_len, text_len, data_len, chunk_len; ^ x86_64-alt-linux-gcc -DHAVE_CONFIG_H -I. -I. -I.. -I.. -DLINUX -DLOCALEDIR=\"/usr/share/locale\" -I. -I.. -DMETACOMMAND -DHAVE_LANPLUS -pipe -Wall -g -O2 -c oem_intel.c oem_intel.c: In function 'decode_sensor_intel_nm': oem_intel.c:527:10: warning: unused variable 'pstr' [-Wunused-variable] char *pstr = NULL; ^ oem_intel.c: In function 'set_enc_leds_intel': oem_intel.c:1585:12: warning: variable 'rv2' set but not used [-Wunused-but-set-variable] int rv, rv2, rlen, i; ^ oem_intel.c: At top level: oem_intel.c:88:14: warning: 'g_addrtype' defined but not used [-Wunused-variable] static uchar g_addrtype = ADDR_SMI; ^ x86_64-alt-linux-gcc -DHAVE_CONFIG_H -I. -I. -I.. -I.. -DLINUX -DLOCALEDIR=\"/usr/share/locale\" -I. -I.. -DMETACOMMAND -DHAVE_LANPLUS -pipe -Wall -g -O2 -c oem_sun.c oem_sun.c: In function 'ipmi_sunoem_sshkey_set': oem_sun.c:840:9: warning: 'rv' may be used uninitialized in this function [-Wmaybe-uninitialized] return rv; ^ x86_64-alt-linux-gcc -DHAVE_CONFIG_H -I. -I. -I.. -I.. -DLINUX -DLOCALEDIR=\"/usr/share/locale\" -I. -I.. -DMETACOMMAND -DHAVE_LANPLUS -pipe -Wall -g -O2 -c iekanalyzer.c iekanalyzer.c: In function 'ipmi_ek_display_fru_header_detail': iekanalyzer.c:2457:17: warning: format '%d' expects argument of type 'int', but argument 2 has type 'long unsigned int' [-Wformat=] printf("Length: %d\n", len); ^ iekanalyzer.c: In function 'ipmi_ek_display_shelf_power_distribution_record': iekanalyzer.c:3109:14: warning: format '%ld' expects argument of type 'long int', but argument 2 has type 'int' [-Wformat=] printf(" Min Expected Operating Voltage: %ld Volts\n", ^ iekanalyzer.c: In function 'ipmi_ek_display_board_p2p_record': iekanalyzer.c:3284:4: warning: statement with no effect [-Wunused-value] for ( offset; ^ iekanalyzer.c: In function 'ipmi_ek_display_radial_ipmb0_record': iekanalyzer.c:3453:7: warning: statement with no effect [-Wunused-value] for (offset; offset < record->header.len;){ ^ iekanalyzer.c: In function 'ipmi_ek_display_clock_config_record': iekanalyzer.c:3884:17: warning: format '%d' expects argument of type 'int', but argument 2 has type 'long unsigned int' [-Wformat=] printf("\tFRQ: %-9d - min: %-9d - max: %-9d\n", ^ iekanalyzer.c:3884:17: warning: format '%d' expects argument of type 'int', but argument 3 has type 'long unsigned int' [-Wformat=] iekanalyzer.c:3884:17: warning: format '%d' expects argument of type 'int', but argument 4 has type 'long unsigned int' [-Wformat=] iekanalyzer.c: In function 'ipmi_ekanalyzer_fru_file2structure': iekanalyzer.c:3937:21: warning: format '%x' expects argument of type 'unsigned int', but argument 2 has type 'long int' [-Wformat=] printf( "start multi offset = 0x%02x\n", multi_offset ); ^ In file included from iekanalyzer.c:57:0: iekanalyzer.c: At top level: iekanalyzer.h:217:21: warning: 'combined_voltage_desc' defined but not used [-Wunused-variable] static const char * combined_voltage_desc[] = { //__attribute__((unused)) ^ iekanalyzer.h:509:21: warning: 'chassis_type_desc' defined but not used [-Wunused-variable] static const char * chassis_type_desc[] = { //__attribute__((unused)) ^ iekanalyzer.c:3223:1: warning: 'ipmi_ek_display_shelf_fan_geography_record' defined but not used [-Wunused-function] ipmi_ek_display_shelf_fan_geography_record( ^ iekanalyzer.c: In function 'ipmi_ek_display_fru_header': iekanalyzer.c:2370:10: warning: ignoring return value of 'fread', declared with attribute warn_unused_result [-Wunused-result] fread ( &header, sizeof (struct fru_header), 1, input_file ); ^ iekanalyzer.c: In function 'ipmi_ek_display_fru_header_detail': iekanalyzer.c:2432:10: warning: ignoring return value of 'fread', declared with attribute warn_unused_result [-Wunused-result] fread ( &header, sizeof( struct fru_header ), 1, input_file ); ^ iekanalyzer.c:2446:10: warning: ignoring return value of 'fread', declared with attribute warn_unused_result [-Wunused-result] fread ( &format_version, 1, 1, input_file ); ^ iekanalyzer.c:2461:13: warning: ignoring return value of 'fread', declared with attribute warn_unused_result [-Wunused-result] fread ( &data, 1, 1, input_file ); ^ iekanalyzer.c:2486:13: warning: ignoring return value of 'fread', declared with attribute warn_unused_result [-Wunused-result] fread ( &data, 1, 1, input_file ); /* Format version */ ^ iekanalyzer.c:2489:16: warning: ignoring return value of 'fread', declared with attribute warn_unused_result [-Wunused-result] fread ( &data, 1, 1, input_file ); /* Board Area Length */ ^ iekanalyzer.c:2500:16: warning: ignoring return value of 'fread', declared with attribute warn_unused_result [-Wunused-result] fread ( &lan_code, 1, 1, input_file ); /* Language Code */ ^ iekanalyzer.c:2510:16: warning: ignoring return value of 'fread', declared with attribute warn_unused_result [-Wunused-result] fread ( mfg_date, SIZE_MFG_DATE, 1, input_file ); ^ iekanalyzer.c: In function 'ipmi_ek_display_chassis_info_area': iekanalyzer.c:2589:10: warning: ignoring return value of 'fread', declared with attribute warn_unused_result [-Wunused-result] fread (&data, 1, 1, input_file); ^ iekanalyzer.c:2592:13: warning: ignoring return value of 'fread', declared with attribute warn_unused_result [-Wunused-result] fread (&len, 1, 1, input_file); ^ iekanalyzer.c:2602:13: warning: ignoring return value of 'fread', declared with attribute warn_unused_result [-Wunused-result] fread (&ch_type, 1, 1, input_file); ^ iekanalyzer.c: In function 'ipmi_ek_display_board_info_area': iekanalyzer.c:2654:7: warning: ignoring return value of 'fread', declared with attribute warn_unused_result [-Wunused-result] fread ( &len, 1, 1, input_file ); ^ iekanalyzer.c:2674:25: warning: ignoring return value of 'fread', declared with attribute warn_unused_result [-Wunused-result] fread ( additional_data, size_board, 1, input_file ); ^ iekanalyzer.c:2703:22: warning: ignoring return value of 'fread', declared with attribute warn_unused_result [-Wunused-result] fread ( &checksum, 1, 1, input_file ); ^ iekanalyzer.c:2716:13: warning: ignoring return value of 'fread', declared with attribute warn_unused_result [-Wunused-result] fread ( data, size_board, 1, input_file ); ^ iekanalyzer.c: In function 'ipmi_ek_display_product_info_area': iekanalyzer.c:2777:10: warning: ignoring return value of 'fread', declared with attribute warn_unused_result [-Wunused-result] fread (&data, 1, 1, input_file); ^ iekanalyzer.c:2780:13: warning: ignoring return value of 'fread', declared with attribute warn_unused_result [-Wunused-result] fread (&len, 1, 1, input_file); ^ iekanalyzer.c:2789:13: warning: ignoring return value of 'fread', declared with attribute warn_unused_result [-Wunused-result] fread (&data, 1, 1, input_file); ^ iekanalyzer.c: In function 'ipmi_ekanalyzer_fru_file2structure': iekanalyzer.c:3928:7: warning: ignoring return value of 'fread', declared with attribute warn_unused_result [-Wunused-result] fread ( &multi_offset, 1, 1, input_file ); ^ iekanalyzer.c:3944:13: warning: ignoring return value of 'fread', declared with attribute warn_unused_result [-Wunused-result] fread ( &(*list_record)->header, START_DATA_OFFSET, 1, input_file); ^ iekanalyzer.c:3954:19: warning: ignoring return value of 'fread', declared with attribute warn_unused_result [-Wunused-result] fread ( (*list_record)->data, ^ x86_64-alt-linux-gcc -DHAVE_CONFIG_H -I. -I. -I.. -I.. -DLINUX -DLOCALEDIR=\"/usr/share/locale\" -I. -I.. -DMETACOMMAND -DHAVE_LANPLUS -pipe -Wall -g -O2 -c oem_supermicro.c x86_64-alt-linux-gcc -DHAVE_CONFIG_H -I. -I. -I.. -I.. -DLINUX -DLOCALEDIR=\"/usr/share/locale\" -I. -I.. -DMETACOMMAND -DHAVE_LANPLUS -pipe -Wall -g -O2 -c oem_dell.c oem_dell.c: In function 'ipmi_lcd_get_configure_command_wh': oem_dell.c:899:5: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] lcd_mode= *((LCD_MODE*)(&rsp[0])); ^ oem_dell.c: In function 'ipmi_lcd_get_info_wh': oem_dell.c:1181:9: warning: variable 'rc' set but not used [-Wunused-but-set-variable] int rc; ^ oem_dell.c:1178:13: warning: unused variable 'command' [-Wunused-variable] uint8_t command = 0; ^ oem_dell.c: In function 'ipmi_lcd_get_info': oem_dell.c:1308:9: warning: variable 'rc' set but not used [-Wunused-but-set-variable] int rc; ^ oem_dell.c: In function 'ipmi_delloem_mac_main': oem_dell.c:1885:9: warning: unused variable 'currIdInt' [-Wunused-variable] int currIdInt = -1; ^ oem_dell.c: In function 'ipmi_delloem_lan_main': oem_dell.c:2486:45: warning: pointer targets in passing argument 2 of 'ipmi_lan_set_nic_selection_12g' differ in signedness [-Wpointer-sign] rc = ipmi_lan_set_nic_selection_12g(intf,nic_set); ^ oem_dell.c:211:12: note: expected 'uint8_t * {aka unsigned char *}' but argument is of type 'char *' static int ipmi_lan_set_nic_selection_12g (void* intf, uint8_t* nic_selection); ^ oem_dell.c: In function 'get_nic_selection_mode_12g': oem_dell.c:2542:6: warning: unused variable 'nic_selection_mode' [-Wunused-variable] int nic_selection_mode = 0; ^ oem_dell.c: In function 'get_nic_selection_mode': oem_dell.c:2732:9: warning: unused variable 'nic_selection_mode' [-Wunused-variable] int nic_selection_mode = 0; ^ oem_dell.c: In function 'ipmi_powermgmt': oem_dell.c:3373:11: warning: variable 'dte' set but not used [-Wunused-but-set-variable] char* dte; ^ oem_dell.c: In function 'ipmi_get_power_headroom_command': oem_dell.c:3626:5: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] powerheadroom= *(( POWER_HEADROOM *)rsp); ^ oem_dell.c:3641:17: warning: format '%ld' expects argument of type 'long int', but argument 2 has type 'int' [-Wformat=] printf ("System Instantaneous Headroom : %ld W\n",powerheadroom.instheadroom); ^ oem_dell.c:3642:11: warning: format '%ld' expects argument of type 'long int', but argument 2 has type 'int' [-Wformat=] printf ("System Peak Headroom : %ld W\n",powerheadroom.peakheadroom); ^ oem_dell.c: In function 'ipmi_get_power_consumption_data': oem_dell.c:3664:29: warning: variable 'sdr' set but not used [-Wunused-but-set-variable] struct sdr_record_list *sdr = NULL; ^ oem_dell.c: In function 'ipmi_get_instan_power_consmpt_data': oem_dell.c:3791:5: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] * instpowerconsumptiondata = * ( (IPMI_INST_POWER_CONSUMPTION_DATA*) (rsp)); ^ oem_dell.c: In function 'ipmi_get_avgpower_consmpt_history': oem_dell.c:3910:16: warning: too many arguments for format [-Wformat-extra-args] printf("Average power consumption history Data :%x %x %x %x %x %x %x\n\n", ^ oem_dell.c:3916:5: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] *pavgpower = *( (IPMI_AVGPOWER_CONSUMP_HISTORY*) rsp); ^ oem_dell.c: In function 'ipmi_get_peakpower_consmpt_history': oem_dell.c:3962:16: warning: too many arguments for format [-Wformat-extra-args] printf("Peak power consmhistory Data : %x %x %x %x %x %x %x %x %x %x\n %x %x %x %x %x %x %x %x %x %x %x %x %x\n\n", ^ oem_dell.c:3972:5: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] *pstPeakpower =* ((IPMI_POWER_CONSUMP_HISTORY*)rsp); ^ oem_dell.c: In function 'ipmi_get_minpower_consmpt_history': oem_dell.c:4018:16: warning: too many arguments for format [-Wformat-extra-args] printf("Peak power consmhistory Data : %x %x %x %x %x %x %x %x %x %x\n %x %x %x %x %x %x %x %x %x %x %x %x %x\n\n", ^ oem_dell.c:4028:5: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] *pstMinpower =* ((IPMI_POWER_CONSUMP_HISTORY*)rsp); ^ oem_dell.c: In function 'ipmi_print_power_consmpt_history': oem_dell.c:4087:21: warning: format '%d' expects argument of type 'int', but argument 2 has type 'uint64_t {aka long unsigned int}' [-Wformat=] printf ("%4d BTU/hr ",tempbtuphrconv); ^ oem_dell.c:4089:21: warning: format '%d' expects argument of type 'int', but argument 2 has type 'uint64_t {aka long unsigned int}' [-Wformat=] printf ("%4d BTU/hr ",tempbtuphrconv); ^ oem_dell.c:4091:21: warning: format '%d' expects argument of type 'int', but argument 2 has type 'uint64_t {aka long unsigned int}' [-Wformat=] printf ("%4d BTU/hr ",tempbtuphrconv); ^ oem_dell.c:4093:21: warning: format '%d' expects argument of type 'int', but argument 2 has type 'uint64_t {aka long unsigned int}' [-Wformat=] printf ("%4d BTU/hr\n\r",tempbtuphrconv); ^ oem_dell.c:4097:21: warning: format '%d' expects argument of type 'int', but argument 2 has type 'uint64_t {aka long unsigned int}' [-Wformat=] printf ("%4d BTU/hr ",tempbtuphrconv); ^ oem_dell.c:4099:21: warning: format '%d' expects argument of type 'int', but argument 2 has type 'uint64_t {aka long unsigned int}' [-Wformat=] printf ("%4d BTU/hr ",tempbtuphrconv); ^ oem_dell.c:4101:21: warning: format '%d' expects argument of type 'int', but argument 2 has type 'uint64_t {aka long unsigned int}' [-Wformat=] printf ("%4d BTU/hr ",tempbtuphrconv); ^ oem_dell.c:4103:21: warning: format '%d' expects argument of type 'int', but argument 2 has type 'uint64_t {aka long unsigned int}' [-Wformat=] printf ("%4d BTU/hr\n\r",tempbtuphrconv); ^ oem_dell.c:4107:21: warning: format '%d' expects argument of type 'int', but argument 2 has type 'uint64_t {aka long unsigned int}' [-Wformat=] printf ("%4d BTU/hr ",tempbtuphrconv); ^ oem_dell.c:4109:21: warning: format '%d' expects argument of type 'int', but argument 2 has type 'uint64_t {aka long unsigned int}' [-Wformat=] printf ("%4d BTU/hr ",tempbtuphrconv); ^ oem_dell.c:4111:21: warning: format '%d' expects argument of type 'int', but argument 2 has type 'uint64_t {aka long unsigned int}' [-Wformat=] printf ("%4d BTU/hr ",tempbtuphrconv); ^ oem_dell.c:4113:21: warning: format '%d' expects argument of type 'int', but argument 2 has type 'uint64_t {aka long unsigned int}' [-Wformat=] printf ("%4d BTU/hr\n\r\n\r",tempbtuphrconv); ^ oem_dell.c: In function 'ipmi_get_power_cap': oem_dell.c:4231:16: warning: too many arguments for format [-Wformat-extra-args] printf("power cap Data :%x %x %x %x %x %x %x %x %x %x ", ^ oem_dell.c:4238:5: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] * ipmipowercap = *((IPMI_POWER_CAP*)(rsp)); ^ oem_dell.c: In function 'ipmi_print_power_cap': oem_dell.c:4274:12: warning: format '%ld' expects argument of type 'long int', but argument 2 has type 'int' [-Wformat=] printf ("Maximum power: %ld Watt\n",ipmipowercap.MaximumPowerConsmp); ^ oem_dell.c:4275:12: warning: format '%ld' expects argument of type 'long int', but argument 2 has type 'int' [-Wformat=] printf ("Minimum power: %ld Watt\n",ipmipowercap.MinimumPowerConsmp); ^ oem_dell.c:4276:12: warning: format '%ld' expects argument of type 'long int', but argument 2 has type 'int' [-Wformat=] printf ("Power cap : %ld Watt\n",ipmipowercap.PowerCap); ^ oem_dell.c: In function 'ipmi_set_power_cap': oem_dell.c:4344:16: warning: too many arguments for format [-Wformat-extra-args] printf("power cap Data :%x %x %x %x %x %x %x %x %x %x ", ^ oem_dell.c:4300:14: warning: variable 'maxpowerbtuphr' set but not used [-Wunused-but-set-variable] uint64_t maxpowerbtuphr; ^ oem_dell.c: At top level: oem_dell.c:4914:1: warning: return type defaults to 'int' [-Wimplicit-int] ipmi_delloem_getled_usage(void) ^ oem_dell.c: In function 'ipmi_delloem_setled_main': oem_dell.c:5142:9: warning: unused variable 'rc' [-Wunused-variable] int rc = 0; ^ oem_dell.c: In function 'decode_sensor_dell': oem_dell.c:5223:10: warning: unused variable 'pstr' [-Wunused-variable] char *pstr = NULL; ^ oem_dell.c: In function 'get_dell_evt_desc': oem_dell.c:5453:39: warning: format '%s' expects argument of type 'char *', but argument 4 has type 'int' [-Wformat=] snprintf(tmpdesc, SIZE_OF_DESC, "DIMM %s", ('A'+ data3)); ^ oem_dell.c:5453:39: warning: format '%s' expects argument of type 'char *', but argument 4 has type 'int' [-Wformat=] oem_dell.c: At top level: oem_dell.c:3233:1: warning: 'ipmi_get_sensor_reading' defined but not used [-Wunused-function] ipmi_get_sensor_reading(void *intf , ^ oem_dell.c:4452:12: warning: 'getpowersupplyfruinfo' defined but not used [-Wunused-function] static int getpowersupplyfruinfo(void *intf, uint8_t id, ^ oem_dell.c: In function 'ipmi_delloem_getled_usage': oem_dell.c:4920:1: warning: control reaches end of non-void function [-Wreturn-type] } ^ oem_dell.c: In function 'ipmi_print_power_consmpt_history.isra.31': oem_dell.c:4162:9: warning: 'stPeakpower.lastweekpowertime' may be used uninitialized in this function [-Wmaybe-uninitialized] ipmi_time_to_str(lastweekpeakpower, timestr); ^ oem_dell.c:4160:9: warning: 'stPeakpower.lastdaypowertime' may be used uninitialized in this function [-Wmaybe-uninitialized] ipmi_time_to_str(lastdaypeakpower, timestr); ^ oem_dell.c:4158:9: warning: 'stPeakpower.lasthourpowertime' may be used uninitialized in this function [-Wmaybe-uninitialized] ipmi_time_to_str(lasthourpeakpower, timestr); ^ oem_dell.c:4156:9: warning: 'stPeakpower.lastminutepowertime' may be used uninitialized in this function [-Wmaybe-uninitialized] ipmi_time_to_str(lastminutepeakpower, timestr); ^ oem_dell.c:4136:18: warning: 'stPeakpower.lastweakpower' may be used uninitialized in this function [-Wmaybe-uninitialized] tempbtuphrconv=(stPeakpower.lastweakpower); ^ oem_dell.c:4134:18: warning: 'stPeakpower.lastdaypower' may be used uninitialized in this function [-Wmaybe-uninitialized] tempbtuphrconv=(stPeakpower.lastdaypower); ^ oem_dell.c:4132:18: warning: 'stPeakpower.lasthourpower' may be used uninitialized in this function [-Wmaybe-uninitialized] tempbtuphrconv=(stPeakpower.lasthourpower); ^ oem_dell.c:4130:18: warning: 'stPeakpower.lastminutepower' may be used uninitialized in this function [-Wmaybe-uninitialized] tempbtuphrconv=(stPeakpower.lastminutepower); ^ oem_dell.c:4126:18: warning: 'avgpower.lastweakpower' may be used uninitialized in this function [-Wmaybe-uninitialized] tempbtuphrconv=(avgpower.lastweakpower); ^ oem_dell.c:4124:18: warning: 'avgpower.lastdaypower' may be used uninitialized in this function [-Wmaybe-uninitialized] tempbtuphrconv=(avgpower.lastdaypower); ^ oem_dell.c:4122:18: warning: 'avgpower.lasthourpower' may be used uninitialized in this function [-Wmaybe-uninitialized] tempbtuphrconv=(avgpower.lasthourpower); ^ oem_dell.c:4120:27: warning: 'avgpower.lastminutepower' may be used uninitialized in this function [-Wmaybe-uninitialized] tempbtuphrconv=(avgpower.lastminutepower); ^ x86_64-alt-linux-gcc -DHAVE_CONFIG_H -I. -I. -I.. -I.. -DLINUX -DLOCALEDIR=\"/usr/share/locale\" -I. -I.. -DMETACOMMAND -DHAVE_LANPLUS -pipe -Wall -g -O2 -c oem_quanta.c x86_64-alt-linux-gcc -DHAVE_CONFIG_H -I. -I. -I.. -I.. -DLINUX -DLOCALEDIR=\"/usr/share/locale\" -I. -I.. -DMETACOMMAND -DHAVE_LANPLUS -pipe -Wall -g -O2 -c oem_hp.c x86_64-alt-linux-gcc -DHAVE_CONFIG_H -I. -I. -I.. -I.. -DLINUX -DLOCALEDIR=\"/usr/share/locale\" -I. -I.. -DMETACOMMAND -DHAVE_LANPLUS -pipe -Wall -g -O2 -c oem_newisys.c oem_newisys.c:50:14: warning: 'g_addrtype' defined but not used [-Wunused-variable] static uchar g_addrtype = ADDR_SMI; ^ x86_64-alt-linux-gcc -DHAVE_CONFIG_H -I. -I. -I.. -I.. -DLINUX -DLOCALEDIR=\"/usr/share/locale\" -I. -I.. -DMETACOMMAND -DHAVE_LANPLUS -pipe -Wall -g -O2 -c ipmicmd.c ipmicmd.c:94:31: warning: missing braces around initializer [-Wmissing-braces] ipmi_cmd_t ipmi_cmds[NCMDS] = { /*if add here, also change NCMDS in ipmicmd.h*/ ^ ipmicmd.c:94:31: note: (near initialization for 'ipmi_cmds') ipmicmd.c:320:22: warning: missing braces around initializer [-Wmissing-braces] } cc_mesg[NUMCC] = { ^ ipmicmd.c:320:22: note: (near initialization for 'cc_mesg') x86_64-alt-linux-gcc -DHAVE_CONFIG_H -I. -I. -I.. -I.. -DLINUX -DLOCALEDIR=\"/usr/share/locale\" -I. -I.. -DMETACOMMAND -DHAVE_LANPLUS -pipe -Wall -g -O2 -c mem_if.c x86_64-alt-linux-gcc -DHAVE_CONFIG_H -I. -I. -I.. -I.. -DLINUX -DLOCALEDIR=\"/usr/share/locale\" -I. -I.. -DMETACOMMAND -DHAVE_LANPLUS -pipe -Wall -g -O2 -c ipmidir.c ipmidir.c: In function 'check_lock_dir': ipmidir.c:377:10: warning: unused variable 'fp' [-Wunused-variable] FILE *fp; ^ ipmidir.c: In function 'ProcessSendMessage': ipmidir.c:655:14: warning: variable 'nRetryCount' set but not used [-Wunused-but-set-variable] UINT nRetryCount = 0; ^ ipmidir.c: In function 'send_raw_kcs': ipmidir.c:891:18: warning: variable 'dummy' set but not used [-Wunused-but-set-variable] unsigned char dummy; ^ ipmidir.c: In function 'SendTimedImbpRequest_kcs': ipmidir.c:977:16: warning: variable 'dummy' set but not used [-Wunused-but-set-variable] unsigned char dummy; ^ x86_64-alt-linux-gcc -DHAVE_CONFIG_H -I. -I. -I.. -I.. -DLINUX -DLOCALEDIR=\"/usr/share/locale\" -I. -I.. -DMETACOMMAND -DHAVE_LANPLUS -pipe -Wall -g -O2 -c imbapi.c imbapi.c: In function 'SendTimedIpmbpRequest': imbapi.c:444:21: warning: format '%d' expects argument of type 'int', but argument 3 has type 'DWORD {aka long unsigned int}' [-Wformat=] if (fdebug) printf("sendIpmb: send_message status=%d rlen=%d cc=%x\n", ^ imbapi.c:447:9: warning: variable 'error' set but not used [-Wunused-but-set-variable] DWORD error; ^ imbapi.c:481:21: warning: format '%d' expects argument of type 'int', but argument 3 has type 'DWORD {aka long unsigned int}' [-Wformat=] if (fdebug) printf("sendIpmb: get_message status=%d rlen=%d cc=%x\n", ^ imbapi.c:484:9: warning: variable 'error' set but not used [-Wunused-but-set-variable] DWORD error; ^ imbapi.c: In function 'SendTimedImbpRequest': imbapi.c:590:9: warning: variable 'error' set but not used [-Wunused-but-set-variable] DWORD error; ^ imbapi.c: In function 'open_imb': imbapi.c:739:10: warning: unused variable 'buf' [-Wunused-variable] char buf[128]; ^ imbapi.c: In function 'SendTimedI2cRequest': imbapi.c:1068:9: warning: variable 'error' set but not used [-Wunused-but-set-variable] DWORD error; ^ imbapi.c: In function 'SendTimedEmpMessageResponse_Ex': imbapi.c:1326:13: warning: format '%d' expects argument of type 'int', but argument 6 has type 'DWORD {aka long unsigned int}' [-Wformat=] printf("SendTimedEmp(%x,%x): status=%d cc=%x rlen=%d i=%d\n", ^ imbapi.c: In function 'SendTimedLanMessageResponse': imbapi.c:1432:13: warning: format '%d' expects argument of type 'int', but argument 4 has type 'DWORD {aka long unsigned int}' [-Wformat=] printf("SendTimedLan(): status=%d cc=%x rlen=%d i=%d\n", ^ imbapi.c: In function 'SendTimedLanMessageResponse_Ex': imbapi.c:1583:12: warning: format '%d' expects argument of type 'int', but argument 6 has type 'DWORD {aka long unsigned int}' [-Wformat=] printf("SendTimedLan(%x,%x): status=%d cc=%x rlen=%d i=%d\n", ^ imbapi.c: In function 'SendAsyncImbpRequest': imbapi.c:1657:9: warning: variable 'error' set but not used [-Wunused-but-set-variable] DWORD error; ^ imbapi.c: In function 'GetAsyncImbpMessage': imbapi.c:1777:5: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] b = (((ImbPacket *)(resp->data))->nfLn) & 0x3; ^ imbapi.c: In function 'GetAsyncImbpMessage_Ex': imbapi.c:1930:5: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] b = ((((ImbPacket *)(resp->data))->nfLn) & 0x3); ^ imbapi.c: In function 'IsAsyncMessageAvailable': imbapi.c:2024:10: warning: format '%x' expects argument of type 'unsigned int', but argument 2 has type 'long int' [-Wformat=] printf("Invalid AsyncHandle %x!=%x\n",AsyncEventHandle,eventId); ^ imbapi.c:2024:10: warning: format '%x' expects argument of type 'unsigned int', but argument 3 has type 'long int' [-Wformat=] imbapi.c: In function 'RegisterForImbAsyncMessageNotification': imbapi.c:2243:13: warning: format '%d' expects argument of type 'int', but argument 3 has type 'DWORD {aka long unsigned int}' [-Wformat=] printf("RegisterForImbAsync error status=%d, len=%d sizeint=%d\n", status, respLength, sizeof(int)); ^ imbapi.c:2243:13: warning: format '%d' expects argument of type 'int', but argument 4 has type 'long unsigned int' [-Wformat=] imbapi.c: In function 'SendTimedIpmbpRequest': imbapi.c:422:15: warning: array subscript is above array bounds [-Warray-bounds] req->req.data[1] = reqPtr->rsSa; ^ imbapi.c:423:15: warning: array subscript is above array bounds [-Warray-bounds] req->req.data[2] = ((reqPtr->netFn << 2) | (reqPtr->rsLun & 0x03)); ^ imbapi.c:424:15: warning: array subscript is above array bounds [-Warray-bounds] req->req.data[3] = cksum(&req->req.data[1],2); ^ imbapi.c:425:15: warning: array subscript is above array bounds [-Warray-bounds] req->req.data[4] = BMC_SA; ^ imbapi.c:426:15: warning: array subscript is above array bounds [-Warray-bounds] req->req.data[5] = ((sendSeq << 2) | (SMS_MSG_LUN & 0x03)); ^ imbapi.c:427:15: warning: array subscript is above array bounds [-Warray-bounds] req->req.data[6] = reqPtr->cmdType; ^ imbapi.c: In function 'SendTimedEmpMessageResponse': imbapi.c:1136:15: warning: array subscript is above array bounds [-Warray-bounds] req->req.data[i++] = (((ptr->nfLn & 0xfc) | 0x4) | ((ptr->seqLn) & 0x3)); ^ imbapi.c:1138:64: warning: array subscript is above array bounds [-Warray-bounds] req->req.data[i++] = ((~(req->req.data[0] + req->req.data[1])) +1); ^ imbapi.c:1138:16: warning: array subscript is above array bounds [-Warray-bounds] req->req.data[i++] = ((~(req->req.data[0] + req->req.data[1])) +1); ^ imbapi.c:1140:44: warning: array subscript is above array bounds [-Warray-bounds] req->req.data[i++] = ((~(req->req.data[1] + req->req.data[2])) +1); ^ imbapi.c:1140:64: warning: array subscript is above array bounds [-Warray-bounds] req->req.data[i++] = ((~(req->req.data[1] + req->req.data[2])) +1); ^ imbapi.c:1140:16: warning: array subscript is above array bounds [-Warray-bounds] req->req.data[i++] = ((~(req->req.data[1] + req->req.data[2])) +1); ^ imbapi.c:1142:15: warning: array subscript is above array bounds [-Warray-bounds] req->req.data[i++] = BMC_SA; /*though software is responding, we have to ^ imbapi.c:1146:15: warning: array subscript is above array bounds [-Warray-bounds] req->req.data[i++] = ( (ptr->seqLn & 0xfc) | (ptr->nfLn & 0x3) ); ^ imbapi.c:1148:15: warning: array subscript is above array bounds [-Warray-bounds] req->req.data[i++] = ptr->cmd; ^ imbapi.c:1150:18: warning: array subscript is above array bounds [-Warray-bounds] req->req.data[i] = responseDataBuf[j]; ^ imbapi.c:1152:16: warning: array subscript is above array bounds [-Warray-bounds] req->req.data[i] = 0; ^ imbapi.c:1158:21: warning: array subscript is above array bounds [-Warray-bounds] req->req.data[i] += req->req.data[j+3]; ^ imbapi.c:1158:37: warning: array subscript is above array bounds [-Warray-bounds] req->req.data[i] += req->req.data[j+3]; ^ imbapi.c:1158:21: warning: array subscript is above array bounds [-Warray-bounds] req->req.data[i] += req->req.data[j+3]; ^ imbapi.c:1159:37: warning: array subscript is above array bounds [-Warray-bounds] req->req.data[i] = ~(req->req.data[i]) +1; ^ imbapi.c:1159:15: warning: array subscript is above array bounds [-Warray-bounds] req->req.data[i] = ~(req->req.data[i]) +1; ^ imbapi.c: In function 'SendTimedEmpMessageResponse_Ex': imbapi.c:1252:15: warning: array subscript is above array bounds [-Warray-bounds] req->req.data[i++] = ptr->rqSa; ^ imbapi.c:1255:15: warning: array subscript is above array bounds [-Warray-bounds] req->req.data[i++] = (((ptr->nfLn & 0xfc) | 0x4) | ((ptr->seqLn) & 0x3)); ^ imbapi.c:1261:64: warning: array subscript is above array bounds [-Warray-bounds] req->req.data[i++] = ((~(req->req.data[0] + req->req.data[1])) +1); ^ imbapi.c:1261:16: warning: array subscript is above array bounds [-Warray-bounds] req->req.data[i++] = ((~(req->req.data[0] + req->req.data[1])) +1); ^ imbapi.c:1265:45: warning: array subscript is above array bounds [-Warray-bounds] req->req.data[i++] = ((~(req->req.data[1] + req->req.data[2])) +1); ^ imbapi.c:1265:65: warning: array subscript is above array bounds [-Warray-bounds] req->req.data[i++] = ((~(req->req.data[1] + req->req.data[2])) +1); ^ imbapi.c:1265:17: warning: array subscript is above array bounds [-Warray-bounds] req->req.data[i++] = ((~(req->req.data[1] + req->req.data[2])) +1); ^ imbapi.c:1267:45: warning: array subscript is above array bounds [-Warray-bounds] req->req.data[i++] = ((~(req->req.data[2]+ req->req.data[3])) +1); ^ imbapi.c:1267:64: warning: array subscript is above array bounds [-Warray-bounds] req->req.data[i++] = ((~(req->req.data[2]+ req->req.data[3])) +1); ^ imbapi.c:1267:17: warning: array subscript is above array bounds [-Warray-bounds] req->req.data[i++] = ((~(req->req.data[2]+ req->req.data[3])) +1); ^ imbapi.c:1272:15: warning: array subscript is above array bounds [-Warray-bounds] req->req.data[i++] = BMC_SA; /*though software is responding, we have to ^ imbapi.c:1277:15: warning: array subscript is above array bounds [-Warray-bounds] req->req.data[i++] = ( (ptr->seqLn & 0xfc) | (ptr->nfLn & 0x3) ); ^ imbapi.c:1280:15: warning: array subscript is above array bounds [-Warray-bounds] req->req.data[i++] = ptr->cmd; ^ imbapi.c:1301:37: warning: array subscript is above array bounds [-Warray-bounds] req->req.data[i] += req->req.data[j+3]; ^ imbapi.c: In function 'SendTimedLanMessageResponse': imbapi.c:1391:15: warning: array subscript is above array bounds [-Warray-bounds] req->req.data[i++] = (((ptr->nfLn & 0xfc) | 0x4) | ((ptr->seqLn) & 0x3)); ^ imbapi.c:1393:64: warning: array subscript is above array bounds [-Warray-bounds] req->req.data[i++] = ((~(req->req.data[0] + req->req.data[1])) +1); ^ imbapi.c:1393:16: warning: array subscript is above array bounds [-Warray-bounds] req->req.data[i++] = ((~(req->req.data[0] + req->req.data[1])) +1); ^ imbapi.c:1395:44: warning: array subscript is above array bounds [-Warray-bounds] req->req.data[i++] = ((~(req->req.data[1] + req->req.data[2])) +1); ^ imbapi.c:1395:64: warning: array subscript is above array bounds [-Warray-bounds] req->req.data[i++] = ((~(req->req.data[1] + req->req.data[2])) +1); ^ imbapi.c:1395:16: warning: array subscript is above array bounds [-Warray-bounds] req->req.data[i++] = ((~(req->req.data[1] + req->req.data[2])) +1); ^ imbapi.c:1397:15: warning: array subscript is above array bounds [-Warray-bounds] req->req.data[i++] = BMC_SA; /*though software is responding, we have to ^ imbapi.c:1401:15: warning: array subscript is above array bounds [-Warray-bounds] req->req.data[i++] = ( (ptr->seqLn & 0xfc) | (ptr->nfLn & 0x3) ); ^ imbapi.c:1403:15: warning: array subscript is above array bounds [-Warray-bounds] req->req.data[i++] = ptr->cmd; ^ imbapi.c:1405:18: warning: array subscript is above array bounds [-Warray-bounds] req->req.data[i] = responseDataBuf[j]; ^ imbapi.c:1407:16: warning: array subscript is above array bounds [-Warray-bounds] req->req.data[i] = 0; ^ imbapi.c:1413:21: warning: array subscript is above array bounds [-Warray-bounds] req->req.data[i] += req->req.data[j+3]; ^ imbapi.c:1413:37: warning: array subscript is above array bounds [-Warray-bounds] req->req.data[i] += req->req.data[j+3]; ^ imbapi.c:1413:21: warning: array subscript is above array bounds [-Warray-bounds] req->req.data[i] += req->req.data[j+3]; ^ imbapi.c:1414:37: warning: array subscript is above array bounds [-Warray-bounds] req->req.data[i] = ~(req->req.data[i]) +1; ^ imbapi.c:1414:15: warning: array subscript is above array bounds [-Warray-bounds] req->req.data[i] = ~(req->req.data[i]) +1; ^ imbapi.c: In function 'SendTimedLanMessageResponse_Ex': imbapi.c:1512:15: warning: array subscript is above array bounds [-Warray-bounds] req->req.data[i++] = ptr->rqSa; ^ imbapi.c:1515:15: warning: array subscript is above array bounds [-Warray-bounds] req->req.data[i++] = (((ptr->nfLn & 0xfc) | 0x4) | ((ptr->seqLn) & 0x3)); ^ imbapi.c:1521:64: warning: array subscript is above array bounds [-Warray-bounds] req->req.data[i++] = ((~(req->req.data[0] + req->req.data[1])) +1); ^ imbapi.c:1521:16: warning: array subscript is above array bounds [-Warray-bounds] req->req.data[i++] = ((~(req->req.data[0] + req->req.data[1])) +1); ^ imbapi.c:1525:45: warning: array subscript is above array bounds [-Warray-bounds] req->req.data[i++] = ((~(req->req.data[1] + req->req.data[2])) +1); ^ imbapi.c:1525:65: warning: array subscript is above array bounds [-Warray-bounds] req->req.data[i++] = ((~(req->req.data[1] + req->req.data[2])) +1); ^ imbapi.c:1525:17: warning: array subscript is above array bounds [-Warray-bounds] req->req.data[i++] = ((~(req->req.data[1] + req->req.data[2])) +1); ^ imbapi.c:1527:45: warning: array subscript is above array bounds [-Warray-bounds] req->req.data[i++] = ((~(req->req.data[2]+ req->req.data[3])) +1); ^ imbapi.c:1527:64: warning: array subscript is above array bounds [-Warray-bounds] req->req.data[i++] = ((~(req->req.data[2]+ req->req.data[3])) +1); ^ imbapi.c:1527:17: warning: array subscript is above array bounds [-Warray-bounds] req->req.data[i++] = ((~(req->req.data[2]+ req->req.data[3])) +1); ^ imbapi.c:1532:15: warning: array subscript is above array bounds [-Warray-bounds] req->req.data[i++] = BMC_SA; /*though software is responding, we have to ^ imbapi.c:1537:15: warning: array subscript is above array bounds [-Warray-bounds] req->req.data[i++] = ( (ptr->seqLn & 0xfc) | (ptr->nfLn & 0x3) ); ^ imbapi.c:1540:15: warning: array subscript is above array bounds [-Warray-bounds] req->req.data[i++] = ptr->cmd; ^ imbapi.c:1561:36: warning: array subscript is above array bounds [-Warray-bounds] req->req.data[i] += req->req.data[j+3]; ^ imbapi.c: In function 'GetAsyncImbpMessage_Ex': imbapi.c:1973:32: warning: array subscript is above array bounds [-Warray-bounds] *sessionHandle = resp->data[1]; ^ x86_64-alt-linux-gcc -DHAVE_CONFIG_H -I. -I. -I.. -I.. -DLINUX -DLOCALEDIR=\"/usr/share/locale\" -I. -I.. -DMETACOMMAND -DHAVE_LANPLUS -pipe -Wall -g -O2 -c ipmimv.c ipmimv.c: In function 'ipmi_rsp_mv': ipmimv.c:311:11: warning: pointer targets in assignment differ in signedness [-Wpointer-sign] req.addr = (char *)&rsp_addr; ^ ipmimv.c:321:11: warning: pointer targets in assignment differ in signedness [-Wpointer-sign] req.addr = (char *) &lan_addr; ^ ipmimv.c: In function 'ipmicmd_mv': ipmimv.c:392:11: warning: pointer targets in assignment differ in signedness [-Wpointer-sign] req.addr = (char *) &bmc_addr; ^ ipmimv.c:400:11: warning: pointer targets in assignment differ in signedness [-Wpointer-sign] req.addr = (char *) &ipmb_addr; ^ ipmimv.c:435:14: warning: pointer targets in assignment differ in signedness [-Wpointer-sign] rsp.addr = (char *) &addr; ^ x86_64-alt-linux-gcc -DHAVE_CONFIG_H -I. -I. -I.. -I.. -DLINUX -DLOCALEDIR=\"/usr/share/locale\" -I. -I.. -DMETACOMMAND -DHAVE_LANPLUS -pipe -Wall -g -O2 -c ipmild.c ipmild.c:89:12: warning: 'ipmi_fd' defined but not used [-Wunused-variable] static int ipmi_fd = -1; ^ ipmild.c:90:12: warning: 'ipmi_timeout_ld' defined but not used [-Wunused-variable] static int ipmi_timeout_ld = 100000; /*100 * 1000 ms = 100 sec */ ^ x86_64-alt-linux-gcc -DHAVE_CONFIG_H -I. -I. -I.. -I.. -DLINUX -DLOCALEDIR=\"/usr/share/locale\" -I. -I.. -DMETACOMMAND -DHAVE_LANPLUS -pipe -Wall -g -O2 -c ipmibmc.c x86_64-alt-linux-gcc -DHAVE_CONFIG_H -I. -I. -I.. -I.. -DLINUX -DLOCALEDIR=\"/usr/share/locale\" -I. -I.. -DMETACOMMAND -DHAVE_LANPLUS -pipe -Wall -g -O2 -c ipmilipmi.c x86_64-alt-linux-gcc -DHAVE_CONFIG_H -I. -I. -I.. -I.. -DLINUX -DLOCALEDIR=\"/usr/share/locale\" -I. -I.. -DMETACOMMAND -DHAVE_LANPLUS -pipe -Wall -g -O2 -c subs.c subs.c:384:54: warning: missing braces around initializer [-Wmissing-braces] static struct { int val; char *pstr; } mfgs[N_MFG] = { ^ subs.c:384:54: note: (near initialization for 'mfgs') x86_64-alt-linux-gcc -DHAVE_CONFIG_H -I. -I. -I.. -I.. -DLINUX -DLOCALEDIR=\"/usr/share/locale\" -I. -I.. -DMETACOMMAND -DHAVE_LANPLUS -pipe -Wall -g -O2 -c ipmilan.c ipmilan.c: In function 'sig_abort': ipmilan.c:648:8: warning: variable 'rv' set but not used [-Wunused-but-set-variable] int rv; ^ ipmilan.c: In function 'hash': ipmilan.c:794:17: warning: variable 'i' set but not used [-Wunused-but-set-variable] int blen, n, i; ^ ipmilan.c: In function '_send_lan_cmd': ipmilan.c:1025:23: warning: format '%d' expects argument of type 'int', but argument 4 has type 'long unsigned int' [-Wformat=] fprintf(fpdbg,"message size %d > buffer size %d\n",clen,sizeof(cbuf)); ^ ipmilan.c: In function 'ipmilan_open_session': ipmilan.c:1445:17: warning: pointer targets in passing argument 1 of 'strncpy' differ in signedness [-Wpointer-sign] strncpy(&ibuf[1],username,16); ^ In file included from /usr/include/features.h:368:0, from /usr/include/stdio.h:27, from ipmilan.c:81: /usr/include/bits/string3.h:123:1: note: expected 'char * restrict' but argument is of type 'unsigned char *' __NTH (strncpy (char *__restrict __dest, const char *__restrict __src, ^ ipmilan.c: In function 'lan_recv_sol': ipmilan.c:2157:14: warning: pointer targets in assignment differ in signedness [-Wpointer-sign] rsp->data = rsdata; ^ ipmilan.c:2150:8: warning: variable 'fdoauth' set but not used [-Wunused-but-set-variable] int fdoauth = 1; ^ ipmilan.c: At top level: ipmilan.c:325:14: warning: 'sol_offset' defined but not used [-Wunused-variable] static uchar sol_offset = 0; ^ ipmilan.c:1307:14: warning: 'auth_type_mask' defined but not used [-Wunused-function] static uchar auth_type_mask(int authcode, uchar allowed) ^ ipmilan.c:1941:13: warning: 'sol15_encrypt' defined but not used [-Wunused-function] static void sol15_encrypt( uchar *dst, uchar *src, int len, uchar SeedCount ) ^ ipmilan.c:1959:13: warning: 'sol15_decrypt' defined but not used [-Wunused-function] static void sol15_decrypt( uchar *dst, uchar *src, int len, uchar SeedCount ) ^ x86_64-alt-linux-gcc -DHAVE_CONFIG_H -I. -I. -I.. -I.. -DLINUX -DLOCALEDIR=\"/usr/share/locale\" -I. -I.. -DMETACOMMAND -DHAVE_LANPLUS -pipe -Wall -g -O2 -c md5.c x86_64-alt-linux-gcc -DHAVE_CONFIG_H -I. -I. -I.. -I.. -DLINUX -DLOCALEDIR=\"/usr/share/locale\" -I. -I.. -DMETACOMMAND -DHAVE_LANPLUS -pipe -Wall -g -O2 -c md2.c x86_64-alt-linux-gcc -DHAVE_CONFIG_H -I. -I. -I.. -I.. -DLINUX -DLOCALEDIR=\"/usr/share/locale\" -I. -I.. -DMETACOMMAND -DHAVE_LANPLUS -pipe -Wall -g -O2 -c ipmilanplus.c ipmilanplus.c: In function 'ipmi_open_lan2': ipmilanplus.c:286:24: warning: pointer targets in passing argument 1 of 'strcpy' differ in signedness [-Wpointer-sign] strcpy(intf->session->hostname,node); ^ In file included from /usr/include/features.h:368:0, from /usr/include/stdio.h:27, from ipmilanplus.c:9: /usr/include/bits/string3.h:108:1: note: expected 'char * restrict' but argument is of type 'uint8_t * {aka unsigned char *}' __NTH (strcpy (char *__restrict __dest, const char *__restrict __src)) ^ ipmilanplus.c:289:24: warning: pointer targets in passing argument 1 of 'strcpy' differ in signedness [-Wpointer-sign] strcpy(intf->session->username,user); ^ In file included from /usr/include/features.h:368:0, from /usr/include/stdio.h:27, from ipmilanplus.c:9: /usr/include/bits/string3.h:108:1: note: expected 'char * restrict' but argument is of type 'uint8_t * {aka unsigned char *}' __NTH (strcpy (char *__restrict __dest, const char *__restrict __src)) ^ ipmilanplus.c:298:23: warning: pointer targets in passing argument 1 of 'strncpy' differ in signedness [-Wpointer-sign] strncpy(intf->session->authcode, pswd, n); ^ In file included from /usr/include/features.h:368:0, from /usr/include/stdio.h:27, from ipmilanplus.c:9: /usr/include/bits/string3.h:123:1: note: expected 'char * restrict' but argument is of type 'uint8_t * {aka unsigned char *}' __NTH (strncpy (char *__restrict __dest, const char *__restrict __src, ^ ipmilanplus.c: In function 'lan2_keepalive': ipmilanplus.c:575:22: warning: pointer targets in assignment differ in signedness [-Wpointer-sign] rsp->data = rs->data; ^ ipmilanplus.c: In function 'lan2_send_break': ipmilanplus.c:625:12: warning: pointer targets in assignment differ in signedness [-Wpointer-sign] rsp->data = rs->data; ^ ipmilanplus.c: In function 'lan2_send_sol': ipmilanplus.c:680:18: warning: pointer targets in assignment differ in signedness [-Wpointer-sign] rsp->data = rs->data; ^ ipmilanplus.c: In function 'lan2_recv_sol': ipmilanplus.c:710:15: warning: pointer targets in assignment differ in signedness [-Wpointer-sign] rsp->data = rs->data; ^ ipmilanplus.c: In function 'lan2_recv_handler': ipmilanplus.c:738:14: warning: pointer targets in assignment differ in signedness [-Wpointer-sign] rsp.data = rs->data; ^ x86_64-alt-linux-gcc -pipe -Wall -g -O2 -o ipmiutil ipmiutil.o ialarms.o ihealth.o ievents.o ifru.o ifru_picmg.o igetevent.o ireset.o icmd.o ilan.o isensor.o isel.o iserial.o iwdt.o isol.o idiscover.o iconfig.o ipicmg.o ifirewall.o ifwum.o ihpm.o itsol.o idcmi.o oem_kontron.o oem_fujitsu.o oem_intel.o oem_sun.o iekanalyzer.o oem_supermicro.o oem_dell.o oem_quanta.o oem_hp.o oem_newisys.o ipmicmd.o mem_if.o ipmidir.o imbapi.o ipmimv.o ipmild.o ipmibmc.o ipmilipmi.o subs.o ipmilan.o md5.o md2.o ipmilanplus.o -lpthread ../lib/libipmi_lanplus.a -lcrypto x86_64-alt-linux-gcc -pipe -Wall -g -O2 -DALONE -o ievents ievents.c ievents.c: In function 'decode_raw_sel': ievents.c:1936:38: warning: pointer targets in passing argument 2 of 'decode_sel_entry' differ in signedness [-Wpointer-sign] decode_sel_entry(hbuf,msg,sizeof(msg)); ^ ievents.c:1288:5: note: expected 'char *' but argument is of type 'unsigned char *' int decode_sel_entry( uchar *pevt, char *outbuf, int szbuf) ^ ievents.c:1943:38: warning: pointer targets in passing argument 2 of 'decode_sel_entry' differ in signedness [-Wpointer-sign] decode_sel_entry(hbuf,msg,sizeof(msg)); ^ ievents.c:1288:5: note: expected 'char *' but argument is of type 'unsigned char *' int decode_sel_entry( uchar *pevt, char *outbuf, int szbuf) ^ ievents.c:1915:11: warning: variable 'len' set but not used [-Wunused-but-set-variable] int len, i; ^ ievents.c: In function 'main': ievents.c:2249:28: warning: pointer targets in passing argument 2 of 'decode_sel_entry' differ in signedness [-Wpointer-sign] decode_sel_entry(buf,msg,sizeof(msg)); ^ ievents.c:1288:5: note: expected 'char *' but argument is of type 'unsigned char *' int decode_sel_entry( uchar *pevt, char *outbuf, int szbuf) ^ ievents.c:2260:33: warning: pointer targets in passing argument 2 of 'decode_sel_entry' differ in signedness [-Wpointer-sign] rv = decode_sel_entry(buf,msg,sizeof(msg)); ^ ievents.c:1288:5: note: expected 'char *' but argument is of type 'unsigned char *' int decode_sel_entry( uchar *pevt, char *outbuf, int szbuf) ^ ievents.c: At top level: ievents.c:89:13: warning: 'fsm_debug' defined but not used [-Wunused-variable] static char fsm_debug = 0; ^ ievents.c: In function 'main': ievents.c:2182:23: warning: 'b' may be used uninitialized in this function [-Wmaybe-uninitialized] if (fdebug) printf("sensor[%02x]: GetSensorType rv=%d stype=%x\n", ^ x86_64-alt-linux-gcc -DLINUX -pipe -Wall -g -O2 -o idiscover idiscover.c x86_64-alt-linux-gcc -pipe -Wall -g -O2 -o ipmi_port ipmi_port.c ipmi_port.c: In function 'mkdaemon': ipmi_port.c:39:9: warning: variable 'i' set but not used [-Wunused-but-set-variable] int i; ^ if [ "xno" = "xyes" ]; then \ x86_64-alt-linux-gcc -O2 -g -I. -I.. -DLINUX -DHAVE_LANPLUS -c ipmilanplus.c; \ x86_64-alt-linux-gcc -O2 -g -I. -I.. -DLINUX -DHAVE_LANPLUS -c ipmilan.c; \ ar x ../lib/libipmi_lanplus.a ; \ ar cru libipmiutil.a ipmicmd.o mem_if.o ipmidir.o imbapi.o ipmimv.o ipmild.o ipmibmc.o ipmilipmi.o subs.o ipmilan.o md5.o md2.o ipmilanplus.o lanplus.o lanplus_dump.o lanplus_crypt.o lanplus_crypt_impl.o lanplus_strings.o helper.o ipmi_strings.o ; \ ranlib libipmiutil.a; \ rm -f lanplus.o lanplus_dump.o lanplus_crypt.o lanplus_crypt_impl.o lanplus_strings.o helper.o ipmi_strings.o ipmilan.o ipmilanplus.o; \ LDSAM += ../lib/libipmi_lanplus.a -lcrypto ; \ else \ x86_64-alt-linux-gcc -O2 -g -I. -I.. -DLINUX -c ipmilanplus.c; \ x86_64-alt-linux-gcc -O2 -g -I. -I.. -DLINUX -c ipmilan.c; \ ar cru libipmiutil.a ipmicmd.o mem_if.o ipmidir.o imbapi.o ipmimv.o ipmild.o ipmibmc.o ipmilipmi.o subs.o ipmilan.o md5.o md2.o ipmilanplus.o ; \ ranlib libipmiutil.a ; \ rm -f ipmilan.o ipmilanplus.o; \ fi ipmilan.c: In function '_send_lan_cmd': ipmilan.c:1025:23: warning: format '%d' expects argument of type 'int', but argument 4 has type 'long unsigned int' [-Wformat=] fprintf(fpdbg,"message size %d > buffer size %d\n",clen,sizeof(cbuf)); ^ x86_64-alt-linux-gcc -O2 -g -I. -I.. -DLINUX -c ipmi_sample.c x86_64-alt-linux-gcc -g -O2 -o ipmi_sample ipmi_sample.o libipmiutil.a make[2]: Leaving directory `/usr/src/RPM/BUILD/ipmiutil-2.8.3/util' make[2]: Entering directory `/usr/src/RPM/BUILD/ipmiutil-2.8.3' make[2]: Leaving directory `/usr/src/RPM/BUILD/ipmiutil-2.8.3' make[1]: Leaving directory `/usr/src/RPM/BUILD/ipmiutil-2.8.3' make: Leaving directory `/usr/src/RPM/BUILD/ipmiutil-2.8.3' + exit 0 Executing(%install): /bin/sh -e /usr/src/tmp/rpm-tmp.27419 + umask 022 + /bin/mkdir -p /usr/src/RPM/BUILD + cd /usr/src/RPM/BUILD + /bin/chmod -Rf u+rwX -- /usr/src/tmp/ipmiutil-buildroot + : + /bin/rm -rf -- /usr/src/tmp/ipmiutil-buildroot + cd ipmiutil-2.8.3 + make 'INSTALL=/bin/install -p' install DESTDIR=/usr/src/tmp/ipmiutil-buildroot make: Entering directory `/usr/src/RPM/BUILD/ipmiutil-2.8.3' Making install in doc make[1]: Entering directory `/usr/src/RPM/BUILD/ipmiutil-2.8.3/doc' sh ../mkinstalldirs /usr/src/tmp/ipmiutil-buildroot/usr/share/man/man8 mkdir -p -- /usr/src/tmp/ipmiutil-buildroot/usr/share/man/man8 sh ../mkinstalldirs /usr/src/tmp/ipmiutil-buildroot/usr/share/ipmiutil mkdir -p -- /usr/src/tmp/ipmiutil-buildroot/usr/share/ipmiutil sh ../mkinstalldirs /usr/src/tmp/ipmiutil-buildroot/var/lib/ipmiutil mkdir -p -- /usr/src/tmp/ipmiutil-buildroot/var/lib/ipmiutil sh ../install-sh -c -m 644 isel.8 /usr/src/tmp/ipmiutil-buildroot/usr/share/man/man8 sh ../install-sh -c -m 644 isensor.8 /usr/src/tmp/ipmiutil-buildroot/usr/share/man/man8 sh ../install-sh -c -m 644 ireset.8 /usr/src/tmp/ipmiutil-buildroot/usr/share/man/man8 sh ../install-sh -c -m 644 ialarms.8 /usr/src/tmp/ipmiutil-buildroot/usr/share/man/man8 sh ../install-sh -c -m 644 iwdt.8 /usr/src/tmp/ipmiutil-buildroot/usr/share/man/man8 sh ../install-sh -c -m 644 ifru.8 /usr/src/tmp/ipmiutil-buildroot/usr/share/man/man8 sh ../install-sh -c -m 644 ilan.8 /usr/src/tmp/ipmiutil-buildroot/usr/share/man/man8 sh ../install-sh -c -m 644 iserial.8 /usr/src/tmp/ipmiutil-buildroot/usr/share/man/man8 sh ../install-sh -c -m 644 icmd.8 /usr/src/tmp/ipmiutil-buildroot/usr/share/man/man8 sh ../install-sh -c -m 644 igetevent.8 /usr/src/tmp/ipmiutil-buildroot/usr/share/man/man8 sh ../install-sh -c -m 644 ihealth.8 /usr/src/tmp/ipmiutil-buildroot/usr/share/man/man8 sh ../install-sh -c -m 644 ipmiutil.8 /usr/src/tmp/ipmiutil-buildroot/usr/share/man/man8 sh ../install-sh -c -m 644 isol.8 /usr/src/tmp/ipmiutil-buildroot/usr/share/man/man8 sh ../install-sh -c -m 644 idiscover.8 /usr/src/tmp/ipmiutil-buildroot/usr/share/man/man8 sh ../install-sh -c -m 644 ievents.8 /usr/src/tmp/ipmiutil-buildroot/usr/share/man/man8 sh ../install-sh -c -m 644 iconfig.8 /usr/src/tmp/ipmiutil-buildroot/usr/share/man/man8 sh ../install-sh -c -m 644 ipmi_port.8 /usr/src/tmp/ipmiutil-buildroot/usr/share/man/man8 sh ../install-sh -c -m 644 ipicmg.8 /usr/src/tmp/ipmiutil-buildroot/usr/share/man/man8 sh ../install-sh -c -m 644 ifirewall.8 /usr/src/tmp/ipmiutil-buildroot/usr/share/man/man8 sh ../install-sh -c -m 644 ifwum.8 /usr/src/tmp/ipmiutil-buildroot/usr/share/man/man8 sh ../install-sh -c -m 644 ihpm.8 /usr/src/tmp/ipmiutil-buildroot/usr/share/man/man8 sh ../install-sh -c -m 644 isunoem.8 /usr/src/tmp/ipmiutil-buildroot/usr/share/man/man8 sh ../install-sh -c -m 644 itsol.8 /usr/src/tmp/ipmiutil-buildroot/usr/share/man/man8 sh ../install-sh -c -m 644 idelloem.8 /usr/src/tmp/ipmiutil-buildroot/usr/share/man/man8 sh ../install-sh -c -m 644 iekanalyzer.8 /usr/src/tmp/ipmiutil-buildroot/usr/share/man/man8 sh ../install-sh -c -m 644 idcmi.8 /usr/src/tmp/ipmiutil-buildroot/usr/share/man/man8 sh ../install-sh -c -m 644 bmclanpet.mib /usr/src/tmp/ipmiutil-buildroot/usr/share/ipmiutil cd /usr/src/tmp/ipmiutil-buildroot/usr/share/man/man8; gzip -f *.8 make[1]: Leaving directory `/usr/src/RPM/BUILD/ipmiutil-2.8.3/doc' Making install in scripts make[1]: Entering directory `/usr/src/RPM/BUILD/ipmiutil-2.8.3/scripts' sh ../mkinstalldirs /usr/src/tmp/ipmiutil-buildroot/usr/share/ipmiutil sh ../mkinstalldirs /usr/src/tmp/ipmiutil-buildroot/usr/sbin mkdir -p -- /usr/src/tmp/ipmiutil-buildroot/usr/sbin sh ../mkinstalldirs /usr/src/tmp/ipmiutil-buildroot/etc/-14: _initrddir %_initdir mkdir -p -- /usr/src/tmp/ipmiutil-buildroot/etc/-14: _initrddir %_initdir sh ../mkinstalldirs /usr/src/tmp/ipmiutil-buildroot/var/lib/ipmiutil sh ../mkinstalldirs /usr/src/tmp/ipmiutil-buildroot/usr/share/ipmiutil sh ../install-sh -c -m 755 ipmi_if.sh /usr/src/tmp/ipmiutil-buildroot/usr/share/ipmiutil sh ../install-sh -c -m 755 evt.sh /usr/src/tmp/ipmiutil-buildroot/usr/share/ipmiutil if [ -f /etc/debian_version ]; then \ sysvinit=/usr/src/tmp/ipmiutil-buildroot/etc/-14: _initrddir %_initdir; fi sh ../install-sh -c -m 755 ipmiutil_wdt /usr/src/tmp/ipmiutil-buildroot/usr/share/ipmiutil/ipmiutil_wdt sh ../install-sh -c -m 755 ipmiutil_asy /usr/src/tmp/ipmiutil-buildroot/usr/share/ipmiutil/ipmiutil_asy sh ../install-sh -c -m 755 ipmiutil_evt /usr/src/tmp/ipmiutil-buildroot/usr/share/ipmiutil/ipmiutil_evt sh ../install-sh -c -m 755 ipmi_port.sh /usr/src/tmp/ipmiutil-buildroot/usr/share/ipmiutil/ipmi_port sh ../install-sh -c -m 755 checksel /usr/src/tmp/ipmiutil-buildroot/usr/share/ipmiutil sh ../install-sh -c -m 644 ipmiutil_wdt.service /usr/src/tmp/ipmiutil-buildroot/usr/share/ipmiutil sh ../install-sh -c -m 644 ipmiutil_asy.service /usr/src/tmp/ipmiutil-buildroot/usr/share/ipmiutil sh ../install-sh -c -m 644 ipmiutil_evt.service /usr/src/tmp/ipmiutil-buildroot/usr/share/ipmiutil sh ../install-sh -c -m 644 ipmi_port.service /usr/src/tmp/ipmiutil-buildroot/usr/share/ipmiutil sh ../install-sh -c -m 755 ipmiutil.env /usr/src/tmp/ipmiutil-buildroot/usr/share/ipmiutil sh ../install-sh -c -m 755 ipmiutil.pre /usr/src/tmp/ipmiutil-buildroot/usr/share/ipmiutil sh ../install-sh -c -m 755 ipmiutil.setup /usr/src/tmp/ipmiutil-buildroot/usr/share/ipmiutil for f in ialarms ihealth ifru igetevent ireset icmd isol ilan isensor isel iserial iwdt iconfig ipicmg ifirewall ifwum ihpm; do \ sh ../install-sh -c -m 755 $f /usr/src/tmp/ipmiutil-buildroot/usr/sbin; done make[1]: Leaving directory `/usr/src/RPM/BUILD/ipmiutil-2.8.3/scripts' Making install in lib make[1]: Entering directory `/usr/src/RPM/BUILD/ipmiutil-2.8.3/lib' sh ../mkinstalldirs /usr/src/tmp/ipmiutil-buildroot/usr/share/ipmiutil cd lanplus; make install make[2]: Entering directory `/usr/src/RPM/BUILD/ipmiutil-2.8.3/lib/lanplus' make[3]: Entering directory `/usr/src/RPM/BUILD/ipmiutil-2.8.3/lib/lanplus' test -z "/usr/lib64" || mkdir -p -- "/usr/src/tmp/ipmiutil-buildroot/usr/lib64" make[3]: Nothing to be done for `install-data-am'. make[3]: Leaving directory `/usr/src/RPM/BUILD/ipmiutil-2.8.3/lib/lanplus' make[2]: Leaving directory `/usr/src/RPM/BUILD/ipmiutil-2.8.3/lib/lanplus' make[1]: Leaving directory `/usr/src/RPM/BUILD/ipmiutil-2.8.3/lib' Making install in util make[1]: Entering directory `/usr/src/RPM/BUILD/ipmiutil-2.8.3/util' x86_64-alt-linux-gcc -DHAVE_CONFIG_H -I. -I. -I.. -I.. -DLINUX -DLOCALEDIR=\"/usr/share/locale\" -I. -I.. -DMETACOMMAND -DHAVE_LANPLUS -pipe -Wall -g -O2 -c ipmilan.c ipmilan.c: In function 'sig_abort': ipmilan.c:648:8: warning: variable 'rv' set but not used [-Wunused-but-set-variable] int rv; ^ ipmilan.c: In function 'hash': ipmilan.c:794:17: warning: variable 'i' set but not used [-Wunused-but-set-variable] int blen, n, i; ^ ipmilan.c: In function '_send_lan_cmd': ipmilan.c:1025:23: warning: format '%d' expects argument of type 'int', but argument 4 has type 'long unsigned int' [-Wformat=] fprintf(fpdbg,"message size %d > buffer size %d\n",clen,sizeof(cbuf)); ^ ipmilan.c: In function 'ipmilan_open_session': ipmilan.c:1445:17: warning: pointer targets in passing argument 1 of 'strncpy' differ in signedness [-Wpointer-sign] strncpy(&ibuf[1],username,16); ^ In file included from /usr/include/features.h:368:0, from /usr/include/stdio.h:27, from ipmilan.c:81: /usr/include/bits/string3.h:123:1: note: expected 'char * restrict' but argument is of type 'unsigned char *' __NTH (strncpy (char *__restrict __dest, const char *__restrict __src, ^ ipmilan.c: In function 'lan_recv_sol': ipmilan.c:2157:14: warning: pointer targets in assignment differ in signedness [-Wpointer-sign] rsp->data = rsdata; ^ ipmilan.c:2150:8: warning: variable 'fdoauth' set but not used [-Wunused-but-set-variable] int fdoauth = 1; ^ ipmilan.c: At top level: ipmilan.c:325:14: warning: 'sol_offset' defined but not used [-Wunused-variable] static uchar sol_offset = 0; ^ ipmilan.c:1307:14: warning: 'auth_type_mask' defined but not used [-Wunused-function] static uchar auth_type_mask(int authcode, uchar allowed) ^ ipmilan.c:1941:13: warning: 'sol15_encrypt' defined but not used [-Wunused-function] static void sol15_encrypt( uchar *dst, uchar *src, int len, uchar SeedCount ) ^ ipmilan.c:1959:13: warning: 'sol15_decrypt' defined but not used [-Wunused-function] static void sol15_decrypt( uchar *dst, uchar *src, int len, uchar SeedCount ) ^ x86_64-alt-linux-gcc -DHAVE_CONFIG_H -I. -I. -I.. -I.. -DLINUX -DLOCALEDIR=\"/usr/share/locale\" -I. -I.. -DMETACOMMAND -DHAVE_LANPLUS -pipe -Wall -g -O2 -c ipmilanplus.c ipmilanplus.c: In function 'ipmi_open_lan2': ipmilanplus.c:286:24: warning: pointer targets in passing argument 1 of 'strcpy' differ in signedness [-Wpointer-sign] strcpy(intf->session->hostname,node); ^ In file included from /usr/include/features.h:368:0, from /usr/include/stdio.h:27, from ipmilanplus.c:9: /usr/include/bits/string3.h:108:1: note: expected 'char * restrict' but argument is of type 'uint8_t * {aka unsigned char *}' __NTH (strcpy (char *__restrict __dest, const char *__restrict __src)) ^ ipmilanplus.c:289:24: warning: pointer targets in passing argument 1 of 'strcpy' differ in signedness [-Wpointer-sign] strcpy(intf->session->username,user); ^ In file included from /usr/include/features.h:368:0, from /usr/include/stdio.h:27, from ipmilanplus.c:9: /usr/include/bits/string3.h:108:1: note: expected 'char * restrict' but argument is of type 'uint8_t * {aka unsigned char *}' __NTH (strcpy (char *__restrict __dest, const char *__restrict __src)) ^ ipmilanplus.c:298:23: warning: pointer targets in passing argument 1 of 'strncpy' differ in signedness [-Wpointer-sign] strncpy(intf->session->authcode, pswd, n); ^ In file included from /usr/include/features.h:368:0, from /usr/include/stdio.h:27, from ipmilanplus.c:9: /usr/include/bits/string3.h:123:1: note: expected 'char * restrict' but argument is of type 'uint8_t * {aka unsigned char *}' __NTH (strncpy (char *__restrict __dest, const char *__restrict __src, ^ ipmilanplus.c: In function 'lan2_keepalive': ipmilanplus.c:575:22: warning: pointer targets in assignment differ in signedness [-Wpointer-sign] rsp->data = rs->data; ^ ipmilanplus.c: In function 'lan2_send_break': ipmilanplus.c:625:12: warning: pointer targets in assignment differ in signedness [-Wpointer-sign] rsp->data = rs->data; ^ ipmilanplus.c: In function 'lan2_send_sol': ipmilanplus.c:680:18: warning: pointer targets in assignment differ in signedness [-Wpointer-sign] rsp->data = rs->data; ^ ipmilanplus.c: In function 'lan2_recv_sol': ipmilanplus.c:710:15: warning: pointer targets in assignment differ in signedness [-Wpointer-sign] rsp->data = rs->data; ^ ipmilanplus.c: In function 'lan2_recv_handler': ipmilanplus.c:738:14: warning: pointer targets in assignment differ in signedness [-Wpointer-sign] rsp.data = rs->data; ^ x86_64-alt-linux-gcc -pipe -Wall -g -O2 -o ipmiutil ipmiutil.o ialarms.o ihealth.o ievents.o ifru.o ifru_picmg.o igetevent.o ireset.o icmd.o ilan.o isensor.o isel.o iserial.o iwdt.o isol.o idiscover.o iconfig.o ipicmg.o ifirewall.o ifwum.o ihpm.o itsol.o idcmi.o oem_kontron.o oem_fujitsu.o oem_intel.o oem_sun.o iekanalyzer.o oem_supermicro.o oem_dell.o oem_quanta.o oem_hp.o oem_newisys.o ipmicmd.o mem_if.o ipmidir.o imbapi.o ipmimv.o ipmild.o ipmibmc.o ipmilipmi.o subs.o ipmilan.o md5.o md2.o ipmilanplus.o -lpthread ../lib/libipmi_lanplus.a -lcrypto if [ "xno" = "xyes" ]; then \ x86_64-alt-linux-gcc -O2 -g -I. -I.. -DLINUX -DHAVE_LANPLUS -c ipmilanplus.c; \ x86_64-alt-linux-gcc -O2 -g -I. -I.. -DLINUX -DHAVE_LANPLUS -c ipmilan.c; \ ar x ../lib/libipmi_lanplus.a ; \ ar cru libipmiutil.a ipmicmd.o mem_if.o ipmidir.o imbapi.o ipmimv.o ipmild.o ipmibmc.o ipmilipmi.o subs.o ipmilan.o md5.o md2.o ipmilanplus.o lanplus.o lanplus_dump.o lanplus_crypt.o lanplus_crypt_impl.o lanplus_strings.o helper.o ipmi_strings.o ; \ ranlib libipmiutil.a; \ rm -f lanplus.o lanplus_dump.o lanplus_crypt.o lanplus_crypt_impl.o lanplus_strings.o helper.o ipmi_strings.o ipmilan.o ipmilanplus.o; \ LDSAM += ../lib/libipmi_lanplus.a -lcrypto ; \ else \ x86_64-alt-linux-gcc -O2 -g -I. -I.. -DLINUX -c ipmilanplus.c; \ x86_64-alt-linux-gcc -O2 -g -I. -I.. -DLINUX -c ipmilan.c; \ ar cru libipmiutil.a ipmicmd.o mem_if.o ipmidir.o imbapi.o ipmimv.o ipmild.o ipmibmc.o ipmilipmi.o subs.o ipmilan.o md5.o md2.o ipmilanplus.o ; \ ranlib libipmiutil.a ; \ rm -f ipmilan.o ipmilanplus.o; \ fi ipmilan.c: In function '_send_lan_cmd': ipmilan.c:1025:23: warning: format '%d' expects argument of type 'int', but argument 4 has type 'long unsigned int' [-Wformat=] fprintf(fpdbg,"message size %d > buffer size %d\n",clen,sizeof(cbuf)); ^ x86_64-alt-linux-gcc -O2 -g -I. -I.. -DLINUX -c ipmi_sample.c x86_64-alt-linux-gcc -g -O2 -o ipmi_sample ipmi_sample.o libipmiutil.a make[2]: Entering directory `/usr/src/RPM/BUILD/ipmiutil-2.8.3/util' x86_64-alt-linux-gcc -DHAVE_CONFIG_H -I. -I. -I.. -I.. -DLINUX -DLOCALEDIR=\"/usr/share/locale\" -I. -I.. -DMETACOMMAND -DHAVE_LANPLUS -pipe -Wall -g -O2 -c ipmilan.c ipmilan.c: In function 'sig_abort': ipmilan.c:648:8: warning: variable 'rv' set but not used [-Wunused-but-set-variable] int rv; ^ ipmilan.c: In function 'hash': ipmilan.c:794:17: warning: variable 'i' set but not used [-Wunused-but-set-variable] int blen, n, i; ^ ipmilan.c: In function '_send_lan_cmd': ipmilan.c:1025:23: warning: format '%d' expects argument of type 'int', but argument 4 has type 'long unsigned int' [-Wformat=] fprintf(fpdbg,"message size %d > buffer size %d\n",clen,sizeof(cbuf)); ^ ipmilan.c: In function 'ipmilan_open_session': ipmilan.c:1445:17: warning: pointer targets in passing argument 1 of 'strncpy' differ in signedness [-Wpointer-sign] strncpy(&ibuf[1],username,16); ^ In file included from /usr/include/features.h:368:0, from /usr/include/stdio.h:27, from ipmilan.c:81: /usr/include/bits/string3.h:123:1: note: expected 'char * restrict' but argument is of type 'unsigned char *' __NTH (strncpy (char *__restrict __dest, const char *__restrict __src, ^ ipmilan.c: In function 'lan_recv_sol': ipmilan.c:2157:14: warning: pointer targets in assignment differ in signedness [-Wpointer-sign] rsp->data = rsdata; ^ ipmilan.c:2150:8: warning: variable 'fdoauth' set but not used [-Wunused-but-set-variable] int fdoauth = 1; ^ ipmilan.c: At top level: ipmilan.c:325:14: warning: 'sol_offset' defined but not used [-Wunused-variable] static uchar sol_offset = 0; ^ ipmilan.c:1307:14: warning: 'auth_type_mask' defined but not used [-Wunused-function] static uchar auth_type_mask(int authcode, uchar allowed) ^ ipmilan.c:1941:13: warning: 'sol15_encrypt' defined but not used [-Wunused-function] static void sol15_encrypt( uchar *dst, uchar *src, int len, uchar SeedCount ) ^ ipmilan.c:1959:13: warning: 'sol15_decrypt' defined but not used [-Wunused-function] static void sol15_decrypt( uchar *dst, uchar *src, int len, uchar SeedCount ) ^ x86_64-alt-linux-gcc -DHAVE_CONFIG_H -I. -I. -I.. -I.. -DLINUX -DLOCALEDIR=\"/usr/share/locale\" -I. -I.. -DMETACOMMAND -DHAVE_LANPLUS -pipe -Wall -g -O2 -c ipmilanplus.c ipmilanplus.c: In function 'ipmi_open_lan2': ipmilanplus.c:286:24: warning: pointer targets in passing argument 1 of 'strcpy' differ in signedness [-Wpointer-sign] strcpy(intf->session->hostname,node); ^ In file included from /usr/include/features.h:368:0, from /usr/include/stdio.h:27, from ipmilanplus.c:9: /usr/include/bits/string3.h:108:1: note: expected 'char * restrict' but argument is of type 'uint8_t * {aka unsigned char *}' __NTH (strcpy (char *__restrict __dest, const char *__restrict __src)) ^ ipmilanplus.c:289:24: warning: pointer targets in passing argument 1 of 'strcpy' differ in signedness [-Wpointer-sign] strcpy(intf->session->username,user); ^ In file included from /usr/include/features.h:368:0, from /usr/include/stdio.h:27, from ipmilanplus.c:9: /usr/include/bits/string3.h:108:1: note: expected 'char * restrict' but argument is of type 'uint8_t * {aka unsigned char *}' __NTH (strcpy (char *__restrict __dest, const char *__restrict __src)) ^ ipmilanplus.c:298:23: warning: pointer targets in passing argument 1 of 'strncpy' differ in signedness [-Wpointer-sign] strncpy(intf->session->authcode, pswd, n); ^ In file included from /usr/include/features.h:368:0, from /usr/include/stdio.h:27, from ipmilanplus.c:9: /usr/include/bits/string3.h:123:1: note: expected 'char * restrict' but argument is of type 'uint8_t * {aka unsigned char *}' __NTH (strncpy (char *__restrict __dest, const char *__restrict __src, ^ ipmilanplus.c: In function 'lan2_keepalive': ipmilanplus.c:575:22: warning: pointer targets in assignment differ in signedness [-Wpointer-sign] rsp->data = rs->data; ^ ipmilanplus.c: In function 'lan2_send_break': ipmilanplus.c:625:12: warning: pointer targets in assignment differ in signedness [-Wpointer-sign] rsp->data = rs->data; ^ ipmilanplus.c: In function 'lan2_send_sol': ipmilanplus.c:680:18: warning: pointer targets in assignment differ in signedness [-Wpointer-sign] rsp->data = rs->data; ^ ipmilanplus.c: In function 'lan2_recv_sol': ipmilanplus.c:710:15: warning: pointer targets in assignment differ in signedness [-Wpointer-sign] rsp->data = rs->data; ^ ipmilanplus.c: In function 'lan2_recv_handler': ipmilanplus.c:738:14: warning: pointer targets in assignment differ in signedness [-Wpointer-sign] rsp.data = rs->data; ^ x86_64-alt-linux-gcc -pipe -Wall -g -O2 -o ipmiutil ipmiutil.o ialarms.o ihealth.o ievents.o ifru.o ifru_picmg.o igetevent.o ireset.o icmd.o ilan.o isensor.o isel.o iserial.o iwdt.o isol.o idiscover.o iconfig.o ipicmg.o ifirewall.o ifwum.o ihpm.o itsol.o idcmi.o oem_kontron.o oem_fujitsu.o oem_intel.o oem_sun.o iekanalyzer.o oem_supermicro.o oem_dell.o oem_quanta.o oem_hp.o oem_newisys.o ipmicmd.o mem_if.o ipmidir.o imbapi.o ipmimv.o ipmild.o ipmibmc.o ipmilipmi.o subs.o ipmilan.o md5.o md2.o ipmilanplus.o -lpthread ../lib/libipmi_lanplus.a -lcrypto test -z "/usr/bin" || mkdir -p -- "/usr/src/tmp/ipmiutil-buildroot/usr/bin" /bin/sh ../libtool --mode=install /bin/install -p 'ipmiutil' '/usr/src/tmp/ipmiutil-buildroot/usr/bin/ipmiutil' /bin/install -p ipmiutil /usr/src/tmp/ipmiutil-buildroot/usr/bin/ipmiutil /bin/sh ../libtool --mode=install /bin/install -p 'ievents' '/usr/src/tmp/ipmiutil-buildroot/usr/bin/ievents' /bin/install -p ievents /usr/src/tmp/ipmiutil-buildroot/usr/bin/ievents /bin/sh ../libtool --mode=install /bin/install -p 'idiscover' '/usr/src/tmp/ipmiutil-buildroot/usr/bin/idiscover' /bin/install -p idiscover /usr/src/tmp/ipmiutil-buildroot/usr/bin/idiscover test -z "/usr/sbin" || mkdir -p -- "/usr/src/tmp/ipmiutil-buildroot/usr/sbin" /bin/sh ../libtool --mode=install /bin/install -p 'ipmi_port' '/usr/src/tmp/ipmiutil-buildroot/usr/sbin/ipmi_port' /bin/install -p ipmi_port /usr/src/tmp/ipmiutil-buildroot/usr/sbin/ipmi_port if [ "xno" = "xyes" ]; then \ x86_64-alt-linux-gcc -O2 -g -I. -I.. -DLINUX -DHAVE_LANPLUS -c ipmilanplus.c; \ x86_64-alt-linux-gcc -O2 -g -I. -I.. -DLINUX -DHAVE_LANPLUS -c ipmilan.c; \ ar x ../lib/libipmi_lanplus.a ; \ ar cru libipmiutil.a ipmicmd.o mem_if.o ipmidir.o imbapi.o ipmimv.o ipmild.o ipmibmc.o ipmilipmi.o subs.o ipmilan.o md5.o md2.o ipmilanplus.o lanplus.o lanplus_dump.o lanplus_crypt.o lanplus_crypt_impl.o lanplus_strings.o helper.o ipmi_strings.o ; \ ranlib libipmiutil.a; \ rm -f lanplus.o lanplus_dump.o lanplus_crypt.o lanplus_crypt_impl.o lanplus_strings.o helper.o ipmi_strings.o ipmilan.o ipmilanplus.o; \ LDSAM += ../lib/libipmi_lanplus.a -lcrypto ; \ else \ x86_64-alt-linux-gcc -O2 -g -I. -I.. -DLINUX -c ipmilanplus.c; \ x86_64-alt-linux-gcc -O2 -g -I. -I.. -DLINUX -c ipmilan.c; \ ar cru libipmiutil.a ipmicmd.o mem_if.o ipmidir.o imbapi.o ipmimv.o ipmild.o ipmibmc.o ipmilipmi.o subs.o ipmilan.o md5.o md2.o ipmilanplus.o ; \ ranlib libipmiutil.a ; \ rm -f ipmilan.o ipmilanplus.o; \ fi ipmilan.c: In function '_send_lan_cmd': ipmilan.c:1025:23: warning: format '%d' expects argument of type 'int', but argument 4 has type 'long unsigned int' [-Wformat=] fprintf(fpdbg,"message size %d > buffer size %d\n",clen,sizeof(cbuf)); ^ x86_64-alt-linux-gcc -O2 -g -I. -I.. -DLINUX -c ipmi_sample.c x86_64-alt-linux-gcc -g -O2 -o ipmi_sample ipmi_sample.o libipmiutil.a mkdir -p /usr/src/tmp/ipmiutil-buildroot/usr/share/ipmiutil mkdir -p /usr/src/tmp/ipmiutil-buildroot/usr/lib64 cp -f ipmi_sample.c ipmicmd.h /usr/src/tmp/ipmiutil-buildroot/usr/share/ipmiutil cp -f Makefile.sample /usr/src/tmp/ipmiutil-buildroot/usr/share/ipmiutil/Makefile cp -f libipmiutil.a /usr/src/tmp/ipmiutil-buildroot/usr/lib64 make[2]: Leaving directory `/usr/src/RPM/BUILD/ipmiutil-2.8.3/util' make[1]: Leaving directory `/usr/src/RPM/BUILD/ipmiutil-2.8.3/util' make[1]: Entering directory `/usr/src/RPM/BUILD/ipmiutil-2.8.3' make[2]: Entering directory `/usr/src/RPM/BUILD/ipmiutil-2.8.3' make[2]: Nothing to be done for `install-exec-am'. make[2]: Nothing to be done for `install-data-am'. make[2]: Leaving directory `/usr/src/RPM/BUILD/ipmiutil-2.8.3' make[1]: Leaving directory `/usr/src/RPM/BUILD/ipmiutil-2.8.3' make: Leaving directory `/usr/src/RPM/BUILD/ipmiutil-2.8.3' + install -pDm755 scripts/checksel /usr/src/tmp/ipmiutil-buildroot/etc/cron.daily/checksel + install -dm700 /usr/src/tmp/ipmiutil-buildroot/var/lib/ipmiutil + /usr/lib/rpm/brp-alt Cleaning files in /usr/src/tmp/ipmiutil-buildroot (auto) Verifying and fixing files in /usr/src/tmp/ipmiutil-buildroot (binconfig,pkgconfig,libtool,desktop) Compressing files in /usr/src/tmp/ipmiutil-buildroot (auto) Adjusting library links in /usr/src/tmp/ipmiutil-buildroot ./var/lib: ./usr/lib64: Verifying ELF objects in /usr/src/tmp/ipmiutil-buildroot (arch=normal,fhs=normal,lfs=relaxed,lint=relaxed,rpath=normal,stack=normal,textrel=normal,unresolved=normal) Hardlinking identical .pyc and .pyo files Processing files: ipmiutil-2.8.3-alt2 Finding Provides (using /usr/lib/rpm/find-provides) Executing: /bin/sh -e /usr/src/tmp/rpm-tmp.U2kLFP find-provides: running scripts (alternatives,debuginfo,lib,pam,perl,pkgconfig,python,shell) Finding Requires (using /usr/lib/rpm/find-requires) Executing: /bin/sh -e /usr/src/tmp/rpm-tmp.qR9xns find-requires: running scripts (cpp,debuginfo,files,lib,pam,perl,pkgconfig,pkgconfiglib,python,rpmlib,shebang,shell,static,symlinks) find-requires: FINDPACKAGE-COMMANDS: cat cp dmidecode grep mkdir rm sh touch which Requires: /bin/sh, /lib64/ld-linux-x86-64.so.2, coreutils, dmidecode, grep, libc.so.6(GLIBC_2.14)(64bit), libc.so.6(GLIBC_2.15)(64bit), libc.so.6(GLIBC_2.2.5)(64bit), libc.so.6(GLIBC_2.3)(64bit), libc.so.6(GLIBC_2.3.4)(64bit), libc.so.6(GLIBC_2.4)(64bit), libc.so.6(GLIBC_2.7)(64bit), libcrypto.so.10()(64bit) >= set:qlvV2cmw4pK1KkKLOSI2ljmoTZyAxHeLE6uxz302tkOCHIzyR3yL7TZek62dQTNiEcDUlSjMB7DE9t4Hpj1, libpthread.so.0(GLIBC_2.2.5)(64bit), rtld(GNU_HASH), sh, which Requires(rpmlib): rpmlib(SetVersions) Finding debuginfo files (using /usr/lib/rpm/find-debuginfo-files) Executing: /bin/sh -e /usr/src/tmp/rpm-tmp.EwoFsa Creating ipmiutil-debuginfo package Processing files: ipmiutil-cronjob-2.8.3-alt2 Finding Provides (using /usr/lib/rpm/find-provides) Executing: /bin/sh -e /usr/src/tmp/rpm-tmp.m1JJiV find-provides: running scripts (alternatives,debuginfo,lib,pam,perl,pkgconfig,python,shell) Finding Requires (using /usr/lib/rpm/find-requires) Executing: /bin/sh -e /usr/src/tmp/rpm-tmp.UwMMRI find-requires: running scripts (cpp,debuginfo,files,lib,pam,perl,pkgconfig,pkgconfiglib,python,rpmlib,shebang,shell,static,symlinks) find-requires: FINDPACKAGE-COMMANDS: grep Requires: /bin/sh, /etc/cron.daily, grep Processing files: ipmiutil-debuginfo-2.8.3-alt2 Finding Provides (using /usr/lib/rpm/find-provides) Executing: /bin/sh -e /usr/src/tmp/rpm-tmp.g8ATcz find-provides: running scripts (debuginfo) Finding Requires (using /usr/lib/rpm/find-requires) Executing: /bin/sh -e /usr/src/tmp/rpm-tmp.oMolhs find-requires: running scripts (debuginfo) Requires: ipmiutil = 2.8.3-alt2, /usr/lib/debug/lib64/ld-linux-x86-64.so.2.debug, debug64(libc.so.6), debug64(libcrypto.so.10), debug64(libpthread.so.0) warning: Installed (but unpackaged) file(s) found: /usr/lib64/libipmiutil.a Wrote: /usr/src/RPM/RPMS/x86_64/ipmiutil-2.8.3-alt2.x86_64.rpm Wrote: /usr/src/RPM/RPMS/noarch/ipmiutil-cronjob-2.8.3-alt2.noarch.rpm Wrote: /usr/src/RPM/RPMS/x86_64/ipmiutil-debuginfo-2.8.3-alt2.x86_64.rpm 21.91user 3.32system 0:39.50elapsed 63%CPU (0avgtext+0avgdata 62520maxresident)k 0inputs+0outputs (0major+1769355minor)pagefaults 0swaps 26.07user 5.20system 0:47.07elapsed 66%CPU (0avgtext+0avgdata 121804maxresident)k 0inputs+0outputs (0major+2076519minor)pagefaults 0swaps --- ipmiutil-2.8.3-alt2.x86_64.rpm.repo 2014-11-27 16:16:48.000000000 +0000 +++ ipmiutil-2.8.3-alt2.x86_64.rpm.hasher 2019-04-14 01:38:39.771408356 +0000 @@ -40,28 +40,28 @@ /usr/share/ipmiutil/ipmiutil_wdt.service 100644 -/usr/share/man/man8/ialarms.8.gz 100644 -/usr/share/man/man8/icmd.8.gz 100644 -/usr/share/man/man8/iconfig.8.gz 100644 -/usr/share/man/man8/idcmi.8.gz 100644 -/usr/share/man/man8/idelloem.8.gz 100644 -/usr/share/man/man8/idiscover.8.gz 100644 -/usr/share/man/man8/iekanalyzer.8.gz 100644 -/usr/share/man/man8/ievents.8.gz 100644 -/usr/share/man/man8/ifirewall.8.gz 100644 -/usr/share/man/man8/ifru.8.gz 100644 -/usr/share/man/man8/ifwum.8.gz 100644 -/usr/share/man/man8/igetevent.8.gz 100644 -/usr/share/man/man8/ihealth.8.gz 100644 -/usr/share/man/man8/ihpm.8.gz 100644 -/usr/share/man/man8/ilan.8.gz 100644 -/usr/share/man/man8/ipicmg.8.gz 100644 -/usr/share/man/man8/ipmi_port.8.gz 100644 -/usr/share/man/man8/ipmiutil.8.gz 100644 -/usr/share/man/man8/ireset.8.gz 100644 -/usr/share/man/man8/isel.8.gz 100644 -/usr/share/man/man8/isensor.8.gz 100644 -/usr/share/man/man8/iserial.8.gz 100644 -/usr/share/man/man8/isol.8.gz 100644 -/usr/share/man/man8/isunoem.8.gz 100644 -/usr/share/man/man8/itsol.8.gz 100644 -/usr/share/man/man8/iwdt.8.gz 100644 +/usr/share/man/man8/ialarms.8.xz 100644 +/usr/share/man/man8/icmd.8.xz 100644 +/usr/share/man/man8/iconfig.8.xz 100644 +/usr/share/man/man8/idcmi.8.xz 100644 +/usr/share/man/man8/idelloem.8.xz 100644 +/usr/share/man/man8/idiscover.8.xz 100644 +/usr/share/man/man8/iekanalyzer.8.xz 100644 +/usr/share/man/man8/ievents.8.xz 100644 +/usr/share/man/man8/ifirewall.8.xz 100644 +/usr/share/man/man8/ifru.8.xz 100644 +/usr/share/man/man8/ifwum.8.xz 100644 +/usr/share/man/man8/igetevent.8.xz 100644 +/usr/share/man/man8/ihealth.8.xz 100644 +/usr/share/man/man8/ihpm.8.xz 100644 +/usr/share/man/man8/ilan.8.xz 100644 +/usr/share/man/man8/ipicmg.8.xz 100644 +/usr/share/man/man8/ipmi_port.8.xz 100644 +/usr/share/man/man8/ipmiutil.8.xz 100644 +/usr/share/man/man8/ireset.8.xz 100644 +/usr/share/man/man8/isel.8.xz 100644 +/usr/share/man/man8/isensor.8.xz 100644 +/usr/share/man/man8/iserial.8.xz 100644 +/usr/share/man/man8/isol.8.xz 100644 +/usr/share/man/man8/isunoem.8.xz 100644 +/usr/share/man/man8/itsol.8.xz 100644 +/usr/share/man/man8/iwdt.8.xz 100644 /var/lib/ipmiutil 40700 @@ -79,3 +79,3 @@ Requires: libc.so.6(GLIBC_2.7)(64bit) -Requires: libcrypto.so.10()(64bit) >= set:pkvV2GYqZcF6qeMskIu8WTZzId5zAoIFcA8hSakdpxtZB8f942I4aLDHgHLOu2uusijW8bdrss0Ilw3 +Requires: libcrypto.so.10()(64bit) >= set:qlvV2cmw4pK1KkKLOSI2ljmoTZyAxHeLE6uxz302tkOCHIzyR3yL7TZek62dQTNiEcDUlSjMB7DE9t4Hpj1 Requires: rpmlib(SetVersions)