Hi Pinkesh, Could you please try running “make oldconfig” and then “make modules_prepare” in the kernel source after copying the .config? The latter command should generate the missing files /root/linux-oracle/include/generated/autoconf.h and /root/linux-oracle/include/linux/autoconf.h.
Cheers, Nikitas On 2/25/21, 10:14 PM, "lustre-discuss on behalf of Pinkesh Valdria via lustre-discuss" <[email protected]<mailto:[email protected]> on behalf of [email protected]<mailto:[email protected]>> wrote: Hello All, I am trying to compile lustre client (2.13.57) on Ubuntu18.04 and I am following the steps listed here: https://wiki.whamcloud.com/pages/viewpage.action?pageId=63968116, but its failing with below error. Any pointer/advice on what am I missing ? uname -r 5.4.0-1035-oracle # Using this one cd /root git clone https://git.launchpad.net/~canonical-kernel/ubuntu/+source/linux-oracle cd linux-oracle/ git checkout Ubuntu-oracle-5.4-5.4.0-1035.38_18.04.1 BUILDPATH=/root cd ${BUILDPATH} git clone git://git.whamcloud.com/fs/lustre-release.git cd lustre-release git checkout 2.13.57 git reset --hard && git clean -dfx sh autogen.sh ./configure --disable-server --with-linux=/root/linux-oracle # above command fails, saying .config file is missing CONFIG_RETPOLINE=y checking for Linux sources... /root/linux-oracle checking for /root/linux-oracle... yes checking for Linux objects... /root/linux-oracle checking for /root/linux-oracle/.config... no configure: error: Kernel config could not be found. cp /boot/config-5.4.0-1035-oracle /root/linux-oracle/.config # Re-ran it ./configure --disable-server --with-linux=/root/linux-oracle checking for swig2.0... no yes checking whether to build Lustre client support... yes dirname: missing operand Try 'dirname --help' for more information. checking whether mpitests can be built... no checking whether to build Linux kernel modules... yes (linux-gnu) find: '/usr/src/kernels/': No such file or directory checking for Linux sources... /root/linux-oracle checking for /root/linux-oracle... yes checking for Linux objects... /root/linux-oracle checking for /root/linux-oracle/.config... yes checking for /boot/kernel.h... no checking for /var/adm/running-kernel.h... no checking for /root/linux-oracle/include/generated/autoconf.h... no checking for /root/linux-oracle/include/linux/autoconf.h... no configure: error: Run make config in /root/linux-oracle. root@lustre-client-2-12-4-ubuntu1804:~/lustre-release# Thanks, Pinkesh Valdria Principal Solutions Architect – HPC Oracle Cloud Infrastructure +65-8932-3639 (m) - Singapore +1-425-205-7834 (m) - USA
_______________________________________________ lustre-discuss mailing list [email protected] http://lists.lustre.org/listinfo.cgi/lustre-discuss-lustre.org
