IBM Support

Rebuilding the Linux kernel in order to create the MVFS module fails

Troubleshooting


Problem

This technote explains how to resolve an error, make[3]: gcc: Command not found, that can occur when attempting to rebuild the Linux kernel in order to create the IBM Rational ClearCase (CC) MVFS module.

Symptom

After the initial ClearCase installation fails and it is determined that the next step is to follow the directions in the Preparing Linux for ClearCase Installation white paper and rebuilding instructions in /var/adm/rational/clearcase/mvfs/mvfs_src/README.txt, the make step fails as seen below:

/var/adm/rational/clearcase/mvfs/mvfs_src # make
Makefile:75: mvfs_param.mk.config: No such file or directory
cd . && /opt/rational/clearcase/install/kernel_guess

Enter path to your toplevel kernel source directory.
        Default is [/lib/modules/2.6.16.60-0.21-default/build]:

        User specified:Linux source directory: /lib/modules/2.6.16.60-0.21-default/build

make -C /lib/modules/2.6.16.60-0.21-default/build SUBDIRS=`pwd`
make[1]: Entering directory `/usr/src/linux-2.6.16.60-0.21-obj/s390/default'
make -C ../../../linux-2.6.16.60-0.21 O=../linux-2.6.16.60-0.21-obj/s390/default
make[3]: gcc: Command not found
 LD      /var/adm/rational/clearcase/mvfs/mvfs_src/built-in.o
 CC [M]  /var/adm/rational/clearcase/mvfs/mvfs_src/mvfs_vfsops.o
/bin/sh: gcc: command not found
make[4]: *** [/var/adm/rational/clearcase/mvfs/mvfs_src/mvfs_vfsops.o] Error 127
make[3]: *** [_module_/var/adm/rational/clearcase/mvfs/mvfs_src] Error 2
make[2]: *** [_all] Error 2
make[1]: *** [all] Error 2
make[1]: Leaving directory `/usr/src/linux-2.6.16.60-0.21-obj/s390/default'
make: *** [all] Error 2

[{"Product":{"code":"SSSH27","label":"Rational ClearCase"},"Business Unit":{"code":"BU048","label":"IBM Software"},"Component":"Installation","Platform":[{"code":"PF016","label":"Linux"}],"Version":"7.0.1;7.1;8.0","Edition":"","Line of Business":{"code":"LOB77","label":"Automation Platform"}}]

Log InLog in to view more of this document

This document has the abstract of a technical article that is available to authorized users once you have logged on. Please use Log in button above to access the full document. After log in, if you do not have the right authorization for this document, there will be instructions on what to do next.

Document Information

Modified date:
16 June 2018

UID

swg21358560