Description of problem: When compiling a C++ program using the iostream header (i.e., with the #include <iostream> directive) the error message (where in the following error message simple-pendulum.cpp is the name of the file where on line 6 the #include <iostream> directive exists): In file included from /usr/include/errno.h:35:0, from /usr/include/c++/6.3.1/cerrno:42, from /usr/include/c++/6.3.1/ext/string_conversions.h:44, from /usr/include/c++/6.3.1/bits/basic_string.h:5402, from /usr/include/c++/6.3.1/string:52, from /usr/include/c++/6.3.1/bits/locale_classes.h:40, from /usr/include/c++/6.3.1/bits/ios_base.h:41, from /usr/include/c++/6.3.1/ios:42, from /usr/include/c++/6.3.1/ostream:38, from /usr/include/c++/6.3.1/iostream:39, from simple-pendulum.cpp:6: /usr/include/bits/errno.h:24:26: fatal error: linux/errno.h: No such file or directory # include <linux/errno.h> ^ compilation terminated. Makefile:2: recipe for target 'all' failed make: *** [all] Error 1 Version-Release number of selected component (if applicable): 2.24-4.fc25 How reproducible: Very. Steps to Reproduce: 1. Compile a program that with the #include <iostream> preprocessor directive. for a specific example run: git clone https://github.com/fusion809/CPP-Math-Projects cd CPP-Math-Projects/Simple-Pendulum make and you should get the previously mentioned error message.
Oops sorry, didn't realize kernel-headers was required to provide /usr/include/linux/errno.h.