www.rodneybeede.com "I would love to change the world, but they won't give me the source code" - unknown
 Navigation

How to compile ipmitool for Windows 32-bit - Last Modified 2014-07-31 16:28 UTC - Created 2014-07-31 16:27 UTC

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***

  1. https://cygwin.com/setup-x86.exe
  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