From: Valdis.Kletnieks@vt.edu (Valdis.Kletnieks at vt.edu)
To: kernelnewbies@lists.kernelnewbies.org
Subject: Where is the version.h?
Date: Mon, 27 Jan 2014 10:10:56 -0500 [thread overview]
Message-ID: <216263.1390835456@turing-police.cc.vt.edu> (raw)
In-Reply-To: Your message of "Mon, 27 Jan 2014 10:05:05 +0800." <52E5BED1.70306@gmail.com>
On Mon, 27 Jan 2014 10:05:05 +0800, parmenides said:
> 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's auto-generated. You need to run at least a 'make prepare' in the
kernel tree (though you'll probably want to go ahead and actually build and
boot a kernel to develop against).
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 848 bytes
Desc: not available
Url : http://lists.kernelnewbies.org/pipermail/kernelnewbies/attachments/20140127/fe36c92e/attachment-0001.bin
prev parent reply other threads:[~2014-01-27 15:10 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
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 [this message]
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=216263.1390835456@turing-police.cc.vt.edu \
--to=valdis.kletnieks@vt.edu \
--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).