fatal error: gnu/stubs-n64_hard_2008.h: No such file or directory
程序员文章站
2022-07-15 16:49:56
...
错误如下:
/usr/include/mips64el-linux-gnuabi64/gnu/stubs.h:41:11: fatal error: gnu/stubs-n64_hard_2008.h: No such file or directory
# include <gnu/stubs-n64_hard_2008.h>
^~~~~~~~~~~~~~~~~~~~~~~~~~~
compilation terminated.
ERROR: libass not found using pkg-config
经过搜索,发现没有这个文件,而是有stubs-n64_hard.h
于是查看了宏定义:__mips_nan2008
这是怎么来的?
解决办法:
- 在代码中加一个undfine
- 传递一个正确参数
- 直接修改文件。
推荐阅读
-
在Linux中修复“fatal error: x264.h: No such file or directo”错误的方法
-
NET下编译C++代码时出现fatal error C1083: 无法打开包含文件:“iostream.h”: No such file or director
-
Python Error: /usr/bin/env: python3: No such file or directory
-
VMWare 15 Error on Ubuntu 18.4 - Could not open /dev/vmmon: No such file or directory
-
error trying to exec 'cc1plus': execvp: No such file or directory
-
Error: ENOENT: no such file or directory, uv_cwd Error: Cannot find module
-
Linux内核编译时出现fatal error: openssl/opensslv.h: No such file or directory错误的解决办法
-
/usr/include/gnu/stubs.h:7:27: fatal error: gnu/stubs-32.h: No such file or directory
-
scripts/sign-file.c:25:30: fatal error: openssl/opensslv.h: No such file or directory
-
交叉编译BusyBox 构建根文件系统出错fatal error: gnu/stubs-soft.h: No such file or directory