checking for g++... g++ checking whether the C++ compiler works... yes checking for C++ compiler default output file name... a.out checking for suffix of executables... checking whether we are cross compiling... no checking for suffix of object files... o checking whether we are using the GNU C++ compiler... yes checking whether g++ accepts -g... yes checking how to run the C++ preprocessor... g++ -E checking for grep that handles long lines and -e... /bin/grep checking for egrep... /bin/grep -E checking for ANSI C header files... yes checking for sys/types.h... yes checking for sys/stat.h... yes checking for stdlib.h... yes checking for string.h... yes checking for memory.h... yes checking for strings.h... yes checking for inttypes.h... yes checking for stdint.h... yes checking for unistd.h... yes checking boost/lockfree/queue.hpp usability... no checking boost/lockfree/queue.hpp presence... no checking for boost/lockfree/queue.hpp... no checking whether g++ supports C++11 features by default... no checking whether g++ supports C++11 features with -std=c++11... no checking whether g++ supports C++11 features with -std=c++0x... yes checking build toplevel... /home/linaro/linuxcnc-dev checking installation prefix... run in place checking for grep... (cached) /bin/grep checking for egrep... (cached) /bin/grep -E checking for pkg-config... /usr/bin/pkg-config checking for rtai-config... none checking for xeno-config... /usr/bin/xeno-config checking for realtime API(s) to use... none checking for location of kernel headers... using value from RTS: checking for cc version... not specified checking for gcc... gcc checking whether we are using the GNU C compiler... yes checking whether gcc accepts -g... yes checking for gcc option to accept ISO C89... none needed checking how to run the C preprocessor... gcc -E checking for usability of linux/hidraw.h... yes checking for libmodbus3... yes - version 3.0.1 checking for libusb-1.0... yes checking for kernel version string... gcc: error: /include/linux/version.h: No such file or directory gcc: fatal error: no input files compilation terminated. configure: error: Kernel version string not found