kernelnewbies.kernelnewbies.org archive mirror
 help / color / mirror / Atom feed
From: pebolle@tiscali.nl (Paul Bolle)
To: kernelnewbies@lists.kernelnewbies.org
Subject: Replacing "-custom" in my New Kernel development configuration
Date: Thu, 12 Feb 2015 09:30:01 +0100	[thread overview]
Message-ID: <1423729801.21685.71.camel@x220> (raw)
In-Reply-To: <CALwa49ty-PzB_qFLqX_p5VrqOYRKuGHLynHE-QtewbYG2rZxbQ@mail.gmail.com>

On Thu, 2015-02-12 at 12:07 +0530, s.rawat wrote:
> Yes the headers are there in the sources of 3.18.5 kernel.But then I
> have to change all the references to linux/<header_files.h> in my
> modules to the path of
> <kernel_source>/include/linux/<header_files.h>.This could be
> corrective action.I am looking for preventive action .

Changing those preprocessor include lines is certainly the wrong thing
to do. 

> CONFIG_LOCALVERSION appends whatever name we want to append after the
> kernel version.
> I was looking for downloading the kernel headers for the custom kernel
> I built whose name has been changed to 3.18.5-custom.
> uname -r give => 3.18.5-custom. :( (cant use it sudo apt-get install
> linux-header-$(uname-r) :( 

What exactly are you trying to achieve? Looking at your original
question it seems this is about the headers in /usr/src/kernels/$(uname
-r). (That is the location used in Fedora.)

But why do you need those headers? See, these headers in that directory
are for building external modules. Ie, modules not already installed
in /lib/modules/$(uname -r). But that would be easier to do from within
the directory in your home directory where you downloaded the kernel's
source code.

And _please_ don't top post in your answer. That makes it even harder to
determine what it is you actually want to do.


Paul Bolle

  reply	other threads:[~2015-02-12  8:30 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2015-02-11 17:42 Replacing "-custom" in my New Kernel development configuration s.rawat
2015-02-11 17:48 ` Vinícius Tinti
2015-02-11 18:07   ` Arshad Hussain
2015-02-12  6:37     ` s.rawat
2015-02-12  8:30       ` Paul Bolle [this message]
2015-02-12 16:31         ` s.rawat
2015-02-12 20:36           ` Paul Bolle
2015-02-12  8:34       ` Arshad Hussain

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1423729801.21685.71.camel@x220 \
    --to=pebolle@tiscali.nl \
    --cc=kernelnewbies@lists.kernelnewbies.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).