A.2 Compiling the Novell Client Virtual File System Kernel Module

Depending on whether or not you have a standard kernel that has been updated or a custom kernel that needs to have the Novell Client Virtual File System Kernel Module added, the steps for compiling the module differ.

A.2.1 Compiling the Novell Client Virtual File System Kernel Module After a Kernel Update

If you have updated the kernel on the workstation, you must compile the Novell Client Virtual File System Kernel Module so that it works with the updated kernel.

  1. In a terminal, log in as root.

  2. Enter the following command:

    cd /opt/novell/ncl/src/novfs

  3. Enter the following command:

    ./mk_novfs

    The Novell Client Virtual File System Kernel Module is updated to match your updated kernel.

A.2.2 Compiling the Novell Client Virtual File System Kernel Module on Workstations Running a Custom Kernel

If you have a custom kernel on the workstation, you must compile the Novell Client Virtual File System kernel module so that it works with the custom kernel.

  1. In a terminal, log in as root.

  2. Unpack the /proc/config.gz file and copy the resulting config to the new name /usr/src/linux/.config.

  3. In the /usr/src/linux directory, enter the following command:

    make

    HINT:You might also need to enter make -C /usr/src/linux-obj/i386/$i SUBDIRS=$PWD clean. The easiest way to do this is to copy the mk_novfs script and change the BUILD_TYPE to clean.

  4. In the /opt/novell/ncl/src/novfs directory, enter the following command:

    ./m

    The Novell Client Virtual File System Module is updated to match your custom kernel.