A blog about software development and server management
How to compile IPMItool.exe for Windows
Install Cygwin on your windows system. While installing Cygwin make sure to install the development tools (dependencies on these packages will be automatically selected by Cygwin)
Launch ‘Cygwin64 Terminal’ and change your directory to extract location. Im my case: /cygdrive/c/ipmitool-IPMITOOL_1_8_18. cd /cygdrive/c/ipmitool-IPMITOOL_1_8_18
Configure and build IPMItool: ./bootstrap ./configure --enable-intf-lanplus make make install
Packaging the IPMItool binary and related DLLs in an archive file: cd .. mkdir ipmitool cp ipmitool-1.8.18/src/.libs/ipmitool.exe ipmitool/ cp /bin/cygwin1.dll ipmitool/ cp /bin/cygcrypto* ipmitool/ cp /bin/cygz.dll ipmitool/ cp /bin/cyggcc_s-*.dll ipmitool/ cp /bin/cygreadline*.dll ipmitool/ cp /bin/cygncursesw-*.dll ipmitool/ tar -zcvf ipmitool.tar ipmitool
Extract the file, ipmitool.tar in your destination host. Some of the sample commands to test your ipmitool.exe: ipmitool.exe -I lan -U username -P password -H address sel list ipmitool.exe -I lanplus -U username -P password -H address sel list