<86>Apr 21 01:54:57 userdel[29142]: delete user 'rooter' <86>Apr 21 01:54:57 groupadd[29207]: group added to /etc/group: name=rooter, GID=603 <86>Apr 21 01:54:57 groupadd[29207]: group added to /etc/gshadow: name=rooter <86>Apr 21 01:54:57 groupadd[29207]: new group: name=rooter, GID=603 <86>Apr 21 01:54:57 useradd[29216]: new user: name=rooter, UID=603, GID=603, home=/root, shell=/bin/bash <86>Apr 21 01:54:57 userdel[29232]: delete user 'builder' <86>Apr 21 01:54:57 userdel[29232]: removed group 'builder' owned by 'builder' <86>Apr 21 01:54:57 userdel[29232]: removed shadow group 'builder' owned by 'builder' <86>Apr 21 01:54:57 groupadd[29243]: group added to /etc/group: name=builder, GID=604 <86>Apr 21 01:54:57 groupadd[29243]: group added to /etc/gshadow: name=builder <86>Apr 21 01:54:57 groupadd[29243]: new group: name=builder, GID=604 <86>Apr 21 01:54:57 useradd[29249]: new user: name=builder, UID=604, GID=604, home=/usr/src, shell=/bin/bash <13>Apr 21 01:54:59 rpmi: libcom_err-1.42.13-alt2 1449075846 installed <13>Apr 21 01:54:59 rpmi: libverto-0.2.6-alt1_6 1455633234 installed <13>Apr 21 01:54:59 rpmi: libverto-devel-0.2.6-alt1_6 1455633234 installed <13>Apr 21 01:54:59 rpmi: libcom_err-devel-1.42.13-alt2 1449075846 installed <13>Apr 21 01:54:59 rpmi: libtinfo-devel-5.9-alt8 1456756459 installed <13>Apr 21 01:54:59 rpmi: libkeyutils-1.5.10-alt0.M80P.2 p8+216694.100.6.1 1547827915 installed <13>Apr 21 01:54:59 rpmi: libgpg-error-1.31-alt1.M80P.1 1529024730 installed <13>Apr 21 01:54:59 rpmi: libgcrypt20-1.8.3-alt4 p8+219793.200.6.1 1551112986 installed <13>Apr 21 01:55:00 rpmi: libfreeipmi-1.5.2-alt1 1466102352 installed <13>Apr 21 01:55:00 rpmi: ca-certificates-2016.02.25-alt1 1462368370 installed <13>Apr 21 01:55:00 rpmi: libcrypto10-1.0.2n-alt0.M80P.1 1512766129 installed <13>Apr 21 01:55:00 rpmi: libfreeipmi-devel-1.5.2-alt1 1466102352 installed <13>Apr 21 01:55:00 rpmi: libncurses-devel-5.9-alt8 1456756459 installed <13>Apr 21 01:55:00 rpmi: libreadline-devel-6.3.8-alt2 1449773803 installed <86>Apr 21 01:55:00 groupadd[40563]: group added to /etc/group: name=_keytab, GID=499 <86>Apr 21 01:55:00 groupadd[40563]: group added to /etc/gshadow: name=_keytab <86>Apr 21 01:55:00 groupadd[40563]: new group: name=_keytab, GID=499 <13>Apr 21 01:55:00 rpmi: libkrb5-1.14.6-alt1.M80P.1 1525355673 installed <13>Apr 21 01:55:00 rpmi: libssl10-1.0.2n-alt0.M80P.1 1512766129 installed <86>Apr 21 01:55:00 groupadd[40912]: group added to /etc/group: name=sasl, GID=498 <86>Apr 21 01:55:00 groupadd[40912]: group added to /etc/gshadow: name=sasl <86>Apr 21 01:55:00 groupadd[40912]: new group: name=sasl, GID=498 <13>Apr 21 01:55:00 rpmi: libsasl2-3-2.1.26-alt7 1479477445 installed <13>Apr 21 01:55:00 rpmi: libldap-2.4.45-alt1.M80P.1 1513980376 installed <13>Apr 21 01:55:00 rpmi: libkrb5-ldap-1.14.6-alt1.M80P.1 1525355673 installed <13>Apr 21 01:55:00 rpmi: libkrb5-devel-1.14.6-alt1.M80P.1 1525355673 installed <13>Apr 21 01:55:00 rpmi: libssl-devel-1.0.2n-alt0.M80P.1 1512766129 installed Installing ipmitool-1.8.17-alt2.src.rpm Building target platforms: x86_64 Building for target x86_64 Executing(%prep): /bin/sh -e /usr/src/tmp/rpm-tmp.92734 + umask 022 + /bin/mkdir -p /usr/src/RPM/BUILD + cd /usr/src/RPM/BUILD + cd /usr/src/RPM/BUILD + rm -rf ipmitool-1.8.17 + echo 'Source #0 (ipmitool-1.8.17.tar):' Source #0 (ipmitool-1.8.17.tar): + /bin/tar -xf /usr/src/RPM/SOURCES/ipmitool-1.8.17.tar + cd ipmitool-1.8.17 + /bin/chmod -c -Rf u+rwX,go-w . + exit 0 Executing(%build): /bin/sh -e /usr/src/tmp/rpm-tmp.92734 + umask 022 + /bin/mkdir -p /usr/src/RPM/BUILD + cd /usr/src/RPM/BUILD + cd ipmitool-1.8.17 + touch NEWS + autoreconf -fisv autoreconf-default: Entering directory `.' autoreconf-default: configure.ac: not using Gettext autoreconf-default: running: aclocal --force autoreconf-default: configure.ac: tracing autoreconf-default: running: libtoolize --force --install libtoolize-default: putting auxiliary files in `.'. libtoolize-default: linking file `./config.guess' libtoolize-default: linking file `./config.sub' libtoolize-default: linking file `./install-sh' libtoolize-default: linking file `./ltmain.sh' libtoolize-default: Consider adding `AC_CONFIG_MACRO_DIR([m4])' to configure.ac and libtoolize-default: rerunning libtoolize-default, to keep the correct libtool macros in-tree. libtoolize-default: Consider adding `-I m4' to ACLOCAL_AMFLAGS in Makefile.am. autoreconf-default: configure.ac: not using Intltool autoreconf-default: configure.ac: not using gtk-doc autoreconf-default: running: /usr/bin/autoconf-2.60 --force autoreconf-default: running: /usr/bin/autoheader-2.60 --force autoreconf-default: running: automake --add-missing --force-missing configure.ac:13: installing './compile' configure.ac:7: installing './missing' Makefile.am:65: warning: shell cd $(top_builddir) ; pwd | sed -e 's,^[^:\\/]:[\\/],/,': non-POSIX variable name Makefile.am:65: (probably a GNU make extension) Makefile.am:66: warning: shell cd $(top_srcdir) ; pwd | sed -e 's,^[^:\\/]:[\\/],/,': non-POSIX variable name Makefile.am:66: (probably a GNU make extension) lib/Makefile.am: installing './depcomp' autoreconf-default: Leaving directory `.' + 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 --disable-dependency-tracking --enable-file-security configure: WARNING: unrecognized options: --without-included-gettext checking build system type... x86_64-alt-linux-gnu checking host system type... x86_64-alt-linux-gnu checking target system type... x86_64-alt-linux-gnu checking for a BSD-compatible install... /bin/install -c checking whether build environment is sane... yes checking for a thread-safe mkdir -p... /bin/mkdir -p checking for gawk... gawk checking whether make sets $(MAKE)... yes checking whether make supports nested variables... yes checking for x86_64-alt-linux-gcc... x86_64-alt-linux-gcc checking whether the C compiler works... yes checking for C compiler default output file name... a.out checking for suffix of executables... checking whether we are cross compiling... no checking for suffix of object files... o checking whether we are using the GNU C compiler... yes checking whether x86_64-alt-linux-gcc accepts -g... yes checking for x86_64-alt-linux-gcc option to accept ISO C89... none needed checking whether x86_64-alt-linux-gcc understands -c and -o together... yes checking for style of include used by make... GNU checking dependency style of x86_64-alt-linux-gcc... none checking whether ln -s works... yes checking whether make sets $(MAKE)... (cached) yes checking for rpmbuild... rpmbuild checking for sed... sed checking how to run the C preprocessor... x86_64-alt-linux-gcc -E checking for grep that handles long lines and -e... /bin/grep checking for egrep... /bin/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 for stdlib.h... (cached) yes checking for string.h... (cached) yes checking sys/ioctl.h usability... yes checking sys/ioctl.h presence... yes checking for sys/ioctl.h... yes checking for sys/stat.h... (cached) yes checking for unistd.h... (cached) yes checking paths.h usability... yes checking paths.h presence... yes checking for paths.h... yes checking arpa/inet.h usability... yes checking arpa/inet.h presence... yes checking for arpa/inet.h... yes checking fcntl.h usability... yes checking fcntl.h presence... yes checking for fcntl.h... yes checking netdb.h usability... yes checking netdb.h presence... yes checking for netdb.h... yes checking netinet/in.h usability... yes checking netinet/in.h presence... yes checking for netinet/in.h... yes checking sys/socket.h usability... yes checking sys/socket.h presence... yes checking for sys/socket.h... yes checking sys/byteorder.h usability... no checking sys/byteorder.h presence... no checking for sys/byteorder.h... no checking byteswap.h usability... yes checking byteswap.h presence... yes checking for byteswap.h... yes checking for an ANSI C-conforming const... yes checking for inline... inline checking whether byte ordering is bigendian... no checking sys/select.h usability... yes checking sys/select.h presence... yes checking for sys/select.h... yes checking for sys/socket.h... (cached) yes checking types of arguments for select... int,fd_set *,struct timeval * checking for working strtod... yes checking for alarm... yes checking for gethostbyname... yes checking for getaddrinfo... yes checking for getifaddrs... yes checking for socket... yes checking for select... yes checking for memmove... yes checking for memset... yes checking for strchr... yes checking for strdup... yes checking for strerror... yes checking for getpassphrase... no checking how to print strings... printf checking for a sed that does not truncate output... sed checking for fgrep... /bin/grep -F 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 BSD- or MS-compatible name lister (nm)... /usr/bin/nm -B checking the name lister (/usr/bin/nm -B) interface... BSD nm checking the maximum length of command line arguments... 1572864 checking whether the shell understands some XSI constructs... yes checking whether the shell understands "+="... yes checking how to convert x86_64-alt-linux-gnu file names to x86_64-alt-linux-gnu format... func_convert_file_noop checking how to convert x86_64-alt-linux-gnu file names to toolchain format... func_convert_file_noop checking for /usr/bin/ld option to reload object files... -r checking for x86_64-alt-linux-objdump... no checking for objdump... objdump checking how to recognize dependent libraries... (cached) pass_all checking for x86_64-alt-linux-dlltool... no checking for dlltool... no checking how to associate runtime and link libraries... printf %s\n checking for x86_64-alt-linux-ar... no checking for ar... ar checking for archiver @FILE support... @ checking for x86_64-alt-linux-strip... no checking for strip... strip checking for x86_64-alt-linux-ranlib... no checking for ranlib... ranlib checking command to parse /usr/bin/nm -B output from x86_64-alt-linux-gcc object... ok checking for sysroot... no checking for x86_64-alt-linux-mt... no checking for mt... no checking if : is a manifest tool... no checking for dlfcn.h... yes checking for objdir... .libs 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 -DPIC checking if x86_64-alt-linux-gcc PIC flag -fPIC -DPIC works... yes checking if x86_64-alt-linux-gcc static flag -static works... no checking if x86_64-alt-linux-gcc supports -c -o file.o... yes checking if x86_64-alt-linux-gcc supports -c -o file.o... (cached) 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 checking for library containing gethostbyname... none required checking for library containing getaddrinfo... none required checking for library containing getifaddrs... none required checking for library containing socket... none required checking for EVP_aes_128_cbc in -lcrypto... yes checking for MD5_Init in -lcrypto... yes checking for MD2_Init in -lcrypto... yes checking for linux/compiler.h... no checking sys/ioccom.h usability... no checking sys/ioccom.h presence... no checking for sys/ioccom.h... no checking linux/ipmi.h usability... yes checking linux/ipmi.h presence... yes checking for linux/ipmi.h... yes checking for ipmi_open_inband in -lfreeipmi... no checking for ipmi_ctx_open_inband in -lfreeipmi... yes checking for libfreeipmi version 0.3.0... no checking for libfreeipmi version 0.4.0... no checking for libfreeipmi version 0.5.0... no checking for libfreeipmi version 0.6.0... yes checking for ipmi_cmd_raw_ipmb in -lfreeipmi... yes checking termios.h usability... yes checking termios.h presence... yes checking for termios.h... yes checking for OpenIPMI dual bridge support... no checking sys/lipmi/lipmi_intf.h usability... no checking sys/lipmi/lipmi_intf.h presence... no checking for sys/lipmi/lipmi_intf.h... no ** Unable to build Solaris 9 x86 IPMI interface support! checking for library containing tgetent... -ltinfo checking for library containing initscr... -lncurses checking for library containing readline... -lreadline checking for library containing tgetent... (cached) -ltinfo checking for library containing initscr... (cached) -lncurses checking for library containing readline... (cached) -lreadline checking that generated files are newer than configure... done configure: creating ./config.status config.status: creating Makefile config.status: creating doc/Makefile config.status: creating contrib/Makefile config.status: creating control/Makefile config.status: creating control/pkginfo config.status: creating control/prototype config.status: creating control/rpmmacros config.status: creating control/ipmitool.spec config.status: creating lib/Makefile config.status: creating include/Makefile config.status: creating include/ipmitool/Makefile config.status: creating src/Makefile config.status: creating src/plugins/Makefile config.status: creating src/plugins/lan/Makefile config.status: creating src/plugins/lanplus/Makefile config.status: creating src/plugins/open/Makefile config.status: creating src/plugins/free/Makefile config.status: creating src/plugins/imb/Makefile config.status: creating src/plugins/bmc/Makefile config.status: creating src/plugins/usb/Makefile config.status: creating src/plugins/lipmi/Makefile config.status: creating src/plugins/serial/Makefile config.status: creating src/plugins/dummy/Makefile config.status: creating config.h config.status: executing depfiles commands config.status: executing libtool commands configure: WARNING: unrecognized options: --without-included-gettext ipmitool 1.8.17-cvs Interfaces lan : yes lanplus : yes open : yes free : yes imb : yes bmc : no usb : yes lipmi : no serial : yes dummy : no Extra tools ipmievd : yes ipmishell : yes + '[' -n '' ']' + NPROCS=8 + make -j8 make: Entering directory `/usr/src/RPM/BUILD/ipmitool-1.8.17' make all-recursive make[1]: Entering directory `/usr/src/RPM/BUILD/ipmitool-1.8.17' Making all in lib make[2]: Entering directory `/usr/src/RPM/BUILD/ipmitool-1.8.17/lib' /bin/sh ../libtool --silent --tag=CC --mode=compile x86_64-alt-linux-gcc -DHAVE_CONFIG_H -I. -I.. -I../include -pipe -Wall -g -O2 -Wall -Wextra -std=gnu99 -pedantic -Wformat -Wformat-nonliteral -c -o helper.lo helper.c /bin/sh ../libtool --silent --tag=CC --mode=compile x86_64-alt-linux-gcc -DHAVE_CONFIG_H -I. -I.. -I../include -pipe -Wall -g -O2 -Wall -Wextra -std=gnu99 -pedantic -Wformat -Wformat-nonliteral -c -o ipmi_sdr.lo ipmi_sdr.c /bin/sh ../libtool --silent --tag=CC --mode=compile x86_64-alt-linux-gcc -DHAVE_CONFIG_H -I. -I.. -I../include -pipe -Wall -g -O2 -Wall -Wextra -std=gnu99 -pedantic -Wformat -Wformat-nonliteral -c -o ipmi_sel.lo ipmi_sel.c /bin/sh ../libtool --silent --tag=CC --mode=compile x86_64-alt-linux-gcc -DHAVE_CONFIG_H -I. -I.. -I../include -pipe -Wall -g -O2 -Wall -Wextra -std=gnu99 -pedantic -Wformat -Wformat-nonliteral -c -o ipmi_sol.lo ipmi_sol.c /bin/sh ../libtool --silent --tag=CC --mode=compile x86_64-alt-linux-gcc -DHAVE_CONFIG_H -I. -I.. -I../include -pipe -Wall -g -O2 -Wall -Wextra -std=gnu99 -pedantic -Wformat -Wformat-nonliteral -c -o ipmi_pef.lo ipmi_pef.c /bin/sh ../libtool --silent --tag=CC --mode=compile x86_64-alt-linux-gcc -DHAVE_CONFIG_H -I. -I.. -I../include -pipe -Wall -g -O2 -Wall -Wextra -std=gnu99 -pedantic -Wformat -Wformat-nonliteral -c -o ipmi_lanp.lo ipmi_lanp.c /bin/sh ../libtool --silent --tag=CC --mode=compile x86_64-alt-linux-gcc -DHAVE_CONFIG_H -I. -I.. -I../include -pipe -Wall -g -O2 -Wall -Wextra -std=gnu99 -pedantic -Wformat -Wformat-nonliteral -c -o ipmi_fru.lo ipmi_fru.c /bin/sh ../libtool --silent --tag=CC --mode=compile x86_64-alt-linux-gcc -DHAVE_CONFIG_H -I. -I.. -I../include -pipe -Wall -g -O2 -Wall -Wextra -std=gnu99 -pedantic -Wformat -Wformat-nonliteral -c -o ipmi_chassis.lo ipmi_chassis.c In file included from /usr/include/stdlib.h:24:0, from ipmi_sol.c:38: /usr/include/features.h:148:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" ^ In file included from /usr/include/string.h:25:0, from ipmi_sdr.c:37: /usr/include/features.h:148:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" ^ In file included from /usr/include/stdlib.h:24:0, from ipmi_chassis.c:35: /usr/include/features.h:148:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" ^ In file included from /usr/include/string.h:25:0, from ipmi_sel.c:34: /usr/include/features.h:148:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" ^ In file included from /usr/include/sys/types.h:25:0, from helper.c:39: /usr/include/features.h:148:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" ^ In file included from ../include/ipmitool/ipmi_fru.h:38:0, from ipmi_fru.c:37: ../include/ipmitool/ipmi_sdr.h:312:23: warning: ISO C99 doesn't support unnamed structs/unions [-Wpedantic] } ATTRIBUTE_PACKING; ^ In file included from ipmi_fru.c:37:0: ../include/ipmitool/ipmi_fru.h:84:3: warning: ISO C99 doesn't support unnamed structs/unions [-Wpedantic] }; ^ ipmi_fru.c: In function 'write_fru_area': ipmi_fru.c:467:26: warning: implicit declaration of function 'ipmi_intf_get_max_request_data_size' [-Wimplicit-function-declaration] uint16_t max_rq_size = ipmi_intf_get_max_request_data_size(intf); ^ ipmi_fru.c: In function 'read_fru_area': ipmi_fru.c:637:26: warning: implicit declaration of function 'ipmi_intf_get_max_response_data_size' [-Wimplicit-function-declaration] uint16_t max_rs_size = ipmi_intf_get_max_response_data_size(intf) - 1; ^ ipmi_fru.c: In function 'fru_area_print_chassis': ipmi_fru.c:965:9: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] if (i == j) { ^ ipmi_fru.c: In function 'fru_area_print_board': ipmi_fru.c:1090:9: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] if (i == j) ^ ipmi_fru.c: In function 'fru_area_print_product': ipmi_fru.c:1225:9: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] if (i == j) ^ ipmi_fru.c: In function 'ipmi_fru_query_new_value': ipmi_fru.c:1458:13: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] for( i=0;idesc); ^ ipmi_pef.c: In function 'ipmi_pef_print_flags': ipmi_pef.c:129:4: warning: format not a string literal, argument types not checked [-Wformat-nonliteral] printf(listitem[index], ipmi_pef_bit_desc(map, maskval)); ^ ipmi_pef.c: In function 'ipmi_pef_print_field': ipmi_pef.c:141:3: warning: format not a string literal, argument types not checked [-Wformat-nonliteral] printf(fmt[0], KYWD_LENGTH, label, val); ^ ipmi_pef.c:143:3: warning: format not a string literal, argument types not checked [-Wformat-nonliteral] printf(&fmt[1][2], val); /* skip field separator */ ^ ipmi_pef.c:145:3: warning: format not a string literal, argument types not checked [-Wformat-nonliteral] printf(fmt[1], val); ^ ipmi_sol.c: In function 'ipmi_sol_set_param_isvalid_uint8_t': ipmi_sol.c:659:10: warning: unused parameter 'base' [-Wunused-parameter] int base, ^ ipmi_pef.c: In function 'ipmi_pef_print_serial_dest_ppp': In file included from ipmi_sdr.c:48:0: ../include/ipmitool/ipmi_sdr.h:312:23: warning: ISO C99 doesn't support unnamed structs/unions [-Wpedantic] } ATTRIBUTE_PACKING; ^ ipmi_pef.c:435:51: warning: unused parameter 'intf' [-Wunused-parameter] ipmi_pef_print_serial_dest_ppp(struct ipmi_intf * intf, ^ ipmi_pef.c:436:49: warning: unused parameter 'ssel' [-Wunused-parameter] struct pef_serial_cfgparm_selector * ssel) ^ ipmi_pef.c: In function 'ipmi_pef_print_serial_dest_callback': ipmi_pef.c:445:56: warning: unused parameter 'intf' [-Wunused-parameter] ipmi_pef_print_serial_dest_callback(struct ipmi_intf * intf, ^ ipmi_pef.c:446:50: warning: unused parameter 'ssel' [-Wunused-parameter] struct pef_serial_cfgparm_selector * ssel) ^ ipmi_pef.c: In function 'ipmi_pef_print_dest': ipmi_pef.c:517:40: warning: unused parameter 'intf' [-Wunused-parameter] ipmi_pef_print_dest(struct ipmi_intf * intf, uint8_t ch, uint8_t dest) ^ ipmi_pef.c:517:54: warning: unused parameter 'ch' [-Wunused-parameter] ipmi_pef_print_dest(struct ipmi_intf * intf, uint8_t ch, uint8_t dest) ^ ipmi_pef.c: In function 'ipmi_pef_print_event_info': In file included from ../include/ipmitool/ipmi_sel.h:38:0, from ipmi_sel.c:47: ../include/ipmitool/ipmi_sdr.h:312:23: warning: ISO C99 doesn't support unnamed structs/unions [-Wpedantic] } ATTRIBUTE_PACKING; ^ ipmi_pef.c:561:14: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] for (i=0; i= PEF_B2S_GENERIC_ER_ENTRIES) { ^ ipmi_pef.c: In function 'ipmi_pef_list_entries': ipmi_pef.c:633:29: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] || (max_filters = ((struct pef_capabilities *)rsp->data)->tblsize) == 0) ^ ipmi_pef.c: In function 'ipmi_pef_get_info': ipmi_pef.c:849:6: warning: format not a string literal, argument types not checked [-Wformat-nonliteral] uid[8], uid[9], uid[10],uid[11],uid[12],uid[13],uid[14],uid[15]); ^ ipmi_pef.c:853:6: warning: format not a string literal, argument types not checked [-Wformat-nonliteral] uid[8], uid[9], uid[10],uid[11],uid[12],uid[13],uid[14],uid[15]); ^ In file included from ../include/ipmitool/ipmi.h:41:0, from helper.c:65: helper.c: In function 'str2val': ../include/ipmitool/helper.h:123:25: warning: ISO C forbids braced-groups within expressions [-Wpedantic] # define __maxlen(a, b) ({ int x=strlen(a); int y=strlen(b); (x > y) ? x : y;}) ^ helper.c:402:35: note: in expansion of macro '__maxlen' if (strncasecmp(vs[i].str, str, __maxlen(str, vs[i].str)) == 0) ^ helper.c: In function 'ipmi_start_daemon': helper.c:666:2: warning: ignoring return value of 'chdir', declared with attribute warn_unused_result [-Wunused-result] chdir("/"); ^ helper.c:676:2: warning: ignoring return value of 'dup', declared with attribute warn_unused_result [-Wunused-result] dup(fd); ^ helper.c:677:2: warning: ignoring return value of 'dup', declared with attribute warn_unused_result [-Wunused-result] dup(fd); ^ In file included from ipmi_sel.c:50:0: ../include/ipmitool/ipmi_fru.h:84:3: warning: ISO C99 doesn't support unnamed structs/unions [-Wpedantic] }; ^ ipmi_sel.c: In function 'ipmi_sel_oem_readval': ipmi_sel.c:86:18: warning: format '%x' expects argument of type 'unsigned int *', but argument 3 has type 'int *' [-Wformat=] if (sscanf(str, "0x%x", &ret) != 1) { ^ ipmi_sel.c: In function 'ipmi_sel_oem_message': ipmi_sel.c:195:69: warning: unused parameter 'verbose' [-Wunused-parameter] static void ipmi_sel_oem_message(struct sel_event_record * evt, int verbose) ^ ipmi_sel.c: In function 'get_kontron_evt_desc': ipmi_sel.c:455:41: warning: unused parameter 'intf' [-Wunused-parameter] get_kontron_evt_desc(struct ipmi_intf * intf, struct sel_event_record * rec) ^ ipmi_sdr.c: In function 'ipmi_sdr_get_sensor_type_desc': ipmi_sdr.c:713:68: warning: format not a string literal, argument types not checked [-Wformat-nonliteral] type); ^ ipmi_sdr.c:713:68: warning: format not a string literal, argument types not checked [-Wformat-nonliteral] ipmi_sdr.c: In function 'ipmi_sdr_read_sensor_value': ipmi_sdr.c:1437:18: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] idlen = idlen < sizeof(sr.s_id) ? ^ ipmi_sdr.c:1438:13: warning: signed and unsigned type in conditional expression [-Wsign-compare] idlen : sizeof(sr.s_id) - 1; ^ ipmi_sdr.c:1444:18: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] idlen = idlen < sizeof(sr.s_id) ? ^ ipmi_sdr.c:1445:13: warning: signed and unsigned type in conditional expression [-Wsign-compare] idlen : sizeof(sr.s_id) - 1; ^ ipmi_sdr.c: In function 'ipmi_sdr_print_sensor_fc': ipmi_sdr.c:1665:28: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] for (i = strlen(sval); i <= sizeof (sval); i++) ^ ipmi_sel.c: In function 'ipmi_sel_interpret': ipmi_sdr.c: In function 'ipmi_sdr_print_sensor_eventonly': ipmi_sdr.c:2114:51: warning: unused parameter 'intf' [-Wunused-parameter] ipmi_sdr_print_sensor_eventonly(struct ipmi_intf *intf, ^ ipmi_sdr.c: In function 'ipmi_sdr_print_sensor_mc_locator': ipmi_sel.c:2405:4: warning: statement with no effect [-Wunused-value] evt.sel_type.standard_type.timestamp; ^ ipmi_sdr.c:2165:52: warning: unused parameter 'intf' [-Wunused-parameter] ipmi_sdr_print_sensor_mc_locator(struct ipmi_intf *intf, ^ ipmi_sdr.c: In function 'ipmi_sdr_print_sensor_generic_locator': ipmi_sdr.c:2261:57: warning: unused parameter 'intf' [-Wunused-parameter] ipmi_sdr_print_sensor_generic_locator(struct ipmi_intf *intf, ^ ipmi_sdr.c: In function 'ipmi_sdr_print_sensor_fru_locator': ipmi_sdr.c:2318:53: warning: unused parameter 'intf' [-Wunused-parameter] ipmi_sdr_print_sensor_fru_locator(struct ipmi_intf *intf, ^ ipmi_sdr.c: In function 'ipmi_sdr_print_sensor_entity_assoc': ipmi_sdr.c:2377:54: warning: unused parameter 'intf' [-Wunused-parameter] ipmi_sdr_print_sensor_entity_assoc(struct ipmi_intf *intf, ^ ipmi_sdr.c:2378:40: warning: unused parameter 'assoc' [-Wunused-parameter] struct sdr_record_entity_assoc *assoc) ^ ipmi_sdr.c: In function 'ipmi_sdr_print_sensor_oem_intel': ipmi_sdr.c:2392:51: warning: unused parameter 'intf' [-Wunused-parameter] ipmi_sdr_print_sensor_oem_intel(struct ipmi_intf *intf, ^ ipmi_sdr.c: In function 'ipmi_sdr_print_name_from_rawentry': ipmi_sdr.c:2512:53: warning: unused parameter 'intf' [-Wunused-parameter] ipmi_sdr_print_name_from_rawentry(struct ipmi_intf *intf,uint16_t id, ^ ipmi_sdr.c: In function 'ipmi_sdr_get_reservation': ipmi_sdr.c:2836:25: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] *reserve_id = ((struct sdr_reserve_repo_rs *) &(rsp->data))->reserve_id; ^ ipmi_sdr.c: In function 'ipmi_sdr_end': ipmi_sdr.c:3115:32: warning: unused parameter 'intf' [-Wunused-parameter] ipmi_sdr_end(struct ipmi_intf *intf, struct ipmi_sdr_iterator *itr) ^ ipmi_sdr.c: In function 'ipmi_sdr_list_cache_fromfile': ipmi_sdr.c:3961:48: warning: unused parameter 'intf' [-Wunused-parameter] ipmi_sdr_list_cache_fromfile(struct ipmi_intf *intf, const char *ifile) ^ In file included from ../include/ipmitool/ipmi.h:41:0, from ipmi_sdr.c:45: ipmi_sdr.c: In function 'ipmi_sdr_get_info': ../include/ipmitool/helper.h:111:28: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] # define __min(a, b) ((a) < (b) ? (a) : (b)) ^ ipmi_sdr.c:4243:9: note: in expansion of macro '__min' __min(sizeof (struct get_sdr_repository_info_rsp), ^ ../include/ipmitool/helper.h:111:40: warning: signed and unsigned type in conditional expression [-Wsign-compare] # define __min(a, b) ((a) < (b) ? (a) : (b)) ^ ipmi_sdr.c:4243:9: note: in expansion of macro '__min' __min(sizeof (struct get_sdr_repository_info_rsp), ^ In file included from ipmi_sel.c:48:0: ipmi_sel.c: At top level: ../include/ipmitool/ipmi_sel_supermicro.h:37:17: warning: 'supermicro_x9dal' defined but not used [-Wunused-variable] static uint16_t supermicro_x9dal[] = { ^ ../include/ipmitool/ipmi_sel_supermicro.h:41:17: warning: 'supermicro_x9db' defined but not used [-Wunused-variable] static uint16_t supermicro_x9db[] = { ^ ../include/ipmitool/ipmi_sel_supermicro.h:45:17: warning: 'supermicro_x9sb' defined but not used [-Wunused-variable] static uint16_t supermicro_x9sb[] = { ^ ../include/ipmitool/ipmi_sel_supermicro.h:53:17: warning: 'supermicro_b8' defined but not used [-Wunused-variable] static uint16_t supermicro_b8[] = { ^ ../include/ipmitool/ipmi_sel_supermicro.h:57:17: warning: 'supermicro_h8' defined but not used [-Wunused-variable] static uint16_t supermicro_h8[] = { ^ ../include/ipmitool/ipmi_sel_supermicro.h:64:17: warning: 'supermicro_p8' defined but not used [-Wunused-variable] static uint16_t supermicro_p8[] = { ^ ../include/ipmitool/ipmi_sel_supermicro.h:68:17: warning: 'supermicro_x8' defined but not used [-Wunused-variable] static uint16_t supermicro_x8[] = { ^ In file included from ipmi_sel.c:50:0: ../include/ipmitool/ipmi_fru.h:613:20: warning: 'section_id' defined but not used [-Wunused-variable] static const char *section_id[4] = { ^ ipmi_sdr.c: In function 'ipmi_sdr_print_type': ../include/ipmitool/helper.h:123:25: warning: ISO C forbids braced-groups within expressions [-Wpedantic] # define __maxlen(a, b) ({ int x=strlen(a); int y=strlen(b); (x > y) ? x : y;}) ^ ipmi_sdr.c:4513:6: note: in expansion of macro '__maxlen' __maxlen(type, ^ ipmi_sdr.c: In function 'ipmi_sdr_print_entity': ../include/ipmitool/helper.h:123:25: warning: ISO C forbids braced-groups within expressions [-Wpedantic] # define __maxlen(a, b) ({ int x=strlen(a); int y=strlen(b); (x > y) ? x : y;}) ^ ipmi_sdr.c:4578:7: note: in expansion of macro '__maxlen' __maxlen(entitystr, entity_id_vals[i].str)) == 0) { ^ /bin/sh ../libtool --silent --tag=CC --mode=compile x86_64-alt-linux-gcc -DHAVE_CONFIG_H -I. -I.. -I../include -pipe -Wall -g -O2 -Wall -Wextra -std=gnu99 -pedantic -Wformat -Wformat-nonliteral -c -o ipmi_mc.lo ipmi_mc.c ipmi_mc.c: In function 'ipmi_sysinfo_main': ipmi_mc.c:1062:13: warning: pointer targets in passing argument 1 of 'strncpy' differ in signedness [-Wpointer-sign] strncpy(paramdata + 4, str + pos, IPMI_SYSINFO_SET0_SIZE); ^ In file included from /usr/include/features.h:368:0, from /usr/include/stdlib.h:24, from ipmi_mc.c:33: /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, ^ ipmi_mc.c:1066:13: warning: pointer targets in passing argument 1 of 'strncpy' differ in signedness [-Wpointer-sign] strncpy(paramdata + 2, str + pos, IPMI_SYSINFO_SETN_SIZE); ^ In file included from /usr/include/features.h:368:0, from /usr/include/stdlib.h:24, from ipmi_mc.c:33: /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, ^ ipmi_fru.c: In function 'ipmi_fru_print_all': ipmi_fru.c:3064:6: warning: 'rc' may be used uninitialized in this function [-Wmaybe-uninitialized] int rc; ^ /bin/sh ../libtool --silent --tag=CC --mode=compile x86_64-alt-linux-gcc -DHAVE_CONFIG_H -I. -I.. -I../include -pipe -Wall -g -O2 -Wall -Wextra -std=gnu99 -pedantic -Wformat -Wformat-nonliteral -c -o log.lo log.c In file included from /usr/include/unistd.h:25:0, from log.c:36: /usr/include/features.h:148:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" ^ /bin/sh ../libtool --silent --tag=CC --mode=compile x86_64-alt-linux-gcc -DHAVE_CONFIG_H -I. -I.. -I../include -pipe -Wall -g -O2 -Wall -Wextra -std=gnu99 -pedantic -Wformat -Wformat-nonliteral -c -o dimm_spd.lo dimm_spd.c In file included from ../include/ipmitool/ipmi_fru.h:38:0, from dimm_spd.c:37: ../include/ipmitool/ipmi_sdr.h:312:23: warning: ISO C99 doesn't support unnamed structs/unions [-Wpedantic] } ATTRIBUTE_PACKING; ^ In file included from dimm_spd.c:37:0: ../include/ipmitool/ipmi_fru.h:84:3: warning: ISO C99 doesn't support unnamed structs/unions [-Wpedantic] }; ^ dimm_spd.c: In function 'ipmi_spd_print': dimm_spd.c:1347:17: warning: pointer targets in initialization differ in signedness [-Wpointer-sign] char *pchPN = spd_data+128; ^ In file included from dimm_spd.c:37:0: dimm_spd.c: At top level: ../include/ipmitool/ipmi_fru.h:613:20: warning: 'section_id' defined but not used [-Wunused-variable] static const char *section_id[4] = { ^ /bin/sh ../libtool --silent --tag=CC --mode=compile x86_64-alt-linux-gcc -DHAVE_CONFIG_H -I. -I.. -I../include -pipe -Wall -g -O2 -Wall -Wextra -std=gnu99 -pedantic -Wformat -Wformat-nonliteral -c -o ipmi_sensor.lo ipmi_sensor.c /bin/sh ../libtool --silent --tag=CC --mode=compile x86_64-alt-linux-gcc -DHAVE_CONFIG_H -I. -I.. -I../include -pipe -Wall -g -O2 -Wall -Wextra -std=gnu99 -pedantic -Wformat -Wformat-nonliteral -c -o ipmi_channel.lo ipmi_channel.c In file included from ipmi_sensor.c:40:0: ../include/ipmitool/ipmi_sdr.h:312:23: warning: ISO C99 doesn't support unnamed structs/unions [-Wpedantic] } ATTRIBUTE_PACKING; ^ ipmi_sensor.c: In function 'print_thresh_setting': ipmi_sensor.c:235:3: warning: format not a string literal, argument types not checked [-Wformat-nonliteral] printf(na_fmt, "na"); ^ ipmi_sensor.c:239:3: warning: format not a string literal, argument types not checked [-Wformat-nonliteral] printf(analog_fmt, sdr_convert_sensor_reading (full, setting)); ^ ipmi_sensor.c:241:3: warning: format not a string literal, argument types not checked [-Wformat-nonliteral] printf(discrete_fmt, setting); ^ In file included from ipmi_channel.c:49:0: ../include/ipmitool/ipmi_lanp.h:130:2: warning: missing initializer for field 'size' of 'struct lan_param' [-Wmissing-field-initializers] { -1 } ^ ../include/ipmitool/ipmi_lanp.h:92:6: note: 'size' declared here int size; ^ /bin/sh ../libtool --silent --tag=CC --mode=compile x86_64-alt-linux-gcc -DHAVE_CONFIG_H -I. -I.. -I../include -pipe -Wall -g -O2 -Wall -Wextra -std=gnu99 -pedantic -Wformat -Wformat-nonliteral -c -o ipmi_event.lo ipmi_event.c In file included from /usr/include/stdlib.h:24:0, from ipmi_event.c:34: /usr/include/features.h:148:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" ^ In file included from ../include/ipmitool/ipmi_sel.h:38:0, from ipmi_event.c:50: ../include/ipmitool/ipmi_sdr.h:312:23: warning: ISO C99 doesn't support unnamed structs/unions [-Wpedantic] } ATTRIBUTE_PACKING; ^ In file included from ../include/ipmitool/ipmi.h:41:0, from ipmi_event.c:46: ipmi_event.c: In function 'ipmi_event_find_offset': ../include/ipmitool/helper.h:123:25: warning: ISO C forbids braced-groups within expressions [-Wpedantic] # define __maxlen(a, b) ({ int x=strlen(a); int y=strlen(b); (x > y) ? x : y;}) ^ ipmi_event.c:219:36: note: in expansion of macro '__maxlen' strncasecmp(desc, evt->desc, __maxlen(desc, evt->desc)) == 0) ^ ipmi_event.c: In function 'ipmi_event_fromsensor': ipmi_event.c:405:18: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] for (x = 0; x < sizeof(digi_on)/sizeof(*digi_on); x++) { ^ ipmi_event.c:412:17: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] for (x = 0; x < sizeof(digi_on)/sizeof(*digi_on); x++) { ^ /bin/sh ../libtool --silent --tag=CC --mode=compile x86_64-alt-linux-gcc -DHAVE_CONFIG_H -I. -I.. -I../include -pipe -Wall -g -O2 -Wall -Wextra -std=gnu99 -pedantic -Wformat -Wformat-nonliteral -c -o ipmi_session.lo ipmi_session.c In file included from ipmi_session.c:48:0: ../include/ipmitool/ipmi_lanp.h:130:2: warning: missing initializer for field 'size' of 'struct lan_param' [-Wmissing-field-initializers] { -1 } ^ ../include/ipmitool/ipmi_lanp.h:92:6: note: 'size' declared here int size; ^ /bin/sh ../libtool --silent --tag=CC --mode=compile x86_64-alt-linux-gcc -DHAVE_CONFIG_H -I. -I.. -I../include -pipe -Wall -g -O2 -Wall -Wextra -std=gnu99 -pedantic -Wformat -Wformat-nonliteral -c -o ipmi_strings.lo ipmi_strings.c /bin/sh ../libtool --silent --tag=CC --mode=compile x86_64-alt-linux-gcc -DHAVE_CONFIG_H -I. -I.. -I../include -pipe -Wall -g -O2 -Wall -Wextra -std=gnu99 -pedantic -Wformat -Wformat-nonliteral -c -o ipmi_user.lo ipmi_user.c /bin/sh ../libtool --silent --tag=CC --mode=compile x86_64-alt-linux-gcc -DHAVE_CONFIG_H -I. -I.. -I../include -pipe -Wall -g -O2 -Wall -Wextra -std=gnu99 -pedantic -Wformat -Wformat-nonliteral -c -o ipmi_raw.lo ipmi_raw.c In file included from /usr/include/stdlib.h:24:0, from ipmi_user.c:37: /usr/include/features.h:148:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" ^ In file included from ../include/ipmitool/ipmi_sensor.h:39:0, from ipmi_strings.c:36: ../include/ipmitool/ipmi_sdr.h:312:23: warning: ISO C99 doesn't support unnamed structs/unions [-Wpedantic] } ATTRIBUTE_PACKING; ^ ipmi_user.c: In function '_ipmi_set_user_password': ipmi_user.c:212:16: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] if (copy_len > (data_len - 2)) { ^ /bin/sh ../libtool --silent --tag=CC --mode=compile x86_64-alt-linux-gcc -DHAVE_CONFIG_H -I. -I.. -I../include -pipe -Wall -g -O2 -Wall -Wextra -std=gnu99 -pedantic -Wformat -Wformat-nonliteral -c -o ipmi_oem.lo ipmi_oem.c ipmi_raw.c: In function 'ipmi_raw_main': ipmi_raw.c:334:16: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] else if (argc > sizeof(data)) ^ /bin/sh ../libtool --silent --tag=CC --mode=compile x86_64-alt-linux-gcc -DHAVE_CONFIG_H -I. -I.. -I../include -pipe -Wall -g -O2 -Wall -Wextra -std=gnu99 -pedantic -Wformat -Wformat-nonliteral -c -o ipmi_isol.lo ipmi_isol.c In file included from ../include/ipmitool/ipmi_sel.h:38:0, from ipmi_oem.c:38: ../include/ipmitool/ipmi_sdr.h:312:23: warning: ISO C99 doesn't support unnamed structs/unions [-Wpedantic] } ATTRIBUTE_PACKING; ^ ipmi_oem.c: In function 'ipmi_oem_ibm': ipmi_oem.c:86:33: warning: unused parameter 'intf' [-Wunused-parameter] ipmi_oem_ibm(struct ipmi_intf * intf) ^ ipmi_isol.c: In function 'ipmi_isol_red_pill': ipmi_isol.c:618:42: warning: pointer targets in passing argument 2 of 'processiSolUserInput' differ in signedness [-Wpointer-sign] int rc = processiSolUserInput(intf, buffer, numRead); ^ ipmi_isol.c:457:1: note: expected 'uint8_t * {aka unsigned char *}' but argument is of type 'char *' processiSolUserInput(struct ipmi_intf * intf, ^ /bin/sh ../libtool --silent --tag=CC --mode=compile x86_64-alt-linux-gcc -DHAVE_CONFIG_H -I. -I.. -I../include -pipe -Wall -g -O2 -Wall -Wextra -std=gnu99 -pedantic -Wformat -Wformat-nonliteral -c -o ipmi_sunoem.lo ipmi_sunoem.c /bin/sh ../libtool --silent --tag=CC --mode=compile x86_64-alt-linux-gcc -DHAVE_CONFIG_H -I. -I.. -I../include -pipe -Wall -g -O2 -Wall -Wextra -std=gnu99 -pedantic -Wformat -Wformat-nonliteral -c -o ipmi_fwum.lo ipmi_fwum.c In file included from ../include/ipmitool/ipmi_sel.h:38:0, from ipmi_sunoem.c:57: ../include/ipmitool/ipmi_sdr.h:312:23: warning: ISO C99 doesn't support unnamed structs/unions [-Wpedantic] } ATTRIBUTE_PACKING; ^ /bin/sh ../libtool --silent --tag=CC --mode=compile x86_64-alt-linux-gcc -DHAVE_CONFIG_H -I. -I.. -I../include -pipe -Wall -g -O2 -Wall -Wextra -std=gnu99 -pedantic -Wformat -Wformat-nonliteral -c -o ipmi_picmg.lo ipmi_picmg.c ipmi_fwum.c: In function 'KfwumSetupBuffersFromFile': ipmi_fwum.c:365:28: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] modulus, pFileHandle) == modulus) { ^ ipmi_sunoem.c: In function 'ipmi_sunoem_echo': ipmi_sunoem.c:1439:11: warning: format '%u' expects argument of type 'unsigned int', but argument 2 has type 'long unsigned int' [-Wformat=] printf("Receive %u Bytes - Seq. # %d time=%d ms\n", ^ ipmi_sunoem.c: In function 'ipmi_sunoem_getbehavior': ipmi_sunoem.c:2293:10: warning: pointer targets in passing argument 1 of 'strncpy' differ in signedness [-Wpointer-sign] strncpy(getbehavior_req.behavior_id, argv[0], SUNOEM_BEHAVIORID_SIZE - 1); ^ In file included from /usr/include/features.h:368:0, from /usr/include/stdlib.h:24, from ipmi_sunoem.c:34: /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, ^ /bin/sh ../libtool --silent --tag=CC --mode=compile x86_64-alt-linux-gcc -DHAVE_CONFIG_H -I. -I.. -I../include -pipe -Wall -g -O2 -Wall -Wextra -std=gnu99 -pedantic -Wformat -Wformat-nonliteral -c -o ipmi_main.lo ipmi_main.c In file included from /usr/include/stdlib.h:24:0, from ipmi_main.c:38: /usr/include/features.h:148:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" ^ In file included from ../include/ipmitool/ipmi_fru.h:38:0, from ipmi_picmg.c:36: ../include/ipmitool/ipmi_sdr.h:312:23: warning: ISO C99 doesn't support unnamed structs/unions [-Wpedantic] } ATTRIBUTE_PACKING; ^ In file included from ipmi_picmg.c:36:0: ../include/ipmitool/ipmi_fru.h:84:3: warning: ISO C99 doesn't support unnamed structs/unions [-Wpedantic] }; ^ ipmi_picmg.c: In function 'ipmi_picmg_fru_activation': ipmi_picmg.c:664:56: warning: unused parameter 'argc' [-Wunused-parameter] ipmi_picmg_fru_activation(struct ipmi_intf * intf, int argc, char ** argv, unsigned char state) ^ ipmi_picmg.c: In function 'ipmi_picmg_fru_activation_policy_get': ipmi_picmg.c:698:67: warning: unused parameter 'argc' [-Wunused-parameter] ipmi_picmg_fru_activation_policy_get(struct ipmi_intf * intf, int argc, char ** argv) ^ ipmi_picmg.c: In function 'ipmi_picmg_fru_activation_policy_set': ipmi_picmg.c:737:67: warning: unused parameter 'argc' [-Wunused-parameter] ipmi_picmg_fru_activation_policy_set(struct ipmi_intf * intf, int argc, char ** argv) ^ ipmi_picmg.c: In function 'ipmi_picmg_get_led_properties': ipmi_picmg.c:1161:60: warning: unused parameter 'argc' [-Wunused-parameter] ipmi_picmg_get_led_properties(struct ipmi_intf * intf, int argc, char ** argv) ^ ipmi_picmg.c: In function 'ipmi_picmg_get_led_capabilities': ipmi_picmg.c:1200:62: warning: unused parameter 'argc' [-Wunused-parameter] ipmi_picmg_get_led_capabilities(struct ipmi_intf * intf, int argc, char ** argv) ^ ipmi_picmg.c: In function 'ipmi_picmg_get_led_state': ipmi_picmg.c:1250:55: warning: unused parameter 'argc' [-Wunused-parameter] ipmi_picmg_get_led_state(struct ipmi_intf * intf, int argc, char ** argv) ^ ipmi_picmg.c: In function 'ipmi_picmg_set_led_state': ipmi_picmg.c:1337:55: warning: unused parameter 'argc' [-Wunused-parameter] ipmi_picmg_set_led_state(struct ipmi_intf * intf, int argc, char ** argv) ^ ipmi_picmg.c: In function 'ipmi_picmg_get_power_level': ipmi_picmg.c:1413:57: warning: unused parameter 'argc' [-Wunused-parameter] ipmi_picmg_get_power_level(struct ipmi_intf * intf, int argc, char ** argv) ^ ipmi_picmg.c: In function 'ipmi_picmg_set_power_level': ipmi_picmg.c:1464:57: warning: unused parameter 'argc' [-Wunused-parameter] ipmi_picmg_set_power_level(struct ipmi_intf * intf, int argc, char ** argv) ^ ipmi_picmg.c: In function 'ipmi_picmg_fru_control': ipmi_picmg.c:1568:53: warning: unused parameter 'argc' [-Wunused-parameter] ipmi_picmg_fru_control(struct ipmi_intf * intf, int argc, char ** argv) ^ ipmi_picmg.c: In function 'ipmi_picmg_clk_set': ipmi_picmg.c:1754:30: warning: pointer targets in passing argument 2 of 'is_clk_resid' differ in signedness [-Wpointer-sign] if (is_clk_resid(argv[6], &msg_data[10]) != 0) { ^ ipmi_picmg.c:328:1: note: expected 'int8_t * {aka signed char *}' but argument is of type 'unsigned char *' is_clk_resid(const char *argv_ptr, int8_t *clk_resid_ptr) ^ ipmi_picmg.c: In function 'ipmi_picmg_ipmb_address': ipmi_picmg.c:2313:15: warning: pointer targets in assignment differ in signedness [-Wpointer-sign] req.msg.data = &msg_data; ^ ipmi_picmg.c: In function 'picmg_discover': ipmi_picmg.c:2351:15: warning: pointer targets in assignment differ in signedness [-Wpointer-sign] req.msg.data = &msg_data; ^ In file included from ipmi_picmg.c:36:0: ipmi_picmg.c: At top level: ../include/ipmitool/ipmi_fru.h:613:20: warning: 'section_id' defined but not used [-Wunused-variable] static const char *section_id[4] = { ^ /bin/sh ../libtool --silent --tag=CC --mode=compile x86_64-alt-linux-gcc -DHAVE_CONFIG_H -I. -I.. -I../include -pipe -Wall -g -O2 -Wall -Wextra -std=gnu99 -pedantic -Wformat -Wformat-nonliteral -c -o ipmi_tsol.lo ipmi_tsol.c In file included from ipmi_main.c:56:0: ../include/ipmitool/ipmi_sdr.h:312:23: warning: ISO C99 doesn't support unnamed structs/unions [-Wpedantic] } ATTRIBUTE_PACKING; ^ In file included from ipmi_main.c:59:0: ../include/ipmitool/ipmi_fru.h:84:3: warning: ISO C99 doesn't support unnamed structs/unions [-Wpedantic] }; ^ In file included from ipmi_main.c:62:0: ../include/ipmitool/ipmi_lanp.h:130:2: warning: missing initializer for field 'size' of 'struct lan_param' [-Wmissing-field-initializers] { -1 } ^ ../include/ipmitool/ipmi_lanp.h:92:6: note: 'size' declared here int size; ^ ipmi_main.c: In function 'ipmi_main': ipmi_main.c:554:10: warning: pointer targets in assignment differ in signedness [-Wpointer-sign] kgkey = strdup(optarg); ^ ipmi_main.c:566:11: warning: pointer targets in assignment differ in signedness [-Wpointer-sign] kgkey = strdup(tmp_env); ^ ipmi_main.c:596:11: warning: pointer targets in assignment differ in signedness [-Wpointer-sign] kgkey = strdup(tmp_pass); ^ ipmi_main.c:932:47: warning: pointer targets in passing argument 2 of 'ipmi_intf_session_set_kgkey' differ in signedness [-Wpointer-sign] ipmi_intf_session_set_kgkey(ipmi_main_intf, kgkey); ^ In file included from ipmi_main.c:54:0: ../include/ipmitool/ipmi_intf.h:220:6: note: expected 'char *' but argument is of type 'unsigned char *' void ipmi_intf_session_set_kgkey(struct ipmi_intf * intf, char * kgkey); ^ In file included from ipmi_main.c:59:0: ipmi_main.c: At top level: ../include/ipmitool/ipmi_fru.h:613:20: warning: 'section_id' defined but not used [-Wunused-variable] static const char *section_id[4] = { ^ /bin/sh ../libtool --silent --tag=CC --mode=compile x86_64-alt-linux-gcc -DHAVE_CONFIG_H -I. -I.. -I../include -pipe -Wall -g -O2 -Wall -Wextra -std=gnu99 -pedantic -Wformat -Wformat-nonliteral -c -o ipmi_firewall.lo ipmi_firewall.c /bin/sh ../libtool --silent --tag=CC --mode=compile x86_64-alt-linux-gcc -DHAVE_CONFIG_H -I. -I.. -I../include -pipe -Wall -g -O2 -Wall -Wextra -std=gnu99 -pedantic -Wformat -Wformat-nonliteral -c -o ipmi_kontronoem.lo ipmi_kontronoem.c ipmi_firewall.c: In function 'ipmi_firewall_info': ipmi_firewall.c:902:9: warning: missing initializer for field 'force' of 'struct ipmi_function_params' [-Wmissing-field-initializers] struct ipmi_function_params p = {0xe, -1, -1, -1, -1}; ^ In file included from ipmi_firewall.c:44:0: ../include/ipmitool/ipmi_firewall.h:96:16: note: 'force' declared here unsigned char force; ^ ipmi_firewall.c: In function 'ipmi_firewall_enable_disable': ipmi_firewall.c:1015:9: warning: missing initializer for field 'force' of 'struct ipmi_function_params' [-Wmissing-field-initializers] struct ipmi_function_params p = {0xe, -1, -1, -1, -1}; ^ In file included from ipmi_firewall.c:44:0: ../include/ipmitool/ipmi_firewall.h:96:16: note: 'force' declared here unsigned char force; ^ ipmi_firewall.c: In function 'ipmi_firewall_reset': ipmi_firewall.c:1106:9: warning: missing initializer for field 'force' of 'struct ipmi_function_params' [-Wmissing-field-initializers] struct ipmi_function_params p = {0xe, -1, -1, -1, -1}; ^ In file included from ipmi_firewall.c:44:0: ../include/ipmitool/ipmi_firewall.h:96:16: note: 'force' declared here unsigned char force; ^ ipmi_tsol.c: In function 'ipmi_tsol_command': ipmi_tsol.c:88:21: warning: format '%d' expects argument of type 'int *', but argument 3 has type 'unsigned int *' [-Wformat=] if (sscanf(recvip, "%d.%d.%d.%d", &ip1, &ip2, &ip3, &ip4) != 4) { ^ ipmi_tsol.c:88:21: warning: format '%d' expects argument of type 'int *', but argument 4 has type 'unsigned int *' [-Wformat=] ipmi_tsol.c:88:21: warning: format '%d' expects argument of type 'int *', but argument 5 has type 'unsigned int *' [-Wformat=] ipmi_tsol.c:88:21: warning: format '%d' expects argument of type 'int *', but argument 6 has type 'unsigned int *' [-Wformat=] ipmi_tsol.c: In function 'ipmi_tsol_main': ipmi_tsol.c:540:54: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] if ((fds[0].revents & POLLIN) && (sizeof(out_buff) > out_buff_fill)) { ^ ipmi_tsol.c:543:47: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] if ((sizeof(out_buff) - out_buff_fill + 4) < buff_size) { ^ ipmi_tsol.c:561:53: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] if ((fds[1].revents & POLLIN) && (sizeof(in_buff) > in_buff_fill)) { ^ In file included from ../include/ipmitool/ipmi_fru.h:38:0, from ipmi_kontronoem.c:47: ../include/ipmitool/ipmi_sdr.h:312:23: warning: ISO C99 doesn't support unnamed structs/unions [-Wpedantic] } ATTRIBUTE_PACKING; ^ In file included from ipmi_kontronoem.c:47:0: ../include/ipmitool/ipmi_fru.h:84:3: warning: ISO C99 doesn't support unnamed structs/unions [-Wpedantic] }; ^ ipmi_kontronoem.c: In function 'ipmi_kontron_nextboot_set': ipmi_kontronoem.c:659:55: warning: unused parameter 'argc' [-Wunused-parameter] ipmi_kontron_nextboot_set(struct ipmi_intf *intf, int argc, char **argv) ^ In file included from ipmi_kontronoem.c:47:0: ipmi_kontronoem.c: At top level: ../include/ipmitool/ipmi_fru.h:613:20: warning: 'section_id' defined but not used [-Wunused-variable] static const char *section_id[4] = { ^ /bin/sh ../libtool --silent --tag=CC --mode=compile x86_64-alt-linux-gcc -DHAVE_CONFIG_H -I. -I.. -I../include -pipe -Wall -g -O2 -Wall -Wextra -std=gnu99 -pedantic -Wformat -Wformat-nonliteral -c -o ipmi_hpmfwupg.lo ipmi_hpmfwupg.c In file included from /usr/include/stdlib.h:24:0, from ../include/ipmitool/ipmi.h:36, from ../include/ipmitool/ipmi_intf.h:36, from ipmi_hpmfwupg.c:38: /usr/include/features.h:148:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" ^ In file included from ipmi_hpmfwupg.c:40:0: ../include/ipmitool/ipmi_hpmfwupg.h:440:16: warning: ISO C forbids zero-size array 'data' [-Wpedantic] unsigned char data[0]; ^ ipmi_hpmfwupg.c: In function 'HpmfwupgPreUpgradeCheck': ipmi_hpmfwupg.c:837:43: warning: unused parameter 'intf' [-Wunused-parameter] HpmfwupgPreUpgradeCheck(struct ipmi_intf *intf, ^ ipmi_hpmfwupg.c: In function 'HpmfwupgGetBufferFromFile': ipmi_hpmfwupg.c:1415:10: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] if (ret != pFwupgCtx->imageSize) { ^ ipmi_hpmfwupg.c: In function 'HpmfwupgCalculateChecksum': ipmi_hpmfwupg.c:2337:28: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] for (dataIdx = 0; dataIdx < length; dataIdx++) { ^ /bin/sh ../libtool --silent --tag=CC --mode=compile x86_64-alt-linux-gcc -DHAVE_CONFIG_H -I. -I.. -I../include -pipe -Wall -g -O2 -Wall -Wextra -std=gnu99 -pedantic -Wformat -Wformat-nonliteral -c -o ipmi_sdradd.lo ipmi_sdradd.c In file included from ipmi_sdradd.c:51:0: ../include/ipmitool/ipmi_sdr.h:312:23: warning: ISO C99 doesn't support unnamed structs/unions [-Wpedantic] } ATTRIBUTE_PACKING; ^ /bin/sh ../libtool --silent --tag=CC --mode=compile x86_64-alt-linux-gcc -DHAVE_CONFIG_H -I. -I.. -I../include -pipe -Wall -g -O2 -Wall -Wextra -std=gnu99 -pedantic -Wformat -Wformat-nonliteral -c -o ipmi_ekanalyzer.lo ipmi_ekanalyzer.c In file included from ../include/ipmitool/ipmi_fru.h:38:0, from ../include/ipmitool/ipmi_ekanalyzer.h:41, from ipmi_ekanalyzer.c:36: ../include/ipmitool/ipmi_sdr.h:312:23: warning: ISO C99 doesn't support unnamed structs/unions [-Wpedantic] } ATTRIBUTE_PACKING; ^ In file included from ../include/ipmitool/ipmi_ekanalyzer.h:41:0, from ipmi_ekanalyzer.c:36: ../include/ipmitool/ipmi_fru.h:84:3: warning: ISO C99 doesn't support unnamed structs/unions [-Wpedantic] }; ^ ipmi_ekanalyzer.c: In function 'ipmi_ekanalyzer_main': ipmi_ekanalyzer.c:483:37: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] for (type_offset = 0; type_offset < (argc-1); type_offset++ ) { ^ ipmi_ekanalyzer.c:457:40: warning: unused parameter 'intf' [-Wunused-parameter] ipmi_ekanalyzer_main(struct ipmi_intf *intf, int argc, char **argv) ^ ipmi_ekanalyzer.c: In function 'ipmi_ek_matching_process': ipmi_ekanalyzer.c:1238:38: warning: unused parameter 'list_last' [-Wunused-parameter] struct ipmi_ek_multi_header ** list_last, char * opt, ^ /bin/sh ../libtool --silent --tag=CC --mode=compile x86_64-alt-linux-gcc -DHAVE_CONFIG_H -I. -I.. -I../include -pipe -Wall -g -O2 -Wall -Wextra -std=gnu99 -pedantic -Wformat -Wformat-nonliteral -c -o ipmi_gendev.lo ipmi_gendev.c ipmi_ekanalyzer.c: In function 'ipmi_ek_display_record': ipmi_ekanalyzer.c:2928:32: warning: unused parameter 'list_last' [-Wunused-parameter] struct ipmi_ek_multi_header *list_last) ^ ipmi_ekanalyzer.c: In function 'ipmi_ek_display_board_p2p_record': ipmi_ekanalyzer.c:3360:17: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] for (j = 0; j < sizeof(struct fru_picmgext_guid); j++) { ^ ipmi_ekanalyzer.c:3366:2: warning: statement with no effect [-Wunused-value] for (offset; ^ ipmi_ekanalyzer.c: In function 'ipmi_ek_display_radial_ipmb0_record': ipmi_ekanalyzer.c:3525:2: warning: statement with no effect [-Wunused-value] for (offset; offset < record->header.len;) { ^ In file included from ../include/ipmitool/ipmi_ekanalyzer.h:41:0, from ipmi_ekanalyzer.c:36: ipmi_ekanalyzer.c: At top level: ../include/ipmitool/ipmi_fru.h:613:20: warning: 'section_id' defined but not used [-Wunused-variable] static const char *section_id[4] = { ^ ipmi_ekanalyzer.c:3305:1: warning: 'ipmi_ek_display_shelf_fan_geography_record' defined but not used [-Wunused-function] ipmi_ek_display_shelf_fan_geography_record(struct ipmi_ek_multi_header *record) ^ /bin/sh ../libtool --silent --tag=CC --mode=compile x86_64-alt-linux-gcc -DHAVE_CONFIG_H -I. -I.. -I../include -pipe -Wall -g -O2 -Wall -Wextra -std=gnu99 -pedantic -Wformat -Wformat-nonliteral -c -o ipmi_ime.lo ipmi_ime.c /bin/sh ../libtool --silent --tag=CC --mode=compile x86_64-alt-linux-gcc -DHAVE_CONFIG_H -I. -I.. -I../include -pipe -Wall -g -O2 -Wall -Wextra -std=gnu99 -pedantic -Wformat -Wformat-nonliteral -c -o ipmi_delloem.lo ipmi_delloem.c In file included from ipmi_gendev.c:44:0: ../include/ipmitool/ipmi_sdr.h:312:23: warning: ISO C99 doesn't support unnamed structs/unions [-Wpedantic] } ATTRIBUTE_PACKING; ^ /bin/sh ../libtool --silent --tag=CC --mode=compile x86_64-alt-linux-gcc -DHAVE_CONFIG_H -I. -I.. -I../include -pipe -Wall -g -O2 -Wall -Wextra -std=gnu99 -pedantic -Wformat -Wformat-nonliteral -c -o ipmi_dcmi.lo ipmi_dcmi.c ipmi_gendev.c: In function 'ipmi_gendev_get_eeprom_size': ipmi_gendev.c:74:43: warning: unused parameter 'intf' [-Wunused-parameter] struct ipmi_intf *intf, ^ ipmi_gendev.c: In function 'ipmi_gendev_write_file': ipmi_gendev.c:385:24: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] if(fileLength != eeprom_size) ^ In file included from ../include/ipmitool/ipmi_sel.h:38:0, from ipmi_delloem.c:53: ../include/ipmitool/ipmi_sdr.h:312:23: warning: ISO C99 doesn't support unnamed structs/unions [-Wpedantic] } ATTRIBUTE_PACKING; ^ In file included from ipmi_delloem.c:55:0: ../include/ipmitool/ipmi_fru.h:84:3: warning: ISO C99 doesn't support unnamed structs/unions [-Wpedantic] }; ^ In file included from /usr/include/stdlib.h:24:0, from ipmi_dcmi.c:41: /usr/include/features.h:148:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" ^ ipmi_ime.c: In function 'ImeImageCtxFromFile': ipmi_ime.c:895:30: warning: comparison of unsigned expression < 0 is always false [-Wtype-limits] if (pImageCtx->size < 0) ^ ipmi_delloem.c: In function 'ipmi_lcd_set_text': ipmi_delloem.c:1341:61: warning: unused parameter 'line_number' [-Wunused-parameter] ipmi_lcd_set_text(struct ipmi_intf * intf, char * text, int line_number) ^ ipmi_delloem.c: In function 'ipmi_delloem_lan_main': ipmi_delloem.c:2016: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); ^ ipmi_delloem.c:199:12: note: expected 'uint8_t * {aka unsigned char *}' but argument is of type 'char *' static int ipmi_lan_set_nic_selection_12g(struct ipmi_intf *intf, ^ ipmi_delloem.c:1980:52: warning: unused parameter 'argc' [-Wunused-parameter] ipmi_delloem_lan_main(struct ipmi_intf * intf, int argc, char ** argv) ^ ipmi_ime.c: At top level: ipmi_ime.c:799:12: warning: 'ImeUpdateShowStatus' defined but not used [-Wunused-function] static int ImeUpdateShowStatus(struct ipmi_intf *intf) ^ In file included from ../include/ipmitool/ipmi_sensor.h:39:0, from ipmi_dcmi.c:59: ../include/ipmitool/ipmi_sdr.h:312:23: warning: ISO C99 doesn't support unnamed structs/unions [-Wpedantic] } ATTRIBUTE_PACKING; ^ ipmi_delloem.c: In function 'ipmi_get_power_headroom_command': ipmi_delloem.c:3054:2: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] powerheadroom= *(( POWER_HEADROOM *)rsp->data); ^ ipmi_delloem.c:3064:10: warning: format '%lld' expects argument of type 'long long int', but argument 2 has type 'uint64_t {aka long unsigned int}' [-Wformat=] printf("System Instantaneous Headroom : %lld BTU/hr\n", ^ ipmi_delloem.c:3066:10: warning: format '%lld' expects argument of type 'long long int', but argument 2 has type 'uint64_t {aka long unsigned int}' [-Wformat=] printf("System Peak Headroom : %lld BTU/hr\n", ^ ipmi_delloem.c: In function 'ipmi_get_instan_power_consmpt_data': ipmi_delloem.c:3183:2: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] *instpowerconsumptiondata = *((IPMI_INST_POWER_CONSUMPTION_DATA *)(rsp->data)); ^ ipmi_delloem.c: In function 'ipmi_get_minpower_consmpt_history': ipmi_delloem.c:3383:10: warning: too many arguments for format [-Wformat-extra-args] printf("Peak power consmhistory Data : " ^ In file included from ../include/ipmitool/ipmi.h:41:0, from ../include/ipmitool/ipmi_dcmi.h:23, from ipmi_dcmi.c:50: ipmi_dcmi.c: In function 'str2val2': ../include/ipmitool/helper.h:123:25: warning: ISO C forbids braced-groups within expressions [-Wpedantic] # define __maxlen(a, b) ({ int x=strlen(a); int y=strlen(b); (x > y) ? x : y;}) ^ ipmi_dcmi.c:598:6: note: in expansion of macro '__maxlen' __maxlen(str, vs[i].str)) == 0) { ^ ipmi_delloem.c: In function 'ipmi_print_power_consmpt_history': ipmi_delloem.c:3455:10: warning: format '%lld' expects argument of type 'long long int', but argument 2 has type 'uint64_t {aka long unsigned int}' [-Wformat=] printf("%4lld BTU/hr ", tempbtuphrconv); ^ ipmi_delloem.c:3457:10: warning: format '%lld' expects argument of type 'long long int', but argument 2 has type 'uint64_t {aka long unsigned int}' [-Wformat=] printf("%4lld BTU/hr ", tempbtuphrconv); ^ ipmi_delloem.c:3459:10: warning: format '%lld' expects argument of type 'long long int', but argument 2 has type 'uint64_t {aka long unsigned int}' [-Wformat=] printf("%4lld BTU/hr ", tempbtuphrconv); ^ ipmi_delloem.c:3461:10: warning: format '%lld' expects argument of type 'long long int', but argument 2 has type 'uint64_t {aka long unsigned int}' [-Wformat=] printf("%4lld BTU/hr\n", tempbtuphrconv); ^ ipmi_delloem.c:3465:10: warning: format '%lld' expects argument of type 'long long int', but argument 2 has type 'uint64_t {aka long unsigned int}' [-Wformat=] printf("%4lld BTU/hr ", tempbtuphrconv); ^ ipmi_delloem.c:3467:10: warning: format '%lld' expects argument of type 'long long int', but argument 2 has type 'uint64_t {aka long unsigned int}' [-Wformat=] printf("%4lld BTU/hr ", tempbtuphrconv); ^ ipmi_delloem.c:3469:10: warning: format '%lld' expects argument of type 'long long int', but argument 2 has type 'uint64_t {aka long unsigned int}' [-Wformat=] printf("%4lld BTU/hr ", tempbtuphrconv); ^ ipmi_delloem.c:3471:10: warning: format '%lld' expects argument of type 'long long int', but argument 2 has type 'uint64_t {aka long unsigned int}' [-Wformat=] printf("%4lld BTU/hr\n", tempbtuphrconv); ^ ipmi_delloem.c:3475:10: warning: format '%lld' expects argument of type 'long long int', but argument 2 has type 'uint64_t {aka long unsigned int}' [-Wformat=] printf("%4lld BTU/hr ", tempbtuphrconv); ^ ipmi_delloem.c:3477:10: warning: format '%lld' expects argument of type 'long long int', but argument 2 has type 'uint64_t {aka long unsigned int}' [-Wformat=] printf("%4lld BTU/hr ", tempbtuphrconv); ^ ipmi_delloem.c:3479:10: warning: format '%lld' expects argument of type 'long long int', but argument 2 has type 'uint64_t {aka long unsigned int}' [-Wformat=] printf("%4lld BTU/hr ", tempbtuphrconv); ^ ipmi_delloem.c:3481:10: warning: format '%lld' expects argument of type 'long long int', but argument 2 has type 'uint64_t {aka long unsigned int}' [-Wformat=] printf("%4lld BTU/hr\n\n", tempbtuphrconv); ^ ipmi_delloem.c:3485:10: warning: format '%lld' expects argument of type 'long long int', but argument 2 has type 'uint64_t {aka long unsigned int}' [-Wformat=] printf("%4lld W ", tempbtuphrconv); ^ ipmi_delloem.c:3487:10: warning: format '%lld' expects argument of type 'long long int', but argument 2 has type 'uint64_t {aka long unsigned int}' [-Wformat=] printf("%4lld W ", tempbtuphrconv); ^ ipmi_delloem.c:3489:10: warning: format '%lld' expects argument of type 'long long int', but argument 2 has type 'uint64_t {aka long unsigned int}' [-Wformat=] printf("%4lld W ", tempbtuphrconv); ^ ipmi_delloem.c:3491:10: warning: format '%lld' expects argument of type 'long long int', but argument 2 has type 'uint64_t {aka long unsigned int}' [-Wformat=] printf("%4lld W \n", tempbtuphrconv); ^ ipmi_delloem.c:3495:10: warning: format '%lld' expects argument of type 'long long int', but argument 2 has type 'uint64_t {aka long unsigned int}' [-Wformat=] printf("%4lld W ", tempbtuphrconv); ^ ipmi_delloem.c:3497:10: warning: format '%lld' expects argument of type 'long long int', but argument 2 has type 'uint64_t {aka long unsigned int}' [-Wformat=] printf("%4lld W ", tempbtuphrconv); ^ ipmi_delloem.c:3499:10: warning: format '%lld' expects argument of type 'long long int', but argument 2 has type 'uint64_t {aka long unsigned int}' [-Wformat=] printf("%4lld W ", tempbtuphrconv); ^ ipmi_delloem.c:3501:10: warning: format '%lld' expects argument of type 'long long int', but argument 2 has type 'uint64_t {aka long unsigned int}' [-Wformat=] printf("%4lld W \n", tempbtuphrconv); ^ ipmi_delloem.c:3505:10: warning: format '%lld' expects argument of type 'long long int', but argument 2 has type 'uint64_t {aka long unsigned int}' [-Wformat=] printf("%4lld W ", tempbtuphrconv); ^ ipmi_delloem.c:3507:10: warning: format '%lld' expects argument of type 'long long int', but argument 2 has type 'uint64_t {aka long unsigned int}' [-Wformat=] printf("%4lld W ", tempbtuphrconv); ^ ipmi_delloem.c:3509:10: warning: format '%lld' expects argument of type 'long long int', but argument 2 has type 'uint64_t {aka long unsigned int}' [-Wformat=] printf("%4lld W ", tempbtuphrconv); ^ ipmi_delloem.c:3511:10: warning: format '%lld' expects argument of type 'long long int', but argument 2 has type 'uint64_t {aka long unsigned int}' [-Wformat=] printf("%4lld W \n\n", tempbtuphrconv); ^ ipmi_delloem.c: In function 'ipmi_get_power_cap': ipmi_delloem.c:3579:10: warning: too many arguments for format [-Wformat-extra-args] printf("power cap Data :%x %x %x %x %x %x %x %x %x %x ", ^ ipmi_delloem.c: In function 'ipmi_print_power_cap': ipmi_delloem.c:3615:11: warning: format '%lld' expects argument of type 'long long int', but argument 2 has type 'uint64_t {aka long unsigned int}' [-Wformat=] printf("Maximum power: %lld BTU/hr\n", tempbtuphrconv); ^ ipmi_delloem.c:3617:11: warning: format '%lld' expects argument of type 'long long int', but argument 2 has type 'uint64_t {aka long unsigned int}' [-Wformat=] printf("Minimum power: %lld BTU/hr\n", tempbtuphrconv); ^ ipmi_delloem.c:3619:11: warning: format '%lld' expects argument of type 'long long int', but argument 2 has type 'uint64_t {aka long unsigned int}' [-Wformat=] printf("Power cap : %lld BTU/hr\n", tempbtuphrconv); ^ ipmi_delloem.c: In function 'ipmi_delloem_vFlash_main': ipmi_delloem.c:3838:55: warning: unused parameter 'argc' [-Wunused-parameter] ipmi_delloem_vFlash_main(struct ipmi_intf * intf, int argc, char ** argv) ^ ipmi_dcmi.c: In function 'ipmi_dcmi_pwr_slimit': ipmi_dcmi.c:1891:3: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] val.limit = *(uint16_t*)(&lvalue); ^ ipmi_dcmi.c:1909:3: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] val.sample = *(uint16_t*)(&lvalue); ^ ipmi_dcmi.c:1924:2: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] *(uint16_t*)(&msg_data[5]) = val.limit; ^ ipmi_dcmi.c:1929:2: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] *(uint32_t*)(&msg_data[7]) = val.correction; ^ ipmi_dcmi.c:1938:2: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] *(uint16_t*)(&msg_data[13]) = val.sample; ^ ipmi_delloem.c: In function 'ipmi_delloem_setled_main': ipmi_delloem.c:4247:39: warning: format '%x' expects argument of type 'unsigned int *', but argument 3 has type 'int *' [-Wformat=] } else if (sscanf(argv[current_arg], "%*x:%x:%x.%x", &b,&d,&f) == 3) { ^ ipmi_delloem.c:4247:39: warning: format '%x' expects argument of type 'unsigned int *', but argument 4 has type 'int *' [-Wformat=] ipmi_delloem.c:4247:39: warning: format '%x' expects argument of type 'unsigned int *', but argument 5 has type 'int *' [-Wformat=] ipmi_delloem.c:4251:39: warning: format '%x' expects argument of type 'unsigned int *', but argument 3 has type 'int *' [-Wformat=] } else if (sscanf(argv[current_arg], "%x:%x.%x", &b,&d,&f) == 3) { ^ ipmi_delloem.c:4251:39: warning: format '%x' expects argument of type 'unsigned int *', but argument 4 has type 'int *' [-Wformat=] ipmi_delloem.c:4251:39: warning: format '%x' expects argument of type 'unsigned int *', but argument 5 has type 'int *' [-Wformat=] In file included from ipmi_delloem.c:55:0: ipmi_delloem.c: At top level: ../include/ipmitool/ipmi_fru.h:613:20: warning: 'section_id' defined but not used [-Wunused-variable] static const char *section_id[4] = { ^ /bin/sh ../libtool --silent --tag=CC --mode=compile x86_64-alt-linux-gcc -DHAVE_CONFIG_H -I. -I.. -I../include -pipe -Wall -g -O2 -Wall -Wextra -std=gnu99 -pedantic -Wformat -Wformat-nonliteral -c -o hpm2.lo hpm2.c /bin/sh ../libtool --silent --tag=CC --mode=compile x86_64-alt-linux-gcc -DHAVE_CONFIG_H -I. -I.. -I../include -pipe -Wall -g -O2 -Wall -Wextra -std=gnu99 -pedantic -Wformat -Wformat-nonliteral -c -o ipmi_vita.lo ipmi_vita.c In file included from ../include/ipmitool/ipmi_fru.h:38:0, from ipmi_vita.c:37: ../include/ipmitool/ipmi_sdr.h:312:23: warning: ISO C99 doesn't support unnamed structs/unions [-Wpedantic] } ATTRIBUTE_PACKING; ^ In file included from ipmi_vita.c:37:0: ../include/ipmitool/ipmi_fru.h:84:3: warning: ISO C99 doesn't support unnamed structs/unions [-Wpedantic] }; ^ ../include/ipmitool/ipmi_fru.h:613:20: warning: 'section_id' defined but not used [-Wunused-variable] static const char *section_id[4] = { ^ /bin/sh ../libtool --silent --tag=CC --mode=compile x86_64-alt-linux-gcc -DHAVE_CONFIG_H -I. -I.. -I../include -pipe -Wall -g -O2 -Wall -Wextra -std=gnu99 -pedantic -Wformat -Wformat-nonliteral -c -o ../src/plugins/lan/md5.lo ../src/plugins/lan/md5.c ipmi_ekanalyzer.c: In function 'ipmi_ekanalyzer_ekeying_match': ipmi_ekanalyzer.c:1659:26: warning: 'pcarrier_p2p' may be used uninitialized in this function [-Wmaybe-uninitialized] result = ipmi_ek_check_physical_connectivity ( ^ ipmi_ekanalyzer.c:1130:43: note: 'pcarrier_p2p' was declared here struct ipmi_ek_multi_header * pcarrier_p2p; ^ /bin/sh ../libtool --silent --tag=CC --mode=link x86_64-alt-linux-gcc -pipe -Wall -g -O2 -Wall -Wextra -std=gnu99 -pedantic -Wformat -Wformat-nonliteral -export-dynamic -o libipmitool.la helper.lo ipmi_sdr.lo ipmi_sel.lo ipmi_sol.lo ipmi_pef.lo ipmi_lanp.lo ipmi_fru.lo ipmi_chassis.lo ipmi_mc.lo log.lo dimm_spd.lo ipmi_sensor.lo ipmi_channel.lo ipmi_event.lo ipmi_session.lo ipmi_strings.lo ipmi_user.lo ipmi_raw.lo ipmi_oem.lo ipmi_isol.lo ipmi_sunoem.lo ipmi_fwum.lo ipmi_picmg.lo ipmi_main.lo ipmi_tsol.lo ipmi_firewall.lo ipmi_kontronoem.lo ipmi_hpmfwupg.lo ipmi_sdradd.lo ipmi_ekanalyzer.lo ipmi_gendev.lo ipmi_ime.lo ipmi_delloem.lo ipmi_dcmi.lo hpm2.lo ipmi_vita.lo ../src/plugins/lan/md5.lo -lm -lreadline -lncurses -ltinfo -lreadline -lncurses -ltinfo -lcrypto make[2]: Leaving directory `/usr/src/RPM/BUILD/ipmitool-1.8.17/lib' Making all in src make[2]: Entering directory `/usr/src/RPM/BUILD/ipmitool-1.8.17/src' Making all in plugins make[3]: Entering directory `/usr/src/RPM/BUILD/ipmitool-1.8.17/src/plugins' Making all in lan make[4]: Entering directory `/usr/src/RPM/BUILD/ipmitool-1.8.17/src/plugins/lan' /bin/sh ../../../libtool --silent --tag=CC --mode=compile x86_64-alt-linux-gcc -DHAVE_CONFIG_H -I. -I../../.. -I../../../include -pipe -Wall -g -O2 -Wall -Wextra -std=gnu99 -pedantic -Wformat -Wformat-nonliteral -c -o lan.lo lan.c /bin/sh ../../../libtool --silent --tag=CC --mode=compile x86_64-alt-linux-gcc -DHAVE_CONFIG_H -I. -I../../.. -I../../../include -pipe -Wall -g -O2 -Wall -Wextra -std=gnu99 -pedantic -Wformat -Wformat-nonliteral -c -o auth.lo auth.c In file included from ../../../include/ipmitool/ipmi_sel.h:38:0, from lan.c:53: ../../../include/ipmitool/ipmi_sdr.h:312:23: warning: ISO C99 doesn't support unnamed structs/unions [-Wpedantic] } ATTRIBUTE_PACKING; ^ lan.c: In function 'ipmi_handle_pong': lan.c:344:37: warning: unused parameter 'intf' [-Wunused-parameter] ipmi_handle_pong(struct ipmi_intf * intf, struct ipmi_rs * rsp) ^ lan.c: In function 'check_sol_packet_for_new_data': lan.c:1445:50: warning: unused parameter 'intf' [-Wunused-parameter] check_sol_packet_for_new_data(struct ipmi_intf * intf, ^ /bin/sh ../../../libtool --silent --tag=CC --mode=link x86_64-alt-linux-gcc -pipe -Wall -g -O2 -Wall -Wextra -std=gnu99 -pedantic -Wformat -Wformat-nonliteral -o libintf_lan.la lan.lo auth.lo md5.lo ../../../lib/libipmitool.la -lreadline -lncurses -ltinfo -lreadline -lncurses -ltinfo -lcrypto copying selected object files to avoid basename conflicts... make[4]: Leaving directory `/usr/src/RPM/BUILD/ipmitool-1.8.17/src/plugins/lan' Making all in lanplus make[4]: Entering directory `/usr/src/RPM/BUILD/ipmitool-1.8.17/src/plugins/lanplus' /bin/sh ../../../libtool --silent --tag=CC --mode=compile x86_64-alt-linux-gcc -DHAVE_CONFIG_H -I. -I../../.. -I../../../include -pipe -Wall -g -O2 -Wall -Wextra -std=gnu99 -pedantic -Wformat -Wformat-nonliteral -c -o lanplus.lo lanplus.c /bin/sh ../../../libtool --silent --tag=CC --mode=compile x86_64-alt-linux-gcc -DHAVE_CONFIG_H -I. -I../../.. -I../../../include -pipe -Wall -g -O2 -Wall -Wextra -std=gnu99 -pedantic -Wformat -Wformat-nonliteral -c -o lanplus_strings.lo lanplus_strings.c /bin/sh ../../../libtool --silent --tag=CC --mode=compile x86_64-alt-linux-gcc -DHAVE_CONFIG_H -I. -I../../.. -I../../../include -pipe -Wall -g -O2 -Wall -Wextra -std=gnu99 -pedantic -Wformat -Wformat-nonliteral -c -o lanplus_crypt.lo lanplus_crypt.c /bin/sh ../../../libtool --silent --tag=CC --mode=compile x86_64-alt-linux-gcc -DHAVE_CONFIG_H -I. -I../../.. -I../../../include -pipe -Wall -g -O2 -Wall -Wextra -std=gnu99 -pedantic -Wformat -Wformat-nonliteral -c -o lanplus_dump.lo lanplus_dump.c /bin/sh ../../../libtool --silent --tag=CC --mode=compile x86_64-alt-linux-gcc -DHAVE_CONFIG_H -I. -I../../.. -I../../../include -pipe -Wall -g -O2 -Wall -Wextra -std=gnu99 -pedantic -Wformat -Wformat-nonliteral -c -o lanplus_crypt_impl.lo lanplus_crypt_impl.c In file included from lanplus.c:57:0: ../../../include/ipmitool/ipmi_lanp.h:130:2: warning: missing initializer for field 'size' of 'struct lan_param' [-Wmissing-field-initializers] { -1 } ^ ../../../include/ipmitool/ipmi_lanp.h:92:6: note: 'size' declared here int size; ^ In file included from ../../../include/ipmitool/ipmi_sel.h:38:0, from lanplus.c:60: ../../../include/ipmitool/ipmi_sdr.h:312:23: warning: ISO C99 doesn't support unnamed structs/unions [-Wpedantic] } ATTRIBUTE_PACKING; ^ lanplus.c: In function 'ipmi_handle_pong': lanplus.c:504:37: warning: unused parameter 'intf' [-Wunused-parameter] ipmi_handle_pong(struct ipmi_intf * intf, struct ipmi_rs * rsp) ^ lanplus.c: In function 'ipmi_lan_poll_single': lanplus.c:751:12: warning: unused variable 'target_cmd' [-Wunused-variable] uint8_t target_cmd = entry->req.msg.target_cmd; ^ lanplus.c: In function 'read_session_data_v2x': lanplus.c:1162:30: warning: unused parameter 's' [-Wunused-parameter] struct ipmi_session * s) ^ lanplus.c: In function 'read_session_data_v15': lanplus.c:1216:30: warning: unused parameter 's' [-Wunused-parameter] struct ipmi_session * s) ^ lanplus.c: In function 'getSolPayloadWireRep': lanplus.c:1480:34: warning: unused parameter 'intf' [-Wunused-parameter] struct ipmi_intf * intf, /* in out */ ^ lanplus.c: In function 'ipmi_lanplus_build_v2x_ipmi_cmd': lanplus.c:1889:17: warning: unused variable 'backup_cmd' [-Wunused-variable] unsigned char backup_cmd; ^ lanplus.c: In function 'check_sol_packet_for_new_data': lanplus.c:2497:29: warning: unused parameter 'intf' [-Wunused-parameter] struct ipmi_intf * intf, ^ lanplus.c: In function 'ipmi_lanplus_open': lanplus.c:3423:45: warning: 'auth_cap' may be used uninitialized in this function [-Wmaybe-uninitialized] if (!ipmi_oem_active(intf, "i82571spt") && ! auth_cap.v20_data_available) { ^ /bin/sh ../../../libtool --silent --tag=CC --mode=link x86_64-alt-linux-gcc -pipe -Wall -g -O2 -Wall -Wextra -std=gnu99 -pedantic -Wformat -Wformat-nonliteral -o libintf_lanplus.la lanplus.lo lanplus_strings.lo lanplus_crypt.lo lanplus_dump.lo lanplus_crypt_impl.lo ../../../lib/libipmitool.la -lreadline -lncurses -ltinfo -lreadline -lncurses -ltinfo -lcrypto make[4]: Leaving directory `/usr/src/RPM/BUILD/ipmitool-1.8.17/src/plugins/lanplus' Making all in open make[4]: Entering directory `/usr/src/RPM/BUILD/ipmitool-1.8.17/src/plugins/open' /bin/sh ../../../libtool --silent --tag=CC --mode=compile x86_64-alt-linux-gcc -DHAVE_CONFIG_H -I. -I../../.. -I../../../include -pipe -Wall -g -O2 -Wall -Wextra -std=gnu99 -pedantic -Wformat -Wformat-nonliteral -c -o open.lo open.c In file included from ../../../include/ipmitool/ipmi_sel.h:38:0, from open.c:47: ../../../include/ipmitool/ipmi_sdr.h:312:23: warning: ISO C99 doesn't support unnamed structs/unions [-Wpedantic] } ATTRIBUTE_PACKING; ^ /bin/sh ../../../libtool --silent --tag=CC --mode=link x86_64-alt-linux-gcc -pipe -Wall -g -O2 -Wall -Wextra -std=gnu99 -pedantic -Wformat -Wformat-nonliteral -o libintf_open.la open.lo ../../../lib/libipmitool.la -lreadline -lncurses -ltinfo -lreadline -lncurses -ltinfo -lcrypto make[4]: Leaving directory `/usr/src/RPM/BUILD/ipmitool-1.8.17/src/plugins/open' Making all in imb make[4]: Entering directory `/usr/src/RPM/BUILD/ipmitool-1.8.17/src/plugins/imb' /bin/sh ../../../libtool --silent --tag=CC --mode=compile x86_64-alt-linux-gcc -DHAVE_CONFIG_H -I. -I../../.. -I../../../include -pipe -Wall -g -O2 -Wall -Wextra -std=gnu99 -pedantic -Wformat -Wformat-nonliteral -c -o imbapi.lo imbapi.c /bin/sh ../../../libtool --silent --tag=CC --mode=compile x86_64-alt-linux-gcc -DHAVE_CONFIG_H -I. -I../../.. -I../../../include -pipe -Wall -g -O2 -Wall -Wextra -std=gnu99 -pedantic -Wformat -Wformat-nonliteral -c -o imb.lo imb.c In file included from ../../../include/ipmitool/ipmi_sel.h:38:0, from imb.c:46: ../../../include/ipmitool/ipmi_sdr.h:312:23: warning: ISO C99 doesn't support unnamed structs/unions [-Wpedantic] } ATTRIBUTE_PACKING; ^ imb.c: In function 'ipmi_imb_send_cmd': imb.c:78:62: warning: unused parameter 'intf' [-Wunused-parameter] static struct ipmi_rs * ipmi_imb_send_cmd(struct ipmi_intf * intf, struct ipmi_rq * req) ^ imbapi.c:123:27: warning: ISO C does not permit named variadic macros [-Wvariadic-macros] #define DEBUG(format, args...) ^ imbapi.c: In function 'open_imb': imbapi.c:268:15: warning: ISO C does not support '__FUNCTION__' predefined identifier [-Wpedantic] __FILE__,__FUNCTION__,IMB_DEVICE); ^ imbapi.c:295:6: warning: ISO C does not support '__FUNCTION__' predefined identifier [-Wpedantic] __FUNCTION__, my_ret_code, completionCode); ^ imbapi.c: In function 'DeviceIoControl': imbapi.c:367:12: warning: unused parameter 'dummey_hDevice' [-Wunused-parameter] HANDLE dummey_hDevice, /* handle of device */ ^ imbapi.c: In function 'GetAsyncImbpMessage': imbapi.c:1336:7: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] (lun != ((((ImbPacket *)(resp->data))->nfLn) & 0x3 )) ^ imbapi.c: In function 'GetAsyncImbpMessage_Ex': imbapi.c:1480:7: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] (lun != ((((ImbPacket *)(resp->data))->nfLn) & 0x3 )) ^ imbapi.c: In function 'MapPhysicalMemory': imbapi.c:2011:38: warning: ISO C does not support '__FUNCTION__' predefined identifier [-Wpedantic] __FILE__,__FUNCTION__,IMB_DEVICE); ^ imbapi.c:2031:46: warning: ISO C does not support '__FUNCTION__' predefined identifier [-Wpedantic] sprintf(buf,"%s %s: mmap failed", __FILE__,__FUNCTION__); ^ imbapi.c: In function 'UnmapPhysicalMemory': imbapi.c:2084:48: warning: ISO C does not support '__FUNCTION__' predefined identifier [-Wpedantic] sprintf(buf,"%s %s: munmap failed", __FILE__,__FUNCTION__); ^ imbapi.c: In function 'SendTimedEmpMessageResponse': imbapi.c:619:15: warning: array subscript is above array bounds [-Warray-bounds] req->req.data[i++] = (((ptr->nfLn & 0xfc) | 0x4) | ((ptr->seqLn) & 0x3)); ^ imbapi.c:621: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:621: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:623: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:623: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:623: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:625: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:629:15: warning: array subscript is above array bounds [-Warray-bounds] req->req.data[i++] = ( (ptr->seqLn & 0xfc) | (ptr->nfLn & 0x3) ); ^ imbapi.c:631:15: warning: array subscript is above array bounds [-Warray-bounds] req->req.data[i++] = ptr->cmd; ^ imbapi.c:633:18: warning: array subscript is above array bounds [-Warray-bounds] req->req.data[i] = responseDataBuf[j]; ^ imbapi.c:635:16: warning: array subscript is above array bounds [-Warray-bounds] req->req.data[i] = 0; ^ imbapi.c:641:21: warning: array subscript is above array bounds [-Warray-bounds] req->req.data[i] += req->req.data[j+3]; ^ imbapi.c:641:37: warning: array subscript is above array bounds [-Warray-bounds] req->req.data[i] += req->req.data[j+3]; ^ imbapi.c:641:21: warning: array subscript is above array bounds [-Warray-bounds] req->req.data[i] += req->req.data[j+3]; ^ imbapi.c:642:37: warning: array subscript is above array bounds [-Warray-bounds] req->req.data[i] = ~(req->req.data[i]) +1; ^ imbapi.c:642: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:737:15: warning: array subscript is above array bounds [-Warray-bounds] req->req.data[i++] = ptr->rqSa; ^ imbapi.c:740:15: warning: array subscript is above array bounds [-Warray-bounds] req->req.data[i++] = (((ptr->nfLn & 0xfc) | 0x4) | ((ptr->seqLn) & 0x3)); ^ imbapi.c:746: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:746: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:750: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:750: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:750: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:752: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:752: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:752: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:757: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:762:15: warning: array subscript is above array bounds [-Warray-bounds] req->req.data[i++] = ( (ptr->seqLn & 0xfc) | (ptr->nfLn & 0x3) ); ^ imbapi.c:765:15: warning: array subscript is above array bounds [-Warray-bounds] req->req.data[i++] = ptr->cmd; ^ imbapi.c:786: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:872:15: warning: array subscript is above array bounds [-Warray-bounds] req->req.data[i++] = (((ptr->nfLn & 0xfc) | 0x4) | ((ptr->seqLn) & 0x3)); ^ imbapi.c:874: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:874: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:876: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:876: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:876: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:878: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:882:15: warning: array subscript is above array bounds [-Warray-bounds] req->req.data[i++] = ( (ptr->seqLn & 0xfc) | (ptr->nfLn & 0x3) ); ^ imbapi.c:884:15: warning: array subscript is above array bounds [-Warray-bounds] req->req.data[i++] = ptr->cmd; ^ imbapi.c:886:18: warning: array subscript is above array bounds [-Warray-bounds] req->req.data[i] = responseDataBuf[j]; ^ imbapi.c:888:16: warning: array subscript is above array bounds [-Warray-bounds] req->req.data[i] = 0; ^ imbapi.c:894:21: warning: array subscript is above array bounds [-Warray-bounds] req->req.data[i] += req->req.data[j+3]; ^ imbapi.c:894:37: warning: array subscript is above array bounds [-Warray-bounds] req->req.data[i] += req->req.data[j+3]; ^ imbapi.c:894:21: warning: array subscript is above array bounds [-Warray-bounds] req->req.data[i] += req->req.data[j+3]; ^ imbapi.c:895:37: warning: array subscript is above array bounds [-Warray-bounds] req->req.data[i] = ~(req->req.data[i]) +1; ^ imbapi.c:895: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:988:15: warning: array subscript is above array bounds [-Warray-bounds] req->req.data[i++] = ptr->rqSa; ^ imbapi.c:991:15: warning: array subscript is above array bounds [-Warray-bounds] req->req.data[i++] = (((ptr->nfLn & 0xfc) | 0x4) | ((ptr->seqLn) & 0x3)); ^ imbapi.c:997: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:997: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:1001: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:1001: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:1001: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:1003: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:1003: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:1003: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:1008: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:1013:15: warning: array subscript is above array bounds [-Warray-bounds] req->req.data[i++] = ( (ptr->seqLn & 0xfc) | (ptr->nfLn & 0x3) ); ^ imbapi.c:1016:15: warning: array subscript is above array bounds [-Warray-bounds] req->req.data[i++] = ptr->cmd; ^ imbapi.c:1037: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:1513:32: warning: array subscript is above array bounds [-Warray-bounds] *sessionHandle = resp->data[1]; ^ /bin/sh ../../../libtool --silent --tag=CC --mode=link x86_64-alt-linux-gcc -pipe -Wall -g -O2 -Wall -Wextra -std=gnu99 -pedantic -Wformat -Wformat-nonliteral -o libintf_imb.la imbapi.lo imb.lo ../../../lib/libipmitool.la -lreadline -lncurses -ltinfo -lreadline -lncurses -ltinfo -lcrypto make[4]: Leaving directory `/usr/src/RPM/BUILD/ipmitool-1.8.17/src/plugins/imb' Making all in free make[4]: Entering directory `/usr/src/RPM/BUILD/ipmitool-1.8.17/src/plugins/free' /bin/sh ../../../libtool --silent --tag=CC --mode=compile x86_64-alt-linux-gcc -DHAVE_CONFIG_H -I. -I../../.. -I../../../include -pipe -Wall -g -O2 -Wall -Wextra -std=gnu99 -pedantic -Wformat -Wformat-nonliteral -c -o free.lo free.c free.c: In function 'ipmi_free_open': free.c:66:13: warning: implicit declaration of function 'getuid' [-Wimplicit-function-declaration] if (getuid() != 0) { ^ free.c:170:26: warning: implicit declaration of function 'ipmi_get_oem' [-Wimplicit-function-declaration] intf->manufacturer_id = ipmi_get_oem(intf); ^ free.c:64:27: warning: unused variable 'ssif_ret' [-Wunused-variable] int kcs_ret = -1, ssif_ret = -1; ^ free.c:64:13: warning: unused variable 'kcs_ret' [-Wunused-variable] int kcs_ret = -1, ssif_ret = -1; ^ free.c: At top level: free.c:311:6: warning: obsolete use of designated initializer with ':' [-Wpedantic] name: "free", ^ free.c:312:6: warning: obsolete use of designated initializer with ':' [-Wpedantic] desc: "FreeIPMI IPMI Interface", ^ free.c:313:6: warning: obsolete use of designated initializer with ':' [-Wpedantic] open: ipmi_free_open, ^ free.c:314:7: warning: obsolete use of designated initializer with ':' [-Wpedantic] close: ipmi_free_close, ^ free.c:315:10: warning: obsolete use of designated initializer with ':' [-Wpedantic] sendrecv: ipmi_free_send_cmd, ^ free.c:316:13: warning: obsolete use of designated initializer with ':' [-Wpedantic] target_addr: IPMI_BMC_SLAVE_ADDR, ^ /bin/sh ../../../libtool --silent --tag=CC --mode=link x86_64-alt-linux-gcc -pipe -Wall -g -O2 -Wall -Wextra -std=gnu99 -pedantic -Wformat -Wformat-nonliteral -lfreeipmi -o libintf_free.la free.lo ../../../lib/libipmitool.la -lreadline -lncurses -ltinfo -lreadline -lncurses -ltinfo -lcrypto make[4]: Leaving directory `/usr/src/RPM/BUILD/ipmitool-1.8.17/src/plugins/free' Making all in serial make[4]: Entering directory `/usr/src/RPM/BUILD/ipmitool-1.8.17/src/plugins/serial' /bin/sh ../../../libtool --silent --tag=CC --mode=compile x86_64-alt-linux-gcc -DHAVE_CONFIG_H -I. -I../../.. -I../../../include -pipe -Wall -g -O2 -Wall -Wextra -std=gnu99 -pedantic -Wformat -Wformat-nonliteral -c -o serial_terminal.lo serial_terminal.c /bin/sh ../../../libtool --silent --tag=CC --mode=compile x86_64-alt-linux-gcc -DHAVE_CONFIG_H -I. -I../../.. -I../../../include -pipe -Wall -g -O2 -Wall -Wextra -std=gnu99 -pedantic -Wformat -Wformat-nonliteral -c -o serial_basic.lo serial_basic.c serial_terminal.c:80:16: warning: ISO C forbids zero-size array 'data' [-Wpedantic] unsigned char data[0]; ^ serial_terminal.c:102:16: warning: ISO C forbids zero-size array 'data' [-Wpedantic] unsigned char data[0]; ^ serial_terminal.c: In function 'ipmi_serial_term_open': serial_terminal.c:190:16: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] for (i = 0; i < sizeof(rates) / sizeof(rates[0]); i++) { ^ serial_terminal.c:191:25: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] if (rates[i].baudrate == rate) { ^ serial_terminal.c:195:8: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] if (i >= sizeof(rates) / sizeof(rates[0])) { ^ serial_terminal.c: In function 'serial_term_build_msg': serial_terminal.c:488:48: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] if(req->msg.data_len + 3 + bridging_level * 8 > max_len) { ^ serial_terminal.c: In function 'serial_term_send_msg': serial_terminal.c:636:19: warning: pointer targets in passing argument 1 of 'sprintf' differ in signedness [-Wpointer-sign] buf += sprintf( buf, "%02x", msg[i]); ^ In file included from /usr/include/features.h:368:0, from /usr/include/alloca.h:21, from serial_terminal.c:36: /usr/include/bits/stdio2.h:31:1: note: expected 'char * restrict' but argument is of type 'uint8_t * {aka unsigned char *}' __NTH (sprintf (char *__restrict __s, const char *__restrict __fmt, ...)) ^ serial_terminal.c: In function 'serial_term_get_message': serial_terminal.c:719:25: warning: unused parameter 'max_len' [-Wunused-parameter] uint8_t * msg, size_t max_len) ^ serial_basic.c:82:16: warning: ISO C forbids zero-size array 'data' [-Wpedantic] unsigned char data[0]; ^ serial_basic.c:104:16: warning: ISO C forbids zero-size array 'data' [-Wpedantic] unsigned char data[0]; ^ serial_basic.c: In function 'serial_bm_open': serial_basic.c:243:16: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] for (i = 0; i < sizeof(rates) / sizeof(rates[0]); i++) { ^ serial_basic.c:244:25: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] if (rates[i].baudrate == rate) { ^ serial_basic.c:248:8: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] if (i >= sizeof(rates) / sizeof(rates[0])) { ^ serial_basic.c: In function 'serial_bm_recv_msg': serial_basic.c:573:14: warning: pointer targets in passing argument 1 of 'buf2str' differ in signedness [-Wpointer-sign] buf2str(recv_ctx->buffer + recv_ctx->buffer_size, rv)); ^ In file included from ../../../include/ipmitool/ipmi.h:41:0, from serial_basic.c:51: ../../../include/ipmitool/helper.h:100:14: note: expected 'uint8_t * {aka unsigned char *}' but argument is of type 'char *' const char * buf2str(uint8_t * buf, int len); ^ serial_basic.c:580:31: warning: pointer targets in passing argument 1 of 'serial_bm_parse_buffer' differ in signedness [-Wpointer-sign] rv = serial_bm_parse_buffer(recv_ctx->buffer, ^ serial_basic.c:472:1: note: expected 'const uint8_t * {aka const unsigned char *}' but argument is of type 'char *' serial_bm_parse_buffer(const uint8_t * data, int data_len, ^ serial_basic.c:583:10: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] if (rv < recv_ctx->buffer_size) { ^ serial_basic.c: In function 'serial_bm_build_msg': serial_basic.c:628:48: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] if(req->msg.data_len + 7 + bridging_level * 8 > max_len) { ^ serial_basic.c: In function 'serial_bm_get_message': serial_basic.c:823:25: warning: unused parameter 'max_len' [-Wunused-parameter] uint8_t * msg, size_t max_len) ^ serial_terminal.c: In function 'ipmi_serial_term_send_cmd': serial_terminal.c:802:3: warning: 'msg_len' may be used uninitialized in this function [-Wmaybe-uninitialized] serial_term_send_msg(intf, msg, msg_len); ^ serial_basic.c: In function 'serial_bm_wait_response.constprop': serial_basic.c:533:12: warning: 'parse_ctx.msg_len' may be used uninitialized in this function [-Wmaybe-uninitialized] ctx->msg[ctx->msg_len++] = data[i]; ^ serial_basic.c:549:29: note: 'parse_ctx.msg_len' was declared here struct serial_bm_parse_ctx parse_ctx; ^ serial_basic.c: In function 'serial_bm_send_request': serial_basic.c:919:3: warning: 'msg_len' may be used uninitialized in this function [-Wmaybe-uninitialized] serial_bm_send_msg(intf, msg, msg_len); ^ /bin/sh ../../../libtool --silent --tag=CC --mode=link x86_64-alt-linux-gcc -pipe -Wall -g -O2 -Wall -Wextra -std=gnu99 -pedantic -Wformat -Wformat-nonliteral -o libintf_serial.la serial_terminal.lo serial_basic.lo ../../../lib/libipmitool.la -lreadline -lncurses -ltinfo -lreadline -lncurses -ltinfo -lcrypto make[4]: Leaving directory `/usr/src/RPM/BUILD/ipmitool-1.8.17/src/plugins/serial' Making all in usb make[4]: Entering directory `/usr/src/RPM/BUILD/ipmitool-1.8.17/src/plugins/usb' /bin/sh ../../../libtool --silent --tag=CC --mode=compile x86_64-alt-linux-gcc -DHAVE_CONFIG_H -I. -I../../.. -I../../../include -pipe -Wall -g -O2 -Wall -Wextra -std=gnu99 -pedantic -Wformat -Wformat-nonliteral -c -o usb.lo usb.c In file included from /usr/include/sys/types.h:25:0, from ../../../include/ipmitool/helper.h:36, from usb.c:35: /usr/include/features.h:148:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" ^ /bin/sh ../../../libtool --silent --tag=CC --mode=link x86_64-alt-linux-gcc -pipe -Wall -g -O2 -Wall -Wextra -std=gnu99 -pedantic -Wformat -Wformat-nonliteral -o libintf_usb.la usb.lo ../../../lib/libipmitool.la -lreadline -lncurses -ltinfo -lreadline -lncurses -ltinfo -lcrypto make[4]: Leaving directory `/usr/src/RPM/BUILD/ipmitool-1.8.17/src/plugins/usb' make[4]: Entering directory `/usr/src/RPM/BUILD/ipmitool-1.8.17/src/plugins' /bin/sh ../../libtool --silent --tag=CC --mode=compile x86_64-alt-linux-gcc -DHAVE_CONFIG_H -I. -I../.. -I../../include -pipe -Wall -g -O2 -Wall -Wextra -std=gnu99 -pedantic -Wformat -Wformat-nonliteral -c -o ipmi_intf.lo ipmi_intf.c In file included from ipmi_intf.c:56:0: ../../include/ipmitool/ipmi_sdr.h:312:23: warning: ISO C99 doesn't support unnamed structs/unions [-Wpedantic] } ATTRIBUTE_PACKING; ^ /bin/sh ../../libtool --silent --tag=CC --mode=link x86_64-alt-linux-gcc -pipe -Wall -g -O2 -Wall -Wextra -std=gnu99 -pedantic -Wformat -Wformat-nonliteral -export-dynamic -o libintf.la ipmi_intf.lo lan/libintf_lan.la usb/libintf_usb.la lanplus/libintf_lanplus.la serial/libintf_serial.la free/libintf_free.la open/libintf_open.la imb/libintf_imb.la -lreadline -lncurses -ltinfo -lreadline -lncurses -ltinfo -lcrypto copying selected object files to avoid basename conflicts... make[4]: Leaving directory `/usr/src/RPM/BUILD/ipmitool-1.8.17/src/plugins' make[3]: Leaving directory `/usr/src/RPM/BUILD/ipmitool-1.8.17/src/plugins' make[3]: Entering directory `/usr/src/RPM/BUILD/ipmitool-1.8.17/src' x86_64-alt-linux-gcc -DHAVE_CONFIG_H -I. -I.. -I../include -pipe -Wall -g -O2 -Wall -Wextra -std=gnu99 -pedantic -Wformat -Wformat-nonliteral -c -o ipmitool.o ipmitool.c x86_64-alt-linux-gcc -DHAVE_CONFIG_H -I. -I.. -I../include -pipe -Wall -g -O2 -Wall -Wextra -std=gnu99 -pedantic -Wformat -Wformat-nonliteral -c -o ipmishell.o ipmishell.c x86_64-alt-linux-gcc -DHAVE_CONFIG_H -I. -I.. -I../include -pipe -Wall -g -O2 -Wall -Wextra -std=gnu99 -pedantic -Wformat -Wformat-nonliteral -c -o ipmievd.o ipmievd.c In file included from /usr/include/stdio.h:27:0, from ipmishell.c:36: /usr/include/features.h:148:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" ^ In file included from /usr/include/stdio.h:27:0, from ipmievd.c:35: /usr/include/features.h:148:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" ^ ipmishell.c: In function 'ipmi_shell_main': ipmishell.c:102:50: warning: unused parameter 'argc' [-Wunused-parameter] int ipmi_shell_main(struct ipmi_intf * intf, int argc, char ** argv) ^ ipmishell.c:102:64: warning: unused parameter 'argv' [-Wunused-parameter] int ipmi_shell_main(struct ipmi_intf * intf, int argc, char ** argv) ^ In file included from ipmitool.c:40:0: ../include/ipmitool/ipmi_sdr.h:312:23: warning: ISO C99 doesn't support unnamed structs/unions [-Wpedantic] } ATTRIBUTE_PACKING; ^ ipmishell.c: In function 'ipmi_echo_main': ipmishell.c:228:39: warning: unused parameter 'intf' [-Wunused-parameter] int ipmi_echo_main(struct ipmi_intf * intf, int argc, char ** argv) ^ In file included from ipmitool.c:43:0: ../include/ipmitool/ipmi_fru.h:84:3: warning: ISO C99 doesn't support unnamed structs/unions [-Wpedantic] }; ^ In file included from ipmitool.c:47:0: ../include/ipmitool/ipmi_lanp.h:130:2: warning: missing initializer for field 'size' of 'struct lan_param' [-Wmissing-field-initializers] { -1 } ^ ../include/ipmitool/ipmi_lanp.h:92:6: note: 'size' declared here int size; ^ In file included from ../include/ipmitool/ipmi_sel.h:38:0, from ipmievd.c:81: ../include/ipmitool/ipmi_sdr.h:312:23: warning: ISO C99 doesn't support unnamed structs/unions [-Wpedantic] } ATTRIBUTE_PACKING; ^ In file included from ipmitool.c:63:0: ../include/ipmitool/ipmi_hpmfwupg.h:440:16: warning: ISO C forbids zero-size array 'data' [-Wpedantic] unsigned char data[0]; ^ In file included from ipmitool.c:43:0: ../include/ipmitool/ipmi_fru.h:613:20: warning: 'section_id' defined but not used [-Wunused-variable] static const char *section_id[4] = { ^ In file included from ipmitool.c:63:0: ../include/ipmitool/ipmi_hpmfwupg.h:85:12: warning: 'errorCount' defined but not used [-Wunused-variable] static int errorCount; ^ ipmievd.c: In function 'ipmievd_cleanup': ipmievd.c:687:21: warning: unused parameter 'signal' [-Wunused-parameter] ipmievd_cleanup(int signal) ^ /bin/sh ../libtool --silent --tag=CC --mode=link x86_64-alt-linux-gcc -pipe -Wall -g -O2 -Wall -Wextra -std=gnu99 -pedantic -Wformat -Wformat-nonliteral -o ipmitool ipmitool.o ipmishell.o ../lib/libipmitool.la plugins/libintf.la -lreadline -lncurses -ltinfo -lreadline -lncurses -ltinfo -lcrypto /bin/sh ../libtool --silent --tag=CC --mode=link x86_64-alt-linux-gcc -pipe -Wall -g -O2 -Wall -Wextra -std=gnu99 -pedantic -Wformat -Wformat-nonliteral -o ipmievd ipmievd.o ../lib/libipmitool.la plugins/libintf.la -lreadline -lncurses -ltinfo -lreadline -lncurses -ltinfo -lcrypto make[3]: Leaving directory `/usr/src/RPM/BUILD/ipmitool-1.8.17/src' make[2]: Leaving directory `/usr/src/RPM/BUILD/ipmitool-1.8.17/src' Making all in include make[2]: Entering directory `/usr/src/RPM/BUILD/ipmitool-1.8.17/include' Making all in ipmitool make[3]: Entering directory `/usr/src/RPM/BUILD/ipmitool-1.8.17/include/ipmitool' make[3]: Nothing to be done for `all'. make[3]: Leaving directory `/usr/src/RPM/BUILD/ipmitool-1.8.17/include/ipmitool' make[3]: Entering directory `/usr/src/RPM/BUILD/ipmitool-1.8.17/include' make[3]: Nothing to be done for `all-am'. make[3]: Leaving directory `/usr/src/RPM/BUILD/ipmitool-1.8.17/include' make[2]: Leaving directory `/usr/src/RPM/BUILD/ipmitool-1.8.17/include' Making all in doc make[2]: Entering directory `/usr/src/RPM/BUILD/ipmitool-1.8.17/doc' make[2]: Nothing to be done for `all'. make[2]: Leaving directory `/usr/src/RPM/BUILD/ipmitool-1.8.17/doc' Making all in contrib make[2]: Entering directory `/usr/src/RPM/BUILD/ipmitool-1.8.17/contrib' make[2]: Nothing to be done for `all'. make[2]: Leaving directory `/usr/src/RPM/BUILD/ipmitool-1.8.17/contrib' Making all in control make[2]: Entering directory `/usr/src/RPM/BUILD/ipmitool-1.8.17/control' make[2]: Nothing to be done for `all'. make[2]: Leaving directory `/usr/src/RPM/BUILD/ipmitool-1.8.17/control' make[2]: Entering directory `/usr/src/RPM/BUILD/ipmitool-1.8.17' make[2]: Leaving directory `/usr/src/RPM/BUILD/ipmitool-1.8.17' make[1]: Leaving directory `/usr/src/RPM/BUILD/ipmitool-1.8.17' make: Leaving directory `/usr/src/RPM/BUILD/ipmitool-1.8.17' + exit 0 Executing(%install): /bin/sh -e /usr/src/tmp/rpm-tmp.91469 + umask 022 + /bin/mkdir -p /usr/src/RPM/BUILD + cd /usr/src/RPM/BUILD + /bin/chmod -Rf u+rwX -- /usr/src/tmp/ipmitool-buildroot + : + /bin/rm -rf -- /usr/src/tmp/ipmitool-buildroot + cd ipmitool-1.8.17 + make DESTDIR=/usr/src/tmp/ipmitool-buildroot install make: Entering directory `/usr/src/RPM/BUILD/ipmitool-1.8.17' Making install in lib make[1]: Entering directory `/usr/src/RPM/BUILD/ipmitool-1.8.17/lib' make[2]: Entering directory `/usr/src/RPM/BUILD/ipmitool-1.8.17/lib' 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/ipmitool-1.8.17/lib' make[1]: Leaving directory `/usr/src/RPM/BUILD/ipmitool-1.8.17/lib' Making install in src make[1]: Entering directory `/usr/src/RPM/BUILD/ipmitool-1.8.17/src' Making install in plugins make[2]: Entering directory `/usr/src/RPM/BUILD/ipmitool-1.8.17/src/plugins' Making install in lan make[3]: Entering directory `/usr/src/RPM/BUILD/ipmitool-1.8.17/src/plugins/lan' make[4]: Entering directory `/usr/src/RPM/BUILD/ipmitool-1.8.17/src/plugins/lan' make[4]: Nothing to be done for `install-exec-am'. make[4]: Nothing to be done for `install-data-am'. make[4]: Leaving directory `/usr/src/RPM/BUILD/ipmitool-1.8.17/src/plugins/lan' make[3]: Leaving directory `/usr/src/RPM/BUILD/ipmitool-1.8.17/src/plugins/lan' Making install in lanplus make[3]: Entering directory `/usr/src/RPM/BUILD/ipmitool-1.8.17/src/plugins/lanplus' make[4]: Entering directory `/usr/src/RPM/BUILD/ipmitool-1.8.17/src/plugins/lanplus' make[4]: Nothing to be done for `install-exec-am'. make[4]: Nothing to be done for `install-data-am'. make[4]: Leaving directory `/usr/src/RPM/BUILD/ipmitool-1.8.17/src/plugins/lanplus' make[3]: Leaving directory `/usr/src/RPM/BUILD/ipmitool-1.8.17/src/plugins/lanplus' Making install in open make[3]: Entering directory `/usr/src/RPM/BUILD/ipmitool-1.8.17/src/plugins/open' make[4]: Entering directory `/usr/src/RPM/BUILD/ipmitool-1.8.17/src/plugins/open' make[4]: Nothing to be done for `install-exec-am'. make[4]: Nothing to be done for `install-data-am'. make[4]: Leaving directory `/usr/src/RPM/BUILD/ipmitool-1.8.17/src/plugins/open' make[3]: Leaving directory `/usr/src/RPM/BUILD/ipmitool-1.8.17/src/plugins/open' Making install in imb make[3]: Entering directory `/usr/src/RPM/BUILD/ipmitool-1.8.17/src/plugins/imb' make[4]: Entering directory `/usr/src/RPM/BUILD/ipmitool-1.8.17/src/plugins/imb' make[4]: Nothing to be done for `install-exec-am'. make[4]: Nothing to be done for `install-data-am'. make[4]: Leaving directory `/usr/src/RPM/BUILD/ipmitool-1.8.17/src/plugins/imb' make[3]: Leaving directory `/usr/src/RPM/BUILD/ipmitool-1.8.17/src/plugins/imb' Making install in free make[3]: Entering directory `/usr/src/RPM/BUILD/ipmitool-1.8.17/src/plugins/free' make[4]: Entering directory `/usr/src/RPM/BUILD/ipmitool-1.8.17/src/plugins/free' make[4]: Nothing to be done for `install-exec-am'. make[4]: Nothing to be done for `install-data-am'. make[4]: Leaving directory `/usr/src/RPM/BUILD/ipmitool-1.8.17/src/plugins/free' make[3]: Leaving directory `/usr/src/RPM/BUILD/ipmitool-1.8.17/src/plugins/free' Making install in serial make[3]: Entering directory `/usr/src/RPM/BUILD/ipmitool-1.8.17/src/plugins/serial' make[4]: Entering directory `/usr/src/RPM/BUILD/ipmitool-1.8.17/src/plugins/serial' make[4]: Nothing to be done for `install-exec-am'. make[4]: Nothing to be done for `install-data-am'. make[4]: Leaving directory `/usr/src/RPM/BUILD/ipmitool-1.8.17/src/plugins/serial' make[3]: Leaving directory `/usr/src/RPM/BUILD/ipmitool-1.8.17/src/plugins/serial' Making install in usb make[3]: Entering directory `/usr/src/RPM/BUILD/ipmitool-1.8.17/src/plugins/usb' make[4]: Entering directory `/usr/src/RPM/BUILD/ipmitool-1.8.17/src/plugins/usb' make[4]: Nothing to be done for `install-exec-am'. make[4]: Nothing to be done for `install-data-am'. make[4]: Leaving directory `/usr/src/RPM/BUILD/ipmitool-1.8.17/src/plugins/usb' make[3]: Leaving directory `/usr/src/RPM/BUILD/ipmitool-1.8.17/src/plugins/usb' make[3]: Entering directory `/usr/src/RPM/BUILD/ipmitool-1.8.17/src/plugins' make[4]: Entering directory `/usr/src/RPM/BUILD/ipmitool-1.8.17/src/plugins' make[4]: Nothing to be done for `install-exec-am'. make[4]: Nothing to be done for `install-data-am'. make[4]: Leaving directory `/usr/src/RPM/BUILD/ipmitool-1.8.17/src/plugins' make[3]: Leaving directory `/usr/src/RPM/BUILD/ipmitool-1.8.17/src/plugins' make[2]: Leaving directory `/usr/src/RPM/BUILD/ipmitool-1.8.17/src/plugins' make[2]: Entering directory `/usr/src/RPM/BUILD/ipmitool-1.8.17/src' make[3]: Entering directory `/usr/src/RPM/BUILD/ipmitool-1.8.17/src' /bin/mkdir -p '/usr/src/tmp/ipmitool-buildroot/usr/bin' /bin/sh ../libtool --silent --mode=install /bin/install -c ipmitool '/usr/src/tmp/ipmitool-buildroot/usr/bin' /bin/mkdir -p '/usr/src/tmp/ipmitool-buildroot/usr/sbin' /bin/sh ../libtool --silent --mode=install /bin/install -c ipmievd '/usr/src/tmp/ipmitool-buildroot/usr/sbin' make[3]: Nothing to be done for `install-data-am'. make[3]: Leaving directory `/usr/src/RPM/BUILD/ipmitool-1.8.17/src' make[2]: Leaving directory `/usr/src/RPM/BUILD/ipmitool-1.8.17/src' make[1]: Leaving directory `/usr/src/RPM/BUILD/ipmitool-1.8.17/src' Making install in include make[1]: Entering directory `/usr/src/RPM/BUILD/ipmitool-1.8.17/include' Making install in ipmitool make[2]: Entering directory `/usr/src/RPM/BUILD/ipmitool-1.8.17/include/ipmitool' make[3]: Entering directory `/usr/src/RPM/BUILD/ipmitool-1.8.17/include/ipmitool' make[3]: Nothing to be done for `install-exec-am'. make[3]: Nothing to be done for `install-data-am'. make[3]: Leaving directory `/usr/src/RPM/BUILD/ipmitool-1.8.17/include/ipmitool' make[2]: Leaving directory `/usr/src/RPM/BUILD/ipmitool-1.8.17/include/ipmitool' make[2]: Entering directory `/usr/src/RPM/BUILD/ipmitool-1.8.17/include' make[3]: Entering directory `/usr/src/RPM/BUILD/ipmitool-1.8.17/include' make[3]: Nothing to be done for `install-exec-am'. make[3]: Nothing to be done for `install-data-am'. make[3]: Leaving directory `/usr/src/RPM/BUILD/ipmitool-1.8.17/include' make[2]: Leaving directory `/usr/src/RPM/BUILD/ipmitool-1.8.17/include' make[1]: Leaving directory `/usr/src/RPM/BUILD/ipmitool-1.8.17/include' Making install in doc make[1]: Entering directory `/usr/src/RPM/BUILD/ipmitool-1.8.17/doc' make[2]: Entering directory `/usr/src/RPM/BUILD/ipmitool-1.8.17/doc' make[2]: Nothing to be done for `install-exec-am'. /bin/mkdir -p '/usr/src/tmp/ipmitool-buildroot/usr/share/man/man1' /bin/install -c -m 644 ipmitool.1 '/usr/src/tmp/ipmitool-buildroot/usr/share/man/man1' /bin/mkdir -p '/usr/src/tmp/ipmitool-buildroot/usr/share/man/man8' /bin/install -c -m 644 ipmievd.8 '/usr/src/tmp/ipmitool-buildroot/usr/share/man/man8' make[2]: Leaving directory `/usr/src/RPM/BUILD/ipmitool-1.8.17/doc' make[1]: Leaving directory `/usr/src/RPM/BUILD/ipmitool-1.8.17/doc' Making install in contrib make[1]: Entering directory `/usr/src/RPM/BUILD/ipmitool-1.8.17/contrib' make[2]: Entering directory `/usr/src/RPM/BUILD/ipmitool-1.8.17/contrib' make[2]: Nothing to be done for `install-exec-am'. /bin/mkdir -p '/usr/src/tmp/ipmitool-buildroot/usr/share/ipmitool' /bin/install -c -m 644 oem_ibm_sel_map '/usr/src/tmp/ipmitool-buildroot/usr/share/ipmitool' make[2]: Leaving directory `/usr/src/RPM/BUILD/ipmitool-1.8.17/contrib' make[1]: Leaving directory `/usr/src/RPM/BUILD/ipmitool-1.8.17/contrib' Making install in control make[1]: Entering directory `/usr/src/RPM/BUILD/ipmitool-1.8.17/control' make[2]: Entering directory `/usr/src/RPM/BUILD/ipmitool-1.8.17/control' 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/ipmitool-1.8.17/control' make[1]: Leaving directory `/usr/src/RPM/BUILD/ipmitool-1.8.17/control' make[1]: Entering directory `/usr/src/RPM/BUILD/ipmitool-1.8.17' make[2]: Entering directory `/usr/src/RPM/BUILD/ipmitool-1.8.17' make[2]: Nothing to be done for `install-exec-am'. mkdir -p /usr/src/tmp/ipmitool-buildroot/usr/share/doc/ipmitool /bin/install -c -m 644 ./README ./COPYING ./AUTHORS ./ChangeLog /usr/src/tmp/ipmitool-buildroot/usr/share/doc/ipmitool make[2]: Leaving directory `/usr/src/RPM/BUILD/ipmitool-1.8.17' make[1]: Leaving directory `/usr/src/RPM/BUILD/ipmitool-1.8.17' make: Leaving directory `/usr/src/RPM/BUILD/ipmitool-1.8.17' + install -pD -m755 contrib/bmclanconf /usr/src/tmp/ipmitool-buildroot/usr/sbin/ + /usr/lib/rpm/brp-alt Cleaning files in /usr/src/tmp/ipmitool-buildroot (auto) Verifying and fixing files in /usr/src/tmp/ipmitool-buildroot (binconfig,pkgconfig,libtool,desktop) Compressing files in /usr/src/tmp/ipmitool-buildroot (auto) Verifying ELF objects in /usr/src/tmp/ipmitool-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: ipmitool-1.8.17-alt2 Finding Provides (using /usr/lib/rpm/find-provides) Executing: /bin/sh -e /usr/src/tmp/rpm-tmp.EFJLf2 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.izj5xM 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/bash, /lib64/ld-linux-x86-64.so.2, 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:qlvV2cmwIZqfxZgA2IgnaTzgFYOedbIHd6CwT3E7Il3SkxtuZnkIugYZ8XuVH1M4tkOp1X4LOu2e, libfreeipmi.so.17()(64bit) >= set:okvv7hKxuNZwNf7yS5MueXBsce2G0, libm.so.6(GLIBC_2.2.5)(64bit), libreadline.so.6()(64bit) >= set:nk4sbVZpZ2WSqvHGZJkEdlmO8, rtld(GNU_HASH) Requires(rpmlib): rpmlib(SetVersions) Finding debuginfo files (using /usr/lib/rpm/find-debuginfo-files) Executing: /bin/sh -e /usr/src/tmp/rpm-tmp.0ihGBz Creating ipmitool-debuginfo package Processing files: ipmitool-debuginfo-1.8.17-alt2 Finding Provides (using /usr/lib/rpm/find-provides) Executing: /bin/sh -e /usr/src/tmp/rpm-tmp.IetBBp find-provides: running scripts (debuginfo) Finding Requires (using /usr/lib/rpm/find-requires) Executing: /bin/sh -e /usr/src/tmp/rpm-tmp.s3UGmi find-requires: running scripts (debuginfo) Requires: ipmitool = 1.8.17-alt2, /usr/lib/debug/lib64/ld-linux-x86-64.so.2.debug, debug64(libc.so.6), debug64(libcrypto.so.10), debug64(libfreeipmi.so.17), debug64(libm.so.6), debug64(libreadline.so.6) Wrote: /usr/src/RPM/RPMS/x86_64/ipmitool-1.8.17-alt2.x86_64.rpm Wrote: /usr/src/RPM/RPMS/x86_64/ipmitool-debuginfo-1.8.17-alt2.x86_64.rpm 38.91user 4.40system 0:40.20elapsed 107%CPU (0avgtext+0avgdata 60364maxresident)k 0inputs+0outputs (0major+2028794minor)pagefaults 0swaps 42.49user 6.24system 0:46.50elapsed 104%CPU (0avgtext+0avgdata 121968maxresident)k 2208inputs+0outputs (0major+2268316minor)pagefaults 0swaps