/usr/include/gnu/stubs.h:10:27: fatal error: gnu/stubs-64.h: No such file or directory

简介:

我在64位的Fedora上用gcc编译c语言文件时,系统报错:

In file included from /usr/include/features.h:388:0,
                from /usr/include/stdio.h:27,
                from a.c:1:
/usr/include/gnu/stubs.h:10:27: fatal error: gnu/stubs-64.h: No such file or directory



网上查了下,大概是缺少某些必要的软件包,于是我运行了以下代码,问题解决.


1
yum  install  glibc-devel




本文转自 pangfc 51CTO博客,原文链接:http://blog.51cto.com/983836259/1407404,如需转载请自行联系原作者
相关文章
|
关系型数据库 MySQL C语言
gcc版本过低导致charconv: No such file or directory
gcc版本过低导致charconv: No such file or directory
1461 0
|
11月前
|
C语言
gcc静态编译/usr/bin/ld: cannot find -lc
gcc静态编译/usr/bin/ld: cannot find -lc
|
编译器 Linux
ImportError: /usr/lib/x86_64-linux-gnu/libstdc++.so.6: version `GLIBCXX_3.4.22' not found
ImportError: /usr/lib/x86_64-linux-gnu/libstdc++.so.6: version `GLIBCXX_3.4.22' not found
1288 0
|
C语言 Python Windows
gcc: error: /FIPython.h: File o directory non esistente
gcc: error: /FIPython.h: File o directory non esistente
116 0
x86_64-linux-gnu/libgdk-x11-2.0.so: error adding symbols: DSO missing from command line
x86_64-linux-gnu/libgdk-x11-2.0.so: error adding symbols: DSO missing from command line
239 0
|
C语言
configure: The C compiler (located as /usr/bin/gcc) does not seem to be the required gcc compiler.
configure: The C compiler (located as /usr/bin/gcc) does not seem to be the required gcc compiler.
155 0
fatal error: gnu/stubs-n64_hard_2008.h: No such file or directory
fatal error: gnu/stubs-n64_hard_2008.h: No such file or directory
130 0
|
C语言
gcc is unable to create an executable file.
gcc is unable to create an executable file.
409 0
|
C语言
configure:3855: gcc -V >&5 gcc: error: unrecognized command line option '-V'
configure:3855: gcc -V >&5 gcc: error: unrecognized command line option '-V'
655 0
|
C语言
编译OpenJDK8:configure error /usr/lib64/ccache/gcc is a symbolic link to ccache
编译OpenJDK8:configure error /usr/lib64/ccache/gcc is a symbolic link to ccache
125 0