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/8/15 22:28:00 阅读更多 →
从数据手册到BOM:微控制器选型与封装设计实战指南

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

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

2026/8/15 14:34:05 阅读更多 →
基于YOLOv10的棉花病害智能检测系统开发实践

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

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

2026/8/12 7:57:31 阅读更多 →

最新新闻

海太欧林集团简介

海太欧林集团简介

海太欧林(ONLEAD)创办于1996年,主要从事智能办公、智慧医疗、教学科研、酒店公寓家具的研发、制造,并为客户提供商用空间整体解决方案。立足高端市场,凭借领先的设计、出色的品质、精细的服务,集团赢得市场的普遍认可和广泛赞誉。…

2026/8/16 16:31:00 阅读更多 →
RevokeMsgPatcher防撤回补丁4步上手

RevokeMsgPatcher防撤回补丁4步上手

RevokeMsgPatcher防撤回补丁4步上手 【免费下载链接】RevokeMsgPatcher :trollface: A hex editor for WeChat/QQ/TIM - PC版微信/QQ/TIM防撤回补丁(我已经看到了,撤回也没用了) 项目地址: https://gitcode.com/GitHub_Trending/re/RevokeM…

2026/8/16 16:31:00 阅读更多 →
LivePortrait人像动画快速上手指南:如何让一张静态照片开口说话

LivePortrait人像动画快速上手指南:如何让一张静态照片开口说话

LivePortrait人像动画快速上手指南:如何让一张静态照片开口说话 【免费下载链接】LivePortrait Bring portraits to life! 项目地址: https://gitcode.com/GitHub_Trending/li/LivePortrait 先抛个问题:如果你有一张祖辈的老照片、一幅挂在墙上的…

2026/8/16 16:31:00 阅读更多 →
Windows 挂载远程文件夹终极指南:用 SSHFS-Win 免费把服务器目录变成你的本地磁盘

Windows 挂载远程文件夹终极指南:用 SSHFS-Win 免费把服务器目录变成你的本地磁盘

Windows 挂载远程文件夹终极指南:用 SSHFS-Win 免费把服务器目录变成你的本地磁盘 【免费下载链接】sshfs-win SSHFS For Windows 项目地址: https://gitcode.com/gh_mirrors/ss/sshfs-win 先讲个真实场景,你是不是也这样 凌晨两点,你…

2026/8/16 16:31:00 阅读更多 →
想找靠谱的展厅设计企业到底要怎么筛选才不会踩坑?

想找靠谱的展厅设计企业到底要怎么筛选才不会踩坑?

之前帮公司筛选展厅设计供应商的时候踩过的坑真的能说三天三夜:效果图做的高端大气,落地出来像盗版货;对接要找策划、设计、施工、设备4个不同的负责人,改个需求要传三四遍话;初期报价压的比谁都低,做到一半…

2026/8/16 16:31:00 阅读更多 →
为什么你的Arduino ESP32开发环境总装不上?4个终极解决方案揭秘

为什么你的Arduino ESP32开发环境总装不上?4个终极解决方案揭秘

为什么你的Arduino ESP32开发环境总装不上?4个终极解决方案揭秘 【免费下载链接】arduino-esp32 Arduino core for the ESP32 family of SoCs 项目地址: https://gitcode.com/GitHub_Trending/ar/arduino-esp32 是不是每次满怀期待地打开 Arduino IDE&#x…

2026/8/16 16:30:00 阅读更多 →

日新闻

基于阿里云与通义千问(Qwen)构建AI应用:从模型调用到生产部署的完整实践指南

基于阿里云与通义千问(Qwen)构建AI应用:从模型调用到生产部署的完整实践指南

如果你是一名开发者,最近可能已经感受到了AI大模型正在从“玩具”变成“生产力工具”的强烈信号。从代码补全到智能Agent,从本地部署到云端API,我们正处在一个技术栈快速重构的节点。然而,面对层出不穷的模型、框架和工具&#xf…

2026/8/16 0:00:54 阅读更多 →
工业通信系统底层逻辑:04 反射——高频能量撞墙之后会发生什么?

工业通信系统底层逻辑:04 反射——高频能量撞墙之后会发生什么?

第四篇:反射——高频能量撞墙之后会发生什么? —— 你以为信号已经过去了,其实它正在回来打你 老Q的现场笔记 第五季,我们正式进入工业神经系统层。这里不再是单个设备的战斗,而是整个工厂“经脉”层面的秩序之战。从这一篇开始,你将第一次看清:看似简单的信号传播,背…

2026/8/16 0:00:55 阅读更多 →
【文章复现】非线性值迭代自适应动态规划(ADP):离散时间非线性系统的策略迭代自适应动态规划算法研究附Matlab代码

【文章复现】非线性值迭代自适应动态规划(ADP):离散时间非线性系统的策略迭代自适应动态规划算法研究附Matlab代码

✅作者简介:热爱科研的Matlab仿真开发者,擅长毕业设计辅导、数学建模、数据处理、建模仿真、程序设计、完整代码获取、论文复现及科研仿真。🍎 往期回顾关注个人主页:Matlab科研工作室👇 关注我领取海量matlab电子书和…

2026/8/16 0:03:55 阅读更多 →

周新闻

基于阿里云与通义千问(Qwen)构建AI应用:从模型调用到生产部署的完整实践指南

基于阿里云与通义千问(Qwen)构建AI应用:从模型调用到生产部署的完整实践指南

如果你是一名开发者,最近可能已经感受到了AI大模型正在从“玩具”变成“生产力工具”的强烈信号。从代码补全到智能Agent,从本地部署到云端API,我们正处在一个技术栈快速重构的节点。然而,面对层出不穷的模型、框架和工具&#xf…

2026/8/16 0:00:54 阅读更多 →
工业通信系统底层逻辑:04 反射——高频能量撞墙之后会发生什么?

工业通信系统底层逻辑:04 反射——高频能量撞墙之后会发生什么?

第四篇:反射——高频能量撞墙之后会发生什么? —— 你以为信号已经过去了,其实它正在回来打你 老Q的现场笔记 第五季,我们正式进入工业神经系统层。这里不再是单个设备的战斗,而是整个工厂“经脉”层面的秩序之战。从这一篇开始,你将第一次看清:看似简单的信号传播,背…

2026/8/16 0:00:55 阅读更多 →
【文章复现】非线性值迭代自适应动态规划(ADP):离散时间非线性系统的策略迭代自适应动态规划算法研究附Matlab代码

【文章复现】非线性值迭代自适应动态规划(ADP):离散时间非线性系统的策略迭代自适应动态规划算法研究附Matlab代码

✅作者简介:热爱科研的Matlab仿真开发者,擅长毕业设计辅导、数学建模、数据处理、建模仿真、程序设计、完整代码获取、论文复现及科研仿真。🍎 往期回顾关注个人主页:Matlab科研工作室👇 关注我领取海量matlab电子书和…

2026/8/16 0:03:55 阅读更多 →

月新闻

免费解锁百度网盘SVIP加速:macOS用户必备的下载提速终极指南

免费解锁百度网盘SVIP加速:macOS用户必备的下载提速终极指南

免费解锁百度网盘SVIP加速:macOS用户必备的下载提速终极指南 【免费下载链接】BaiduNetdiskPlugin-macOS For macOS.百度网盘 破解SVIP、下载速度限制~ 项目地址: https://gitcode.com/gh_mirrors/ba/BaiduNetdiskPlugin-macOS 还在为百度网盘macOS版的龟速下…

2026/8/16 6:00:23 阅读更多 →
终极ncmdump指南:3分钟实现网易云NCM音乐解密与格式转换

终极ncmdump指南:3分钟实现网易云NCM音乐解密与格式转换

终极ncmdump指南:3分钟实现网易云NCM音乐解密与格式转换 【免费下载链接】ncmdump 项目地址: https://gitcode.com/gh_mirrors/ncmd/ncmdump 还在为网易云音乐下载的NCM格式文件无法在其他播放器播放而烦恼吗?ncmdump解密工具帮你轻松解决这个困…

2026/8/16 6:00:24 阅读更多 →
HarmonyOS 应用开发《掌上英语》第81篇: 智能体卡片:为英语学习 App 打造桌面级学习助手

HarmonyOS 应用开发《掌上英语》第81篇: 智能体卡片:为英语学习 App 打造桌面级学习助手

AgentCard 智能体卡片:为英语学习 App 打造桌面级学习助手适用平台:HarmonyOS 7.0 (API 26 Beta)一、引言 HarmonyOS 7.0(API 26 Beta)新增了 AgentCard 智能体卡片能力,这是继 HMAF(鸿蒙智能体框架&#x…

2026/8/16 6:00:27 阅读更多 →