cmake安装configure出现Byte order of target Cpu unknown

编译器工具链 编译器工具链 1751 人阅读 | 6 人回复 | 2021-10-23

本帖最后由 beichen123 于 2021-10-23 17:18 编辑

试了好几个版本了,一直是这个问题Byte order of target Cpu unknown
回复

使用道具 举报

回答|共 6 个

beichen123

发表于 2021-10-23 17:08:50 来自手机 | 显示全部楼层

本帖最后由 beichen123 于 2021-10-23 17:25 编辑

错误处如下:g++        -DCMAKE_BOOTSTRAP    -DCMake_HAVE_CXX_MAKE_UNIQUE=1   -I/home/nnn/CMake-3.17.3/Bootstrap.cmk   -I/home/nnn/CMake-3.17.3/Source   -I/home/nnn/CMake-3.17.3/Source/LexerParser   -I/home/nnn/CMake-3.17.3/Utilities/std   -I/home/nnn/CMake-3.17.3/Utilities  -c /nnn/CMake-3.17.3/Source/cmAddCustomCommandCommand.cxx -o cmAddCustomCommandCommand.o In file included from /home/nnn/CMake-3.17.3/Utilities/cm_kwiml.h:12,               
  from /home/nnn/CMake-3.17.3/Source/cmAlgorithms.h:1,                  from /home/nnn/CMake-3.17.3/Source/cmTarget.h:15,                  
from /home/nnn/CMake-3.17.3/Source/cmGlobalGenerator.h:27,                  
from /home/nnn/CMake-3.17.3/Source/cmAddCustomCommandCommand.cxx:13: /home/nnn/CMake-3.17.3/Utilities/KWIML/include/kwiml/abi.h:476:3: error: #error "Byte order of target CPU unknown."  # error "Byte order of target CPU unknown."    ^~~~~ make: *** [Makefile:4:cmAddCustomCommandCommand.o] 错误 1 --------------------------------------------- Error when bootstrapping CMake: Problem while running make --------------------------------------------- Log of errors: /home/nnn/CMake-3.17.3/Bootstrap.cmk/cmake_bootstrap.log ---------------------------------------------
回复

使用道具 举报

beichen123

发表于 2021-10-23 17:09:08 来自手机 | 显示全部楼层

本帖最后由 beichen123 于 2021-10-23 17:21 编辑

from /home/nnn/CMake-3.17.3/Source/cmAddCustomCommandCommand.cxx:13: /home/nnn/CMake-3.17.3/Utilities/KWIML/include/kwiml/abi.h:476:3: error: #error "Byte order of target CPU unknown."  # error "Byte order of target CPU unknown."    ^~~~~ make: *** [Makefile:4:cmAddCustomCommandCommand.o] 错误 1 --------------------------------------------- Error when bootstrapping CMake: Problem while running make --------------------------------------------- Log of errors: /home/nnn/CMake-3.17.3/Bootstrap.cmk/cmake_bootstrap.log ---------------------------------------------
回复

使用道具 举报

changk

发表于 2021-10-28 09:05:04 | 显示全部楼层

您好,能麻烦您将问题提交到问题反馈中,这样方便技术人员进行处理和跟进
回复

使用道具 举报

TecSupport

发表于 2021-11-16 10:41:08 | 显示全部楼层

可以从这里获取cmake3.18版本:

链接:https://pan.baidu.com/s/1mFWLS29i4DFhDbp569_jjA
提取码:3e07
--来自百度网盘超级会员V3的分享
回复

使用道具 举报

xyd

发表于 2022-1-7 02:05:52 | 显示全部楼层

能把这个版本放到社区代码托管系统里吗?我没法使用百度网盘。
回复

使用道具 举报

duandian

发表于 2022-1-8 13:17:50 | 显示全部楼层

TecSupport 发表于 2021-11-16 10:41
可以从这里获取cmake3.18版本:

链接:https://pan.baidu.com/s/1mFWLS29i4DFhDbp569_jjA

NeoKylin Server release 5.0(Sunway) 编译此版本在最后时报错: No ldi !gpdisp!517 was found
回复

使用道具 举报

您需要登录后才可以回帖 登录 | 立即注册

本版积分规则