clearcase-clearquest-community

Open full view…

CC kernel module compilation fails on CentOS 7.5 full

and_sta
Mon, 27 Aug 2018 13:27:57 GMT

Once again since in previous post it removed part of the log... Running `make` in `/var/adm/rational/clearcase/mvfs/mvfs_src` results in an error message like this: ``` make -C /lib/modules/3.10.0-862.11.6.el7.x86_64/build SUBDIRS=`pwd` make[1]: Entering directory `/usr/src/kernels/3.10.0-862.11.6.el7.x86_64' CC [M] /var/adm/rational/clearcase/mvfs/mvfs_src/mvfs_linux_mvops.o /var/adm/rational/clearcase/mvfs/mvfs_src/mvfs_linux_mvops.c: In function ‘mvop_linux_readdir’: /var/adm/rational/clearcase/mvfs/mvfs_src/mvfs_linux_mvops.c:3022:9: error: implicit declaration of function ‘vfs_readdir’ [-Werror=implicit-function-declaration] err = MDKI_FOP_READDIR(realfp, uiop); ^ cc1: all warnings being treated as errors make[2]: *** [/var/adm/rational/clearcase/mvfs/mvfs_src/mvfs_linux_mvops.o] Error 1 make[1]: *** [_module_/var/adm/rational/clearcase/mvfs/mvfs_src] Error 2 make[1]: Leaving directory `/usr/src/kernels/3.10.0-862.11.6.el7.x86_64' make: *** [all] Error 2 ``` Clearcase: 9.0.0.6 OS: CentOS 7.5 (hosted on Google Cloud Platform) kernel: 3.10.0-86 2 gcc: gcc-4.8.5-28.el75.1.x8664 Anyone has ever faced similar problem?

jesker
Tue, 28 Aug 2018 16:45:15 GMT

Yes, there were Linux kernel changes in that version which required corresponding changes in the MVFS module. Support for the 3.10.0-862 kernel was recently released in the ClearCase 9.0.1.4 fixpack. The IBM technote at https://www-01.ibm.com/support/docview.wss?uid=swg21642397 has been updated accordingly. The 9.0.0.6 maintenance level was the final fixpack on that stream; you will need to upgrade to 9.0.1.4.