Building a rpm fails with error “Makefile: *** Linux kernel source not found. Stop.”
Issue
-
Building a rpm fails returning the following message.
“Makefile:21: *** Linux kernel source not found. Stop.” “error: Bad exit status from /var/tmp/rpm-tmp.840 (%build) “
Environment
- Red Hat Enterprise Linux
Subscriber exclusive content
A Red Hat subscription provides unlimited access to our knowledgebase of over 48,000 articles and solutions.
Welcome! Check out the Getting Started with Red Hat page for quick tours and guides for common tasks.
