Forum Discussion
Hi @beiwang2003,
Thank you for posting in Intel community forum and hope all is well.
The error mention seems to be mentioning missing gcc/cmake. Would suggest to run a --version to check on the gcc/cmake installation in your environment.
Is there also possible that there are multiple version of cmake installed?
Hence would also suggest to reinstalled the cmake.
As I was looking into the springdale 7.9 OS, it seems that it comes with gcc 4.8.5, perhaps that might be the culprits, would suggest to look into updating that too.
Please do let us know if that helps.
Best Wishes
BB
- beiwang20034 years ago
New Contributor
Hi, BoonBengT_Intel,
Thanks for the suggestion. Here is the version numbers for gcc and cmake.
$ gcc --version
gcc (GCC) 7.4.0
Copyright (C) 2017 Free Software Foundation, Inc.
This is free software; see the source for copying conditions. There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
$ cc --version
cc (GCC) 4.8.5 20150623 (Red Hat 4.8.5-44)
Copyright (C) 2015 Free Software Foundation, Inc.
This is free software; see the source for copying conditions. There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
$ cmake --version
cmake version 3.4.0
CMake suite maintained and supported by Kitware (kitware.com/cmake).
The compiling process seems pick up the cc compiler which points to GNU 4.8.5 instead of gcc compiler which points to GNU 7.4.0.
Thanks
Bei