Search found 2 matches

by steven_rvbd
2009/08/21 21:08:36
Forum: CentOS 4 - Miscellaneous Questions
Topic: Why does /usr/include/linux/version.h define the kernel version as 2.4.20?
Replies: 4
Views: 12314

Re: Why does /usr/include/linux/version.h define the kernel version as 2.4.20?

Boost is looking at LINUX_VERSION_CODE (not UTS_RELEASE), which indicates that the kernel is 2.4.20; > #define LINUX_VERSION_CODE 132116 >>> "%x" % 132116 '20414' > #define KERNEL_VERSION(a,b,c) (((a) << 16) + ((b) << 8) + (c)) Changing version.h does not seem like a good idea without knowing why it...
by steven_rvbd
2009/08/20 18:26:14
Forum: CentOS 4 - Miscellaneous Questions
Topic: Why does /usr/include/linux/version.h define the kernel version as 2.4.20?
Replies: 4
Views: 12314

Why does /usr/include/linux/version.h define the kernel version as 2.4.20?

This is causing issues building some packages. For instance boost::asio uses the kernel version defined in this file to choose between using select and epoll.

--Steven

Go to advanced search