MAC编译:fatal error: ‘endian.h‘ file not found
Posted 柳鲲鹏
tags:
篇首语:本文由小常识网(cha138.com)小编为大家整理,主要介绍了MAC编译:fatal error: ‘endian.h‘ file not found相关的知识,希望对你有一定的参考价值。
具体错误
In file included from conf.c:427:
In file included from ../include/local.h:146:
In file included from ../include/sound/asound.h:4:
../include/alsa/sound/uapi/asound.h:31:10: fatal error: 'endian.h' file not
found
#include <endian.h>
- 解决办法
改成<machine/endian.h>即可。
也有人说改成<Endian.h>,试过了不对。
以上是关于MAC编译:fatal error: ‘endian.h‘ file not found的主要内容,如果未能解决你的问题,请参考以下文章
mac os上python报错 fatal error: 'Python.h' file not found
VS2008+ Win10 之 WinCE SDK 编译错误 c1xx : fatal error C1023 & fatal error C1001
Mac??????Mysql-python _mysql.c:44:10: fatal error: 'my_config.h' file not found
fatal error C1010: 在查找预编译头时遇到意外的文件结尾
fatal error C1061: 编译器限制 : 块嵌套太深
mac 使用brew安装提示fatal: not in a git directory Error: Command failed with exit 128: git