From: kristof@sigsegv.be (Kristof Provost)
To: kernelnewbies@lists.kernelnewbies.org
Subject: Where is the version.h?
Date: Mon, 27 Jan 2014 11:20:03 +0100 [thread overview]
Message-ID: <20140127102003.GA20063@vega> (raw)
In-Reply-To: <52E5BED1.70306@gmail.com>
On 2014-01-27 10:05:05 (+0800), parmenides <mobile.parmenides@gmail.com> wrote:
> According to LDD3, the linux/module.h automatically includes the
> linux/version, which define some macros to help test the kernel version.
> But I search the source tree, and can not find version.h in
> include/linux. Where can I find it?
>
It lives in include/generated/uapi/linux/version.h
If you've never built a kernel in your tree you won't find it though,
because it's created from the Makefile. Look for version_h and
filechk_version.h.
Regards,
Kristof
next prev parent reply other threads:[~2014-01-27 10:20 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2014-01-27 2:05 Where is the version.h? parmenides
2014-01-27 10:20 ` Kristof Provost [this message]
2014-01-27 18:57 ` parmenides
2014-01-27 19:09 ` Valdis.Kletnieks at vt.edu
2014-01-28 8:26 ` parmenides
2014-01-27 15:10 ` Valdis.Kletnieks at vt.edu
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=20140127102003.GA20063@vega \
--to=kristof@sigsegv.be \
--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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.