I try to compile the newest boost library (1.62.0) on a Linux system with kernel version 2.6.18-92.1.13.el5 (from
uname -r), and 2016 intel c++ compiler using gcc 6.1.0.
The new intel c++ compiler and gcc are installed at a sub directory of my home directory. I am using an old glibc probably as ancient as the kernel (
ldd --version gives
ldd (GNU libc) 2.5).
I get the following error for the thread module:
In file included from libs/log/src/event.cpp(31): /usr/include/linux/futex.h(96): error: identifier "u32" is undefined long do_futex(u32 *uaddr, int op, u32 val, unsigned long timeout, ^
That is the only error in the whole compilation.
I cannot install new kernel on the computer because I don't have root access.
Is it a good idea to install the newest Linux header? Will that allow me to install boost 1.62.0 without getting the error?