$ gcc -fno-stack-protector -m32 -o hello hello.c
In file included from hello.c:3:
/usr/include/stdio.h:27:10: fatal error: bits/libc-header-start.h: No such file or directory
27 | #include <bits/libc-header-start.h>
| ^~~~~~~~~~~~~~~~~~~~~~~~~~
compilation terminated.
The reason is that the GCC environment is incomplete.
solve:
sudo apt-get install gcc-multilib
Read More:
- Linux QT download / usr / include / C + + / 7/ cstdlib:75 : 15: fatal error: stdlib. H: no such file or directory error
- #During OpenGL development, fatal error C1083: can’t open include file: “GL / glut. H”: no such file or directory
- 【linux】error: stdio.h: No such file or directory
- VS2010 compiler can’t open include file: “GL / glaux. H”: no such file or directory
- Cannot open include file: ‘io.h‘: No such file or directory
- [C]fatal error: mysql.h: No such file or directory
- fatal error: Python.h: No such file or directory
- A fatal error C1083 occurred when compiling C + + code under. Net: unable to open the include file: “xuhk”_ Jnihelloworld. H “: solution to no such file or directory error.
- Compiling the pi_kernel source code appears: fatal error: openssl/opensslv.h: No such file or directory
- fatal error: Python.h: No such file or directory compilation terminated.
- Vs2017 C + + cannot open source file: “sdkddkver. H”, “stdio. H”, “TCHAR. H”
- fatal error: openssl/bio.h: No such file or directory settlement programme
- Solution: vs2017 cannot open header files such as stdio. H main. H
- Error in header file when calling OpenGL to open obj file in vs2013: unable to open include file: “GL / glut. H”: no such file or directories
- Solution of header file StdAfx. H “no such file or directory” in Visual Studio
- fatal error: Python.h: No such file or directory
- How to solve the problem of “unable to open include file:” graphics. H “: no such file or directory”
- Fatal error in CentOS: Python. H: no that file or directory
- Fatal error C1010: unexpected end of file encountered while looking for precompiled header. Did you forget to add “ා include” StdAfx. H to the source
- Win10 vs 2017 prompt cannot open include file: “windows. H”: no such file or director