LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software > Linux - Kernel
User Name
Password
Linux - Kernel This forum is for all discussion relating to the Linux kernel.

Notices


Closed Thread
  Search this Thread
Old 07-03-2016, 06:25 PM   #1
grsecurityuser
LQ Newbie
 
Registered: Jul 2016
Posts: 3

Rep: Reputation: Disabled
Exclamation Attempting to compile any kind of linux kernels, even vanilla ones, results in


I'm currently attempting to follow this guide in order to install the 4.5.7 kernel with Grsecurity on my Kali Linux desktop. I am following that list of instructions verbatim, except for the fact that I'm trying to use Grsecurity's test patch for the 4.5.7 kernel and I'm running Kali Linux instead of straight Debian. Every time I attempt to compile the kernel, however, I get this error following the line "CC certs/system_keyring.o":
Code:
CC      certs/system_keyring.o
make[2]: *** No rule to make target 'debian/certs/benh@debian.org.cert.pem', needed by 'certs/x509_certificate_list'.  Stop.
Makefile:951: recipe for target 'certs' failed
make[1]: *** [certs] Error 2
make[1]: Leaving directory '/home/jc/Downloads/linux-4.5.7'
debian/ruleset/targets/common.mk:295: recipe for target 'debian/stamp/build/kernel' failed
make: *** [debian/stamp/build/kernel] Error 2
I get this error, as I found out, for any kernel even if I apply no patches or modifications, so it has something to do with the tools I'm using to compile the kernel (apparently a system keychain of some sort). This is my first custom kernel, I'm not the most proficient at Linux, and I'm not sure what to make of the error. Can someone out there tell me how to fix my OS and compile my kernel? Bonus points if you can help someone really nooby understand what the problem was.

Thanks, John.

P.S., if it helps, here is the output of cat /proc/version:

Code:
Linux version 4.6.0-kali1-amd64 (devel@kali.org) (gcc version 5.4.0 20160609 (Debian 5.4.0-4) ) #1 SMP Debian 4.6.2-2kali2 (2016-06-28)

Last edited by grsecurityuser; 07-03-2016 at 06:31 PM.
 
Old 07-04-2016, 06:12 AM   #2
Upuetz
Member
 
Registered: May 2016
Location: Aachen
Distribution: Debian, CentOS, Ubuntu, Raspian, tinycore
Posts: 59

Rep: Reputation: Disabled
Just a quick shot: benh is the debian kernel builder (IIRC) - so this script tries to compile/build his key into the kernel for signature verification.
Since you are not benh, this won't work.
What's your command leading up to this error?
 
Old 07-04-2016, 09:22 AM   #3
jeremy
root
 
Registered: Jun 2000
Distribution: Debian, Red Hat, Slackware, Fedora, Ubuntu
Posts: 13,602

Rep: Reputation: 4083Reputation: 4083Reputation: 4083Reputation: 4083Reputation: 4083Reputation: 4083Reputation: 4083Reputation: 4083Reputation: 4083Reputation: 4083Reputation: 4083
Please post your thread in only one forum. Posting a single thread in the most relevant forum will make it easier for members to help you and will keep the discussion in one place. This thread is being closed because it is a duplicate.
 
  


Closed Thread



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
How to compile a Vanilla kernel on Fedora, the easy/lazy way. bendib Fedora 6 06-26-2010 12:58 AM
Attempting to Cross-compile SDL_image with mingw on a linux host Eupator Programming 6 02-03-2010 05:03 PM
ServeRAID 6M support in vanilla kernel.org kernels Yalla-One Linux - Hardware 0 09-14-2007 07:55 AM
compile trouble with vanilla kernel. zaicheke Linux - General 1 12-24-2004 03:46 PM
what's the diff between vanilla and Debian kernels? TLV Debian 10 10-22-2004 03:20 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software > Linux - Kernel

All times are GMT -5. The time now is 01:53 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration