How to compile ipmitool for Windows 32-bit

Last Modified: Thu, 31 Jul 2014 16:28:07 +0000 ; Created: Thu, 31 Jul 2014 16:27:24 +0000

Here is how to compile ipmitool for Windows. It requires a dependency on Cygwin, but you can copy the Cygwin DLLs and built binary into a separate directory for a standalone install on other systems.

I did the build on a Windows Server 2008 Standard Edition 32-bit with SP2 system. This creates a 32-bit version of the ipmitool.exe file which should work on both 32-bit and 64-bit Windows platforms.

All ***32-bit***

  2. Cygwin packages
    1. gcc-core (inside Devel category)
    2. make (inside Devel category)
    3. openssl-devel
    4. A bunch more will get auto-required at the next prompt for "Resolving Dependencies"
  3. Download the source for ipmitool
  4. Extract the source tarball
  5. From your Cygwin Terminal go into the source directory
  6. ./configure --enable-intf-lanplus
  7. make
  8. The real exe binary is found in ipmitool-x.y.zz/src/.libs/ipmitool.exe
    • You also need the supporting DLL files
    • The one in ipmitool-x.y.zz/src/ipmitool.exe is only a wrapper script
  9. For a standalone copy you can pass around to systems without Cygwin installed copy all of the following (version numbers in the name may vary):
    1. ./src/.libs/ipmitool.exe
    2. C:\cygwin\bin\cygcrypto-1.0.0.dll
    3. C:\cygwin\bin\cygwin1.dll
    4. C:\cygwin\bin\cygz.dll
    5. C:\cygwin\bin\cyggcc_s-1.dll
  10. Test with ipmitool -I lanplus -H hostname -U username fru