Dependencies error - Building Linux Kernel on Arch Linux- Need help
Linux - KernelThis forum is for all discussion relating to the Linux kernel.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
Dependencies error - Building Linux Kernel on Arch Linux- Need help
While doing a make of linux kernel for 4.15.10 on arch Linux which is running 4.12.8-1-ARCH.
Getting below packages are missing, when trying to install there is no packages by that name.
root@osboxes linux-stable]# make -j4
Makefile:938: *** "Cannot generate ORC metadata for CONFIG_UNWINDER_ORC=y, please install libelf-dev, libelf-devel or elfutils-libelf-devel". Stop.
could not find any of 3 packages.
From arch repo found and Installed "pacman -Syy libelf". however when i query list packages dont see the libelf.
and make fails.
PS: Arch Linux is running in Virtual Box.
Last edited by Santoshkb; 04-30-2018 at 04:30 AM.
Reason: .
Distribution: Debian testing/sid; OpenSuSE; Fedora; Mint
Posts: 5,524
Rep:
I'm not sure exactly which instructions you're using, but I would run a 'make clean'. Then, pic a config file from the configs directory in the kernel sources. Debian-based systems have had trouble just grabbing the current config from /proc or /boot.
Install libmpfr6. If it isn't in the repos, then your version is too old to compile the kernel you want. After you clean up the sources, edit Makefile and change the revision to something unique, preceded by a '-'. Then run 'make oldconfig'. Then configure the kernel with make xconfig, or gconfig, or menuconfig, or plain old config if you want hours of mindless tedium. On Debian-based systems I usually build using 'make -jX deb-pkg'.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.