Unable to build cmoka project using cmake

classic Classic list List threaded Threaded
7 messages Options
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

Unable to build cmoka project using cmake

Rajesh Kumar
Hi All,

I am unable to build cmocka project using Cmake. The below are the errors which I'm facing.

"The C compiler identification is unknown"
"System is unknown to cmake, create: to use this system, please send your config file to [hidden email] so it can be added to cmake"

Please suggest.

Regards
Rajesh

--

Powered by www.kitware.com

Please keep messages on-topic and check the CMake FAQ at: http://www.cmake.org/Wiki/CMake_FAQ

Kitware offers various services to support the CMake community. For more information on each offering, please visit:

CMake Support: http://cmake.org/cmake/help/support.html
CMake Consulting: http://cmake.org/cmake/help/consulting.html
CMake Training Courses: http://cmake.org/cmake/help/training.html

Visit other Kitware open-source projects at http://www.kitware.com/opensource/opensource.html

Follow this link to subscribe/unsubscribe:
http://public.kitware.com/mailman/listinfo/cmake
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

Re: Unable to build cmoka project using cmake

Chuck Atkins
Hi Rajesh,
 We would need more information to be useful:
  • What version of CMake are you using?
  • What compiler and version are you using?
  • What OS and version are you using?
  • Do you have separate source and build directories?
  • How are you running cmake?

----------
Chuck Atkins
Staff R&D Engineer, Scientific Computing
Kitware, Inc.


On Wed, Jun 21, 2017 at 5:47 AM, Rajesh Kumar <[hidden email]> wrote:
Hi All,

I am unable to build cmocka project using Cmake. The below are the errors which I'm facing.

"The C compiler identification is unknown"
"System is unknown to cmake, create: to use this system, please send your config file to [hidden email] so it can be added to cmake"

Please suggest.

Regards
Rajesh

--

Powered by www.kitware.com

Please keep messages on-topic and check the CMake FAQ at: http://www.cmake.org/Wiki/CMake_FAQ

Kitware offers various services to support the CMake community. For more information on each offering, please visit:

CMake Support: http://cmake.org/cmake/help/support.html
CMake Consulting: http://cmake.org/cmake/help/consulting.html
CMake Training Courses: http://cmake.org/cmake/help/training.html

Visit other Kitware open-source projects at http://www.kitware.com/opensource/opensource.html

Follow this link to subscribe/unsubscribe:
http://public.kitware.com/mailman/listinfo/cmake


--

Powered by www.kitware.com

Please keep messages on-topic and check the CMake FAQ at: http://www.cmake.org/Wiki/CMake_FAQ

Kitware offers various services to support the CMake community. For more information on each offering, please visit:

CMake Support: http://cmake.org/cmake/help/support.html
CMake Consulting: http://cmake.org/cmake/help/consulting.html
CMake Training Courses: http://cmake.org/cmake/help/training.html

Visit other Kitware open-source projects at http://www.kitware.com/opensource/opensource.html

Follow this link to subscribe/unsubscribe:
http://public.kitware.com/mailman/listinfo/cmake
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

Re: Unable to build cmoka project using cmake

Rajesh Kumar
Hi Chuck,

Comments are inline.

Regards
Rajesh

On Wed, Jun 21, 2017, 8:32 PM Chuck Atkins <[hidden email]> wrote:
Hi Rajesh,
 We would need more information to be useful:
  • What version of CMake are you using? - 3.9.20170615 ( on 20170615 I have downloaded the source code from git repository and complied on my AIX machine)
  • What compiler and version are you using? - gcc 4.2.0
  • What OS and version are you using?
  • Do you have separate source and build directories? AIX 1.6
  • How are you running cmake? This is the command I am running to build cmocka project. cmake $cmockasource path -Wno-dev --trace. Also I tried compiling cmocka project by forcing the C compiler with CMAKE_C_COMPILERFORCED, but no luck.

----------
Chuck Atkins
Staff R&D Engineer, Scientific Computing
Kitware, Inc.


On Wed, Jun 21, 2017 at 5:47 AM, Rajesh Kumar <[hidden email]> wrote:
Hi All,

I am unable to build cmocka project using Cmake. The below are the errors which I'm facing.

"The C compiler identification is unknown"
"System is unknown to cmake, create: to use this system, please send your config file to [hidden email] so it can be added to cmake"

Please suggest.

Regards
Rajesh

--

Powered by www.kitware.com

Please keep messages on-topic and check the CMake FAQ at: http://www.cmake.org/Wiki/CMake_FAQ

Kitware offers various services to support the CMake community. For more information on each offering, please visit:

CMake Support: http://cmake.org/cmake/help/support.html
CMake Consulting: http://cmake.org/cmake/help/consulting.html
CMake Training Courses: http://cmake.org/cmake/help/training.html

Visit other Kitware open-source projects at http://www.kitware.com/opensource/opensource.html

Follow this link to subscribe/unsubscribe:
http://public.kitware.com/mailman/listinfo/cmake


--

Powered by www.kitware.com

Please keep messages on-topic and check the CMake FAQ at: http://www.cmake.org/Wiki/CMake_FAQ

Kitware offers various services to support the CMake community. For more information on each offering, please visit:

CMake Support: http://cmake.org/cmake/help/support.html
CMake Consulting: http://cmake.org/cmake/help/consulting.html
CMake Training Courses: http://cmake.org/cmake/help/training.html

Visit other Kitware open-source projects at http://www.kitware.com/opensource/opensource.html

Follow this link to subscribe/unsubscribe:
http://public.kitware.com/mailman/listinfo/cmake
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

Re: Unable to build cmoka project using cmake

Rajesh Kumar
Any suggestions please?

Regards
Rajesh

On Thu, Jun 22, 2017, 1:17 PM Rajesh Kumar <[hidden email]> wrote:
Hi Chuck,

Comments are inline.

Regards
Rajesh

On Wed, Jun 21, 2017, 8:32 PM Chuck Atkins <[hidden email]> wrote:
Hi Rajesh,
 We would need more information to be useful:
  • What version of CMake are you using? - 3.9.20170615 ( on 20170615 I have downloaded the source code from git repository and complied on my AIX machine)
  • What compiler and version are you using? - gcc 4.2.0
  • What OS and version are you using?
  • Do you have separate source and build directories? AIX 1.6
  • How are you running cmake? This is the command I am running to build cmocka project. cmake $cmockasource path -Wno-dev --trace. Also I tried compiling cmocka project by forcing the C compiler with CMAKE_C_COMPILERFORCED, but no luck.

----------
Chuck Atkins
Staff R&D Engineer, Scientific Computing
Kitware, Inc.


On Wed, Jun 21, 2017 at 5:47 AM, Rajesh Kumar <[hidden email]> wrote:
Hi All,

I am unable to build cmocka project using Cmake. The below are the errors which I'm facing.

"The C compiler identification is unknown"
"System is unknown to cmake, create: to use this system, please send your config file to [hidden email] so it can be added to cmake"

Please suggest.

Regards
Rajesh

--

Powered by www.kitware.com

Please keep messages on-topic and check the CMake FAQ at: http://www.cmake.org/Wiki/CMake_FAQ

Kitware offers various services to support the CMake community. For more information on each offering, please visit:

CMake Support: http://cmake.org/cmake/help/support.html
CMake Consulting: http://cmake.org/cmake/help/consulting.html
CMake Training Courses: http://cmake.org/cmake/help/training.html

Visit other Kitware open-source projects at http://www.kitware.com/opensource/opensource.html

Follow this link to subscribe/unsubscribe:
http://public.kitware.com/mailman/listinfo/cmake


--

Powered by www.kitware.com

Please keep messages on-topic and check the CMake FAQ at: http://www.cmake.org/Wiki/CMake_FAQ

Kitware offers various services to support the CMake community. For more information on each offering, please visit:

CMake Support: http://cmake.org/cmake/help/support.html
CMake Consulting: http://cmake.org/cmake/help/consulting.html
CMake Training Courses: http://cmake.org/cmake/help/training.html

Visit other Kitware open-source projects at http://www.kitware.com/opensource/opensource.html

Follow this link to subscribe/unsubscribe:
http://public.kitware.com/mailman/listinfo/cmake
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

Re: Unable to build cmoka project using cmake

Rajesh Kumar
In reply to this post by Rajesh Kumar
Tried with cmake 3.8.2 version. Able to compile CMOCKA.

Regards
Rajesh

On Wed, Jun 21, 2017, 3:10 PM Rajesh Kumar <[hidden email]> wrote:
Hi Al,

I am unable to build cmocka project using Cmake. The below are the errors which I'm facing.

"The C compiler identification is unknown"
"System is unknown to cmake, create: to use this system, please send your config file to [hidden email] so it can be added to cmake"

Please suggest.

Regards
Rajesh

--

Powered by www.kitware.com

Please keep messages on-topic and check the CMake FAQ at: http://www.cmake.org/Wiki/CMake_FAQ

Kitware offers various services to support the CMake community. For more information on each offering, please visit:

CMake Support: http://cmake.org/cmake/help/support.html
CMake Consulting: http://cmake.org/cmake/help/consulting.html
CMake Training Courses: http://cmake.org/cmake/help/training.html

Visit other Kitware open-source projects at http://www.kitware.com/opensource/opensource.html

Follow this link to subscribe/unsubscribe:
http://public.kitware.com/mailman/listinfo/cmake
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

Re: Unable to build cmoka project using cmake

Chuck Atkins
Hi Rajesh, so you're saying it works with 3.8.2 but not with 3.9.x?  Can you try with the recent release candidate, 3.9.0-RC5?  It would be helpful to know the output from what you see on the version that works vs the one that doesn't since it sounds like a possible regression.

Thanks.

----------
Chuck Atkins
Staff R&D Engineer, Scientific Computing
Kitware, Inc.


On Fri, Jun 30, 2017 at 1:17 PM, Rajesh Kumar <[hidden email]> wrote:
Tried with cmake 3.8.2 version. Able to compile CMOCKA.

Regards
Rajesh

On Wed, Jun 21, 2017, 3:10 PM Rajesh Kumar <[hidden email]> wrote:
Hi Al,

I am unable to build cmocka project using Cmake. The below are the errors which I'm facing.

"The C compiler identification is unknown"
"System is unknown to cmake, create: to use this system, please send your config file to [hidden email] so it can be added to cmake"

Please suggest.

Regards
Rajesh

--

Powered by www.kitware.com

Please keep messages on-topic and check the CMake FAQ at: http://www.cmake.org/Wiki/CMake_FAQ

Kitware offers various services to support the CMake community. For more information on each offering, please visit:

CMake Support: http://cmake.org/cmake/help/support.html
CMake Consulting: http://cmake.org/cmake/help/consulting.html
CMake Training Courses: http://cmake.org/cmake/help/training.html

Visit other Kitware open-source projects at http://www.kitware.com/opensource/opensource.html

Follow this link to subscribe/unsubscribe:
http://public.kitware.com/mailman/listinfo/cmake


--

Powered by www.kitware.com

Please keep messages on-topic and check the CMake FAQ at: http://www.cmake.org/Wiki/CMake_FAQ

Kitware offers various services to support the CMake community. For more information on each offering, please visit:

CMake Support: http://cmake.org/cmake/help/support.html
CMake Consulting: http://cmake.org/cmake/help/consulting.html
CMake Training Courses: http://cmake.org/cmake/help/training.html

Visit other Kitware open-source projects at http://www.kitware.com/opensource/opensource.html

Follow this link to subscribe/unsubscribe:
http://public.kitware.com/mailman/listinfo/cmake
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

Re: Unable to build cmoka project using cmake

Rajesh Kumar
Sure Chuck, will try and let you know.

Regards
Rajesh

On Fri, Jun 30, 2017, 11:29 PM Chuck Atkins <[hidden email]> wrote:
Hi Rajesh, so you're saying it works with 3.8.2 but not with 3.9.x?  Can you try with the recent release candidate, 3.9.0-RC5?  It would be helpful to know the output from what you see on the version that works vs the one that doesn't since it sounds like a possible regression.

Thanks.

----------
Chuck Atkins
Staff R&D Engineer, Scientific Computing
Kitware, Inc.


On Fri, Jun 30, 2017 at 1:17 PM, Rajesh Kumar <[hidden email]> wrote:
Tried with cmake 3.8.2 version. Able to compile CMOCKA.

Regards
Rajesh

On Wed, Jun 21, 2017, 3:10 PM Rajesh Kumar <[hidden email]> wrote:
Hi Al,

I am unable to build cmocka project using Cmake. The below are the errors which I'm facing.

"The C compiler identification is unknown"
"System is unknown to cmake, create: to use this system, please send your config file to [hidden email] so it can be added to cmake"

Please suggest.

Regards
Rajesh

--

Powered by www.kitware.com

Please keep messages on-topic and check the CMake FAQ at: http://www.cmake.org/Wiki/CMake_FAQ

Kitware offers various services to support the CMake community. For more information on each offering, please visit:

CMake Support: http://cmake.org/cmake/help/support.html
CMake Consulting: http://cmake.org/cmake/help/consulting.html
CMake Training Courses: http://cmake.org/cmake/help/training.html

Visit other Kitware open-source projects at http://www.kitware.com/opensource/opensource.html

Follow this link to subscribe/unsubscribe:
http://public.kitware.com/mailman/listinfo/cmake

--

Powered by www.kitware.com

Please keep messages on-topic and check the CMake FAQ at: http://www.cmake.org/Wiki/CMake_FAQ

Kitware offers various services to support the CMake community. For more information on each offering, please visit:

CMake Support: http://cmake.org/cmake/help/support.html
CMake Consulting: http://cmake.org/cmake/help/consulting.html
CMake Training Courses: http://cmake.org/cmake/help/training.html

Visit other Kitware open-source projects at http://www.kitware.com/opensource/opensource.html

Follow this link to subscribe/unsubscribe:
http://public.kitware.com/mailman/listinfo/cmake
Loading...