当前位置: 技术问答>linux和unix
Red Hat Linux9安装CMake时,gmake失败,求解答!
来源: 互联网 发布时间:2017-02-23
本文导语: CMake has bootstrapped. Now run gmake. [root@localhost cmake-2.8.8]# gmake [ 1%] Building C object Utilities/KWIML/test/CMakeFiles/cmIML_test.dir/test_ABI_C.c.o In file included from /usr/local/src/cmake-2.8.8/Utilities/KWIML/test/test_ABI_C.c:13: /usr/local/src/cmake-2.8.8/Uti...
CMake has bootstrapped. Now run gmake.
[root@localhost cmake-2.8.8]# gmake
[ 1%] Building C object Utilities/KWIML/test/CMakeFiles/cmIML_test.dir/test_ABI_C.c.o
In file included from /usr/local/src/cmake-2.8.8/Utilities/KWIML/test/test_ABI_C.c:13:
/usr/local/src/cmake-2.8.8/Utilities/cmIML/ABI.h:257:3: #error "Existence of 'long long' unknown."
gmake[2]: *** [Utilities/KWIML/test/CMakeFiles/cmIML_test.dir/test_ABI_C.c.o] Error 1
gmake[1]: *** [Utilities/KWIML/test/CMakeFiles/cmIML_test.dir/all] Error 2
gmake: *** [all] Error 2
求高手解答
[root@localhost cmake-2.8.8]# gmake
[ 1%] Building C object Utilities/KWIML/test/CMakeFiles/cmIML_test.dir/test_ABI_C.c.o
In file included from /usr/local/src/cmake-2.8.8/Utilities/KWIML/test/test_ABI_C.c:13:
/usr/local/src/cmake-2.8.8/Utilities/cmIML/ABI.h:257:3: #error "Existence of 'long long' unknown."
gmake[2]: *** [Utilities/KWIML/test/CMakeFiles/cmIML_test.dir/test_ABI_C.c.o] Error 1
gmake[1]: *** [Utilities/KWIML/test/CMakeFiles/cmIML_test.dir/all] Error 2
gmake: *** [all] Error 2
求高手解答
|
工具链太老了?
#error "Existence of 'long long' unknown."
这一条是检查性的预处理没通过造成的,貌似说编译器不支持long long关键字之类
#error "Existence of 'long long' unknown."
这一条是检查性的预处理没通过造成的,貌似说编译器不支持long long关键字之类