API-FDX Linux Getting Started Manual
19
GmbH
Section 7 – Recompilation and Reinstallation of the driver
7. RECOMPILATION AND REINSTALLATION OF THE DRIVER
A recompilation of the module may be necessary if the kernel configuration has changed
fundamentally, e.g. either a different kernel version is used or the kernel is switched from
uniprocessor to SMP. To rebuild the driver, go to “
./modules/
” and run “
make –s
”. If the
kernel version is 2.4, then do
“
cp
./linux-2.4/aim_fdx.o /lib/modules/`uname –r`/extra
”.
Otherwise
“
cp
./linux-2.6/aim_fdx.ko /lib/modules/`uname –r`/extra
”.