Building this version of mfiutil requires: * BSD make or GNU Make * GNU C99 or compatible compiler * GNU ld (except for Darwin) * Development libraries of a supported target operating system The following operating system / driver combinations are supported: * FreeBSD or GNU/kFreeBSD with mfi(4) or mrsas(4) driver * DragonFly BSD with mfi(4) driver * GNU/Linux with megaraid_sas(4) driver * Solaris with mr_sas(7D) driver The following operating system / driver combinations may work, but are untested or having known issues, therefore not supported: * Darwin with mfi(4) driver * DragonFly BSD with mrsas(4) driver * Solaris with mega_sas(7D) driver Minimal supported operating system versions: FreeBSD 9.3-RELEASE GNU/kFreeBSD GLIBC 2.13, kFreeBSD 9.0 DragonFly BSD 5.0-RELEASE GNU/Linux GLIBC 2.4, Linux 2.6.14 Solaris Oracle Solaris 11 Express snv_151a Makefile contains hard-coded compiler name (gcc) and some compiler flags; please edit them as necessary. Note for building on Solaris This program requires GNU ld to build. While GNU ld is available as a part of the binutils package, the GCC packages provided for Solaris are configured to use Solaris link editor only; these compilers didn't make any use of GNU ld, therefore can't be used to build mfiutil. There are 2 options to resolve it: 1, Configure and build your own GCC that makes uses of GNU ld. 2, Extract and modify the specs file of an existing GCC build, then invoke gcc(1) with option '--specs /path/to/modified/specs'; specifically the '*linker' setting of the specs should be changed from 'collect2' to the path to GNU ld program, which is '/usr/gnu/bin/ld' by default.