10.100. Kmod-18 N32 Libraries

The Kmod package contains programs for loading, inserting and removing kernel modules for Linux. Kmod replaces the Module-Init-tools package.

10.100.1. Installation of Kmod N32 Libraries

Prepare Kmod for compilation:

PKG_CONFIG_PATH=${PKG_CONFIG_PATH32} CC="gcc ${BUILD32}" \
  ./configure --prefix=/usr \
    --bindir=/bin --sysconfdir=/etc \
    --with-rootlibdir=/lib32 --libdir=/usr/lib32 \
    --with-zlib --with-xz

The meaning of the configure option:

--with-rootlibdir=/lib

Install location for shared libraries.

--with-zlib --with-xz

This allows the Kmod package to handle zlib and XZ compressed kernel modules.

Compile the package:

make

To test the results, issue:

make check

Install the package:

make install

Details on this package are located in Section 10.101.2, “Contents of Kmod.”