Notes |
|
(0040460)
|
Brad King
|
2016-02-10 08:54
|
|
What project are you configuring?
There may be information in CMakeFiles/CMakeError.log about why these checks failed. |
|
|
(0040464)
|
David We
|
2016-02-10 11:25
|
|
I've found something in the "ConfigureChecks.cmake" regarding the HAVE_STRTOULL check.
It's in the UNIX if construct.
This seems logical that the "check_function_exists(strtoull HAVE_STRTOULL)" is not called in a windows enviroment but, if i build the libssh with mingw ( MSYS2 ) it works well.
-->
if (UNIX)
if (NOT LINUX)
# libsocket (Solaris)
check_library_exists(socket getaddrinfo "" HAVE_LIBSOCKET)
if (HAVE_LIBSOCKET)
set(HAVE_GETADDRINFO TRUE)
set(CMAKE_REQUIRED_LIBRARIES ${CMAKE_REQUIRED_LIBRARIES} socket)
endif (HAVE_LIBSOCKET)
# libnsl/inet_pton (Solaris)
check_library_exists(nsl inet_pton "" HAVE_LIBNSL)
if (HAVE_LIBNSL)
set(CMAKE_REQUIRED_LIBRARIES ${CMAKE_REQUIRED_LIBRARIES} nsl)
endif (HAVE_LIBNSL)
# librt
check_library_exists(rt nanosleep "" HAVE_LIBRT)
endif (NOT LINUX)
check_library_exists(rt clock_gettime "" HAVE_CLOCK_GETTIME)
if (HAVE_LIBRT OR HAVE_CLOCK_GETTIME)
set(CMAKE_REQUIRED_LIBRARIES ${CMAKE_REQUIRED_LIBRARIES} rt)
endif (HAVE_LIBRT OR HAVE_CLOCK_GETTIME)
check_library_exists(util forkpty "" HAVE_LIBUTIL)
check_function_exists(cfmakeraw HAVE_CFMAKERAW)
check_function_exists(strtoull HAVE_STRTOULL)
check_function_exists(__strtoull HAVE___STRTOULL)
endif (UNIX)
<-- |
|
|
(0040465)
|
Brad King
|
2016-02-10 11:36
|
|
Re 0015964:0040464: That appears to be in the libssh code and is not an issue with upstream CMake. Please raise this issue over there. |
|
|
(0041257)
|
Kitware Robot
|
2016-06-10 14:21
|
|
This issue tracker is no longer used. Further discussion of this issue may take place in the current CMake Issues page linked in the banner at the top of this page. |
|