Re: Where is the version.h?
于 2014/1/28 3:09, valdis.kletni...@vt.edu wrote: > No, the build gets done with a -Iinclude/generated/uapi So, I get it. Thanks for your reply! ___ Kernelnewbies mailing list Kernelnewbies@kernelnewbies.org http://lists.kernelnewbies.org/mailman/listinfo/kernelnewbies
Re: Where is the version.h?
On Tue, 28 Jan 2014 02:57:51 +0800, parmenides said: > Accroding to LDD3, version.h is included with the path > "linux/version.h", therefore I think the > "include/generated/uapi/linux/version.h" > might be symbolic linked to > "include/linux/version.h" > during compilation. Is this the case? No, the build gets done with a -Iinclude/generated/uapi pgpmAyFNobI0s.pgp Description: PGP signature ___ Kernelnewbies mailing list Kernelnewbies@kernelnewbies.org http://lists.kernelnewbies.org/mailman/listinfo/kernelnewbies
Re: Where is the version.h?
于 2014/1/27 18:20, Kristof Provost wrote: > It lives in include/generated/uapi/linux/version.h > Accroding to LDD3, version.h is included with the path "linux/version.h", therefore I think the "include/generated/uapi/linux/version.h" might be symbolic linked to "include/linux/version.h" during compilation. Is this the case? ___ Kernelnewbies mailing list Kernelnewbies@kernelnewbies.org http://lists.kernelnewbies.org/mailman/listinfo/kernelnewbies
Re: Where is the version.h?
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). pgp_CEw7JR999.pgp Description: PGP signature ___ Kernelnewbies mailing list Kernelnewbies@kernelnewbies.org http://lists.kernelnewbies.org/mailman/listinfo/kernelnewbies
Re: Where is the version.h?
On 2014-01-27 10:05:05 (+0800), parmenides 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 ___ Kernelnewbies mailing list Kernelnewbies@kernelnewbies.org http://lists.kernelnewbies.org/mailman/listinfo/kernelnewbies
Where is the version.h?
Hi, 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? Thanks! ___ Kernelnewbies mailing list Kernelnewbies@kernelnewbies.org http://lists.kernelnewbies.org/mailman/listinfo/kernelnewbies