3-4
Super AOM-C25G-i2SM-12 Adapter User's Guide
Note:
For the build to work properly, the kernel currently running MUST
match the version and configuration of the installed kernel sources. If you
have just recompiled the kernel, reboot the system before building.
2. After building the RPM, the last few lines of the tool output contain the loca-
tion of the RPM file that was built. Install the RPM with one of the following
commands where <RPM> is the location of the RPM file:
# rpm -Uvh <RPM>
or
# dnf/yum localinstall <RPM>
Note 1:
To compile the driver on some kernel/arch combinations, you
may need to install a package with the development version of libelf (e.g.
libelf-dev, libelf-devel, elfutils-libelf-devel).
Note 2:
When compiling an out-of-tree driver, users will find that details
may vary by distribution. However, you will usually need a kernel-devel
RPM or some RPM that provides the kernel headers at a minimum. The
RPM kernel-devel will usually fill in the link at /lib/modules/'uname -r'/build.
Manually Building Driver
Please follow the steps below to manually build the driver.
1.
Move the base driver tar file to the directory of your choice. For example, use
'/home/username/ice' or '/usr/local/src/ice'.
2. Untar/unzip the archive where <x.x.x> is the version number for the driver tar
file:
# tar zxf ice-<x.x.x>.tar.gz
3. Change to the driver src directory where <x.x.x> is the version number for the
driver tar:
# cd ice-<x.x.x>/src