=> Building sysutils/ipmitool build started at Sat Oct 8 10:27:30 PDT 2016 port directory: /usr/ports/sysutils/ipmitool building for: DragonFly pkgbox64.dragonflybsd.org 4.7-DEVELOPMENT DragonFly v4.7.0.78.g7d868-DEVELOPMENT #7: Mon Aug 1 22:25:32 PDT 2016 root@pkgbox64.dragonflybsd.org:/usr/obj/usr/src/sys/X86_64_GENERIC x86_64 maintained by: zi@FreeBSD.org ident warning: no id keywords in /build/boomdata/data/.m/Release46-default/ref/../07//usr/ports/sysutils/ipmitool/Makefile Makefile ident: Poudriere version: 3.1-pre Host OSVERSION: 400700 Jail OSVERSION: 400600 ---Begin Environment--- STATUS=1 SAVED_TERM=screen MASTERMNT=/build/boomdata/data/.m/Release46-default/ref PATH=/usr/local/libexec/poudriere:/sbin:/bin:/usr/sbin:/usr/bin:/usr/pkg/bin:/usr/pkg/sbin:/usr/games:/usr/local/sbin:/usr/local/bin:/usr/pkg/xorg/bin:/usr/X11R6/bin:/root/bin:/sbin:/usr/sbin POUDRIERE_BUILD_TYPE=bulk PKGNAME=ipmitool-1.8.17_1 OLDPWD=/root/boom PWD=/build/boomdata/data/.m/Release46-default/ref/.p/pool MASTERNAME=Release46-default TERM=cons25 USER=root HOME=/root POUDRIERE_VERSION=3.1-pre LOCALBASE=/usr/local PACKAGE_BUILDING=yes ---End Environment--- ---Begin OPTIONS List--- ===> The following configuration options are available for ipmitool-1.8.17_1: DOCS=on: Build and/or install documentation FREEIPMI=off: Enable support for freeipmi ===> Use 'make config' to modify these settings ---End OPTIONS List--- --CONFIGURE_ARGS-- --enable-intf-lan --enable-intf-lanplus --disable-intf-imb --disable-intf-lipmi --disable-intf-bmc --disable-intf-usb --enable-intf-open --disable-intf-free --prefix=/usr/local ${_LATE_CONFIGURE_ARGS} --End CONFIGURE_ARGS-- --CONFIGURE_ENV-- MAKE=gmake XDG_DATA_HOME=/wrkdirs/sysutils/ipmitool XDG_CONFIG_HOME=/wrkdirs/sysutils/ipmitool HOME=/wrkdirs/sysutils/ipmitool TMPDIR="/tmp" SHELL=/bin/sh CONFIG_SHELL=/bin/sh CCVER=gcc50 CONFIG_SITE=/usr/ports/Templates/config.site lt_cv_sys_max_cmd_len=262144 --End CONFIGURE_ENV-- --MAKE_ENV-- OPENSSLBASE=/usr OPENSSLDIR=/etc/ssl OPENSSLINC=/usr/include OPENSSLLIB=/usr/lib XDG_DATA_HOME=/wrkdirs/sysutils/ipmitool XDG_CONFIG_HOME=/wrkdirs/sysutils/ipmitool HOME=/wrkdirs/sysutils/ipmitool TMPDIR="/tmp" NO_PIE=yes MK_DEBUG_FILES=no MK_KERNEL_SYMBOLS=no SHELL=/bin/sh NO_LINT=YES CCVER=gcc50 PREFIX=/usr/local LOCALBASE=/usr/local LIBDIR="/usr/lib" NOPROFILE=1 CC="cc" CFLAGS="-pipe -I/usr/include -O2 -fno-strict-aliasing" CPP="cpp" CPPFLAGS="-I/usr/local/include" LDFLAGS=" -L/usr/lib -L/usr/local/lib " LIBS="" CXX="c++" CXXFLAGS=" -pipe -I/usr/include -O2 -fno-strict-aliasing" MANPREFIX="/usr/local" BSD_INSTALL_PROGRAM="install -s -m 555" BSD_INSTALL_LIB="install -s -m 444" BSD_INSTALL_SCRIPT="install -m 555" BSD_INSTALL_DATA="install -m 0644" BSD_INSTALL_MAN="install -m 444" --End MAKE_ENV-- --PLIST_SUB-- OSREL=4.6 PREFIX=%D LOCALBASE=/usr/local RESETPREFIX=/usr/local PORTDOCS="" PORTEXAMPLES="" LIB32DIR=lib PROFILE="@comment " DOCSDIR="share/doc/ipmitool" EXAMPLESDIR="share/examples/ipmitool" DATADIR="share/ipmitool" WWWDIR="www/ipmitool" ETCDIR="etc/ipmitool" --End PLIST_SUB-- --SUB_LIST-- PREFIX=/usr/local LOCALBASE=/usr/local DATADIR=/usr/local/share/ipmitool DOCSDIR=/usr/local/share/doc/ipmitool EXAMPLESDIR=/usr/local/share/examples/ipmitool WWWDIR=/usr/local/www/ipmitool ETCDIR=/usr/local/etc/ipmitool --End SUB_LIST-- ---Begin make.conf--- NO_BACKUP=yes USE_PACKAGE_DEPENDS=yes PKG_CREATE_VERBOSE=yes BATCH=yes WRKDIRPREFIX=/wrkdirs PORT_DBDIR=/options PORTSDIR=/usr/ports PACKAGES=/packages DISTDIR=/distfiles MAKE_JOBS_NUMBER=5 ---End make.conf--- =================================================== ===> License BSD3CLAUSE accepted by the user =========================================================================== =================================================== ===> ipmitool-1.8.17_1 depends on file: /usr/local/sbin/pkg - not found ===> Installing existing package /packages/All/pkg-1.8.7_3.txz Installing pkg-1.8.7_3... Extracting pkg-1.8.7_3: .......... done ===> ipmitool-1.8.17_1 depends on file: /usr/local/sbin/pkg - found ===> Returning to build of ipmitool-1.8.17_1 =========================================================================== =================================================== =========================================================================== =================================================== ===> License BSD3CLAUSE accepted by the user ===> Fetching all distfiles required by ipmitool-1.8.17_1 for building =========================================================================== =================================================== ===> License BSD3CLAUSE accepted by the user ===> Fetching all distfiles required by ipmitool-1.8.17_1 for building => SHA256 Checksum OK for ipmitool-1.8.17.tar.bz2. =========================================================================== =================================================== =========================================================================== =================================================== ===> License BSD3CLAUSE accepted by the user ===> Fetching all distfiles required by ipmitool-1.8.17_1 for building ===> Extracting for ipmitool-1.8.17_1 => SHA256 Checksum OK for ipmitool-1.8.17.tar.bz2. =========================================================================== =================================================== =========================================================================== =================================================== ===> Patching for ipmitool-1.8.17_1 ===> Applying ports patches for ipmitool-1.8.17_1 =========================================================================== =================================================== ===> ipmitool-1.8.17_1 depends on executable: gmake - not found ===> Installing existing package /packages/All/gmake-4.2.1_1.txz Installing gmake-4.2.1_1... `-- Installing indexinfo-0.2.5... `-- Extracting indexinfo-0.2.5: .... done `-- Installing gettext-runtime-0.19.8.1... `-- Extracting gettext-runtime-0.19.8.1: .......... done Extracting gmake-4.2.1_1: .......... done ===> ipmitool-1.8.17_1 depends on executable: gmake - found ===> Returning to build of ipmitool-1.8.17_1 =========================================================================== =================================================== ===> ipmitool-1.8.17_1 depends on shared library: libreadline.so.6 - not found ===> Installing existing package /packages/All/readline-6.3.8.txz Installing readline-6.3.8... `-- Installing ncurses-6.0_5... `-- Extracting ncurses-6.0_5: .......... done Extracting readline-6.3.8: .......... done Message from ncurses-6.0_5: ===> NOTICE: The ncurses port currently does not have a maintainer. As a result, it is more likely to have unresolved issues, not be up-to-date, or even be removed in the future. To volunteer to maintain this port, please create an issue at: https://bugs.freebsd.org/bugzilla More information about port maintainership is available at: https://www.freebsd.org/doc/en/articles/contributing/ports-contributing.html#maintain-port ===> ipmitool-1.8.17_1 depends on shared library: libreadline.so.6 - found (/usr/local/lib/libreadline.so.6) ===> Returning to build of ipmitool-1.8.17_1 =========================================================================== =================================================== ===> Configuring for ipmitool-1.8.17_1 configure: loading site script /usr/ports/Templates/config.site checking build system type... x86_64-portbld-dragonfly4.6 checking host system type... x86_64-portbld-dragonfly4.6 checking target system type... x86_64-portbld-dragonfly4.6 checking for a BSD-compatible install... /usr/bin/install -c checking whether build environment is sane... yes checking for a thread-safe mkdir -p... (cached) /bin/mkdir -p checking for gawk... (cached) /usr/bin/awk checking whether gmake sets $(MAKE)... yes checking whether gmake supports nested variables... yes checking for gcc... cc 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 cc accepts -g... yes checking for cc option to accept ISO C89... none needed checking whether cc understands -c and -o together... yes checking for style of include used by gmake... GNU checking dependency style of cc... gcc3 checking whether ln -s works... yes checking whether gmake sets $(MAKE)... (cached) yes checking for rpmbuild... rpm checking for sed... (cached) /usr/bin/sed checking how to run the C preprocessor... cpp checking for grep that handles long lines and -e... (cached) /usr/bin/grep checking for egrep... (cached) /usr/bin/egrep checking for ANSI C header files... (cached) yes checking for sys/types.h... (cached) yes checking for sys/stat.h... (cached) yes checking for stdlib.h... (cached) yes checking for string.h... (cached) yes checking for memory.h... (cached) yes checking for strings.h... (cached) yes checking for inttypes.h... (cached) yes checking for stdint.h... (cached) yes checking for unistd.h... (cached) yes checking for stdlib.h... (cached) yes checking for string.h... (cached) yes checking for sys/ioctl.h... (cached) yes checking for sys/stat.h... (cached) yes checking for unistd.h... (cached) yes checking for paths.h... (cached) yes checking for arpa/inet.h... (cached) yes checking for fcntl.h... (cached) yes checking for netdb.h... (cached) yes checking for netinet/in.h... (cached) yes checking for sys/socket.h... (cached) yes checking sys/byteorder.h usability... no checking sys/byteorder.h presence... no checking for sys/byteorder.h... no checking for byteswap.h... (cached) no checking for an ANSI C-conforming const... yes checking for inline... inline checking whether byte ordering is bigendian... no checking for sys/select.h... (cached) 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... (cached) yes checking for gethostbyname... (cached) yes checking for getaddrinfo... (cached) yes checking for getifaddrs... yes checking for socket... yes checking for select... (cached) yes checking for memmove... (cached) yes checking for memset... (cached) yes checking for strchr... yes checking for strdup... (cached) yes checking for strerror... (cached) yes checking for getpassphrase... no checking how to print strings... printf checking for a sed that does not truncate output... (cached) /usr/bin/sed checking for fgrep... (cached) /usr/bin/fgrep checking for ld used by cc... /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... (cached) 262144 checking whether the shell understands some XSI constructs... yes checking whether the shell understands "+="... no checking how to convert x86_64-portbld-dragonfly4.6 file names to x86_64-portbld-dragonfly4.6 format... func_convert_file_noop checking how to convert x86_64-portbld-dragonfly4.6 file names to toolchain format... func_convert_file_noop checking for /usr/bin/ld option to reload object files... -r checking for objdump... objdump checking how to recognize dependent libraries... pass_all checking for dlltool... no checking how to associate runtime and link libraries... printf %s\n checking for ar... ar checking for archiver @FILE support... @ checking for strip... strip checking for ranlib... ranlib checking command to parse /usr/bin/nm -B output from cc object... ok checking for sysroot... no checking for mt... mt checking if mt is a manifest tool... no checking for dlfcn.h... (cached) yes checking for objdir... .libs checking if cc supports -fno-rtti -fno-exceptions... no checking for cc option to produce PIC... -fPIC -DPIC checking if cc PIC flag -fPIC -DPIC works... yes checking if cc static flag -static works... yes checking if cc supports -c -o file.o... yes checking if cc supports -c -o file.o... (cached) yes checking whether the cc linker (/usr/bin/ld) supports shared libraries... yes checking whether -lc should be explicitly linked in... no checking dynamic linker characteristics... dragonfly4.6 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... no checking for linux/compiler.h... no checking sys/ioccom.h usability... yes checking sys/ioccom.h presence... yes checking for sys/ioccom.h... yes checking linux/ipmi.h usability... no checking linux/ipmi.h presence... no checking for linux/ipmi.h... no checking sys/ipmi.h usability... yes checking sys/ipmi.h presence... yes checking for sys/ipmi.h... yes checking for ipmi_open_inband in -lfreeipmi... no checking for ipmi_ctx_open_inband in -lfreeipmi... no 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 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 ipmitool 1.8.17 Interfaces lan : yes lanplus : yes open : yes free : no imb : no bmc : no usb : no lipmi : no serial : yes dummy : no Extra tools ipmievd : yes ipmishell : yes =========================================================================== =================================================== ===> Building for ipmitool-1.8.17_1 gmake[1]: Entering directory '/wrkdirs/sysutils/ipmitool/ipmitool-1.8.17' gmake all-recursive gmake[2]: Entering directory '/wrkdirs/sysutils/ipmitool/ipmitool-1.8.17' Making all in lib gmake[3]: Entering directory '/wrkdirs/sysutils/ipmitool/ipmitool-1.8.17/lib' depbase=`echo helper.lo | sed 's|[^/]*$|.deps/&|;s|\.lo$||'`;\ /bin/sh ../libtool --silent --tag=CC --mode=compile cc -DHAVE_CONFIG_H -I. -I.. -I../include -I/usr/local/include -pipe -I/usr/include -O2 -fno-strict-aliasing -Wall -Wextra -std=gnu99 -pedantic -Wformat -Wformat-nonliteral -MT helper.lo -MD -MP -MF $depbase.Tpo -c -o helper.lo helper.c &&\ mv -f $depbase.Tpo $depbase.Plo depbase=`echo ipmi_sdr.lo | sed 's|[^/]*$|.deps/&|;s|\.lo$||'`;\ /bin/sh ../libtool --silent --tag=CC --mode=compile cc -DHAVE_CONFIG_H -I. -I.. -I../include -I/usr/local/include -pipe -I/usr/include -O2 -fno-strict-aliasing -Wall -Wextra -std=gnu99 -pedantic -Wformat -Wformat-nonliteral -MT ipmi_sdr.lo -MD -MP -MF $depbase.Tpo -c -o ipmi_sdr.lo ipmi_sdr.c &&\ mv -f $depbase.Tpo $depbase.Plo depbase=`echo ipmi_sel.lo | sed 's|[^/]*$|.deps/&|;s|\.lo$||'`;\ /bin/sh ../libtool --silent --tag=CC --mode=compile cc -DHAVE_CONFIG_H -I. -I.. -I../include -I/usr/local/include -pipe -I/usr/include -O2 -fno-strict-aliasing -Wall -Wextra -std=gnu99 -pedantic -Wformat -Wformat-nonliteral -MT ipmi_sel.lo -MD -MP -MF $depbase.Tpo -c -o ipmi_sel.lo ipmi_sel.c &&\ mv -f $depbase.Tpo $depbase.Plo depbase=`echo ipmi_sol.lo | sed 's|[^/]*$|.deps/&|;s|\.lo$||'`;\ /bin/sh ../libtool --silent --tag=CC --mode=compile cc -DHAVE_CONFIG_H -I. -I.. -I../include -I/usr/local/include -pipe -I/usr/include -O2 -fno-strict-aliasing -Wall -Wextra -std=gnu99 -pedantic -Wformat -Wformat-nonliteral -MT ipmi_sol.lo -MD -MP -MF $depbase.Tpo -c -o ipmi_sol.lo ipmi_sol.c &&\ mv -f $depbase.Tpo $depbase.Plo depbase=`echo ipmi_pef.lo | sed 's|[^/]*$|.deps/&|;s|\.lo$||'`;\ /bin/sh ../libtool --silent --tag=CC --mode=compile cc -DHAVE_CONFIG_H -I. -I.. -I../include -I/usr/local/include -pipe -I/usr/include -O2 -fno-strict-aliasing -Wall -Wextra -std=gnu99 -pedantic -Wformat -Wformat-nonliteral -MT ipmi_pef.lo -MD -MP -MF $depbase.Tpo -c -o ipmi_pef.lo ipmi_pef.c &&\ mv -f $depbase.Tpo $depbase.Plo helper.c: In function 'val2str': helper.c:130:2: warning: implicit declaration of function 'snprintf' [-Wimplicit-function-declaration] snprintf(un_str, 32, "Unknown (0x%02X)", val); ^ helper.c:130:2: warning: incompatible implicit declaration of built-in function 'snprintf' helper.c:130:2: note: include '' or provide a declaration of 'snprintf' helper.c: In function 'oemval2str': helper.c:150:2: warning: incompatible implicit declaration of built-in function 'snprintf' snprintf(un_str, 32, "Unknown (0x%X)", val); ^ helper.c:150:2: note: include '' or provide a declaration of 'snprintf' 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_open_file': helper.c:535:6: warning: implicit declaration of function 'lstat' [-Wimplicit-function-declaration] if (lstat(file, &st1) < 0) { ^ 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, ^ 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; ^ 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_sel.c: In function 'ipmi_sel_interpret': ipmi_sel.c:2405:4: warning: statement with no effect [-Wunused-value] evt.sel_type.standard_type.timestamp; ^ 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] = { ^ 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: In function 'ipmi_pef_bit_desc': ipmi_pef.c:99:4: warning: format not a string literal, argument types not checked [-Wformat-nonliteral] sprintf(p, listitem[index], pmap->desc); ^ ipmi_pef.c: In function 'ipmi_pef_print_flags': ipmi_pef.c:130: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:142:3: warning: format not a string literal, argument types not checked [-Wformat-nonliteral] printf(fmt[0], KYWD_LENGTH, label, val); ^ ipmi_pef.c:144:3: warning: format not a string literal, argument types not checked [-Wformat-nonliteral] printf(&fmt[1][2], val); /* skip field separator */ ^ ipmi_pef.c:146:3: warning: format not a string literal, argument types not checked [-Wformat-nonliteral] printf(fmt[1], val); ^ ipmi_pef.c: In function 'ipmi_pef_print_serial_dest_ppp': ipmi_pef.c:436:51: warning: unused parameter 'intf' [-Wunused-parameter] ipmi_pef_print_serial_dest_ppp(struct ipmi_intf * intf, ^ ipmi_pef.c:437: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:446:56: warning: unused parameter 'intf' [-Wunused-parameter] ipmi_pef_print_serial_dest_callback(struct ipmi_intf * intf, ^ ipmi_pef.c:447: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:518:40: warning: unused parameter 'intf' [-Wunused-parameter] ipmi_pef_print_dest(struct ipmi_intf * intf, uint8_t ch, uint8_t dest) ^ ipmi_pef.c:518: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': ipmi_pef.c:562: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_get_info': ipmi_pef.c:850: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:854: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_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_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_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_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), ^ 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) { ^ depbase=`echo ipmi_lanp.lo | sed 's|[^/]*$|.deps/&|;s|\.lo$||'`;\ /bin/sh ../libtool --silent --tag=CC --mode=compile cc -DHAVE_CONFIG_H -I. -I.. -I../include -I/usr/local/include -pipe -I/usr/include -O2 -fno-strict-aliasing -Wall -Wextra -std=gnu99 -pedantic -Wformat -Wformat-nonliteral -MT ipmi_lanp.lo -MD -MP -MF $depbase.Tpo -c -o ipmi_lanp.lo ipmi_lanp.c &&\ mv -f $depbase.Tpo $depbase.Plo In file included from ipmi_lanp.c:54: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; ^ depbase=`echo ipmi_fru.lo | sed 's|[^/]*$|.deps/&|;s|\.lo$||'`;\ /bin/sh ../libtool --silent --tag=CC --mode=compile cc -DHAVE_CONFIG_H -I. -I.. -I../include -I/usr/local/include -pipe -I/usr/include -O2 -fno-strict-aliasing -Wall -Wextra -std=gnu99 -pedantic -Wformat -Wformat-nonliteral -MT ipmi_fru.lo -MD -MP -MF $depbase.Tpo -c -o ipmi_fru.lo ipmi_fru.c &&\ mv -f $depbase.Tpo $depbase.Plo 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;i 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++) { ^ depbase=`echo ipmi_session.lo | sed 's|[^/]*$|.deps/&|;s|\.lo$||'`;\ /bin/sh ../libtool --silent --tag=CC --mode=compile cc -DHAVE_CONFIG_H -I. -I.. -I../include -I/usr/local/include -pipe -I/usr/include -O2 -fno-strict-aliasing -Wall -Wextra -std=gnu99 -pedantic -Wformat -Wformat-nonliteral -MT ipmi_session.lo -MD -MP -MF $depbase.Tpo -c -o ipmi_session.lo ipmi_session.c &&\ mv -f $depbase.Tpo $depbase.Plo 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; ^ depbase=`echo ipmi_strings.lo | sed 's|[^/]*$|.deps/&|;s|\.lo$||'`;\ /bin/sh ../libtool --silent --tag=CC --mode=compile cc -DHAVE_CONFIG_H -I. -I.. -I../include -I/usr/local/include -pipe -I/usr/include -O2 -fno-strict-aliasing -Wall -Wextra -std=gnu99 -pedantic -Wformat -Wformat-nonliteral -MT ipmi_strings.lo -MD -MP -MF $depbase.Tpo -c -o ipmi_strings.lo ipmi_strings.c &&\ mv -f $depbase.Tpo $depbase.Plo depbase=`echo ipmi_user.lo | sed 's|[^/]*$|.deps/&|;s|\.lo$||'`;\ /bin/sh ../libtool --silent --tag=CC --mode=compile cc -DHAVE_CONFIG_H -I. -I.. -I../include -I/usr/local/include -pipe -I/usr/include -O2 -fno-strict-aliasing -Wall -Wextra -std=gnu99 -pedantic -Wformat -Wformat-nonliteral -MT ipmi_user.lo -MD -MP -MF $depbase.Tpo -c -o ipmi_user.lo ipmi_user.c &&\ mv -f $depbase.Tpo $depbase.Plo depbase=`echo ipmi_raw.lo | sed 's|[^/]*$|.deps/&|;s|\.lo$||'`;\ /bin/sh ../libtool --silent --tag=CC --mode=compile cc -DHAVE_CONFIG_H -I. -I.. -I../include -I/usr/local/include -pipe -I/usr/include -O2 -fno-strict-aliasing -Wall -Wextra -std=gnu99 -pedantic -Wformat -Wformat-nonliteral -MT ipmi_raw.lo -MD -MP -MF $depbase.Tpo -c -o ipmi_raw.lo ipmi_raw.c &&\ mv -f $depbase.Tpo $depbase.Plo 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_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)) ^ 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)) { ^ depbase=`echo ipmi_oem.lo | sed 's|[^/]*$|.deps/&|;s|\.lo$||'`;\ /bin/sh ../libtool --silent --tag=CC --mode=compile cc -DHAVE_CONFIG_H -I. -I.. -I../include -I/usr/local/include -pipe -I/usr/include -O2 -fno-strict-aliasing -Wall -Wextra -std=gnu99 -pedantic -Wformat -Wformat-nonliteral -MT ipmi_oem.lo -MD -MP -MF $depbase.Tpo -c -o ipmi_oem.lo ipmi_oem.c &&\ mv -f $depbase.Tpo $depbase.Plo 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) ^ depbase=`echo ipmi_isol.lo | sed 's|[^/]*$|.deps/&|;s|\.lo$||'`;\ /bin/sh ../libtool --silent --tag=CC --mode=compile cc -DHAVE_CONFIG_H -I. -I.. -I../include -I/usr/local/include -pipe -I/usr/include -O2 -fno-strict-aliasing -Wall -Wextra -std=gnu99 -pedantic -Wformat -Wformat-nonliteral -MT ipmi_isol.lo -MD -MP -MF $depbase.Tpo -c -o ipmi_isol.lo ipmi_isol.c &&\ mv -f $depbase.Tpo $depbase.Plo 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, ^ depbase=`echo ipmi_sunoem.lo | sed 's|[^/]*$|.deps/&|;s|\.lo$||'`;\ /bin/sh ../libtool --silent --tag=CC --mode=compile cc -DHAVE_CONFIG_H -I. -I.. -I../include -I/usr/local/include -pipe -I/usr/include -O2 -fno-strict-aliasing -Wall -Wextra -std=gnu99 -pedantic -Wformat -Wformat-nonliteral -MT ipmi_sunoem.lo -MD -MP -MF $depbase.Tpo -c -o ipmi_sunoem.lo ipmi_sunoem.c &&\ mv -f $depbase.Tpo $depbase.Plo 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; ^ 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 ipmi_sunoem.c:36:0: /usr/include/string.h:113:7: note: expected 'char * restrict' but argument is of type 'unsigned char *' char *strncpy(char * __restrict, const char * __restrict, size_t); ^ depbase=`echo ipmi_fwum.lo | sed 's|[^/]*$|.deps/&|;s|\.lo$||'`;\ /bin/sh ../libtool --silent --tag=CC --mode=compile cc -DHAVE_CONFIG_H -I. -I.. -I../include -I/usr/local/include -pipe -I/usr/include -O2 -fno-strict-aliasing -Wall -Wextra -std=gnu99 -pedantic -Wformat -Wformat-nonliteral -MT ipmi_fwum.lo -MD -MP -MF $depbase.Tpo -c -o ipmi_fwum.lo ipmi_fwum.c &&\ mv -f $depbase.Tpo $depbase.Plo depbase=`echo ipmi_picmg.lo | sed 's|[^/]*$|.deps/&|;s|\.lo$||'`;\ /bin/sh ../libtool --silent --tag=CC --mode=compile cc -DHAVE_CONFIG_H -I. -I.. -I../include -I/usr/local/include -pipe -I/usr/include -O2 -fno-strict-aliasing -Wall -Wextra -std=gnu99 -pedantic -Wformat -Wformat-nonliteral -MT ipmi_picmg.lo -MD -MP -MF $depbase.Tpo -c -o ipmi_picmg.lo ipmi_picmg.c &&\ mv -f $depbase.Tpo $depbase.Plo 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_fwum.c: In function 'KfwumSetupBuffersFromFile': ipmi_fwum.c:365:28: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] modulus, pFileHandle) == modulus) { ^ 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] = { ^ depbase=`echo ipmi_main.lo | sed 's|[^/]*$|.deps/&|;s|\.lo$||'`;\ /bin/sh ../libtool --silent --tag=CC --mode=compile cc -DHAVE_CONFIG_H -I. -I.. -I../include -I/usr/local/include -pipe -I/usr/include -O2 -fno-strict-aliasing -Wall -Wextra -std=gnu99 -pedantic -Wformat -Wformat-nonliteral -MT ipmi_main.lo -MD -MP -MF $depbase.Tpo -c -o ipmi_main.lo ipmi_main.c &&\ mv -f $depbase.Tpo $depbase.Plo 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; ^ depbase=`echo ipmi_tsol.lo | sed 's|[^/]*$|.deps/&|;s|\.lo$||'`;\ /bin/sh ../libtool --silent --tag=CC --mode=compile cc -DHAVE_CONFIG_H -I. -I.. -I../include -I/usr/local/include -pipe -I/usr/include -O2 -fno-strict-aliasing -Wall -Wextra -std=gnu99 -pedantic -Wformat -Wformat-nonliteral -MT ipmi_tsol.lo -MD -MP -MF $depbase.Tpo -c -o ipmi_tsol.lo ipmi_tsol.c &&\ mv -f $depbase.Tpo $depbase.Plo 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; ^ In file included from ipmi_main.c:51:0: ipmi_main.c: In function 'ipmi_cmd_run': ../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_main.c:207:32: note: in expansion of macro '__maxlen' if (strncmp(name, cmd->name, __maxlen(cmd->name, name)) == 0) ^ ipmi_main.c: In function 'ipmi_main': ipmi_main.c:534:15: warning: implicit declaration of function 'getpass' [-Wimplicit-function-declaration] tmp_pass = getpass("Password: "); ^ ipmi_main.c:534:13: warning: assignment makes pointer from integer without a cast [-Wint-conversion] tmp_pass = getpass("Password: "); ^ 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:589:13: warning: assignment makes pointer from integer without a cast [-Wint-conversion] tmp_pass = getpass("Key: "); ^ ipmi_main.c:596:11: warning: pointer targets in assignment differ in signedness [-Wpointer-sign] kgkey = strdup(tmp_pass); ^ ipmi_main.c:870:12: warning: assignment makes pointer from integer without a cast [-Wint-conversion] tmp_pass = getpass("Password: "); ^ 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] = { ^ 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)) { ^ depbase=`echo ipmi_firewall.lo | sed 's|[^/]*$|.deps/&|;s|\.lo$||'`;\ /bin/sh ../libtool --silent --tag=CC --mode=compile cc -DHAVE_CONFIG_H -I. -I.. -I../include -I/usr/local/include -pipe -I/usr/include -O2 -fno-strict-aliasing -Wall -Wextra -std=gnu99 -pedantic -Wformat -Wformat-nonliteral -MT ipmi_firewall.lo -MD -MP -MF $depbase.Tpo -c -o ipmi_firewall.lo ipmi_firewall.c &&\ mv -f $depbase.Tpo $depbase.Plo depbase=`echo ipmi_kontronoem.lo | sed 's|[^/]*$|.deps/&|;s|\.lo$||'`;\ /bin/sh ../libtool --silent --tag=CC --mode=compile cc -DHAVE_CONFIG_H -I. -I.. -I../include -I/usr/local/include -pipe -I/usr/include -O2 -fno-strict-aliasing -Wall -Wextra -std=gnu99 -pedantic -Wformat -Wformat-nonliteral -MT ipmi_kontronoem.lo -MD -MP -MF $depbase.Tpo -c -o ipmi_kontronoem.lo ipmi_kontronoem.c &&\ mv -f $depbase.Tpo $depbase.Plo 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; ^ 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] = { ^ depbase=`echo ipmi_hpmfwupg.lo | sed 's|[^/]*$|.deps/&|;s|\.lo$||'`;\ /bin/sh ../libtool --silent --tag=CC --mode=compile cc -DHAVE_CONFIG_H -I. -I.. -I../include -I/usr/local/include -pipe -I/usr/include -O2 -fno-strict-aliasing -Wall -Wextra -std=gnu99 -pedantic -Wformat -Wformat-nonliteral -MT ipmi_hpmfwupg.lo -MD -MP -MF $depbase.Tpo -c -o ipmi_hpmfwupg.lo ipmi_hpmfwupg.c &&\ mv -f $depbase.Tpo $depbase.Plo 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++) { ^ depbase=`echo ipmi_sdradd.lo | sed 's|[^/]*$|.deps/&|;s|\.lo$||'`;\ /bin/sh ../libtool --silent --tag=CC --mode=compile cc -DHAVE_CONFIG_H -I. -I.. -I../include -I/usr/local/include -pipe -I/usr/include -O2 -fno-strict-aliasing -Wall -Wextra -std=gnu99 -pedantic -Wformat -Wformat-nonliteral -MT ipmi_sdradd.lo -MD -MP -MF $depbase.Tpo -c -o ipmi_sdradd.lo ipmi_sdradd.c &&\ mv -f $depbase.Tpo $depbase.Plo 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; ^ depbase=`echo ipmi_ekanalyzer.lo | sed 's|[^/]*$|.deps/&|;s|\.lo$||'`;\ /bin/sh ../libtool --silent --tag=CC --mode=compile cc -DHAVE_CONFIG_H -I. -I.. -I../include -I/usr/local/include -pipe -I/usr/include -O2 -fno-strict-aliasing -Wall -Wextra -std=gnu99 -pedantic -Wformat -Wformat-nonliteral -MT ipmi_ekanalyzer.lo -MD -MP -MF $depbase.Tpo -c -o ipmi_ekanalyzer.lo ipmi_ekanalyzer.c &&\ mv -f $depbase.Tpo $depbase.Plo 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, ^ 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) ^ depbase=`echo ipmi_gendev.lo | sed 's|[^/]*$|.deps/&|;s|\.lo$||'`;\ /bin/sh ../libtool --silent --tag=CC --mode=compile cc -DHAVE_CONFIG_H -I. -I.. -I../include -I/usr/local/include -pipe -I/usr/include -O2 -fno-strict-aliasing -Wall -Wextra -std=gnu99 -pedantic -Wformat -Wformat-nonliteral -MT ipmi_gendev.lo -MD -MP -MF $depbase.Tpo -c -o ipmi_gendev.lo ipmi_gendev.c &&\ mv -f $depbase.Tpo $depbase.Plo 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; ^ 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) ^ depbase=`echo ipmi_ime.lo | sed 's|[^/]*$|.deps/&|;s|\.lo$||'`;\ /bin/sh ../libtool --silent --tag=CC --mode=compile cc -DHAVE_CONFIG_H -I. -I.. -I../include -I/usr/local/include -pipe -I/usr/include -O2 -fno-strict-aliasing -Wall -Wextra -std=gnu99 -pedantic -Wformat -Wformat-nonliteral -MT ipmi_ime.lo -MD -MP -MF $depbase.Tpo -c -o ipmi_ime.lo ipmi_ime.c &&\ mv -f $depbase.Tpo $depbase.Plo 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_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) ^ depbase=`echo ipmi_delloem.lo | sed 's|[^/]*$|.deps/&|;s|\.lo$||'`;\ /bin/sh ../libtool --silent --tag=CC --mode=compile cc -DHAVE_CONFIG_H -I. -I.. -I../include -I/usr/local/include -pipe -I/usr/include -O2 -fno-strict-aliasing -Wall -Wextra -std=gnu99 -pedantic -Wformat -Wformat-nonliteral -MT ipmi_delloem.lo -MD -MP -MF $depbase.Tpo -c -o ipmi_delloem.lo ipmi_delloem.c &&\ mv -f $depbase.Tpo $depbase.Plo 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; ^ depbase=`echo ipmi_dcmi.lo | sed 's|[^/]*$|.deps/&|;s|\.lo$||'`;\ /bin/sh ../libtool --silent --tag=CC --mode=compile cc -DHAVE_CONFIG_H -I. -I.. -I../include -I/usr/local/include -pipe -I/usr/include -O2 -fno-strict-aliasing -Wall -Wextra -std=gnu99 -pedantic -Wformat -Wformat-nonliteral -MT ipmi_dcmi.lo -MD -MP -MF $depbase.Tpo -c -o ipmi_dcmi.lo ipmi_dcmi.c &&\ mv -f $depbase.Tpo $depbase.Plo 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] }; ^ 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_delloem.c: In function 'ipmi_get_power_headroom_command': 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_minpower_consmpt_history': ipmi_delloem.c:3383:10: warning: too many arguments for format [-Wformat-extra-args] printf("Peak power consmhistory Data : " ^ 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_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] = { ^ 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; ^ 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) { ^ depbase=`echo hpm2.lo | sed 's|[^/]*$|.deps/&|;s|\.lo$||'`;\ /bin/sh ../libtool --silent --tag=CC --mode=compile cc -DHAVE_CONFIG_H -I. -I.. -I../include -I/usr/local/include -pipe -I/usr/include -O2 -fno-strict-aliasing -Wall -Wextra -std=gnu99 -pedantic -Wformat -Wformat-nonliteral -MT hpm2.lo -MD -MP -MF $depbase.Tpo -c -o hpm2.lo hpm2.c &&\ mv -f $depbase.Tpo $depbase.Plo depbase=`echo ipmi_vita.lo | sed 's|[^/]*$|.deps/&|;s|\.lo$||'`;\ /bin/sh ../libtool --silent --tag=CC --mode=compile cc -DHAVE_CONFIG_H -I. -I.. -I../include -I/usr/local/include -pipe -I/usr/include -O2 -fno-strict-aliasing -Wall -Wextra -std=gnu99 -pedantic -Wformat -Wformat-nonliteral -MT ipmi_vita.lo -MD -MP -MF $depbase.Tpo -c -o ipmi_vita.lo ipmi_vita.c &&\ mv -f $depbase.Tpo $depbase.Plo depbase=`echo ../src/plugins/lan/md5.lo | sed 's|[^/]*$|.deps/&|;s|\.lo$||'`;\ /bin/sh ../libtool --silent --tag=CC --mode=compile cc -DHAVE_CONFIG_H -I. -I.. -I../include -I/usr/local/include -pipe -I/usr/include -O2 -fno-strict-aliasing -Wall -Wextra -std=gnu99 -pedantic -Wformat -Wformat-nonliteral -MT ../src/plugins/lan/md5.lo -MD -MP -MF $depbase.Tpo -c -o ../src/plugins/lan/md5.lo ../src/plugins/lan/md5.c &&\ mv -f $depbase.Tpo $depbase.Plo 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; ^ 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=link cc -pipe -I/usr/include -O2 -fno-strict-aliasing -Wall -Wextra -std=gnu99 -pedantic -Wformat -Wformat-nonliteral -export-dynamic -L/usr/lib -L/usr/local/lib -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 gmake[3]: Leaving directory '/wrkdirs/sysutils/ipmitool/ipmitool-1.8.17/lib' Making all in src gmake[3]: Entering directory '/wrkdirs/sysutils/ipmitool/ipmitool-1.8.17/src' Making all in plugins gmake[4]: Entering directory '/wrkdirs/sysutils/ipmitool/ipmitool-1.8.17/src/plugins' Making all in lan gmake[5]: Entering directory '/wrkdirs/sysutils/ipmitool/ipmitool-1.8.17/src/plugins/lan' /bin/sh ../../../libtool --silent --tag=CC --mode=compile cc -DHAVE_CONFIG_H -I. -I../../.. -I../../../include -I/usr/local/include -pipe -I/usr/include -O2 -fno-strict-aliasing -Wall -Wextra -std=gnu99 -pedantic -Wformat -Wformat-nonliteral -MT lan.lo -MD -MP -MF .deps/lan.Tpo -c -o lan.lo lan.c /bin/sh ../../../libtool --silent --tag=CC --mode=compile cc -DHAVE_CONFIG_H -I. -I../../.. -I../../../include -I/usr/local/include -pipe -I/usr/include -O2 -fno-strict-aliasing -Wall -Wextra -std=gnu99 -pedantic -Wformat -Wformat-nonliteral -MT auth.lo -MD -MP -MF .deps/auth.Tpo -c -o auth.lo auth.c auth.c: In function 'ipmi_auth_md2': auth.c:129:47: warning: unused parameter 's' [-Wunused-parameter] uint8_t * ipmi_auth_md2(struct ipmi_session * s, uint8_t * data, int data_len) ^ auth.c:129:60: warning: unused parameter 'data' [-Wunused-parameter] uint8_t * ipmi_auth_md2(struct ipmi_session * s, uint8_t * data, int data_len) ^ auth.c:129:70: warning: unused parameter 'data_len' [-Wunused-parameter] uint8_t * ipmi_auth_md2(struct ipmi_session * s, uint8_t * data, int data_len) ^ 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, ^ mv -f .deps/auth.Tpo .deps/auth.Plo mv -f .deps/lan.Tpo .deps/lan.Plo /bin/sh ../../../libtool --silent --tag=CC --mode=link cc -pipe -I/usr/include -O2 -fno-strict-aliasing -Wall -Wextra -std=gnu99 -pedantic -Wformat -Wformat-nonliteral -L/usr/lib -L/usr/local/lib -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... gmake[5]: Leaving directory '/wrkdirs/sysutils/ipmitool/ipmitool-1.8.17/src/plugins/lan' Making all in lanplus gmake[5]: Entering directory '/wrkdirs/sysutils/ipmitool/ipmitool-1.8.17/src/plugins/lanplus' /bin/sh ../../../libtool --silent --tag=CC --mode=compile cc -DHAVE_CONFIG_H -I. -I../../.. -I../../../include -I/usr/local/include -pipe -I/usr/include -O2 -fno-strict-aliasing -Wall -Wextra -std=gnu99 -pedantic -Wformat -Wformat-nonliteral -MT lanplus.lo -MD -MP -MF .deps/lanplus.Tpo -c -o lanplus.lo lanplus.c /bin/sh ../../../libtool --silent --tag=CC --mode=compile cc -DHAVE_CONFIG_H -I. -I../../.. -I../../../include -I/usr/local/include -pipe -I/usr/include -O2 -fno-strict-aliasing -Wall -Wextra -std=gnu99 -pedantic -Wformat -Wformat-nonliteral -MT lanplus_strings.lo -MD -MP -MF .deps/lanplus_strings.Tpo -c -o lanplus_strings.lo lanplus_strings.c /bin/sh ../../../libtool --silent --tag=CC --mode=compile cc -DHAVE_CONFIG_H -I. -I../../.. -I../../../include -I/usr/local/include -pipe -I/usr/include -O2 -fno-strict-aliasing -Wall -Wextra -std=gnu99 -pedantic -Wformat -Wformat-nonliteral -MT lanplus_crypt.lo -MD -MP -MF .deps/lanplus_crypt.Tpo -c -o lanplus_crypt.lo lanplus_crypt.c /bin/sh ../../../libtool --silent --tag=CC --mode=compile cc -DHAVE_CONFIG_H -I. -I../../.. -I../../../include -I/usr/local/include -pipe -I/usr/include -O2 -fno-strict-aliasing -Wall -Wextra -std=gnu99 -pedantic -Wformat -Wformat-nonliteral -MT lanplus_dump.lo -MD -MP -MF .deps/lanplus_dump.Tpo -c -o lanplus_dump.lo lanplus_dump.c /bin/sh ../../../libtool --silent --tag=CC --mode=compile cc -DHAVE_CONFIG_H -I. -I../../.. -I../../../include -I/usr/local/include -pipe -I/usr/include -O2 -fno-strict-aliasing -Wall -Wextra -std=gnu99 -pedantic -Wformat -Wformat-nonliteral -MT lanplus_crypt_impl.lo -MD -MP -MF .deps/lanplus_crypt_impl.Tpo -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, ^ mv -f .deps/lanplus_strings.Tpo .deps/lanplus_strings.Plo mv -f .deps/lanplus_dump.Tpo .deps/lanplus_dump.Plo mv -f .deps/lanplus_crypt_impl.Tpo .deps/lanplus_crypt_impl.Plo mv -f .deps/lanplus_crypt.Tpo .deps/lanplus_crypt.Plo 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) { ^ mv -f .deps/lanplus.Tpo .deps/lanplus.Plo /bin/sh ../../../libtool --silent --tag=CC --mode=link cc -pipe -I/usr/include -O2 -fno-strict-aliasing -Wall -Wextra -std=gnu99 -pedantic -Wformat -Wformat-nonliteral -L/usr/lib -L/usr/local/lib -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 gmake[5]: Leaving directory '/wrkdirs/sysutils/ipmitool/ipmitool-1.8.17/src/plugins/lanplus' Making all in open gmake[5]: Entering directory '/wrkdirs/sysutils/ipmitool/ipmitool-1.8.17/src/plugins/open' /bin/sh ../../../libtool --silent --tag=CC --mode=compile cc -DHAVE_CONFIG_H -I. -I../../.. -I../../../include -I/usr/local/include -pipe -I/usr/include -O2 -fno-strict-aliasing -Wall -Wextra -std=gnu99 -pedantic -Wformat -Wformat-nonliteral -MT open.lo -MD -MP -MF .deps/open.Tpo -c -o open.lo open.c In file included from ../../../include/ipmitool/ipmi_sel.h:38:0, from open.c:45: ../../../include/ipmitool/ipmi_sdr.h:312:23: warning: ISO C99 doesn't support unnamed structs/unions [-Wpedantic] } ATTRIBUTE_PACKING; ^ mv -f .deps/open.Tpo .deps/open.Plo /bin/sh ../../../libtool --silent --tag=CC --mode=link cc -pipe -I/usr/include -O2 -fno-strict-aliasing -Wall -Wextra -std=gnu99 -pedantic -Wformat -Wformat-nonliteral -L/usr/lib -L/usr/local/lib -o libintf_open.la open.lo ../../../lib/libipmitool.la -lreadline -lncurses -ltinfo -lreadline -lncurses -ltinfo -lcrypto gmake[5]: Leaving directory '/wrkdirs/sysutils/ipmitool/ipmitool-1.8.17/src/plugins/open' Making all in serial gmake[5]: Entering directory '/wrkdirs/sysutils/ipmitool/ipmitool-1.8.17/src/plugins/serial' /bin/sh ../../../libtool --silent --tag=CC --mode=compile cc -DHAVE_CONFIG_H -I. -I../../.. -I../../../include -I/usr/local/include -pipe -I/usr/include -O2 -fno-strict-aliasing -Wall -Wextra -std=gnu99 -pedantic -Wformat -Wformat-nonliteral -MT serial_terminal.lo -MD -MP -MF .deps/serial_terminal.Tpo -c -o serial_terminal.lo serial_terminal.c /bin/sh ../../../libtool --silent --tag=CC --mode=compile cc -DHAVE_CONFIG_H -I. -I../../.. -I../../../include -I/usr/local/include -pipe -I/usr/include -O2 -fno-strict-aliasing -Wall -Wextra -std=gnu99 -pedantic -Wformat -Wformat-nonliteral -MT serial_basic.lo -MD -MP -MF .deps/serial_basic.Tpo -c -o serial_basic.lo serial_basic.c serial_terminal.c:79:16: warning: ISO C forbids zero-size array 'data' [-Wpedantic] unsigned char data[0]; ^ serial_terminal.c:101: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:189:16: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] for (i = 0; i < sizeof(rates) / sizeof(rates[0]); i++) { ^ serial_terminal.c:190:25: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] if (rates[i].baudrate == rate) { ^ serial_terminal.c:194: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:487: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:635: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 serial_terminal.c:36:0: /usr/include/stdio.h:214:6: note: expected 'char * restrict' but argument is of type 'uint8_t * {aka unsigned char *}' int sprintf(char * __restrict, const char * __restrict, ...); ^ serial_terminal.c: In function 'serial_term_get_message': serial_terminal.c:718:25: warning: unused parameter 'max_len' [-Wunused-parameter] uint8_t * msg, size_t max_len) ^ serial_basic.c:81:16: warning: ISO C forbids zero-size array 'data' [-Wpedantic] unsigned char data[0]; ^ serial_basic.c:103: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:242:16: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] for (i = 0; i < sizeof(rates) / sizeof(rates[0]); i++) { ^ serial_basic.c:243:25: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] if (rates[i].baudrate == rate) { ^ serial_basic.c:247: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:572: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:50: ../../../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:579: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:471: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:582: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:627: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:822:25: warning: unused parameter 'max_len' [-Wunused-parameter] uint8_t * msg, size_t max_len) ^ serial_basic.c: In function 'serial_bm_wait_response.constprop': serial_basic.c:532: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:548: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:918:3: warning: 'msg_len' may be used uninitialized in this function [-Wmaybe-uninitialized] serial_bm_send_msg(intf, msg, msg_len); ^ serial_terminal.c: In function 'ipmi_serial_term_send_cmd': serial_terminal.c:801:3: warning: 'msg_len' may be used uninitialized in this function [-Wmaybe-uninitialized] serial_term_send_msg(intf, msg, msg_len); ^ mv -f .deps/serial_basic.Tpo .deps/serial_basic.Plo mv -f .deps/serial_terminal.Tpo .deps/serial_terminal.Plo /bin/sh ../../../libtool --silent --tag=CC --mode=link cc -pipe -I/usr/include -O2 -fno-strict-aliasing -Wall -Wextra -std=gnu99 -pedantic -Wformat -Wformat-nonliteral -L/usr/lib -L/usr/local/lib -o libintf_serial.la serial_terminal.lo serial_basic.lo ../../../lib/libipmitool.la -lreadline -lncurses -ltinfo -lreadline -lncurses -ltinfo -lcrypto gmake[5]: Leaving directory '/wrkdirs/sysutils/ipmitool/ipmitool-1.8.17/src/plugins/serial' gmake[5]: Entering directory '/wrkdirs/sysutils/ipmitool/ipmitool-1.8.17/src/plugins' /bin/sh ../../libtool --silent --tag=CC --mode=compile cc -DHAVE_CONFIG_H -I. -I../.. -I../../include -I/usr/local/include -pipe -I/usr/include -O2 -fno-strict-aliasing -Wall -Wextra -std=gnu99 -pedantic -Wformat -Wformat-nonliteral -MT ipmi_intf.lo -MD -MP -MF .deps/ipmi_intf.Tpo -c -o ipmi_intf.lo ipmi_intf.c In file included from ipmi_intf.c:58:0: ../../include/ipmitool/ipmi_sdr.h:312:23: warning: ISO C99 doesn't support unnamed structs/unions [-Wpedantic] } ATTRIBUTE_PACKING; ^ mv -f .deps/ipmi_intf.Tpo .deps/ipmi_intf.Plo /bin/sh ../../libtool --silent --tag=CC --mode=link cc -pipe -I/usr/include -O2 -fno-strict-aliasing -Wall -Wextra -std=gnu99 -pedantic -Wformat -Wformat-nonliteral -export-dynamic -L/usr/lib -L/usr/local/lib -o libintf.la ipmi_intf.lo lan/libintf_lan.la lanplus/libintf_lanplus.la serial/libintf_serial.la open/libintf_open.la -lreadline -lncurses -ltinfo -lreadline -lncurses -ltinfo -lcrypto copying selected object files to avoid basename conflicts... gmake[5]: Leaving directory '/wrkdirs/sysutils/ipmitool/ipmitool-1.8.17/src/plugins' gmake[4]: Leaving directory '/wrkdirs/sysutils/ipmitool/ipmitool-1.8.17/src/plugins' gmake[4]: Entering directory '/wrkdirs/sysutils/ipmitool/ipmitool-1.8.17/src' cc -DHAVE_CONFIG_H -I. -I.. -I../include -I/usr/local/include -pipe -I/usr/include -O2 -fno-strict-aliasing -Wall -Wextra -std=gnu99 -pedantic -Wformat -Wformat-nonliteral -MT ipmitool.o -MD -MP -MF .deps/ipmitool.Tpo -c -o ipmitool.o ipmitool.c cc -DHAVE_CONFIG_H -I. -I.. -I../include -I/usr/local/include -pipe -I/usr/include -O2 -fno-strict-aliasing -Wall -Wextra -std=gnu99 -pedantic -Wformat -Wformat-nonliteral -MT ipmishell.o -MD -MP -MF .deps/ipmishell.Tpo -c -o ipmishell.o ipmishell.c cc -DHAVE_CONFIG_H -I. -I.. -I../include -I/usr/local/include -pipe -I/usr/include -O2 -fno-strict-aliasing -Wall -Wextra -std=gnu99 -pedantic -Wformat -Wformat-nonliteral -MT ipmievd.o -MD -MP -MF .deps/ipmievd.Tpo -c -o ipmievd.o ipmievd.c 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; ^ 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 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; ^ 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) ^ 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) ^ mv -f .deps/ipmitool.Tpo .deps/ipmitool.Po 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; ^ ipmievd.c: In function 'ipmievd_cleanup': ipmievd.c:687:21: warning: unused parameter 'signal' [-Wunused-parameter] ipmievd_cleanup(int signal) ^ ipmievd.c: In function 'ipmievd_main': ipmievd.c:710:7: warning: implicit declaration of function 'strncasecmp' [-Wimplicit-function-declaration] if (strncasecmp(argv[i], "help", 4) == 0) { ^ mv -f .deps/ipmievd.Tpo .deps/ipmievd.Po /bin/sh ../libtool --silent --tag=CC --mode=link cc -pipe -I/usr/include -O2 -fno-strict-aliasing -Wall -Wextra -std=gnu99 -pedantic -Wformat -Wformat-nonliteral -L/usr/lib -L/usr/local/lib -o ipmievd ipmievd.o ../lib/libipmitool.la plugins/libintf.la -lreadline -lncurses -ltinfo -lreadline -lncurses -ltinfo -lcrypto mv -f .deps/ipmishell.Tpo .deps/ipmishell.Po /bin/sh ../libtool --silent --tag=CC --mode=link cc -pipe -I/usr/include -O2 -fno-strict-aliasing -Wall -Wextra -std=gnu99 -pedantic -Wformat -Wformat-nonliteral -L/usr/lib -L/usr/local/lib -o ipmitool ipmitool.o ipmishell.o ../lib/libipmitool.la plugins/libintf.la -lreadline -lncurses -ltinfo -lreadline -lncurses -ltinfo -lcrypto gmake[4]: Leaving directory '/wrkdirs/sysutils/ipmitool/ipmitool-1.8.17/src' gmake[3]: Leaving directory '/wrkdirs/sysutils/ipmitool/ipmitool-1.8.17/src' Making all in include gmake[3]: Entering directory '/wrkdirs/sysutils/ipmitool/ipmitool-1.8.17/include' Making all in ipmitool gmake[4]: Entering directory '/wrkdirs/sysutils/ipmitool/ipmitool-1.8.17/include/ipmitool' gmake[4]: Nothing to be done for 'all'. gmake[4]: Leaving directory '/wrkdirs/sysutils/ipmitool/ipmitool-1.8.17/include/ipmitool' gmake[4]: Entering directory '/wrkdirs/sysutils/ipmitool/ipmitool-1.8.17/include' gmake[4]: Nothing to be done for 'all-am'. gmake[4]: Leaving directory '/wrkdirs/sysutils/ipmitool/ipmitool-1.8.17/include' gmake[3]: Leaving directory '/wrkdirs/sysutils/ipmitool/ipmitool-1.8.17/include' Making all in doc gmake[3]: Entering directory '/wrkdirs/sysutils/ipmitool/ipmitool-1.8.17/doc' gmake[3]: Nothing to be done for 'all'. gmake[3]: Leaving directory '/wrkdirs/sysutils/ipmitool/ipmitool-1.8.17/doc' Making all in contrib gmake[3]: Entering directory '/wrkdirs/sysutils/ipmitool/ipmitool-1.8.17/contrib' gmake[3]: Nothing to be done for 'all'. gmake[3]: Leaving directory '/wrkdirs/sysutils/ipmitool/ipmitool-1.8.17/contrib' Making all in control gmake[3]: Entering directory '/wrkdirs/sysutils/ipmitool/ipmitool-1.8.17/control' gmake[3]: Nothing to be done for 'all'. gmake[3]: Leaving directory '/wrkdirs/sysutils/ipmitool/ipmitool-1.8.17/control' gmake[3]: Entering directory '/wrkdirs/sysutils/ipmitool/ipmitool-1.8.17' gmake[3]: Nothing to be done for 'all-am'. gmake[3]: Leaving directory '/wrkdirs/sysutils/ipmitool/ipmitool-1.8.17' gmake[2]: Leaving directory '/wrkdirs/sysutils/ipmitool/ipmitool-1.8.17' gmake[1]: Leaving directory '/wrkdirs/sysutils/ipmitool/ipmitool-1.8.17' =========================================================================== =================================================== =========================================================================== =================================================== ===> Staging for ipmitool-1.8.17_1 ===> Generating temporary packing list gmake[1]: Entering directory '/wrkdirs/sysutils/ipmitool/ipmitool-1.8.17' Making install in lib gmake[2]: Entering directory '/wrkdirs/sysutils/ipmitool/ipmitool-1.8.17/lib' gmake[3]: Entering directory '/wrkdirs/sysutils/ipmitool/ipmitool-1.8.17/lib' gmake[3]: Nothing to be done for 'install-exec-am'. gmake[3]: Nothing to be done for 'install-data-am'. gmake[3]: Leaving directory '/wrkdirs/sysutils/ipmitool/ipmitool-1.8.17/lib' gmake[2]: Leaving directory '/wrkdirs/sysutils/ipmitool/ipmitool-1.8.17/lib' Making install in src gmake[2]: Entering directory '/wrkdirs/sysutils/ipmitool/ipmitool-1.8.17/src' Making install in plugins gmake[3]: Entering directory '/wrkdirs/sysutils/ipmitool/ipmitool-1.8.17/src/plugins' Making install in lan gmake[4]: Entering directory '/wrkdirs/sysutils/ipmitool/ipmitool-1.8.17/src/plugins/lan' gmake[5]: Entering directory '/wrkdirs/sysutils/ipmitool/ipmitool-1.8.17/src/plugins/lan' gmake[5]: Nothing to be done for 'install-exec-am'. gmake[5]: Nothing to be done for 'install-data-am'. gmake[5]: Leaving directory '/wrkdirs/sysutils/ipmitool/ipmitool-1.8.17/src/plugins/lan' gmake[4]: Leaving directory '/wrkdirs/sysutils/ipmitool/ipmitool-1.8.17/src/plugins/lan' Making install in lanplus gmake[4]: Entering directory '/wrkdirs/sysutils/ipmitool/ipmitool-1.8.17/src/plugins/lanplus' gmake[5]: Entering directory '/wrkdirs/sysutils/ipmitool/ipmitool-1.8.17/src/plugins/lanplus' gmake[5]: Nothing to be done for 'install-exec-am'. gmake[5]: Nothing to be done for 'install-data-am'. gmake[5]: Leaving directory '/wrkdirs/sysutils/ipmitool/ipmitool-1.8.17/src/plugins/lanplus' gmake[4]: Leaving directory '/wrkdirs/sysutils/ipmitool/ipmitool-1.8.17/src/plugins/lanplus' Making install in open gmake[4]: Entering directory '/wrkdirs/sysutils/ipmitool/ipmitool-1.8.17/src/plugins/open' gmake[5]: Entering directory '/wrkdirs/sysutils/ipmitool/ipmitool-1.8.17/src/plugins/open' gmake[5]: Nothing to be done for 'install-exec-am'. gmake[5]: Nothing to be done for 'install-data-am'. gmake[5]: Leaving directory '/wrkdirs/sysutils/ipmitool/ipmitool-1.8.17/src/plugins/open' gmake[4]: Leaving directory '/wrkdirs/sysutils/ipmitool/ipmitool-1.8.17/src/plugins/open' Making install in serial gmake[4]: Entering directory '/wrkdirs/sysutils/ipmitool/ipmitool-1.8.17/src/plugins/serial' gmake[5]: Entering directory '/wrkdirs/sysutils/ipmitool/ipmitool-1.8.17/src/plugins/serial' gmake[5]: Nothing to be done for 'install-exec-am'. gmake[5]: Nothing to be done for 'install-data-am'. gmake[5]: Leaving directory '/wrkdirs/sysutils/ipmitool/ipmitool-1.8.17/src/plugins/serial' gmake[4]: Leaving directory '/wrkdirs/sysutils/ipmitool/ipmitool-1.8.17/src/plugins/serial' gmake[4]: Entering directory '/wrkdirs/sysutils/ipmitool/ipmitool-1.8.17/src/plugins' gmake[5]: Entering directory '/wrkdirs/sysutils/ipmitool/ipmitool-1.8.17/src/plugins' gmake[5]: Nothing to be done for 'install-exec-am'. gmake[5]: Nothing to be done for 'install-data-am'. gmake[5]: Leaving directory '/wrkdirs/sysutils/ipmitool/ipmitool-1.8.17/src/plugins' gmake[4]: Leaving directory '/wrkdirs/sysutils/ipmitool/ipmitool-1.8.17/src/plugins' gmake[3]: Leaving directory '/wrkdirs/sysutils/ipmitool/ipmitool-1.8.17/src/plugins' gmake[3]: Entering directory '/wrkdirs/sysutils/ipmitool/ipmitool-1.8.17/src' gmake[4]: Entering directory '/wrkdirs/sysutils/ipmitool/ipmitool-1.8.17/src' /bin/mkdir -p '/wrkdirs/sysutils/ipmitool/stage/usr/local/bin' /bin/sh ../libtool --silent --mode=install install -s -m 555 ipmitool '/wrkdirs/sysutils/ipmitool/stage/usr/local/bin' /bin/mkdir -p '/wrkdirs/sysutils/ipmitool/stage/usr/local/sbin' /bin/sh ../libtool --silent --mode=install install -s -m 555 ipmievd '/wrkdirs/sysutils/ipmitool/stage/usr/local/sbin' gmake[4]: Nothing to be done for 'install-data-am'. gmake[4]: Leaving directory '/wrkdirs/sysutils/ipmitool/ipmitool-1.8.17/src' gmake[3]: Leaving directory '/wrkdirs/sysutils/ipmitool/ipmitool-1.8.17/src' gmake[2]: Leaving directory '/wrkdirs/sysutils/ipmitool/ipmitool-1.8.17/src' Making install in include gmake[2]: Entering directory '/wrkdirs/sysutils/ipmitool/ipmitool-1.8.17/include' Making install in ipmitool gmake[3]: Entering directory '/wrkdirs/sysutils/ipmitool/ipmitool-1.8.17/include/ipmitool' gmake[4]: Entering directory '/wrkdirs/sysutils/ipmitool/ipmitool-1.8.17/include/ipmitool' gmake[4]: Nothing to be done for 'install-exec-am'. gmake[4]: Nothing to be done for 'install-data-am'. gmake[4]: Leaving directory '/wrkdirs/sysutils/ipmitool/ipmitool-1.8.17/include/ipmitool' gmake[3]: Leaving directory '/wrkdirs/sysutils/ipmitool/ipmitool-1.8.17/include/ipmitool' gmake[3]: Entering directory '/wrkdirs/sysutils/ipmitool/ipmitool-1.8.17/include' gmake[4]: Entering directory '/wrkdirs/sysutils/ipmitool/ipmitool-1.8.17/include' gmake[4]: Nothing to be done for 'install-exec-am'. gmake[4]: Nothing to be done for 'install-data-am'. gmake[4]: Leaving directory '/wrkdirs/sysutils/ipmitool/ipmitool-1.8.17/include' gmake[3]: Leaving directory '/wrkdirs/sysutils/ipmitool/ipmitool-1.8.17/include' gmake[2]: Leaving directory '/wrkdirs/sysutils/ipmitool/ipmitool-1.8.17/include' Making install in doc gmake[2]: Entering directory '/wrkdirs/sysutils/ipmitool/ipmitool-1.8.17/doc' gmake[3]: Entering directory '/wrkdirs/sysutils/ipmitool/ipmitool-1.8.17/doc' gmake[3]: Nothing to be done for 'install-exec-am'. /bin/mkdir -p '/wrkdirs/sysutils/ipmitool/stage/usr/local/man/man1' install -m 0644 ipmitool.1 '/wrkdirs/sysutils/ipmitool/stage/usr/local/man/man1' /bin/mkdir -p '/wrkdirs/sysutils/ipmitool/stage/usr/local/man/man8' install -m 0644 ipmievd.8 '/wrkdirs/sysutils/ipmitool/stage/usr/local/man/man8' gmake[3]: Leaving directory '/wrkdirs/sysutils/ipmitool/ipmitool-1.8.17/doc' gmake[2]: Leaving directory '/wrkdirs/sysutils/ipmitool/ipmitool-1.8.17/doc' Making install in contrib gmake[2]: Entering directory '/wrkdirs/sysutils/ipmitool/ipmitool-1.8.17/contrib' gmake[3]: Entering directory '/wrkdirs/sysutils/ipmitool/ipmitool-1.8.17/contrib' gmake[3]: Nothing to be done for 'install-exec-am'. /bin/mkdir -p '/wrkdirs/sysutils/ipmitool/stage/usr/local/share/ipmitool' install -m 0644 oem_ibm_sel_map '/wrkdirs/sysutils/ipmitool/stage/usr/local/share/ipmitool' gmake[3]: Leaving directory '/wrkdirs/sysutils/ipmitool/ipmitool-1.8.17/contrib' gmake[2]: Leaving directory '/wrkdirs/sysutils/ipmitool/ipmitool-1.8.17/contrib' Making install in control gmake[2]: Entering directory '/wrkdirs/sysutils/ipmitool/ipmitool-1.8.17/control' gmake[3]: Entering directory '/wrkdirs/sysutils/ipmitool/ipmitool-1.8.17/control' gmake[3]: Nothing to be done for 'install-exec-am'. gmake[3]: Nothing to be done for 'install-data-am'. gmake[3]: Leaving directory '/wrkdirs/sysutils/ipmitool/ipmitool-1.8.17/control' gmake[2]: Leaving directory '/wrkdirs/sysutils/ipmitool/ipmitool-1.8.17/control' gmake[2]: Entering directory '/wrkdirs/sysutils/ipmitool/ipmitool-1.8.17' gmake[3]: Entering directory '/wrkdirs/sysutils/ipmitool/ipmitool-1.8.17' gmake[3]: Nothing to be done for 'install-exec-am'. mkdir -p /wrkdirs/sysutils/ipmitool/stage/usr/local/share/doc/ipmitool install -m 0644 ./README ./COPYING ./AUTHORS ./ChangeLog /wrkdirs/sysutils/ipmitool/stage/usr/local/share/doc/ipmitool gmake[3]: Leaving directory '/wrkdirs/sysutils/ipmitool/ipmitool-1.8.17' gmake[2]: Leaving directory '/wrkdirs/sysutils/ipmitool/ipmitool-1.8.17' gmake[1]: Leaving directory '/wrkdirs/sysutils/ipmitool/ipmitool-1.8.17' install -m 555 /wrkdirs/sysutils/ipmitool/status-ipmi.sh /wrkdirs/sysutils/ipmitool/stage/usr/local/etc/periodic/daily/400.status-ipmi ====> Compressing man pages (compress-man) =========================================================================== =================================================== ===> Building package for ipmitool-1.8.17_1 file sizes/checksums [13]: . done packing files [13]: . done packing directories [0]: . done =========================================================================== => Cleaning up wrkdir ===> Cleaning for ipmitool-1.8.17_1 build of sysutils/ipmitool ended at Sat Oct 8 10:28:11 PDT 2016 build time: 00:00:41