ipmitool的Windows版本编译
一、Cygwin64 编译下载Cygwin Installation可以再次点击安装程序安装没有的包下包清单gcc-coreC 编译器gcc-gmakeautoconfautomakelibtoolm4【依赖库- devel头文件库解决 syslog.h/openssl 报错】libssl-developenssllanplus 加密必需libreadline-devellibncurses-devel运行Cygwin64程序二、 查看版本三、下载$ wget https://github.com/ipmitool/ipmitool/archive/refs/tags/IPMITOOL_1_8_19.tar.gz Connecting to github.com (20.205.243.166:443) Connecting to codeload.github.com (20.205.243.165:443) saving to IPMITOOL_1_8_19.tar.gz IPMITOOL_1_8_19.tar. 100% |********************************| 626k 0:00:00 ETA IPMITOOL_1_8_19.tar.gz saved四、解压tsyDESKTOP-CP22LHU ~ $ ls IPMITOOL_1_8_19.tar.gz cdssetup tsyDESKTOP-CP22LHU ~ $ tar -zxvf IPMITOOL_1_8_19.tar.gz ipmitool-IPMITOOL_1_8_19/ ipmitool-IPMITOOL_1_8_19/.github/ ipmitool-IPMITOOL_1_8_19/.github/workflows/ ipmitool-IPMITOOL_1_8_19/.github/workflows/ci.yml ipmitool-IPMITOOL_1_8_19/.gitignore ipmitool-IPMITOOL_1_8_19/AUTHORS ipmitool-IPMITOOL_1_8_19/COPYING ipmitool-IPMITOOL_1_8_19/ChangeLog ipmitool-IPMITOOL_1_8_19/INSTALL ipmitool-IPMITOOL_1_8_19/Makefile.am ipmitool-IPMITOOL_1_8_19/NEWS ipmitool-IPMITOOL_1_8_19/README ipmitool-IPMITOOL_1_8_19/bootstrap ipmitool-IPMITOOL_1_8_19/configure.ac ipmitool-IPMITOOL_1_8_19/contrib/ ipmitool-IPMITOOL_1_8_19/contrib/Makefile.am ipmitool-IPMITOOL_1_8_19/contrib/README ipmitool-IPMITOOL_1_8_19/contrib/bmc-snmp-proxy ipmitool-IPMITOOL_1_8_19/contrib/bmc-snmp-proxy.service ipmitool-IPMITOOL_1_8_19/contrib/bmc-snmp-proxy.sysconf ipmitool-IPMITOOL_1_8_19/contrib/bmclanconf ipmitool-IPMITOOL_1_8_19/contrib/collect_data.sh ipmitool-IPMITOOL_1_8_19/contrib/create_rrds.sh ipmitool-IPMITOOL_1_8_19/contrib/create_webpage.sh ipmitool-IPMITOOL_1_8_19/contrib/create_webpage_compact.sh ipmitool-IPMITOOL_1_8_19/contrib/exchange-bmc-os-info.init.redhat ipmitool-IPMITOOL_1_8_19/contrib/exchange-bmc-os-info.service.redhat ipmitool-IPMITOOL_1_8_19/contrib/exchange-bmc-os-info.sysconf ipmitool-IPMITOOL_1_8_19/contrib/ipmi.init.basic ipmitool-IPMITOOL_1_8_19/contrib/ipmi.init.redhat ipmitool-IPMITOOL_1_8_19/contrib/ipmievd.init.debian ipmitool-IPMITOOL_1_8_19/contrib/ipmievd.init.redhat ipmitool-IPMITOOL_1_8_19/contrib/ipmievd.init.suse ipmitool-IPMITOOL_1_8_19/contrib/log_bmc.sh ipmitool-IPMITOOL_1_8_19/contrib/oem_ibm_sel_map ipmitool-IPMITOOL_1_8_19/control/ ipmitool-IPMITOOL_1_8_19/control/Makefile.am ipmitool-IPMITOOL_1_8_19/control/ipmitool.spec.in ipmitool-IPMITOOL_1_8_19/control/pkginfo.in ipmitool-IPMITOOL_1_8_19/control/prototype.in ipmitool-IPMITOOL_1_8_19/csv-revision ipmitool-IPMITOOL_1_8_19/doc/ ipmitool-IPMITOOL_1_8_19/doc/Makefile.am ipmitool-IPMITOOL_1_8_19/doc/ipmievd.8.in ipmitool-IPMITOOL_1_8_19/doc/ipmitool.1.in ipmitool-IPMITOOL_1_8_19/include/ ipmitool-IPMITOOL_1_8_19/include/Makefile.am ipmitool-IPMITOOL_1_8_19/include/ipmitool/ ipmitool-IPMITOOL_1_8_19/include/ipmitool/Makefile.am ipmitool-IPMITOOL_1_8_19/include/ipmitool/bswap.h ipmitool-IPMITOOL_1_8_19/include/ipmitool/helper.h ipmitool-IPMITOOL_1_8_19/include/ipmitool/hpm2.h ipmitool-IPMITOOL_1_8_19/include/ipmitool/ipmi.h ipmitool-IPMITOOL_1_8_19/include/ipmitool/ipmi_cc.h ipmitool-IPMITOOL_1_8_19/include/ipmitool/ipmi_cfgp.h ipmitool-IPMITOOL_1_8_19/include/ipmitool/ipmi_channel.h ipmitool-IPMITOOL_1_8_19/include/ipmitool/ipmi_chassis.h ipmitool-IPMITOOL_1_8_19/include/ipmitool/ipmi_constants.h ipmitool-IPMITOOL_1_8_19/include/ipmitool/ipmi_dcmi.h ipmitool-IPMITOOL_1_8_19/include/ipmitool/ipmi_delloem.h ipmitool-IPMITOOL_1_8_19/include/ipmitool/ipmi_ekanalyzer.h ipmitool-IPMITOOL_1_8_19/include/ipmitool/ipmi_entity.h ipmitool-IPMITOOL_1_8_19/include/ipmitool/ipmi_event.h ipmitool-IPMITOOL_1_8_19/include/ipmitool/ipmi_firewall.h ipmitool-IPMITOOL_1_8_19/include/ipmitool/ipmi_fru.h ipmitool-IPMITOOL_1_8_19/include/ipmitool/ipmi_fwum.h ipmitool-IPMITOOL_1_8_19/include/ipmitool/ipmi_gendev.h ipmitool-IPMITOOL_1_8_19/include/ipmitool/ipmi_hpmfwupg.h ipmitool-IPMITOOL_1_8_19/include/ipmitool/ipmi_ime.h ipmitool-IPMITOOL_1_8_19/include/ipmitool/ipmi_intf.h ipmitool-IPMITOOL_1_8_19/include/ipmitool/ipmi_isol.h ipmitool-IPMITOOL_1_8_19/include/ipmitool/ipmi_kontronoem.h ipmitool-IPMITOOL_1_8_19/include/ipmitool/ipmi_lanp.h ipmitool-IPMITOOL_1_8_19/include/ipmitool/ipmi_lanp6.h ipmitool-IPMITOOL_1_8_19/include/ipmitool/ipmi_main.h ipmitool-IPMITOOL_1_8_19/include/ipmitool/ipmi_mc.h ipmitool-IPMITOOL_1_8_19/include/ipmitool/ipmi_oem.h ipmitool-IPMITOOL_1_8_19/include/ipmitool/ipmi_pef.h ipmitool-IPMITOOL_1_8_19/include/ipmitool/ipmi_picmg.h ipmitool-IPMITOOL_1_8_19/include/ipmitool/ipmi_quantaoem.h ipmitool-IPMITOOL_1_8_19/include/ipmitool/ipmi_raw.h ipmitool-IPMITOOL_1_8_19/include/ipmitool/ipmi_sdr.h ipmitool-IPMITOOL_1_8_19/include/ipmitool/ipmi_sdradd.h ipmitool-IPMITOOL_1_8_19/include/ipmitool/ipmi_sel.h ipmitool-IPMITOOL_1_8_19/include/ipmitool/ipmi_sel_supermicro.h ipmitool-IPMITOOL_1_8_19/include/ipmitool/ipmi_sensor.h ipmitool-IPMITOOL_1_8_19/include/ipmitool/ipmi_session.h ipmitool-IPMITOOL_1_8_19/include/ipmitool/ipmi_sol.h ipmitool-IPMITOOL_1_8_19/include/ipmitool/ipmi_strings.h ipmitool-IPMITOOL_1_8_19/include/ipmitool/ipmi_sunoem.h ipmitool-IPMITOOL_1_8_19/include/ipmitool/ipmi_time.h ipmitool-IPMITOOL_1_8_19/include/ipmitool/ipmi_tsol.h ipmitool-IPMITOOL_1_8_19/include/ipmitool/ipmi_user.h ipmitool-IPMITOOL_1_8_19/include/ipmitool/ipmi_vita.h ipmitool-IPMITOOL_1_8_19/include/ipmitool/log.h ipmitool-IPMITOOL_1_8_19/lib/ ipmitool-IPMITOOL_1_8_19/lib/Makefile.am ipmitool-IPMITOOL_1_8_19/lib/dimm_spd.c ipmitool-IPMITOOL_1_8_19/lib/helper.c ipmitool-IPMITOOL_1_8_19/lib/hpm2.c ipmitool-IPMITOOL_1_8_19/lib/ipmi_cfgp.c ipmitool-IPMITOOL_1_8_19/lib/ipmi_channel.c ipmitool-IPMITOOL_1_8_19/lib/ipmi_chassis.c ipmitool-IPMITOOL_1_8_19/lib/ipmi_dcmi.c ipmitool-IPMITOOL_1_8_19/lib/ipmi_delloem.c ipmitool-IPMITOOL_1_8_19/lib/ipmi_ekanalyzer.c ipmitool-IPMITOOL_1_8_19/lib/ipmi_event.c ipmitool-IPMITOOL_1_8_19/lib/ipmi_firewall.c ipmitool-IPMITOOL_1_8_19/lib/ipmi_fru.c ipmitool-IPMITOOL_1_8_19/lib/ipmi_fwum.c ipmitool-IPMITOOL_1_8_19/lib/ipmi_gendev.c ipmitool-IPMITOOL_1_8_19/lib/ipmi_hpmfwupg.c ipmitool-IPMITOOL_1_8_19/lib/ipmi_ime.c ipmitool-IPMITOOL_1_8_19/lib/ipmi_isol.c ipmitool-IPMITOOL_1_8_19/lib/ipmi_kontronoem.c ipmitool-IPMITOOL_1_8_19/lib/ipmi_lanp.c ipmitool-IPMITOOL_1_8_19/lib/ipmi_lanp6.c ipmitool-IPMITOOL_1_8_19/lib/ipmi_main.c ipmitool-IPMITOOL_1_8_19/lib/ipmi_mc.c ipmitool-IPMITOOL_1_8_19/lib/ipmi_oem.c ipmitool-IPMITOOL_1_8_19/lib/ipmi_pef.c ipmitool-IPMITOOL_1_8_19/lib/ipmi_picmg.c ipmitool-IPMITOOL_1_8_19/lib/ipmi_quantaoem.c ipmitool-IPMITOOL_1_8_19/lib/ipmi_raw.c ipmitool-IPMITOOL_1_8_19/lib/ipmi_sdr.c ipmitool-IPMITOOL_1_8_19/lib/ipmi_sdradd.c ipmitool-IPMITOOL_1_8_19/lib/ipmi_sel.c ipmitool-IPMITOOL_1_8_19/lib/ipmi_sensor.c ipmitool-IPMITOOL_1_8_19/lib/ipmi_session.c ipmitool-IPMITOOL_1_8_19/lib/ipmi_sol.c ipmitool-IPMITOOL_1_8_19/lib/ipmi_strings.c ipmitool-IPMITOOL_1_8_19/lib/ipmi_sunoem.c ipmitool-IPMITOOL_1_8_19/lib/ipmi_time.c ipmitool-IPMITOOL_1_8_19/lib/ipmi_tsol.c ipmitool-IPMITOOL_1_8_19/lib/ipmi_user.c ipmitool-IPMITOOL_1_8_19/lib/ipmi_vita.c ipmitool-IPMITOOL_1_8_19/lib/log.c ipmitool-IPMITOOL_1_8_19/src/ ipmitool-IPMITOOL_1_8_19/src/Makefile.am ipmitool-IPMITOOL_1_8_19/src/ipmievd.c ipmitool-IPMITOOL_1_8_19/src/ipmishell.c ipmitool-IPMITOOL_1_8_19/src/ipmitool.c ipmitool-IPMITOOL_1_8_19/src/plugins/ ipmitool-IPMITOOL_1_8_19/src/plugins/Makefile.am ipmitool-IPMITOOL_1_8_19/src/plugins/bmc/ ipmitool-IPMITOOL_1_8_19/src/plugins/bmc/Makefile.am ipmitool-IPMITOOL_1_8_19/src/plugins/bmc/bmc.c ipmitool-IPMITOOL_1_8_19/src/plugins/bmc/bmc.h ipmitool-IPMITOOL_1_8_19/src/plugins/bmc/bmc_intf.h ipmitool-IPMITOOL_1_8_19/src/plugins/dbus/ ipmitool-IPMITOOL_1_8_19/src/plugins/dbus/Makefile.am ipmitool-IPMITOOL_1_8_19/src/plugins/dbus/dbus.c ipmitool-IPMITOOL_1_8_19/src/plugins/dummy/ ipmitool-IPMITOOL_1_8_19/src/plugins/dummy/Makefile.am ipmitool-IPMITOOL_1_8_19/src/plugins/dummy/dummy.c ipmitool-IPMITOOL_1_8_19/src/plugins/dummy/dummy.h ipmitool-IPMITOOL_1_8_19/src/plugins/free/ ipmitool-IPMITOOL_1_8_19/src/plugins/free/Makefile.am ipmitool-IPMITOOL_1_8_19/src/plugins/free/free.c ipmitool-IPMITOOL_1_8_19/src/plugins/imb/ ipmitool-IPMITOOL_1_8_19/src/plugins/imb/Makefile.am ipmitool-IPMITOOL_1_8_19/src/plugins/imb/imb.c ipmitool-IPMITOOL_1_8_19/src/plugins/imb/imbapi.c ipmitool-IPMITOOL_1_8_19/src/plugins/imb/imbapi.h ipmitool-IPMITOOL_1_8_19/src/plugins/ipmi_intf.c ipmitool-IPMITOOL_1_8_19/src/plugins/lan/ ipmitool-IPMITOOL_1_8_19/src/plugins/lan/Makefile.am ipmitool-IPMITOOL_1_8_19/src/plugins/lan/asf.h ipmitool-IPMITOOL_1_8_19/src/plugins/lan/auth.c ipmitool-IPMITOOL_1_8_19/src/plugins/lan/auth.h ipmitool-IPMITOOL_1_8_19/src/plugins/lan/lan.c ipmitool-IPMITOOL_1_8_19/src/plugins/lan/lan.h ipmitool-IPMITOOL_1_8_19/src/plugins/lan/md5.c ipmitool-IPMITOOL_1_8_19/src/plugins/lan/md5.h ipmitool-IPMITOOL_1_8_19/src/plugins/lan/rmcp.h ipmitool-IPMITOOL_1_8_19/src/plugins/lanplus/ ipmitool-IPMITOOL_1_8_19/src/plugins/lanplus/Makefile.am五、编译./bootstraptsyDESKTOP-CP22LHU ~/ipmitool-IPMITOOL_1_8_19 $ ./bootstrap aclocal case uname in uname libtoolize --automake --copy autoheader automake --foreign --add-missing --copy configure.ac:15: installing ./compile configure.ac:8: installing ./config.guess configure.ac:8: installing ./config.sub configure.ac:9: installing ./install-sh configure.ac:9: installing ./missing lib/Makefile.am: installing ./depcomp aclocal autoconf configure.ac:8: warning: The macro AC_CANONICAL_SYSTEM is obsolete. configure.ac:8: You should run autoupdate. /mnt/share/cygpkgs/autoconf2.7/autoconf2.7.noarch/src/autoconf-2.73/lib/autoconf/general.m4:2137: AC_CANONICAL_SYSTEM is expanded from... configure.ac:8: the top level configure.ac:10: warning: AM_CONFIG_HEADER: this macro is obsolete. configure.ac:10: You should use the AC_CONFIG_HEADERS macro instead. aclocal.m4:9890: AM_CONFIG_HEADER is expanded from... configure.ac:10: the top level configure.ac:24: warning: The macro AC_HEADER_STDC is obsolete. configure.ac:24: You should run autoupdate. /mnt/share/cygpkgs/autoconf2.7/autoconf2.7.noarch/src/autoconf-2.73/lib/autoconf/headers.m4:664: AC_HEADER_STDC is expanded from... configure.ac:24: the top level configure.ac:41: warning: The macro AM_PROG_LIBTOOL is obsolete. configure.ac:41: You should run autoupdate. aclocal.m4:123: AM_PROG_LIBTOOL is expanded from... configure.ac:41: the top level configure.ac:145: warning: The macro AC_HELP_STRING is obsolete. configure.ac:145: You should run autoupdate. /mnt/share/cygpkgs/autoconf2.7/autoconf2.7.noarch/src/autoconf-2.73/lib/autoconf/general.m4:205: AC_HELP_STRING is expanded from... /mnt/share/cygpkgs/autoconf2.7/autoconf2.7.noarch/src/autoconf-2.73/lib/autoconf/general.m4:1584: AC_ARG_ENABLE is expanded from... configure.ac:145: the top level configure.ac:155: warning: The macro AC_TRY_COMPILE is obsolete. configure.ac:155: You should run autoupdate. /mnt/share/cygpkgs/autoconf2.7/autoconf2.7.noarch/src/autoconf-2.73/lib/autoconf/general.m4:2903: AC_TRY_COMPILE is expanded from... configure.ac:155: the top level configure.ac:173: warning: The macro AC_HELP_STRING is obsolete. configure.ac:173: You should run autoupdate. /mnt/share/cygpkgs/autoconf2.7/autoconf2.7.noarch/src/autoconf-2.73/lib/autoconf/general.m4:205: AC_HELP_STRING is expanded from... /mnt/share/cygpkgs/autoconf2.7/autoconf2.7.noarch/src/autoconf-2.73/lib/autoconf/general.m4:1584: AC_ARG_ENABLE is expanded from... configure.ac:173: the top level configure.ac:224: warning: The macro AC_HELP_STRING is obsolete. configure.ac:224: You should run autoupdate. /mnt/share/cygpkgs/autoconf2.7/autoconf2.7.noarch/src/autoconf-2.73/lib/autoconf/general.m4:205: AC_HELP_STRING is expanded from... /mnt/share/cygpkgs/autoconf2.7/autoconf2.7.noarch/src/autoconf-2.73/lib/autoconf/general.m4:1584: AC_ARG_ENABLE is expanded from... configure.ac:224: the top level configure.ac:240: warning: The macro AC_HELP_STRING is obsolete. configure.ac:240: You should run autoupdate. /mnt/share/cygpkgs/autoconf2.7/autoconf2.7.noarch/src/autoconf-2.73/lib/autoconf/general.m4:205: AC_HELP_STRING is expanded from... /mnt/share/cygpkgs/autoconf2.7/autoconf2.7.noarch/src/autoconf-2.73/lib/autoconf/general.m4:1584: AC_ARG_ENABLE is expanded from... configure.ac:240: the top level configure.ac:256: warning: The macro AC_HELP_STRING is obsolete. configure.ac:256: You should run autoupdate. /mnt/share/cygpkgs/autoconf2.7/autoconf2.7.noarch/src/autoconf-2.73/lib/autoconf/general.m4:205: AC_HELP_STRING is expanded from... /mnt/share/cygpkgs/autoconf2.7/autoconf2.7.noarch/src/autoconf-2.73/lib/autoconf/general.m4:1584: AC_ARG_ENABLE is expanded from... configure.ac:256: the top level configure.ac:280: warning: The macro AC_HELP_STRING is obsolete. configure.ac:280: You should run autoupdate. /mnt/share/cygpkgs/autoconf2.7/autoconf2.7.noarch/src/autoconf-2.73/lib/autoconf/general.m4:205: AC_HELP_STRING is expanded from... /mnt/share/cygpkgs/autoconf2.7/autoconf2.7.noarch/src/autoconf-2.73/lib/autoconf/general.m4:1584: AC_ARG_ENABLE is expanded from... configure.ac:280: the top level configure.ac:297: warning: The macro AC_HELP_STRING is obsolete. configure.ac:297: You should run autoupdate. /mnt/share/cygpkgs/autoconf2.7/autoconf2.7.noarch/src/autoconf-2.73/lib/autoconf/general.m4:205: AC_HELP_STRING is expanded from... /mnt/share/cygpkgs/autoconf2.7/autoconf2.7.noarch/src/autoconf-2.73/lib/autoconf/general.m4:1603: AC_ARG_WITH is expanded from... configure.ac:297: the top level configure.ac:351: warning: The macro AC_HELP_STRING is obsolete. configure.ac:351: You should run autoupdate. /mnt/share/cygpkgs/autoconf2.7/autoconf2.7.noarch/src/autoconf-2.73/lib/autoconf/general.m4:205: AC_HELP_STRING is expanded from... /mnt/share/cygpkgs/autoconf2.7/autoconf2.7.noarch/src/autoconf-2.73/lib/autoconf/general.m4:1584: AC_ARG_ENABLE is expanded from... configure.ac:351: the top level configure.ac:366: warning: The macro AC_TRY_COMPILE is obsolete. configure.ac:366: You should run autoupdate. /mnt/share/cygpkgs/autoconf2.7/autoconf2.7.noarch/src/auto./configure --enable-intf-lan --enable-intf-lanplus --enable-ipmishell --disable-intf-usbtsyDESKTOP-CP22LHU ~/ipmitool-IPMITOOL_1_8_19 $ ./configure --enable-intf-lan --enable-intf-lanplus --enable-ipmishell --disable-intf-usb checking build system type... x86_64-pc-cygwin checking host system type... x86_64-pc-cygwin checking target system type... x86_64-pc-cygwin checking for a BSD-compatible install... /usr/bin/install -c checking whether sleep supports fractional seconds... yes checking filesystem timestamp resolution... 0.01 checking whether build environment is sane... yes checking for a race-free mkdir -p... /usr/bin/mkdir -p checking for gawk... gawk checking whether make sets $(MAKE)... yes checking whether make supports nested variables... yes checking xargs -n works... yes checking whether UID 197609 is supported by ustar format... yes checking whether GID 197121 is supported by ustar format... yes checking how to create a ustar tar archive... gnutar checking for gcc... gcc checking whether the C compiler works... yes checking for C compiler default output file name... a.exe checking for suffix of executables... .exe checking whether we are cross compiling... no checking for suffix of object files... o checking whether the compiler supports GNU C... yes checking whether gcc accepts -g... yes checking for gcc option to enable C23 features... unsupported checking for gcc option to enable C11 features... none needed checking whether gcc understands -c and -o together... yes checking whether make supports the include directive... yes (GNU style) checking dependency style of gcc... gcc3makeInterfaces (defaultlan) lan : yes lanplus : yes open : no free : no imb : no bmc : no dbus : no usb : no lipmi : no serial : yes dummy : no Extra tools ipmievd : yes ipmishell : yes tsyDESKTOP-CP22LHU ~/ipmitool-IPMITOOL_1_8_19 $ make make all-recursive make[1]: Entering directory /cygdrive/d/Cadence/SPB_Data/ipmitool-IPMITOOL_1_8_19 Making all in lib make[2]: Entering directory /cygdrive/d/Cadence/SPB_Data/ipmitool-IPMITOOL_1_8_19/lib depbaseecho helper.lo | sed s|[^/]*$|.deps/|;s|\.lo$||;\ /bin/sh ../libtool --silent --tagCC --modecompile gcc -DHAVE_CONFIG_H -I. -I.. -I../include -g -O2 -Wall -Wextra -stdgnu11 -pedantic -Wformat -Wformat-nonliteral -MT helper.lo -MD -MP -MF $depbase.Tpo -c -o helper.lo helper.c \ mv -f $depbase.Tpo $depbase.Plo In file included from helper.c:48: helper.c: In function ipmi_parse_hex: helper.c:182:31: warning: array subscript has type char [-Wchar-subscripts] 182 | if (!isxdigit(*p)) { | ^~ depbaseecho ipmi_sdr.lo | sed s|[^/]*$|.deps/|;s|\.lo$||;\ /bin/sh ../libtool --silent --tagCC --modecompile gcc -DHAVE_CONFIG_H -I. -I.. -I../include -g -O2 -Wall -Wextra -stdgnu11 -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 ipmi_sdr.c: In function ipmi_sdr_print_name_from_rawentry: ipmi_sdr.c:2646:17: warning: pointer targets in assignment from uint8_t * {aka unsigned char *} to const char * differ in signedness [-Wpointer-sign] 2646 | id_string record.full-id_string; | ^ ipmi_sdr.c:2652:17: warning: pointer targets in六、查看验证cd src/tsyDESKTOP-CP22LHU ~/ipmitool-IPMITOOL_1_8_19/src $ ls Makefile Makefile.in ipmievd.exe ipmishell.c ipmitool.c ipmitool.o Makefile.am ipmievd.c ipmievd.o ipmishell.o ipmitool.exe plugins tsyDESKTOP-CP22LHU ~/ipmitool-IPMITOOL_1_8_19/src $ ./ipmitool.exe IANA PEN registry open failed: No such file or directory No hostname specified! tsyDESKTOP-CP22LHU ~/ipmitool-IPMITOOL_1_8_19/src $ ./ipmitool.exe -h ipmitool version 1.8.19 usage: ipmitool [options...] command -h This help -V Show version information -v Verbose (can use multiple times) -c Display output in comma separated format -d N Specify a /dev/ipmiN device to use (default0) -I intf Interface to use -H hostname Remote host name for LAN interface -p port Remote RMCP port [default623] -U username Remote session username -f file Read remote session password from file -z size Change Size of Communication Channel (OEM) -S sdr Use local file for remote SDR cache -D tty:b[:s] Specify the serial device, baud rate to use and, optionally, specify that interface is the system one -4 Use only IPv4 -6 Use only IPv6 -a Prompt for remote password -Y Prompt for the Kg key for IPMIv2 authentication -e char Set SOL escape character -C ciphersuite Cipher suite to be used by lanplus interface -k key Use Kg key for IPMIv2 authentication -y hex_key Use hexadecimal-encoded Kg key for IPMIv2 authentication -L level Remote session privilege level [defaultADMINISTRATOR] Append a to use name/privilege lookup in RAKP1 -A authtype Force use of auth type NONE, PASSWORD, MD2, MD5 or OEM -P password Remote session password -E Read password from IPMI_PASSWORD environment variable -K Read kgkey from IPMI_KGKEY environment variable七、移植到windows环境运行报错解决tsyDESKTOP-CP22LHU ~/ipmitool-IPMITOOL_1_8_19 $ ./bootstrap aclocal case uname in uname tsyDESKTOP-CP22LHU ~/ipmitool-IPMITOOL_1_8_19 $ ./configure checking build system type... x86_64-pc-cygwin checking host system type... x86_64-pc-cygwin tsyDESKTOP-CP22LHU ~/ipmitool-IPMITOOL_1_8_19 $ make -j8 make all-recursive tsyDESKTOP-CP22LHU ~/ipmitool-IPMITOOL_1_8_19/src/.libs $ ./ipmitool.exe -h tsyDESKTOP-CP22LHU ~/ipmitool-IPMITOOL_1_8_19/src/.libs $ ldd ipmitool ntdll.dll /cygdrive/c/WINDOWS/SYSTEM32/ntdll.dll (0x7ffd94870000) KERNEL32.DLL /cygdrive/c/WINDOWS/System32/KERNEL32.DLL (0x7ffd93db0000) KERNELBASE.dll /cygdrive/c/WINDOWS/System32/KERNELBASE.dll (0x7ffd92240000) cygwin1.dll /usr/bin/cygwin1.dll (0x7ffd0ee50000) cygcrypto-3.dll /usr/bin/cygcrypto-3.dll (0x3ff7c0000) cygreadline8.dll /usr/bin/cygreadline8.dll (0x3fef10000) cygncursesw-10.dll /usr/bin/cygncursesw-10.dll (0x3ff260000) CRYPT32.dll /cygdrive/c/WINDOWS/System32/CRYPT32.dll (0x7ffd91cb0000) ucrtbase.dll /cygdrive/c/WINDOWS/System32/ucrtbase.dll (0x7ffd92120000) cygz.dll /usr/bin/cygz.dll (0x3fe8e0000) tsyDESKTOP-CP22LHU ~/ipmitool-IPMITOOL_1_8_19/src/.libs $ cp /cygdrive/c/WINDOWS/SYSTEM32/ntdll.dll /cygdrive/d/360极速浏览器X下载/ipmitool/ tsyDESKTOP-CP22LHU ~/ipmitool-IPMITOOL_1_8_19/src/.libs $ cp /cygdrive/c/WINDOWS/SYSTEM32/KERNEL32.DLL /cygdrive/d/360极速浏览器X下载/ipmitool/ tsyDESKTOP-CP22LHU ~/ipmitool-IPMITOOL_1_8_19/src/.libs $ cp /cygdrive/c/WINDOWS/SYSTEM32//KERNELBASE.dll /cygdrive/d/360极速浏览器X下载/ipmitool/ tsyDESKTOP-CP22LHU ~/ipmitool-IPMITOOL_1_8_19/src/.libs $ cp /cygdrive/c/WINDOWS/SYSTEM32/CRYPT32.dll /cygdrive/d/360极速浏览器X下载/ipmitool/ tsyDESKTOP-CP22LHU ~/ipmitool-IPMITOOL_1_8_19/src/.libs $ cp /cygdrive/c/WINDOWS/SYSTEM32/ucrtbase.dll /cygdrive/d/360极速浏览器X下载/ipmitool/ tsyDESKTOP-CP22LHU ~/ipmitool-IPMITOOL_1_8_19/src/.libs $ cp /usr/bin/cygwin1.dll /cygdrive/d/360极速浏览器X下载/ipmitool/ tsyDESKTOP-CP22LHU ~/ipmitool-IPMITOOL_1_8_19/src/.libs $ cp /usr/bin/cygreadline8.dll /cygdrive/d/360极速浏览器X下载/ipmitool/ tsyDESKTOP-CP22LHU ~/ipmitool-IPMITOOL_1_8_19/src/.libs $ cp /usr/bin/cygncursesw-10.dll /cygdrive/d/360极速浏览器X下载/ipmitool/ tsyDESKTOP-CP22LHU ~/ipmitool-IPMITOOL_1_8_19/src/.libs $ cp /usr/bin//cygcrypto-3.dll /cygdrive/d/360极速浏览器X下载/ipmitool/ tsyDESKTOP-CP22LHU ~/ipmitool-IPMITOOL_1_8_19/src/.libs $ cp /usr/bin/cygz.dll /cygdrive/d/360极速浏览器X下载/ipmitool/ tsyDESKTOP-CP22LHU ~/ipmitool-IPMITOOL_1_8_19/src/.libs $ ls ipmievd.exe ipmievd_ltshwrapper ipmitool.exe ipmitool_ltshwrapper lt-ipmievd.c lt-ipmitool.c tsyDESKTOP-CP22LHU ~/ipmitool-IPMITOOL_1_8_19/src/.libs $ cp ipmievd.exe ipmitool.exe /cygdrive/d/360极速浏览器X下载/ipmitool/windows版本查看

相关新闻

Windows右键菜单终极清理指南:5步掌握ContextMenuManager高效管理技巧

Windows右键菜单终极清理指南:5步掌握ContextMenuManager高效管理技巧

Windows右键菜单终极清理指南:5步掌握ContextMenuManager高效管理技巧 【免费下载链接】ContextMenuManager 🖱️ 纯粹的Windows右键菜单管理程序 项目地址: https://gitcode.com/gh_mirrors/co/ContextMenuManager 还在为Windows右键菜单越来越臃…

2026/7/27 23:19:28 阅读更多 →
从数据手册到BOM:微控制器选型与封装设计实战指南

从数据手册到BOM:微控制器选型与封装设计实战指南

1. 项目概述:从数据手册到你的物料清单在嵌入式硬件开发这条路上,我踩过不少坑,其中一个最容易被新手忽视、却又直接影响项目进度和成本的环节,就是微控制器的选型与订购。你可能会花大量时间研究外设、编写驱动,却在最…

2026/7/27 23:18:28 阅读更多 →
基于YOLOv10的棉花病害智能检测系统开发实践

基于YOLOv10的棉花病害智能检测系统开发实践

1. 项目背景与核心价值 棉花作为全球最重要的经济作物之一,其叶片健康状况直接影响纤维品质和产量。在实际种植过程中,枯萎病(blight)、卷叶病(curl)、灰霉病(grey mildew)、叶斑病&…

2026/7/27 23:18:28 阅读更多 →

最新新闻

MibSPI并行模式:高速SPI通信的降频增效方案

MibSPI并行模式:高速SPI通信的降频增效方案

1. MibSPI并行模式:为何需要它以及它能解决什么问题 在嵌入式开发领域,尤其是汽车电子、工业控制和高速数据采集这些对实时性要求极高的场景里,SPI(Serial Peripheral Interface)总线是我们最熟悉的老朋友之一。它简单…

2026/7/27 23:28:30 阅读更多 →
AI直播系统架构解析与全球化实践

AI直播系统架构解析与全球化实践

1. 悦目世界AI直播系统的技术架构解析 悦目世界AI直播系统采用全栈自研技术路线,构建了从底层基础设施到上层应用的全方位技术体系。这套系统最核心的创新点在于将AI技术深度融入直播全流程,实现了从内容生产到分发的智能化闭环。 1.1 AI智能引擎系统 …

2026/7/27 23:28:30 阅读更多 →
手机端C语言发出钢琴声音软件代码QZQ

手机端C语言发出钢琴声音软件代码QZQ

#define TSF_IMPLEMENTATION #include "tsf.h"#include <SDL2/SDL.h> #include <stdio.h>// 全局合成器 tsf* g_tsf NULL; const int SAMPLE_RATE 44100;// SDL音频回调&#xff1a;实时生成声音 void audioCallback(void* userdata, Uint8* stream, i…

2026/7/27 23:28:30 阅读更多 →
手机端java播放mid文件代码QZQ

手机端java播放mid文件代码QZQ

import android.media.MediaPlayer; import java.io.IOException;public class Main {public static void main(String[] args) {System.out.println("&#x1f3b5; 开始播放 MIDI 文件...");try {// 创建 MediaPlayer 实例MediaPlayer player new MediaPlayer();/…

2026/7/27 23:28:30 阅读更多 →
医学图像纹理分析系统:GLCM、LBP与Gabor融合技术

医学图像纹理分析系统:GLCM、LBP与Gabor融合技术

1. 医学图像纹理分析系统概述 在医学影像诊断领域&#xff0c;纹理分析技术正逐渐成为辅助医生识别病变的重要工具。这套基于纹理分析的医学图像处理系统&#xff0c;通过融合多种经典算法&#xff0c;实现了对CT、MRI等医学影像的自动化分析和诊断辅助。系统最显著的特点是采用…

2026/7/27 23:28:30 阅读更多 →
持续学习与情景记忆融合:解决AI灾难性遗忘的新方法

持续学习与情景记忆融合:解决AI灾难性遗忘的新方法

1. 持续学习与情景记忆融合的技术背景 在人工智能领域&#xff0c;持续学习(Continual Learning)和情景记忆(Episodic Memory)是两个长期存在的研究方向。持续学习主要解决模型在新任务学习中不遗忘旧任务知识的问题&#xff0c;而情景记忆则专注于对特定事件细节的存储和检索。…

2026/7/27 23:27:30 阅读更多 →

日新闻

【JAVA毕设源码分享】基于SpringBoot的社区智能垃圾管理系统的设计与实现(程序+文档+代码讲解+一条龙定制)

【JAVA毕设源码分享】基于SpringBoot的社区智能垃圾管理系统的设计与实现(程序+文档+代码讲解+一条龙定制)

博主介绍&#xff1a;✌️码农一枚 &#xff0c;专注于大学生项目实战开发、讲解和毕业&#x1f6a2;文撰写修改等。全栈领域优质创作者&#xff0c;博客之星、掘金/华为云/阿里云/InfoQ等平台优质作者、专注于Java、小程序技术领域和毕业项目实战 ✌️技术范围&#xff1a;&am…

2026/7/27 0:00:54 阅读更多 →
SPI实战指南:从时钟模式到寄存器配置,解决嵌入式通信难题

SPI实战指南:从时钟模式到寄存器配置,解决嵌入式通信难题

1. 项目概述&#xff1a;从寄存器手册到实战指南 如果你手头有一份类似德州仪器&#xff08;TI&#xff09;TMS320x240xA系列DSP的SPI模块技术手册&#xff0c;看着里面密密麻麻的寄存器位定义、时序图和公式&#xff0c;是不是感觉头大&#xff1f;这份资料虽然权威&#xff0…

2026/7/27 0:00:54 阅读更多 →
【JAVA毕设源码分享】基于springboot的水果购物管理系统的设计与实现(程序+文档+代码讲解+一条龙定制)

【JAVA毕设源码分享】基于springboot的水果购物管理系统的设计与实现(程序+文档+代码讲解+一条龙定制)

博主介绍&#xff1a;✌️码农一枚 &#xff0c;专注于大学生项目实战开发、讲解和毕业&#x1f6a2;文撰写修改等。全栈领域优质创作者&#xff0c;博客之星、掘金/华为云/阿里云/InfoQ等平台优质作者、专注于Java、小程序技术领域和毕业项目实战 ✌️技术范围&#xff1a;&am…

2026/7/27 0:00:54 阅读更多 →

周新闻

深度学习道路桥梁裂缝检测系统 道路桥梁裂缝检测数据集 道路桥梁病害识别检测数据集

深度学习道路桥梁裂缝检测系统 道路桥梁裂缝检测数据集 道路桥梁病害识别检测数据集

深度学习道路桥梁裂缝检测系统 数据集6000张 完整源码已标注数据集训练好的模型环境配置教程程序运行说明文档&#xff0c;可以直接使用&#xff01;系统支持图片、视频、摄像头等多种方式检测裂缝&#xff0c;功能强大实用。 1数据集6000张 8各类别

2026/7/27 4:33:59 阅读更多 →
深度学习YOLO模型如何训练 PUBG 绝地求生目标检测数据集

深度学习YOLO模型如何训练 PUBG 绝地求生目标检测数据集

pubg数据集 精选原图1.42万数据 1.49万标签 无任何重复、算法增强或冗余图像&#xff01; pubg绝地求生目标检测数据集 1分类&#xff1a;e_body&#xff0c;14905个标签&#xff0c;txt格式 共计14244张图&#xff0c;99%为640*640尺寸图像 适合yolo目标检测、AI训练关键词&am…

2026/7/27 6:31:56 阅读更多 →
Apex英雄目标检测数据集 深度学习框架YOLO如何训练APEX数据集

Apex英雄目标检测数据集 深度学习框架YOLO如何训练APEX数据集

Apex检测数据集数据集详情检测类别&#xff1a; allies enemy tag图片总量&#xff1a;7247张训练集&#xff1a;5139张验证集&#xff1a;1425张测试集&#xff1a;683张标注状态&#xff1a;全部已标注&#xff0c;即拿即用数据格式&#xff1a;支持YOLO格式及其他格式&#…

2026/7/27 4:01:12 阅读更多 →

月新闻