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:45阅读更多 →
一文读懂 Agent Skills 如何让大模型更智能、更易用

一文读懂 Agent Skills 如何让大模型更智能、更易用

Agent Skills 是大模型能力封装单元,区别于提示词、MCP、Hook 和 Subagent,它提供可安装、可触发、可迁移的工作手册。Skill 将领域流程、工具调用和边界规则整合,适用于多人共用 Agent 场景,通过沉淀团队经验提升大模型复用性和迁…

2026/7/27 23:19:45阅读更多 →
深入解析TI RTI模块寄存器:从定时器原理到汽车电子高精度定时实践

深入解析TI RTI模块寄存器:从定时器原理到汽车电子高精度定时实践

1. RTI模块控制寄存器全景解析 在嵌入式实时系统的开发中,尤其是汽车电子和工业控制这类对时序确定性要求极高的领域,定时与中断管理是系统稳定运行的基石。德州仪器(TI)的微控制器家族中,实时中断(Real-Ti…

2026/7/27 23:17:45阅读更多 →
在有限条件里,持续创造无限可能的人。

在有限条件里,持续创造无限可能的人。

真正强大的人,不是拥有无限资源,而是在资源有限、环境变化、能力不足的情况下,依然能够不断创造新的选择。这句话的核心: 不是“无限可能真的没有边界”。 而是:人的成长能力,可以不断扩大未来的可能空间。…

2026/7/28 1:53:01阅读更多 →
5分钟极速上手:VoTT图像标注工具完整指南 - 零基础构建AI训练数据

5分钟极速上手:VoTT图像标注工具完整指南 - 零基础构建AI训练数据

5分钟极速上手:VoTT图像标注工具完整指南 - 零基础构建AI训练数据 【免费下载链接】VoTT Visual Object Tagging Tool: An electron app for building end to end Object Detection Models from Images and Videos. 项目地址: https://gitcode.com/gh_mirrors/vo…

2026/7/28 1:53:01阅读更多 →
AI如何用NLP与生成式技术革新PPT制作

AI如何用NLP与生成式技术革新PPT制作

1. 项目概述:AI如何重塑PPT制作体验每次临近项目汇报或学术答辩,办公室里总能看到同事顶着黑眼圈熬夜改PPT。从内容梳理、版式设计到动画调整,传统PPT制作流程至少消耗3-5小时。而Paperzz AI PPT生成器的出现,正在彻底改变这一现状…

2026/7/28 1:53:01阅读更多 →
VMware虚拟机中Windows 7 Aero无法启用的根本原因与完整解决方案

VMware虚拟机中Windows 7 Aero无法启用的根本原因与完整解决方案

你是否曾经在 VMware 虚拟机里安装过 Windows 7,却发现那个标志性的、半透明磨砂玻璃效果的 Aero 主题死活无法启用?你检查了虚拟机设置,安装了 VMware Tools,甚至尝试了网上流传的各种“注册表大法”,但窗口边框依然是…

2026/7/28 1:53:01阅读更多 →
Clink v1.7.13:Windows命令行增强工具的技术架构演进与稳定性提升

Clink v1.7.13:Windows命令行增强工具的技术架构演进与稳定性提升

Clink v1.7.13:Windows命令行增强工具的技术架构演进与稳定性提升 【免费下载链接】clink Bashs powerful command line editing in cmd.exe 项目地址: https://gitcode.com/gh_mirrors/cli/clink Clink作为Windows cmd.exe的现代化命令行增强工具&#xff0…

2026/7/28 1:53:01阅读更多 →
2026元宝区女人街本地好口碑优质靠谱丹东女装店

2026元宝区女人街本地好口碑优质靠谱丹东女装店

很多到丹东元宝区逛街的游客,或是刚搬到附近居住的女性消费者,在找女装店时都会好奇,毕竟能被本地居民长期认可的店铺,往往在品质、服务和性价比上都更有保障,不容易出现踩雷的情况,尤其是对于想要选购特色…

2026/7/28 1:51:01阅读更多 →
覆盖国产 + 海外 + 开源模型,OpenClaw 2.7.9 Windows/Mac 双端部署详解

覆盖国产 + 海外 + 开源模型,OpenClaw 2.7.9 Windows/Mac 双端部署详解

🔹 工具基础介绍 OpenClaw 是开源生态中一款实用性较强的本地智能工具,凭借本地离线运行、可视化图形操作和任务自动化三大核心特性,赢得了众多用户的青睐。与普通在线对话AI工具不同,它属于能够直接操控本机软硬件的智能数字员工…

2026/7/27 1:14:34阅读更多 →
伺服阀焊完微漏毁整机?精密激光焊接三关锁住高压

伺服阀焊完微漏毁整机?精密激光焊接三关锁住高压

所谓液压伺服阀体的精密激光焊接,是用激光束对阀座壳体(通常为不锈钢或铝合金)进行密封焊接,使阀体在21-35MPa的高压液压油或压缩气体中长期运行而不发生介质泄漏。液压伺服阀是高端液压系统的"大脑"。从航空航天飞行控…

2026/7/27 1:14:52阅读更多 →
D2DX:三步实现《暗黑破坏神2》高清宽屏体验的终极指南

D2DX:三步实现《暗黑破坏神2》高清宽屏体验的终极指南

D2DX:三步实现《暗黑破坏神2》高清宽屏体验的终极指南 【免费下载链接】d2dx D2DX is a complete solution to make Diablo II run well on modern PCs, with high fps and better resolutions. 项目地址: https://gitcode.com/gh_mirrors/d2/d2dx 你是否还在…

2026/7/28 1:38:28阅读更多 →
告别臃肿!3步让你的暗影精灵笔记本重获新生

告别臃肿!3步让你的暗影精灵笔记本重获新生

告别臃肿!3步让你的暗影精灵笔记本重获新生 【免费下载链接】OmenSuperHub Control Omen laptop performance, fan speeds, and keyboard lighting, and unlock power limits. 项目地址: https://gitcode.com/gh_mirrors/om/OmenSuperHub 你是否也曾为官方Om…

2026/7/28 0:00:29阅读更多 →
RAG必踩坑!财报法规检索不准?这款开源工具让答案浮出水面,准确率飙升98.7%!

RAG必踩坑!财报法规检索不准?这款开源工具让答案浮出水面,准确率飙升98.7%!

做 RAG 的人应该都踩过这个致命的坑:把几百页的财报、法规、技术手册扔给向量库,问一个具体问题,搜出来的全是沾边但没用的内容 —— 关键信息要么被硬切块拆碎了,要么藏在几十条结果的最下面。语义相似≠真正相关,这个…

2026/7/28 0:00:29阅读更多 →
抖音视频文案提取工具全指南:免费2026版、手机App、在线工具一网打尽

抖音视频文案提取工具全指南:免费2026版、手机App、在线工具一网打尽

2026年做短视频运营,从抖音上扒文案早就不是偷偷抄笔记的事了。我刚开始做内容的时候,每天刷半小时抖音,手动把爆款视频的口播敲进备忘录,一条2分钟的视频得花十来分钟,碰到语速快的还要反复回听。后来试了一圈工具&am…

2026/7/28 0:00:29阅读更多 →
YOLOv8推理性能优化:从1.2FPS到35FPS的全链路加速实践

YOLOv8推理性能优化:从1.2FPS到35FPS的全链路加速实践

如果你在部署 YOLOv8 时,发现推理速度只有可怜的 1-2 FPS,而别人的演示视频却能跑到 30 FPS 以上,那么问题很可能不在模型本身,而在于你的整个处理链路。很多开发者拿到一个训练好的 YOLOv8 模型后,会直接使用官方示例…

2026/7/27 16:57:54阅读更多 →
Coze与Dify对比指南:低代码AI应用开发从入门到实战

Coze与Dify对比指南:低代码AI应用开发从入门到实战

1. 从零到一:为什么你需要了解 Coze 和 Dify?如果你对 AI 应用开发感兴趣,但一看到“大模型”、“智能体”、“工作流”这些词就头疼,觉得门槛太高,那这篇文章就是为你准备的。很多开发者,包括我自己&#…

2026/7/26 19:05:21阅读更多 →
AI生图工具怎么选?2026年6月版实测对比

AI生图工具怎么选?2026年6月版实测对比

做自媒体的朋友应该都有体会:配图一直是个让人头疼的问题。2026年,AI生图工具已经非常成熟了,但工具太多反而不知道怎么选。以下是截至2026年6月我对主流AI生图工具的实测对比。Midjourney V8.1:速度之王2026年6月11日&#xff0c…

2026/7/26 19:05:21阅读更多 →